文件操作 - emailtemp_theme.php
返回文件管理
返回主菜单
删除本文件
文件: /usr/local/softaculous/enduser/themes/default/admin/emailtemp_theme.php
编辑文件内容
<?php ////////////////////////////////////////////////////////////// //=========================================================== // emailtemp_theme.php //=========================================================== // SOFTACULOUS VIRTUALIZOR // Version : 1.0 // Inspired by the DESIRE to be the BEST OF ALL // ---------------------------------------------------------- // Started by: Alons // Date: 8th Mar 2010 // Time: 23:00 hrs // Site: http://www.virtualizor.com/ (SOFTACULOUS VIRTUALIZOR) // ---------------------------------------------------------- // Please Read the Terms of use at http://www.virtualizor.com // ---------------------------------------------------------- //=========================================================== // (c)Softaculous Ltd. //=========================================================== ////////////////////////////////////////////////////////////// if(!defined('SOFTACULOUS')){ die('Hacking Attempt'); } function emailtemp_theme(){ global $theme, $globals, $kernel, $user, $l, $error, $emailtemps, $done, $notice; softheader(__('$0 - Email Templates', array(APP))); echo '<div class="container-fluid"> <div class="container my-4"> <div class="row"> <div class="col-12 col-lg-8 mx-auto"> <div class="sai-card p-4"> <div class="sai_main_head"> <i class="far fa-envelope sai-icon d-inline-block mr-1"></i> <h2 class="sai-heading d-inline-block mb-2 position-relative" style="top:-4px;">'.__('Email Templates').'</h2> </div> <hr class="sai_main_head_hr"/>'; if(!empty($notice)){ echo '<div class="row my-2 text-center"> <div class="col-12 col-lg-10 alert alert-warning p-3 mx-auto"> <i class="fas fa-exclamation-triangle fa-2x mr-2"></i>'.__('Please select appropriate email template').' </div> </div>'; }else{ echo '<div class="sai_form">'; error_handle($error); echo '<div class="sai-heading-block tables-cols" style="line-height:1;"> <label class="d-inline-block">'.__('Template Name').'</label> <label class="d-inline-block pull-right">'.__('Options').'</label> </div>'; $i=1; foreach($emailtemps as $k=>$v){ echo '<div class="sai-email-options"> <label class="sai_bboxtxt">'.$l['temp_'.$k].'</label> <a href="'.$globals['ind'].'act=editemailtemp&temp='.$k.'" class="sai-edit-icon pull-right"> <i class="fas fa-pencil-alt px-1 sai_icons" style="color:#FF5D00;" title="Edit"></i> </a> </div>'; $i++; } echo '</div> </div> </div> </div> </div>'; } softfooter(); } ?>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件