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

📄 defaultview.php

📁 一、修改产品详细页面的附件块 二、添加上浏览历史模块 三、在后台加入自定义首页、自定义页头、自定义页脚内容功能 四、在后台修改网站全局CSS样式文件功能 五、在后台修改每个模块的模板内容功能
💻 PHP
字号:
<?php/** * Swift Mailer Verbose-sending Plugin Default View File. * Please read the LICENSE file * @author Chris Corbyn <chris@w3style.co.uk> * @package Swift_Plugin * @subpackage VerboseSending * @license GNU Lesser General Public License */require_once dirname(__FILE__) . "/../../ClassLoader.php";Swift_ClassLoader::load("Swift_Plugin_VerboseSending_AbstractView");/** * The Default View for the Verbose Sending Plugin * @package Swift_Plugin * @subpackage VerboseSending * @author Chris Corbyn <chris@w3style.co.uk> */class Swift_Plugin_VerboseSending_DefaultView extends Swift_Plugin_VerboseSending_AbstractView{  /**   * Number of recipients painted   * @var int   */  protected $count = 0;    /**   * Paint the result of a send operation   * @param string The email address that was tried   * @param boolean True if the message was successfully sent   */  public function paintResult($address, $result)  {    $this->count++;    $color = $result ? "#51c45f" : "#d67d71";    $result_text = $result ? "PASS" : "FAIL";    ?>    <div style="color: #ffffff; margin: 2px; padding: 3px;       font-weight: bold; background: <?php echo $color; ?>;">      <span style="float: right; text-decoration: underline;">        <?php echo $result_text; ?></span>       Recipient (<?php echo $this->count; ?>):       <?php echo $address; ?>    </div>    <?php    flush();  }}

⌨️ 快捷键说明

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