Файловый менеджер - Редактировать - /var/www/html/administrator/components/com_community/views/mailqueue/tmpl/default.php
Ðазад
<?php /** * @copyright (C) 2013 iJoomla, Inc. - All rights reserved. * @license GNU General Public License, version 2 (http://www.gnu.org/licenses/gpl-2.0.html) * @author iJoomla.com <webmaster@ijoomla.com> * @url https://www.jomsocial.com/license-agreement * The PHP code portions are distributed under the GPL license. If not otherwise stated, all images, manuals, cascading style sheets, and included JavaScript *are NOT GPL, and are released under the IJOOMLA Proprietary Use License v1.0 * More info at https://www.jomsocial.com/license-agreement */ use Joomla\CMS\Factory; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; use Joomla\CMS\Date\Date; // Disallow direct access to this file defined('_JEXEC') or die('Restricted access'); ?> <script type="text/javascript" language="javascript"> /** * This function needs to be here because, Joomla calls it **/ Joomla.submitbutton = function(action){ submitbutton( action ); } function submitbutton(action) { Joomla.submitform(action); } </script> <div class="page-desc"> <p><?php echo Text::sprintf('COM_COMMUNITY_MAILQUEUE_DESCRIPTION','//tiny.cc/mailqueue'); ?></p> <a class="btn btn-mini btn-info" href="http://tiny.cc/mailqueue" target="_blank"><i class="js-icon-info-sign"></i> <?php echo Text::_('COM_COMMUNITY_DOC'); ?></a> </div> <form action="index.php?option=com_community" method="get" name="adminForm" id="adminForm"> <!-- page header --> <div class="row-fluid"> <div class="span12"> <div class="pull-right text-right"> <?php echo $this->_getStatusHTML();?> </div> </div> </div> <table class="table table-bordered table-hover"> <thead> <tr class="title"> <th width="10"><?php echo Text::_('COM_COMMUNITY_NUMBER'); ?></th> <th width="10"> <input type="checkbox" name="toggle" value="" onclick="Joomla.checkAll(this)" /> <span class="lbl"></span> </th> <th> <?php echo Text::_('COM_COMMUNITY_MAILQUEUE_RECIPIENT'); ?> </th> <th> <?php echo Text::_('COM_COMMUNITY_MAILQUEUE_SUBJECT'); ?> </th> <th> <?php echo Text::_('COM_COMMUNITY_MAILQUEUE_CONTENT'); ?> </th> <th width="80"> <?php echo Text::_('COM_COMMUNITY_CREATED'); ?> </th> <th> <?php echo Text::_('COM_COMMUNITY_STATUS'); ?> </th> </tr> </thead> <?php if( !$this->mailqueues ) { ?> <tr> <td colspan="7" align="center"> <div><?php echo Text::_('COM_COMMUNITY_MAILQUEUE_NO_MAIL_QUEUE'); ?></div> </td> </tr> <?php } else { $i = 0; $mainframe = Factory::getApplication(); foreach( $this->mailqueues as $queue ) { $created = Date::getInstance( $queue->created ); if(method_exists('JDate','getOffsetFromGMT')){ $created->setTimezone( new DateTimeZone($mainframe->get('offset')) ); //Joomla 3 compat } else { $systemOffset = new DateTimeZone($mainframe->get('offset')); $created->setTimezone($systemOffset); } ?> <tr> <td align="center"><?php echo $i + 1; ?></td> <td> <?php echo HTMLHelper::_('grid.id', $i++, $queue->id); ?> <span class="lbl"></span> </td> <td> <div> <?php echo $queue->recipient; ?> </div> </td> <td> <div> <?php echo $queue->subject; ?> </div> </td> <td> <div> <?php //replace aliasURL if needed $message = htmlspecialchars_decode($queue->body); $message = htmlspecialchars($message); echo CUserHelper::replaceAliasURL($message); ?> </div> </td> <td> <div> <?php echo $created->format('Y-m-d H:i:s'); ?> </div> </td> <td> <span class="label label-important"><?php echo $this->getStatusText( $queue->status ); ?></span> </td> </tr> <?php } } ?> </table> <div class="pull-left"> <?php echo $this->pagination->getListFooter(); ?> </div> <div class="pull-right"> <?php echo $this->pagination->getLimitBox(); ?> </div> <input type="hidden" name="view" value="mailqueue" /> <input type="hidden" name="task" value="mailqueue" /> <input type="hidden" name="option" value="com_community" /> <input type="hidden" name="boxchecked" value="0" /> </form> <script type="text/javascript"> Joomla._submitbutton = Joomla.submitbutton; Joomla.submitbutton = function(task) { var form, target; if (window.jQuery && document.adminForm && task == 'executeCron') { form = jQuery(document.adminForm); target = form.attr('target'); form.attr('target', '_blank'); Joomla._submitbutton(task); if (target) { form.attr('target', target); } else { form.removeAttr('target'); } return; } Joomla._submitbutton(task); } </script>
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка