Файловый менеджер - Редактировать - /var/www/html/administrator/components/com_community/views/pages/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\HTML\HTMLHelper; use Joomla\CMS\Language\Text; use Joomla\CMS\Router\Route; use Joomla\CMS\Uri\Uri; // 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 toolbar calls it **/ Joomla.submitbutton = function(action){ submitbutton( action ); } function submitbutton( action ) { switch (action) { default: Joomla.submitform(action); break; } } </script> <form action="index.php?option=com_community" method="get" name="adminForm" id="adminForm"> <!-- page header --> <div class="js-filter-wrap row-fluid"> <div class="span12"> <input type="text" onchange="document.adminForm.submit();" class="no-margin" value="<?php echo ($this->search) ? $this->escape( $this->search ) : ''; ?>" id="search" name="search" /> <div class="btn btn-small btn-primary" onclick="document.adminForm.submit();"> <i class="js-icon-search"></i> <?php echo Text::_('COM_COMMUNITY_SEARCH');?> </div> <div class="pull-right text-right"> <?php echo $this->categories;?> <?php echo $this->_getStatusHTML();?> </div> </div> </div> <table class="table table-bordered table-hover"> <thead> <tr class="title"> <th width="10">#</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_AVATAR')?> </th> <th width="200"> <?php echo HTMLHelper::_('grid.sort', Text::_('COM_COMMUNITY_NAME') , 'a.name', $this->lists['order_Dir'], $this->lists['order'] ); ?> </th> <th> <?php echo Text::_('COM_COMMUNITY_PAGES_DESCRIPTION'); ?> </th> <th> <?php echo Text::_('COM_COMMUNITY_CATEGORY'); ?> </th> <th> <?php echo HTMLHelper::_('grid.sort', Text::_('COM_COMMUNITY_NOTIFICATIONPAGE_ADMIN'), 'c.name', $this->lists['order_Dir'], $this->lists['order'] ); ?> </th> <th width="50"> <?php echo HTMLHelper::_('grid.sort', Text::_('COM_COMMUNITY_PUBLISHED'), 'a.published', $this->lists['order_Dir'], $this->lists['order'] ); ?> </th> <th width="70"> <?php echo HTMLHelper::_('grid.sort', Text::_('COM_COMMUNITY_PAGES_MEMBER_S'), 'membercount', $this->lists['order_Dir'], $this->lists['order'] ); ?> </th> <th> <?php echo Text::_('COM_COMMUNITY_VIEW');?> </th> </tr> </thead> <?php $i = 0; ?> <?php if( empty( $this->pages ) ) { ?> <tr> <td colspan="7" align="center"><?php echo Text::_('COM_COMMUNITY_PAGES_NONE_CREATED');?></td> </tr> <?php } ?> <?php foreach( $this->pages as $row ): ?> <tr> <td align="center"> <?php echo ( $i + 1 ); ?> </td> <td> <?php echo HTMLHelper::_('grid.id', $i++, $row->id); ?> <span class="lbl"></span> </td> <td> <img src="<?php echo $this->getThumbAvatar($row);?>" /> </td> <td> <a href="javascript:void(0);" onclick="azcommunity.editPage('<?php echo $row->id; ?>');"> <?php echo $row->name; ?> </a> </td> <td> <?php echo $row->description; ?> </td> <td> <?php echo $row->category; ?> </td> <td align="center"> <?php echo $row->username?$row->username:'-'; ?> <span>[ <a href="javascript:void(0);" onclick="azcommunity.changePageOwner('<?php echo $row->id; ?>');"><?php echo Text::_('COM_COMMUNITY_PAGES_CHANGE'); ?></a> ]</span> </td> <td id="published<?php echo $row->id;?>" align="center" class='center'> <?php echo $this->getPublish( $row , 'published' , 'pages,ajaxTogglePublish' );?> </td> <td align="center"> <?php echo $row->membercount; ?> </td> <td> <a href="<?php echo Route::_(Uri::root().'index.php?option=com_community&view=pages&task=viewpage&pageid='.$row->id); ?>" target="_blank"><?php echo Text::_('COM_COMMUNITY_VIEW')?></a> </td> </tr> <?php endforeach; ?> </table> <div class="js-limit-wrap"> <?php echo $this->pagination->getListFooter(); ?> <?php echo $this->pagination->getLimitBox(); ?> </div> <input type="hidden" name="view" value="pages" /> <input type="hidden" name="option" value="com_community" /> <input type="hidden" name="task" value="pages" /> <input type="hidden" name="boxchecked" value="0" /> <input type="hidden" name="filter_order" value="<?php echo $this->lists['order']; ?>" /> <input type="hidden" name="filter_order_Dir" value="<?php echo $this->lists['order_Dir']; ?>" /> </form>
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка