⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 securesmtpconnectionconfighandler.class.php

📁 ProjectPier 源码 很好的项目管理程序
💻 PHP
字号:
<?php  /**  * Select secure SMTP connection value  *  * @version 1.0  * @http://www.projectpier.org/  */  class SecureSmtpConnectionConfigHandler extends ConfigHandler {      /**    * Render form control    *    * @param string $control_name    * @return string    */    function render($control_name) {      $options = array();            $option_attributes = $this->getValue() == 'no' ? array('selected' => 'selected') : null;      $options[] = option_tag(lang('secure smtp connection no'), 'no', $option_attributes);            $option_attributes = $this->getValue() == 'ssl' ? array('selected' => 'selected') : null;      $options[] = option_tag(lang('secure smtp connection ssl'), 'ssl', $option_attributes);            $option_attributes = $this->getValue() == 'tls' ? array('selected' => 'selected') : null;      $options[] = option_tag(lang('secure smtp connection tls'), 'tls', $option_attributes);            return select_box($control_name, $options);    } // render    } // SecureSmtpConnectionConfigHandler?>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -