Файловый менеджер - Редактировать - /var/www/html/administrator/components/com_community/views/backgrounds/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; // Disallow direct access to this file defined('_JEXEC') or die('Restricted access'); CommunityLicenseHelper::disabledHtml(); if (version_compare(JVERSION, '4.0', '>=')) { HTMLHelper::script('administrator/components/com_community/assets/js/j3/sortablelist.js'); echo " <script> jQuery(document).ready(function ($){ var sortableList = new $.JSortableList('#backgroundList tbody','adminForm','' , 'index.php?option=com_community&view=moods&task=ajaxReorder','',''); }); </script>"; } else { $saveOrderingUrl = 'index.php?option=com_community&view=moods&task=ajaxReorder'; echo HTMLHelper::_('sortablelist.sortable', 'backgroundList', 'adminForm', '', $saveOrderingUrl); } ?> <style type="text/css"> .backgroundImage { max-width:30px; max-height:30px; } .container-main { padding-bottom: 0 !important; } </style> <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) { if (action == 'newBackground') { window.location = 'index.php?option=com_community&view=backgrounds&layout=edit'; return; } Joomla.submitform( action ); } </script> <form action="index.php?option=com_community" method="post" name="adminForm" id="adminForm"> <table class="table table-striped" id="backgroundList"> <thead> <tr> <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 width="50"> <?php echo Text::_('COM_COMMUNITY_BACKGROUNDS_IMAGE')?> </th> <th width="200"> <?php echo Text::_('COM_COMMUNITY_TITLE');?> </th> <th> <?php echo Text::_('COM_COMMUNITY_BACKGROUNDS_DESCRIPTION'); ?> </th> <th width="50"> <?php echo Text::_('COM_COMMUNITY_PUBLISHED'); ?> </th> </tr> </thead> <tbody> <?php $i = 0; ?> <?php if( empty( $this->backgrounds ) ) { //this should never happen ?> <tr> <td colspan="7" align="center"><?php echo Text::_('COM_COMMUNITY_BACKGROUNDS_NONE_CREATED');?></td> </tr> <?php } ?> <?php foreach($this->backgrounds as $row): ?> <tr> <td align="center"> <span class="sortable-handler" style="cursor: move;"> <i class="icon-menu"></i> </span> </td> <td> <?php echo HTMLHelper::_('grid.id', $i++, $row->id); ?> <span class="lbl"></span> </td> <td> <?php if($row->image):?> <a href="index.php?option=com_community&view=backgrounds&layout=edit&backgroundid=<?php echo $row->id;?>"> <img src="<?php echo $row->thumb; ?>" class="backgroundImage"> </a> <?php endif; ?> </td> <td> <a href="index.php?option=com_community&view=backgrounds&layout=edit&backgroundid=<?php echo $row->id;?>"> <?php echo $row->title; ?> <?php if( $row->custom == '0') :?> <span class="is-default" style="font-size:10px; font-weight: bold; color: #d15b46;"> <?php echo Text::_('COM_COMMUNITY_THEME_COLORS_RESET_FIELD') ?> </span> <?php endif ?> </a> </td> <td> <?php echo $row->description; ?> </td> <td id="published<?php echo $row->id;?>" align="center" class='center'> <?php echo $this->getPublish($row , 'published' , 'backgrounds,ajaxTogglePublish');?> </td> </tr> <?php endforeach; ?> </tbody> </table> <input type="hidden" name="view" value="backgrounds" /> <input type="hidden" name="option" value="com_community" /> <input type="hidden" name="task" value="backgrounds" /> <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
|
ÐаÑтройка