403Webshell
Server IP : 112.84.131.71  /  Your IP : 43.159.78.200
Web Server : nginx/1.28.0
System : Linux 1763701629066 6.8.0-53-generic #55-Ubuntu SMP PREEMPT_DYNAMIC Fri Jan 17 15:37:52 UTC 2025 x86_64
User : www ( 1001)
PHP Version : 8.2.28
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /www/wwwroot/www.lengcat.cn/wp-content/themes/onenav/inc/configs/theme/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/wwwroot/www.lengcat.cn/wp-content/themes/onenav/inc/configs/theme/other-email.php
<?php
/*
 * @Author: iowen
 * @Author URI: https://www.iowen.cn/
 * @Date: 2024-04-27 00:30:42
 * @LastEditors: iowen
 * @LastEditTime: 2024-04-27 00:30:48
 * @FilePath: /onenav/inc/configs/theme/other-email.php
 * @Description: 
 */
if ( ! defined( 'ABSPATH' ) ) { exit; }

return array(
    'title'       => '邮箱发信',
    'icon'        => 'fa fa-envelope',
    'description' => '',
    'fields'      => array(
        array(
            'type'    => 'submessage',
            'style'   => 'danger',
            'content' => '<h4>邮件发信服务设置</h4><p>如果你不需要评论邮件通知等功能,可不设置。<br>国内一般使用 SMTP 服务</p>
            <p><i class="fa fa-fw fa-info-circle fa-fw"></i> 注:如果要关闭或者使用<b>第三方插件</b>
            请选择“关闭”,不能和其他SMTP插件一起开启!同时请注意开启服务器对应的端口!</p>
            <a href="' . io_get_admin_iocf_url('用户安全/用户注册') . '">登录/注册功能设置</a>',
        ),
        array(
            'id'      => 'i_default_mailer',
            'type'    => 'radio',
            'title'   => 'SMTP服务',
            'default' => 'php',
            'inline'  => true,
            'options' => array(
                'php'  => '关闭',
                'smtp' => 'SMTP'
            ),
            'after'   => '使用 “SMTP” 或 “关闭”用第三方插件 作为默认邮件发送方式', 
        ),
        array(
            'id'         => 'i_smtp_host',
            'type'       => 'text',
            'title'      => 'SMTP 主机', 
            'after'      => '您的 SMTP 服务主机', 
            'class'      => 'compact',
            'dependency' => array('i_default_mailer', '==', 'smtp')
        ),
        array(
            'id'         => 'i_smtp_port',
            'type'       => 'text',
            'title'      => 'SMTP 端口', 
            'after'      => '您的 SMTP 服务端口', 
            'default'    => 465,
            'class'      => 'compact',
            'dependency' => array('i_default_mailer', '==', 'smtp')
        ),
        array(
            'id'         => 'i_smtp_secure',
            'type'       => 'radio',
            'title'      => 'SMTP 安全', 
            'after'      => '您的 SMTP 服务器安全协议', 
            'default'    => 'ssl',
            'inline'     => true,
            'options'    => array(
                'auto' => 'Auto',
                'ssl'  => 'SSL',
                'tls'  => 'TLS',
                'none' => 'None'
            ),
            'class'      => 'compact',
            'dependency' => array('i_default_mailer', '==', 'smtp')
        ),
        array(
            'id'         => 'i_smtp_username',
            'type'       => 'text',
            'title'      => 'SMTP 用户名', 
            'after'      => '您的 SMTP 用户名', 
            'class'      => 'compact',
            'dependency' => array('i_default_mailer', '==', 'smtp')
        ),
        array(
            'id'         => 'i_smtp_password',
            'type'       => 'text',
            'title'      => 'SMTP 密码', 
            'after'      => '您的 SMTP 密码', 
            'class'      => 'compact',
            'dependency' => array('i_default_mailer', '==', 'smtp')
        ),
        array(
            'id'         => 'i_smtp_name',
            'type'       => 'text',
            'title'      => '你的姓名', 
            'default'    => get_bloginfo('name'),
            'after'      => '你发送的邮件中显示的名称', 
            'class'      => 'compact',
            'dependency' => array('i_default_mailer', '==', 'smtp'),
        ),
        array(
            'type'    => 'submessage',
            'style'   => 'warning',
            'content' => '<h4>邮件发送测试</h4>
            <p>输入接收邮件的邮箱号码,发送测试邮件</p>
            <ajaxform class="ajax-form" ajax-url="' . admin_url('admin-ajax.php') . '">
            <p><input type="text" class="not-change" ajax-name="email"></p>
            <div class="ajax-notice"></div>
            <p><a href="javascript:;" class="button button-primary ajax-submit"><i class="fa fa-paper-plane-o"></i> 发送测试邮件</a></p>
            <input type="hidden" ajax-name="action" value="test_mail">
            </ajaxform>',
        ),
    ),
);

Youez - 2016 - github.com/yon3zu
LinuXploit