Файловый менеджер - Редактировать - /home/wuectly/www/03cbe/html.zip
Назад
PK �!](М�� � newsfeed.phpnu &1i� <?php /** * @package Joomla.Administrator * @subpackage com_newsfeeds * * @copyright (C) 2009 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; JLoader::register('NewsfeedsHelper', JPATH_ADMINISTRATOR . '/components/com_newsfeeds/helpers/newsfeeds.php'); /** * Utility class for creating HTML Grids. * * @since 1.5 */ class JHtmlNewsfeed { /** * Get the associated language flags * * @param int $newsfeedid The item id to search associations * * @return string The language HTML * * @throws Exception Throws a 500 Exception on Database failure */ public static function association($newsfeedid) { // Defaults $html = ''; // Get the associations if ($associations = JLanguageAssociations::getAssociations('com_newsfeeds', '#__newsfeeds', 'com_newsfeeds.item', $newsfeedid)) { foreach ($associations as $tag => $associated) { $associations[$tag] = (int) $associated->id; } // Get the associated newsfeed items $db = JFactory::getDbo(); $query = $db->getQuery(true) ->select('c.id, c.name as title') ->select('l.sef as lang_sef, lang_code') ->from('#__newsfeeds as c') ->select('cat.title as category_title') ->join('LEFT', '#__categories as cat ON cat.id=c.catid') ->where('c.id IN (' . implode(',', array_values($associations)) . ')') ->where('c.id != ' . $newsfeedid) ->join('LEFT', '#__languages as l ON c.language=l.lang_code') ->select('l.image') ->select('l.title as language_title'); $db->setQuery($query); try { $items = $db->loadObjectList('id'); } catch (RuntimeException $e) { throw new Exception($e->getMessage(), 500); } if ($items) { foreach ($items as &$item) { $text = strtoupper($item->lang_sef); $url = JRoute::_('index.php?option=com_newsfeeds&task=newsfeed.edit&id=' . (int) $item->id); $tooltip = htmlspecialchars($item->title, ENT_QUOTES, 'UTF-8') . '<br />' . JText::sprintf('JCATEGORY_SPRINTF', $item->category_title); $classes = 'hasPopover label label-association label-' . $item->lang_sef; $item->link = '<a href="' . $url . '" title="' . $item->language_title . '" class="' . $classes . '" data-content="' . $tooltip . '" data-placement="top">' . $text . '</a>'; } } JHtml::_('bootstrap.popover'); $html = JLayoutHelper::render('joomla.content.associations', $items); } return $html; } } PK U�!]}A� modules.phpnu &1i� <?php /** * @package Joomla.Site * @subpackage Template.system * * @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /* * none (output raw module content) */ function modChrome_none($module, &$params, &$attribs) { echo $module->content; } /* * html5 (chosen html5 tag and font header tags) */ function modChrome_html5($module, &$params, &$attribs) { $moduleTag = htmlspecialchars($params->get('module_tag', 'div'), ENT_QUOTES, 'UTF-8'); $headerTag = htmlspecialchars($params->get('header_tag', 'h3'), ENT_QUOTES, 'UTF-8'); $bootstrapSize = (int) $params->get('bootstrap_size', 0); $moduleClass = $bootstrapSize !== 0 ? ' span' . $bootstrapSize : ''; // Temporarily store header class in variable $headerClass = $params->get('header_class'); $headerClass = !empty($headerClass) ? ' class="' . htmlspecialchars($headerClass, ENT_COMPAT, 'UTF-8') . '"' : ''; if (!empty ($module->content)) : ?> <<?php echo $moduleTag; ?> class="moduletable<?php echo htmlspecialchars($params->get('moduleclass_sfx', ''), ENT_COMPAT, 'UTF-8') . $moduleClass; ?>"> <?php if ((bool) $module->showtitle) :?> <<?php echo $headerTag . $headerClass . '>' . $module->title; ?></<?php echo $headerTag; ?>> <?php endif; ?> <?php echo $module->content; ?> </<?php echo $moduleTag; ?>> <?php endif; } /* * Module chrome that wraps the module in a table */ function modChrome_table($module, &$params, &$attribs) { ?> <table cellpadding="0" cellspacing="0" class="moduletable<?php echo htmlspecialchars($params->get('moduleclass_sfx', ''), ENT_COMPAT, 'UTF-8'); ?>"> <?php if ((bool) $module->showtitle) : ?> <tr> <th> <?php echo $module->title; ?> </th> </tr> <?php endif; ?> <tr> <td> <?php echo $module->content; ?> </td> </tr> </table> <?php } /* * Module chrome that wraps the tabled module output in a <td> tag of another table */ function modChrome_horz($module, &$params, &$attribs) { ?> <table cellspacing="1" cellpadding="0" width="100%"> <tr> <td> <?php modChrome_table($module, $params, $attribs); ?> </td> </tr> </table> <?php } /* * xhtml (divs and font header tags) * With the new advanced parameter it does the same as the html5 chrome */ function modChrome_xhtml($module, &$params, &$attribs) { $moduleTag = htmlspecialchars($params->get('module_tag', 'div'), ENT_QUOTES, 'UTF-8'); $headerTag = htmlspecialchars($params->get('header_tag', 'h3'), ENT_QUOTES, 'UTF-8'); $bootstrapSize = (int) $params->get('bootstrap_size', 0); $moduleClass = $bootstrapSize !== 0 ? ' span' . $bootstrapSize : ''; // Temporarily store header class in variable $headerClass = $params->get('header_class'); $headerClass = $headerClass ? ' class="' . htmlspecialchars($headerClass, ENT_COMPAT, 'UTF-8') . '"' : ''; if (!empty ($module->content)) : ?> <<?php echo $moduleTag; ?> class="moduletable<?php echo htmlspecialchars($params->get('moduleclass_sfx', ''), ENT_COMPAT, 'UTF-8') . $moduleClass; ?>"> <?php if ((bool) $module->showtitle) : ?> <<?php echo $headerTag . $headerClass . '>' . $module->title; ?></<?php echo $headerTag; ?>> <?php endif; ?> <?php echo $module->content; ?> </<?php echo $moduleTag; ?>> <?php endif; } /* * Module chrome that allows for rounded corners by wrapping in nested div tags */ function modChrome_rounded($module, &$params, &$attribs) { ?> <div class="module<?php echo htmlspecialchars($params->get('moduleclass_sfx', ''), ENT_COMPAT, 'UTF-8'); ?>"> <div> <div> <div> <?php if ((bool) $module->showtitle) : ?> <h3><?php echo $module->title; ?></h3> <?php endif; ?> <?php echo $module->content; ?> </div> </div> </div> </div> <?php } /* * Module chrome that add preview information to the module */ function modChrome_outline($module, &$params, &$attribs) { static $css = false; if (!$css) { $css = true; $doc = JFactory::getDocument(); $doc->addStyleDeclaration(' .mod-preview { background: rgba(100,100,100,.08); box-shadow: 0 0 0 4px #f4f4f4, 0 0 0 5px rgba(100,100,100,.2); border-radius: 1px; margin: 8px 0; } .mod-preview-info { padding: 4px 6px; margin-bottom: 5px; font-family: Arial, sans-serif; font-size: .75rem; line-height: 1rem; color: white; background-color: #33373f; border-radius: 3px; box-shadow: 0 -10px 20px rgba(0,0,0,.2) inset; } .mod-preview-info span { font-weight: bold; color: #ccc; } .mod-preview-wrapper { margin-bottom: .5rem; } '); } ?> <div class="mod-preview"> <div class="mod-preview-info"> <div class="mod-preview-position"> <?php echo JText::sprintf('JGLOBAL_PREVIEW_POSITION', $module->position); ?> </div> <div class="mod-preview-style"> <?php echo JText::sprintf('JGLOBAL_PREVIEW_STYLE', $module->style); ?> </div> </div> <div class="mod-preview-wrapper"> <?php echo $module->content; ?> </div> </div> <?php } PK Ϡ!]I��,� � contentadministrator.phpnu &1i� <?php /** * @package Joomla.Administrator * @subpackage com_content * * @copyright (C) 2007 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\Utilities\ArrayHelper; JLoader::register('ContentHelper', JPATH_ADMINISTRATOR . '/components/com_content/helpers/content.php'); /** * Content HTML helper * * @since 3.0 */ abstract class JHtmlContentAdministrator { /** * Render the list of associated items * * @param integer $articleid The article item id * * @return string The language HTML * * @throws Exception */ public static function association($articleid) { // Defaults $html = ''; // Get the associations if ($associations = JLanguageAssociations::getAssociations('com_content', '#__content', 'com_content.item', $articleid)) { foreach ($associations as $tag => $associated) { $associations[$tag] = (int) $associated->id; } // Get the associated menu items $db = JFactory::getDbo(); $query = $db->getQuery(true) ->select('c.*') ->select('l.sef as lang_sef') ->select('l.lang_code') ->from('#__content as c') ->select('cat.title as category_title') ->join('LEFT', '#__categories as cat ON cat.id=c.catid') ->where('c.id IN (' . implode(',', array_values($associations)) . ')') ->where('c.id != ' . $articleid) ->join('LEFT', '#__languages as l ON c.language=l.lang_code') ->select('l.image') ->select('l.title as language_title'); $db->setQuery($query); try { $items = $db->loadObjectList('id'); } catch (RuntimeException $e) { throw new Exception($e->getMessage(), 500, $e); } if ($items) { foreach ($items as &$item) { $text = $item->lang_sef ? strtoupper($item->lang_sef) : 'XX'; $url = JRoute::_('index.php?option=com_content&task=article.edit&id=' . (int) $item->id); $tooltip = htmlspecialchars($item->title, ENT_QUOTES, 'UTF-8') . '<br />' . JText::sprintf('JCATEGORY_SPRINTF', $item->category_title); $classes = 'hasPopover label label-association label-' . $item->lang_sef; $item->link = '<a href="' . $url . '" title="' . $item->language_title . '" class="' . $classes . '" data-content="' . $tooltip . '" data-placement="top">' . $text . '</a>'; } } JHtml::_('bootstrap.popover'); $html = JLayoutHelper::render('joomla.content.associations', $items); } return $html; } /** * Show the feature/unfeature links * * @param integer $value The state value * @param integer $i Row number * @param boolean $canChange Is user allowed to change? * * @return string HTML code */ public static function featured($value = 0, $i = 0, $canChange = true) { JHtml::_('bootstrap.tooltip'); // Array of image, task, title, action $states = array( 0 => array('unfeatured', 'articles.featured', 'COM_CONTENT_UNFEATURED', 'JGLOBAL_TOGGLE_FEATURED'), 1 => array('featured', 'articles.unfeatured', 'COM_CONTENT_FEATURED', 'JGLOBAL_TOGGLE_FEATURED'), ); $state = ArrayHelper::getValue($states, (int) $value, $states[1]); $icon = $state[0]; if ($canChange) { $html = '<a href="#" onclick="return listItemTask(\'cb' . $i . '\',\'' . $state[1] . '\')" class="btn btn-micro hasTooltip' . ($value == 1 ? ' active' : '') . '" title="' . JHtml::_('tooltipText', $state[3]) . '"><span class="icon-' . $icon . '" aria-hidden="true"></span></a>'; } else { $html = '<a class="btn btn-micro hasTooltip disabled' . ($value == 1 ? ' active' : '') . '" title="' . JHtml::_('tooltipText', $state[2]) . '"><span class="icon-' . $icon . '" aria-hidden="true"></span></a>'; } return $html; } } PK ��!]ꠠ� � banner.phpnu &1i� <?php /** * @package Joomla.Administrator * @subpackage com_banners * * @copyright (C) 2011 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** * Banner HTML class. * * @since 2.5 */ abstract class JHtmlBanner { /** * Display a batch widget for the client selector. * * @return string The necessary HTML for the widget. * * @since 2.5 */ public static function clients() { JHtml::_('bootstrap.tooltip'); // Create the batch selector to change the client on a selection list. return implode( "\n", array( '<label id="batch-client-lbl" for="batch-client" class="hasTooltip" title="' . JHtml::_('tooltipText', 'COM_BANNERS_BATCH_CLIENT_LABEL', 'COM_BANNERS_BATCH_CLIENT_LABEL_DESC') . '">', JText::_('COM_BANNERS_BATCH_CLIENT_LABEL'), '</label>', '<select name="batch[client_id]" id="batch-client-id">', '<option value="">' . JText::_('COM_BANNERS_BATCH_CLIENT_NOCHANGE') . '</option>', '<option value="0">' . JText::_('COM_BANNERS_NO_CLIENT') . '</option>', JHtml::_('select.options', static::clientlist(), 'value', 'text'), '</select>' ) ); } /** * Method to get the field options. * * @return array The field option objects. * * @since 1.6 */ public static function clientlist() { $db = JFactory::getDbo(); $query = $db->getQuery(true) ->select('id As value, name As text') ->from('#__banner_clients AS a') ->order('a.name'); // Get the options. $db->setQuery($query); try { $options = $db->loadObjectList(); } catch (RuntimeException $e) { JError::raiseWarning(500, $e->getMessage()); } return $options; } /** * Returns a pinned state on a grid * * @param integer $value The state value. * @param integer $i The row index * @param boolean $enabled An optional setting for access control on the action. * @param string $checkbox An optional prefix for checkboxes. * * @return string The Html code * * @see JHtmlJGrid::state * @since 2.5.5 */ public static function pinned($value, $i, $enabled = true, $checkbox = 'cb') { $states = array( 1 => array( 'sticky_unpublish', 'COM_BANNERS_BANNERS_PINNED', 'COM_BANNERS_BANNERS_HTML_PIN_BANNER', 'COM_BANNERS_BANNERS_PINNED', true, 'publish', 'publish' ), 0 => array( 'sticky_publish', 'COM_BANNERS_BANNERS_UNPINNED', 'COM_BANNERS_BANNERS_HTML_UNPIN_BANNER', 'COM_BANNERS_BANNERS_UNPINNED', true, 'unpublish', 'unpublish' ), ); return JHtml::_('jgrid.state', $states, $value, $i, 'banners.', $enabled, true, $checkbox); } } PK ��!]�V� index.htmlnu &1i� <!DOCTYPE html><title></title> PK ��!]F0fb1 1 xmap.phpnu &1i� <?php /** * @version $Id$ * @copyright Copyright (C) 2007 - 2009 Joomla! Vargas. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt * @author Guillermo Vargas (guille@vargas.co.cr) */ // no direct access defined('_JEXEC') or die; JTable::addIncludePath( JPATH_COMPONENT . '/tables' ); /** * @package Xmap * @subpackage com_xmap */ abstract class JHtmlXmap { /** * @param string $name * @param string $value * @param int $j */ public static function priorities($name, $value = '0.5', $j) { // Array of options for ($i=0.1; $i<=1;$i+=0.1) { $options[] = JHTML::_('select.option',$i,$i);; } return JHtml::_('select.genericlist', $options, $name, null, 'value', 'text', $value, $name.$j); } /** * @param string $name * @param string $value * @param int $j */ public static function changefrequency($name, $value = 'weekly', $j) { // Array of options $options[] = JHTML::_('select.option','hourly','hourly'); $options[] = JHTML::_('select.option','daily','daily'); $options[] = JHTML::_('select.option','weekly','weekly'); $options[] = JHTML::_('select.option','monthly','monthly'); $options[] = JHTML::_('select.option','yearly','yearly'); $options[] = JHTML::_('select.option','never','never'); return JHtml::_('select.genericlist', $options, $name, null, 'value', 'text', $value, $name.$j); } } PK ��!] :i� � events.phpnu &1i� <?php /** *------------------------------------------------------------------------------ * iCagenda v3 by Jooml!C - Events Management Extension for Joomla! 2.5 / 3.x *------------------------------------------------------------------------------ * @package com_icagenda * @copyright Copyright (c)2012-2015 Cyril Rezé, Jooml!C - All rights reserved * * @license GNU General Public License version 3 or later; see LICENSE.txt * @author Cyril Rezé (Lyr!C) * @link http://www.joomlic.com * * @version 3.1.10 2013-09-11 * @since 3.2 *------------------------------------------------------------------------------ */ // No direct access to this file defined('_JEXEC') or die(); /** * Extended Utility class for the iCagenda component. * * @package Joomla.Administrator * @subpackage com_iCagenda * @since 3.2 */ class JHtmlEvents { public static function approveEvents() { $states = array( 1 => array( 'img' => 'tick.png', 'task' => 'approve', 'text' => '', 'active_title' => 'COM_ICAGENDA_TOOLBAR_APPROVE', 'inactive_title' => '', 'tip' => true, 'active_class' => 'unpublish', 'inactive_class' => 'unpublish' ), 0 => array( 'img' => 'publish_x.png', 'task' => '', 'text' => '', 'active_title' => '', 'inactive_title' => 'COM_ICAGENDA_APPROVED', 'tip' => true, 'active_class' => 'publish', 'inactive_class' => 'publish' ) ); return $states; } } PK 2�!]�� contact.phpnu &1i� <?php /** * @package Joomla.Administrator * @subpackage com_contact * * @copyright (C) 2009 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\Utilities\ArrayHelper; JLoader::register('ContactHelper', JPATH_ADMINISTRATOR . '/components/com_contact/helpers/contact.php'); /** * Contact HTML helper class. * * @since 1.6 */ abstract class JHtmlContact { /** * Get the associated language flags * * @param integer $contactid The item id to search associations * * @return string The language HTML * * @throws Exception */ public static function association($contactid) { // Defaults $html = ''; // Get the associations if ($associations = JLanguageAssociations::getAssociations('com_contact', '#__contact_details', 'com_contact.item', $contactid)) { foreach ($associations as $tag => $associated) { $associations[$tag] = (int) $associated->id; } // Get the associated contact items $db = JFactory::getDbo(); $query = $db->getQuery(true) ->select('c.id, c.name as title') ->select('l.sef as lang_sef, lang_code') ->from('#__contact_details as c') ->select('cat.title as category_title') ->join('LEFT', '#__categories as cat ON cat.id=c.catid') ->where('c.id IN (' . implode(',', array_values($associations)) . ')') ->where('c.id != ' . $contactid) ->join('LEFT', '#__languages as l ON c.language=l.lang_code') ->select('l.image') ->select('l.title as language_title'); $db->setQuery($query); try { $items = $db->loadObjectList('id'); } catch (RuntimeException $e) { throw new Exception($e->getMessage(), 500, $e); } if ($items) { foreach ($items as &$item) { $text = strtoupper($item->lang_sef); $url = JRoute::_('index.php?option=com_contact&task=contact.edit&id=' . (int) $item->id); $tooltip = htmlspecialchars($item->title, ENT_QUOTES, 'UTF-8') . '<br />' . JText::sprintf('JCATEGORY_SPRINTF', $item->category_title); $classes = 'hasPopover label label-association label-' . $item->lang_sef; $item->link = '<a href="' . $url . '" title="' . $item->language_title . '" class="' . $classes . '" data-content="' . $tooltip . '" data-placement="top">' . $text . '</a>'; } } JHtml::_('bootstrap.popover'); $html = JLayoutHelper::render('joomla.content.associations', $items); } return $html; } /** * Show the featured/not-featured icon. * * @param integer $value The featured value. * @param integer $i Id of the item. * @param boolean $canChange Whether the value can be changed or not. * * @return string The anchor tag to toggle featured/unfeatured contacts. * * @since 1.6 */ public static function featured($value = 0, $i = 0, $canChange = true) { // Array of image, task, title, action $states = array( 0 => array('unfeatured', 'contacts.featured', 'COM_CONTACT_UNFEATURED', 'JGLOBAL_TOGGLE_FEATURED'), 1 => array('featured', 'contacts.unfeatured', 'JFEATURED', 'JGLOBAL_TOGGLE_FEATURED'), ); $state = ArrayHelper::getValue($states, (int) $value, $states[1]); $icon = $state[0]; if ($canChange) { $html = '<a href="#" onclick="return listItemTask(\'cb' . $i . '\',\'' . $state[1] . '\')" class="btn btn-micro hasTooltip' . ($value == 1 ? ' active' : '') . '" title="' . JHtml::_('tooltipText', $state[3]) . '"><span class="icon-' . $icon . '" aria-hidden="true"></span></a>'; } else { $html = '<a class="btn btn-micro hasTooltip disabled' . ($value == 1 ? ' active' : '') . '" title="' . JHtml::_('tooltipText', $state[2]) . '"><span class="icon-' . $icon . '" aria-hidden="true"></span></a>'; } return $html; } } PK { "]��1OX X system.phpnu &1i� <?php /** * @package Joomla.Administrator * @subpackage com_admin * * @copyright (C) 2009 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** * Utility class working with system * * @since 1.6 */ abstract class JHtmlSystem { /** * Method to generate a string message for a value * * @param string $val a php ini value * * @return string html code */ public static function server($val) { return !empty($val) ? $val : JText::_('COM_ADMIN_NA'); } } PK { "]b<^� � directory.phpnu &1i� <?php /** * @package Joomla.Administrator * @subpackage com_admin * * @copyright (C) 2009 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** * Utility class working with directory * * @since 1.6 */ abstract class JHtmlDirectory { /** * Method to generate a (un)writable message for directory * * @param boolean $writable is the directory writable? * * @return string html code */ public static function writable($writable) { if ($writable) { return '<span class="badge badge-success">' . JText::_('COM_ADMIN_WRITABLE') . '</span>'; } return '<span class="badge badge-important">' . JText::_('COM_ADMIN_UNWRITABLE') . '</span>'; } /** * Method to generate a message for a directory * * @param string $dir the directory * @param boolean $message the message * @param boolean $visible is the $dir visible? * * @return string html code */ public static function message($dir, $message, $visible = true) { $output = $visible ? $dir : ''; if (empty($message)) { return $output; } return $output . ' <strong>' . JText::_($message) . '</strong>'; } } PK { "]ȻO� phpsetting.phpnu &1i� <?php /** * @package Joomla.Administrator * @subpackage com_admin * * @copyright (C) 2009 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** * Utility class working with phpsetting * * @since 1.6 */ abstract class JHtmlPhpSetting { /** * Method to generate a boolean message for a value * * @param boolean $val is the value set? * * @return string html code */ public static function boolean($val) { return JText::_($val ? 'JON' : 'JOFF'); } /** * Method to generate a boolean message for a value * * @param boolean $val is the value set? * * @return string html code */ public static function set($val) { return JText::_($val ? 'JYES' : 'JNO'); } /** * Method to generate a string message for a value * * @param string $val a php ini value * * @return string html code */ public static function string($val) { return !empty($val) ? $val : JText::_('JNONE'); } /** * Method to generate an integer from a value * * @param string $val a php ini value * * @return string html code * * @deprecated 4.0 Use intval() or casting instead. */ public static function integer($val) { try { JLog::add(sprintf('%s() is deprecated. Use intval() or casting instead.', __METHOD__), JLog::WARNING, 'deprecated'); } catch (RuntimeException $exception) { // Informational log only } return (int) $val; } } PK }"],��y[ [ com_templates/style/edit.phpnu &1i� <?php use Joomla\CMS\Uri\Uri; use Joomla\CMS\Factory; $session = Factory::getSession(); $t3lock = $session->get('T3.t3lock', 'overview_params'); $session->set('T3.t3lock', null); $input = Factory::getApplication()->input; $form = $this->getForm(); $db = Factory::getDbo(); $query = $db->getQuery(true); $query ->select('id, title') ->from('#__template_styles') ->where('template='. $db->quote(T3_TEMPLATE)); $db->setQuery($query); $styles = $db->loadObjectList(); foreach ($styles as $key => &$style) { $style->title = ucwords(str_replace('_', ' ', $style->title)); } $tplXml = T3_TEMPLATE_PATH . '/templateDetails.xml'; $xml = simplexml_load_file($tplXml); $frwXml = T3_ADMIN_PATH . '/'. T3_ADMIN . '.xml'; $fxml = simplexml_load_file($frwXml); if(version_compare(JVERSION,'4',"ge")){ include T3_ADMIN_PATH . '/admin/tpls/default_j4.php'; }else{ Factory::getDocument()->addStylesheet(Uri::base(true).'/templates/'.Factory::getApplication()->getTemplate().'/css/template' . ( JFactory::getDocument()->direction === 'rtl' ? '-rtl' : '') . '.css'); include T3_ADMIN_PATH . '/admin/tpls/default.php'; } ?>PK �"]�}�� batch/user.phpnu &1i� <?php /** * @package Joomla.Site * @subpackage Layout * * @copyright (C) 2015 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** * Layout variables * --------------------- * * @var boolean $noUser Inject an option for no user? */ extract($displayData); $optionNo = ''; if ($noUser) { $optionNo = '<option value="0">' . JText::_('JLIB_HTML_BATCH_USER_NOUSER') . '</option>'; } ?> <label id="batch-user-lbl" for="batch-user" class="modalTooltip" title="<?php echo JHtml::_('tooltipText', 'JLIB_HTML_BATCH_USER_LABEL', 'JLIB_HTML_BATCH_USER_LABEL_DESC'); ?>"> <?php echo JText::_('JLIB_HTML_BATCH_USER_LABEL'); ?> </label> <select name="batch[user_id]" class="inputbox" id="batch-user-id"> <option value=""><?php echo JText::_('JLIB_HTML_BATCH_USER_NOCHANGE'); ?></option> <?php echo $optionNo; ?> <?php echo JHtml::_('select.options', JHtml::_('user.userlist'), 'value', 'text'); ?> </select> PK �"]��j�� � batch/adminlanguage.phpnu &1i� <?php /** * @package Joomla.Site * @subpackage Layout * * @copyright (C) 2017 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** * Layout variables * --------------------- * None */ JFactory::getDocument()->addScriptDeclaration( ' jQuery(document).ready(function($){ if ($("#batch-category-id").length){var batchSelector = $("#batch-category-id");} if ($("#batch-menu-id").length){var batchSelector = $("#batch-menu-id");} if ($("#batch-position-id").length){var batchSelector = $("#batch-position-id");} if ($("#batch-copy-move").length && batchSelector) { $("#batch-copy-move").hide(); batchSelector.on("change", function(){ if (batchSelector.val() != 0 || batchSelector.val() != "") { $("#batch-copy-move").show(); } else { $("#batch-copy-move").hide(); } }); } }); ' ); ?> <label id="batch-language-lbl" for="batch-language-id" class="modalTooltip" title="<?php echo JHtml::_('tooltipText', 'JLIB_HTML_BATCH_LANGUAGE_LABEL', 'JLIB_HTML_BATCH_LANGUAGE_LABEL_DESC'); ?>"> <?php echo JText::_('JLIB_HTML_BATCH_LANGUAGE_LABEL'); ?> </label> <select name="batch[language_id]" class="inputbox" id="batch-language-id"> <option value=""><?php echo JText::_('JLIB_HTML_BATCH_LANGUAGE_NOCHANGE'); ?></option> <?php echo JHtml::_('select.options', JHtml::_('adminlanguage.existing', true, true), 'value', 'text'); ?> </select> PK �"]ϚG�� � batch/item.phpnu &1i� <?php /** * @package Joomla.Site * @subpackage Layout * * @copyright (C) 2015 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** * Layout variables * --------------------- * * @var string $extension The extension name */ extract($displayData); // Create the copy/move options. $options = array( JHtml::_('select.option', 'c', JText::_('JLIB_HTML_BATCH_COPY')), JHtml::_('select.option', 'm', JText::_('JLIB_HTML_BATCH_MOVE')) ); ?> <label id="batch-choose-action-lbl" for="batch-choose-action"><?php echo JText::_('JLIB_HTML_BATCH_MENU_LABEL'); ?></label> <div id="batch-choose-action" class="control-group"> <select name="batch[category_id]" class="inputbox" id="batch-category-id"> <option value=""><?php echo JText::_('JLIB_HTML_BATCH_NO_CATEGORY'); ?></option> <?php echo JHtml::_('select.options', JHtml::_('category.options', $extension)); ?> </select> </div> <div id="batch-copy-move" class="control-group radio"> <?php echo JText::_('JLIB_HTML_BATCH_MOVE_QUESTION'); ?> <?php echo JHtml::_('select.radiolist', $options, 'batch[move_copy]', '', 'value', 'text', 'm'); ?> </div> PK �"]�y8U? ? batch/tag.phpnu &1i� <?php /** * @package Joomla.Site * @subpackage Layout * * @copyright (C) 2015 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** * Layout variables * --------------------- * None */ ?> <label id="batch-tag-lbl" for="batch-tag-id" class="modalTooltip" title="<?php echo JHtml::_('tooltipText', 'JLIB_HTML_BATCH_TAG_LABEL', 'JLIB_HTML_BATCH_TAG_LABEL_DESC'); ?>"> <?php echo JText::_('JLIB_HTML_BATCH_TAG_LABEL'); ?> </label> <select name="batch[tag]" class="inputbox" id="batch-tag-id"> <option value=""><?php echo JText::_('JLIB_HTML_BATCH_TAG_NOCHANGE'); ?></option> <?php echo JHtml::_('select.options', JHtml::_('tag.tags', array('filter.published' => array(1))), 'value', 'text'); ?> </select> PK �"]T��.� � batch/access.phpnu &1i� <?php /** * @package Joomla.Site * @subpackage Layout * * @copyright (C) 2015 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** * Layout variables * --------------------- * None */ ?> <label id="batch-access-lbl" for="batch-access" class="modalTooltip" title="<?php echo JHtml::_('tooltipText', 'JLIB_HTML_BATCH_ACCESS_LABEL', 'JLIB_HTML_BATCH_ACCESS_LABEL_DESC'); ?>"> <?php echo JText::_('JLIB_HTML_BATCH_ACCESS_LABEL'); ?></label> <?php echo JHtml::_( 'access.assetgrouplist', 'batch[assetgroup_id]', '', 'class="inputbox"', array( 'title' => JText::_('JLIB_HTML_BATCH_NOCHANGE'), 'id' => 'batch-access' ) ); ?> PK �"]�P?� � batch/language.phpnu &1i� <?php /** * @package Joomla.Site * @subpackage Layout * * @copyright (C) 2015 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** * Layout variables * --------------------- * None */ JFactory::getDocument()->addScriptDeclaration( ' jQuery(document).ready(function($){ if ($("#batch-category-id").length){var batchSelector = $("#batch-category-id");} if ($("#batch-menu-id").length){var batchSelector = $("#batch-menu-id");} if ($("#batch-position-id").length){var batchSelector = $("#batch-position-id");} if ($("#batch-copy-move").length && batchSelector) { $("#batch-copy-move").hide(); batchSelector.on("change", function(){ if (batchSelector.val() != 0 || batchSelector.val() != "") { $("#batch-copy-move").show(); } else { $("#batch-copy-move").hide(); } }); } }); ' ); ?> <label id="batch-language-lbl" for="batch-language-id" class="modalTooltip" title="<?php echo JHtml::_('tooltipText', 'JLIB_HTML_BATCH_LANGUAGE_LABEL', 'JLIB_HTML_BATCH_LANGUAGE_LABEL_DESC'); ?>"> <?php echo JText::_('JLIB_HTML_BATCH_LANGUAGE_LABEL'); ?> </label> <select name="batch[language_id]" class="inputbox" id="batch-language-id"> <option value=""><?php echo JText::_('JLIB_HTML_BATCH_LANGUAGE_NOCHANGE'); ?></option> <?php echo JHtml::_('select.options', JHtml::_('contentlanguage.existing', true, true), 'value', 'text'); ?> </select> PK �"]Ny�^� � image.phpnu &1i� <?php /** * @package Joomla.Site * @subpackage Layout * * @copyright (C) 2022 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** * Layout variables * ----------------- * @var array $displayData Array with all the given attributes for the image element. * Eg: src, class, alt, width, height, loading, decoding, style, data-* * Note: only the alt and src attributes are escaped by default! */ if (isset($displayData['src'])) { $displayData['src'] = $this->escape($displayData['src']); } if (isset($displayData['alt'])) { if ($displayData['alt'] === false) { unset($displayData['alt']); } else { $displayData['alt'] = $this->escape($displayData['alt']); } } echo '<img ' . JArrayHelper::toString($displayData) . '>'; PK �"]�Sލ6 6 treeprefix.phpnu &1i� <?php /** * @package Joomla.Libraries * @subpackage HTML * * @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** * Layout variables * --------------------- * * @var integer $level The level of the item in the tree like structure. * * @since 3.6.0 */ extract($displayData); if ($level > 1) { echo '<span class="muted">' . str_repeat('┊ ', (int) $level - 2) . '</span>– '; } PK �"]� �qI I formbehavior/ajaxchosen.phpnu &1i� <?php /** * @package Joomla.Site * @subpackage Layout * * @copyright (C) 2015 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** * Layout variables * --------------------- * * @var string $selector The id of the field * @var array $options The options array * @var boolean $debug Are we in debug mode? * @var string $type Get or Post * @var string $url The URL * @var string $dataType Data type returned * @var string $jsonTermKey Extra JSON terminator key * @var integer $afterTypeDelay Delay for the execution * @var integer $minTermLength The minimum characters required */ extract($displayData); JText::script('JGLOBAL_KEEP_TYPING'); JText::script('JGLOBAL_LOOKING_FOR'); // Include jQuery JHtml::_('jquery.framework'); JHtml::_('script', 'jui/ajax-chosen.min.js', array('version' => 'auto', 'relative' => true, 'detectDebug' => $debug)); JFactory::getDocument()->addScriptDeclaration( " jQuery(document).ready(function ($) { $('" . $selector . "').ajaxChosen({ type: '" . $type . "', url: '" . $url . "', dataType: '" . $dataType . "', jsonTermKey: '" . $jsonTermKey . "', afterTypeDelay: '" . $afterTypeDelay . "', minTermLength: '" . $minTermLength . "' }, function (data) { var results = []; $.each(data, function (i, val) { results.push({ value: val.value, text: val.text }); }); return results; }); }); " );PK �"]g5�� � formbehavior/chosen.phpnu &1i� <?php /** * @package Joomla.Site * @subpackage Layout * * @copyright (C) 2015 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** * Layout variables * --------------------- * * @var string $selector The id of the field * @var array $options The options array * @var boolean $debug Are we in debug mode? */ extract($displayData); // Include jQuery JHtml::_('jquery.framework'); JHtml::_('script', 'jui/chosen.jquery.min.js', array('version' => 'auto', 'relative' => true, 'detectDebug' => $debug)); JHtml::_('stylesheet', 'jui/chosen.css', array('version' => 'auto', 'relative' => true)); // Options array to json options string $options_str = json_encode($options, ($debug && defined('JSON_PRETTY_PRINT') ? JSON_PRETTY_PRINT : false)); JFactory::getDocument()->addScriptDeclaration( ' jQuery(function ($) { initChosen(); $("body").on("subform-row-add", initChosen); function initChosen(event, container) { container = container || document; $(container).find(' . json_encode($selector) . ').chosen(' . $options_str . '); } }); ' ); PK �"]Nd3�� � sortablelist.phpnu &1i� <?php /** * @package Joomla.Site * @subpackage Layout * * @copyright (C) 2015 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** * Layout variables * --------------------- * * @var string $tableId The id of the table * @var string $formId The id of the form * @var string $saveOrderingUrl Save the ordering URL? * @var string $sortDir The direction of the order (asc/desc) * @var string $nestedList Is it nested list? * @var string $proceedSaveOrderButton Is there a button to initiate the ordering? */ extract($displayData); // Depends on jQuery UI JHtml::_('jquery.ui', array('core', 'sortable')); JHtml::_('script', 'jui/sortablelist.js', array('version' => 'auto', 'relative' => true)); JHtml::_('stylesheet', 'jui/sortablelist.css', array('version' => 'auto', 'relative' => true)); // Attach sortable to document JFactory::getDocument()->addScriptDeclaration( " jQuery(document).ready(function ($){ var sortableList = new $.JSortableList('#" . $tableId . " tbody','" . $formId . "','" . $sortDir . "' , '" . $saveOrderingUrl . "','','" . $nestedList . "'); }); " ); if ($proceedSaveOrderButton) { JFactory::getDocument()->addScriptDeclaration( " jQuery(document).ready(function ($){ var saveOrderButton = $('.saveorder'); saveOrderButton.css({'opacity':'0.2', 'cursor':'default'}).attr('onclick','return false;'); var oldOrderingValue = ''; $('.text-area-order').focus(function () { oldOrderingValue = $(this).attr('value'); }) .keyup(function (){ var newOrderingValue = $(this).attr('value'); if (oldOrderingValue != newOrderingValue) { saveOrderButton.css({'opacity':'1', 'cursor':'pointer'}).removeAttr('onclick') } }); }); " ); } PK �"]�$n tag.phpnu &1i� <?php /** * @package Joomla.Site * @subpackage Layout * * @copyright (C) 2015 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\Registry\Registry; /** * Layout variables * --------------------- * * @var string $selector The id of the field * @var string $minTermLength The minimum number of characters for the tag * @var boolean $allowCustom Can we insert custom tags? */ extract($displayData); // Tags field ajax $chosenAjaxSettings = new Registry( array( 'selector' => $selector, 'type' => 'GET', 'url' => JUri::root() . 'index.php?option=com_tags&task=tags.searchAjax', 'dataType' => 'json', 'jsonTermKey' => 'like', 'minTermLength' => $minTermLength ) ); JHtml::_('formbehavior.ajaxchosen', $chosenAjaxSettings); // Allow custom values? if ($allowCustom) { JFactory::getDocument()->addScriptDeclaration( " jQuery(document).ready(function ($) { var customTagPrefix = '#new#'; function tagHandler(event,element) { // Search a highlighted result var highlighted = $('" . $selector . "_chzn').find('li.active-result.highlighted').first(); // Add the highlighted option if (event.which === 13 && highlighted.text() !== '') { // Extra check. If we have added a custom tag with element text remove it var customOptionValue = customTagPrefix + highlighted.text(); $('" . $selector . " option').filter(function () { return $(element).val() == customOptionValue; }).remove(); // Select the highlighted result var tagOption = $('" . $selector . " option').filter(function () { return $(element).html() == highlighted.text(); }); tagOption.attr('selected', 'selected'); } // Add the custom tag option else { var customTag = element.value; // Extra check. Search if the custom tag already exists (typed faster than AJAX ready) var tagOption = $('" . $selector . " option').filter(function () { return $(element).html() == customTag; }); if (tagOption.text() !== '') { tagOption.attr('selected', 'selected'); } else { var option = $('<option>'); option.text(element.value).val(customTagPrefix + element.value); option.attr('selected','selected'); // Append the option and repopulate the chosen field $('" . $selector . "').append(option); } } element.value = ''; $('" . $selector . "').trigger('liszt:updated'); } // Method to add tags pressing comma $('" . $selector . "_chzn input').keypress(function(event) { if (event.charCode === 44) { // Tag is greater than the minimum required chars if (this.value && this.value.length >= " . $minTermLength . ") { tagHandler(event, this); } // Do not add comma to tag at all event.preventDefault(); } }); // Method to add tags pressing enter $('" . $selector . "_chzn input').keyup(function(event) { // Tag is greater than the minimum required chars and enter pressed if (event.which === 13 && this.value && this.value.length >= " . $minTermLength . ") { tagHandler(event,this); event.preventDefault(); } }); }); " ); } PK �"]l22� � menus.phpnu &1i� <?php /** * @package Joomla.Administrator * @subpackage com_menus * * @copyright (C) 2011 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\Registry\Registry; JLoader::register('MenusHelper', JPATH_ADMINISTRATOR . '/components/com_menus/helpers/menus.php'); /** * Menus HTML helper class. * * @package Joomla.Administrator * @subpackage com_menus * @since 1.7 */ abstract class MenusHtmlMenus { /** * Generate the markup to display the item associations * * @param int $itemid The menu item id * * @return string * * @since 3.0 * * @throws Exception If there is an error on the query */ public static function association($itemid) { // Defaults $html = ''; // Get the associations if ($associations = MenusHelper::getAssociations($itemid)) { // Get the associated menu items $db = JFactory::getDbo(); $query = $db->getQuery(true) ->select('m.id, m.title') ->select('l.sef as lang_sef, l.lang_code') ->select('mt.title as menu_title') ->from('#__menu as m') ->join('LEFT', '#__menu_types as mt ON mt.menutype=m.menutype') ->where('m.id IN (' . implode(',', array_values($associations)) . ')') ->where('m.id != ' . $itemid) ->join('LEFT', '#__languages as l ON m.language=l.lang_code') ->select('l.image') ->select('l.title as language_title'); $db->setQuery($query); try { $items = $db->loadObjectList('id'); } catch (runtimeException $e) { throw new Exception($e->getMessage(), 500); } // Construct html if ($items) { foreach ($items as &$item) { $text = strtoupper($item->lang_sef); $url = JRoute::_('index.php?option=com_menus&task=item.edit&id=' . (int) $item->id); $tooltip = htmlspecialchars($item->title, ENT_QUOTES, 'UTF-8') . '<br />' . JText::sprintf('COM_MENUS_MENU_SPRINTF', $item->menu_title); $classes = 'hasPopover label label-association label-' . $item->lang_sef; $item->link = '<a href="' . $url . '" title="' . $item->language_title . '" class="' . $classes . '" data-content="' . $tooltip . '" data-placement="top">' . $text . '</a>'; } } JHtml::_('bootstrap.popover'); $html = JLayoutHelper::render('joomla.content.associations', $items); } return $html; } /** * Returns a published state on a grid * * @param integer $value The state value. * @param integer $i The row index * @param boolean $enabled An optional setting for access control on the action. * @param string $checkbox An optional prefix for checkboxes. * * @return string The Html code * * @see JHtmlJGrid::state * * @since 1.7.1 */ public static function state($value, $i, $enabled = true, $checkbox = 'cb') { $states = array( 9 => array( 'unpublish', '', 'COM_MENUS_HTML_UNPUBLISH_HEADING', '', true, 'publish', 'publish', ), 8 => array( 'publish', '', 'COM_MENUS_HTML_PUBLISH_HEADING', '', true, 'unpublish', 'unpublish', ), 7 => array( 'unpublish', '', 'COM_MENUS_HTML_UNPUBLISH_SEPARATOR', '', true, 'publish', 'publish', ), 6 => array( 'publish', '', 'COM_MENUS_HTML_PUBLISH_SEPARATOR', '', true, 'unpublish', 'unpublish', ), 5 => array( 'unpublish', '', 'COM_MENUS_HTML_UNPUBLISH_ALIAS', '', true, 'publish', 'publish', ), 4 => array( 'publish', '', 'COM_MENUS_HTML_PUBLISH_ALIAS', '', true, 'unpublish', 'unpublish', ), 3 => array( 'unpublish', '', 'COM_MENUS_HTML_UNPUBLISH_URL', '', true, 'publish', 'publish', ), 2 => array( 'publish', '', 'COM_MENUS_HTML_PUBLISH_URL', '', true, 'unpublish', 'unpublish', ), 1 => array( 'unpublish', 'COM_MENUS_EXTENSION_PUBLISHED_ENABLED', 'COM_MENUS_HTML_UNPUBLISH_ENABLED', 'COM_MENUS_EXTENSION_PUBLISHED_ENABLED', true, 'publish', 'publish', ), 0 => array( 'publish', 'COM_MENUS_EXTENSION_UNPUBLISHED_ENABLED', 'COM_MENUS_HTML_PUBLISH_ENABLED', 'COM_MENUS_EXTENSION_UNPUBLISHED_ENABLED', true, 'unpublish', 'unpublish', ), -1 => array( 'unpublish', 'COM_MENUS_EXTENSION_PUBLISHED_DISABLED', 'COM_MENUS_HTML_UNPUBLISH_DISABLED', 'COM_MENUS_EXTENSION_PUBLISHED_DISABLED', true, 'warning', 'warning', ), -2 => array( 'publish', 'COM_MENUS_EXTENSION_UNPUBLISHED_DISABLED', 'COM_MENUS_HTML_PUBLISH_DISABLED', 'COM_MENUS_EXTENSION_UNPUBLISHED_DISABLED', true, 'trash', 'trash', ), -3 => array( 'publish', '', 'COM_MENUS_HTML_PUBLISH', '', true, 'trash', 'trash', ), ); return JHtml::_('jgrid.state', $states, $value, $i, 'items.', $enabled, true, $checkbox); } /** * Returns a visibility state on a grid * * @param integer $params Params of item. * * @return string The Html code * * @since 3.7.0 */ public static function visibility($params) { $registry = new Registry; try { $registry->loadString($params); } catch (Exception $e) { // Invalid JSON } $show_menu = $registry->get('menu_show'); return ($show_menu === 0) ? '<span class="label">' . JText::_('COM_MENUS_LABEL_HIDDEN') . '</span>' : ''; } } PK "]�E�-� � messages.phpnu &1i� <?php /** * @package Joomla.Administrator * @subpackage com_messages * * @copyright (C) 2009 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\Utilities\ArrayHelper; /** * JHtml administrator messages class. * * @since 1.6 */ class JHtmlMessages { /** * Get the HTML code of the state switcher * * @param int $value The state value * @param int $i Row number * @param boolean $canChange Can the user change the state? * * @return string * * @since 1.6 * * @deprecated 4.0 Use JHtmlMessages::status() instead */ public static function state($value = 0, $i = 0, $canChange = false) { // Log deprecated message try { JLog::add( sprintf('%s() is deprecated. Use JHtmlMessages::status() instead.', __METHOD__), JLog::WARNING, 'deprecated' ); } catch (RuntimeException $exception) { // Informational log only } // Note: $i is required but has to be an optional argument in the function call due to argument order if (null === $i) { throw new InvalidArgumentException('$i is a required argument in JHtmlMessages::state'); } // Note: $canChange is required but has to be an optional argument in the function call due to argument order if (null === $canChange) { throw new InvalidArgumentException('$canChange is a required argument in JHtmlMessages::state'); } return static::status($i, $value, $canChange); } /** * Get the HTML code of the state switcher * * @param int $i Row number * @param int $value The state value * @param boolean $canChange Can the user change the state? * * @return string * * @since 3.4 */ public static function status($i, $value = 0, $canChange = false) { // Array of image, task, title, action. $states = array( -2 => array('trash', 'messages.unpublish', 'JTRASHED', 'COM_MESSAGES_MARK_AS_UNREAD'), 1 => array('publish', 'messages.unpublish', 'COM_MESSAGES_OPTION_READ', 'COM_MESSAGES_MARK_AS_UNREAD'), 0 => array('unpublish', 'messages.publish', 'COM_MESSAGES_OPTION_UNREAD', 'COM_MESSAGES_MARK_AS_READ'), ); $state = ArrayHelper::getValue($states, (int) $value, $states[0]); $icon = $state[0]; if ($canChange) { $html = '<a href="#" onclick="return listItemTask(\'cb' . $i . '\',\'' . $state[1] . '\')" class="btn btn-micro hasTooltip' . ($value == 1 ? ' active' : '') . '" title="' . JHtml::_('tooltipText', $state[3]) . '"><span class="icon-' . $icon . '" aria-hidden="true"></span></a>'; } return $html; } } PK ;"]�'�a� � manage.phpnu &1i� <?php /** * @package Joomla.Administrator * @subpackage com_installer * * @copyright (C) 2012 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** * Installer HTML class. * * @since 2.5 */ abstract class InstallerHtmlManage { /** * Returns a published state on a grid. * * @param integer $value The state value. * @param integer $i The row index. * @param boolean $enabled An optional setting for access control on the action. * @param string $checkbox An optional prefix for checkboxes. * * @return string The Html code * * @see JHtmlJGrid::state * * @since 2.5 */ public static function state($value, $i, $enabled = true, $checkbox = 'cb') { $states = array( 2 => array( '', 'COM_INSTALLER_EXTENSION_PROTECTED', '', 'COM_INSTALLER_EXTENSION_PROTECTED', true, 'protected', 'protected', ), 1 => array( 'unpublish', 'COM_INSTALLER_EXTENSION_ENABLED', 'COM_INSTALLER_EXTENSION_DISABLE', 'COM_INSTALLER_EXTENSION_ENABLED', true, 'publish', 'publish', ), 0 => array( 'publish', 'COM_INSTALLER_EXTENSION_DISABLED', 'COM_INSTALLER_EXTENSION_ENABLE', 'COM_INSTALLER_EXTENSION_DISABLED', true, 'unpublish', 'unpublish', ), ); return JHtml::_('jgrid.state', $states, $value, $i, 'manage.', $enabled, true, $checkbox); } } PK ;"]�3��Y Y updatesites.phpnu &1i� <?php /** * @package Joomla.Administrator * @subpackage com_installer * * @copyright (C) 2015 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** * Installer HTML class. * * @since 3.5 */ abstract class InstallerHtmlUpdatesites { /** * Returns a published state on a grid. * * @param integer $value The state value. * @param integer $i The row index. * @param boolean $enabled An optional setting for access control on the action. * @param string $checkbox An optional prefix for checkboxes. * * @return string The HTML code * * @see JHtmlJGrid::state() * @since 3.5 */ public static function state($value, $i, $enabled = true, $checkbox = 'cb') { $states = array( 1 => array( 'unpublish', 'COM_INSTALLER_UPDATESITE_ENABLED', 'COM_INSTALLER_UPDATESITE_DISABLE', 'COM_INSTALLER_UPDATESITE_ENABLED', true, 'publish', 'publish', ), 0 => array( 'publish', 'COM_INSTALLER_UPDATESITE_DISABLED', 'COM_INSTALLER_UPDATESITE_ENABLE', 'COM_INSTALLER_UPDATESITE_DISABLED', true, 'unpublish', 'unpublish', ), ); return JHtml::_('jgrid.state', $states, $value, $i, 'updatesites.', $enabled, true, $checkbox); } } PK �!](М�� � newsfeed.phpnu &1i� PK U�!]}A� 0 modules.phpnu &1i� PK Ϡ!]I��,� � q contentadministrator.phpnu &1i� PK ��!]ꠠ� � �- banner.phpnu &1i� PK ��!]�V� �8 index.htmlnu &1i� PK ��!]F0fb1 1 9 xmap.phpnu &1i� PK ��!] :i� � �? events.phpnu &1i� PK 2�!]�� �E contact.phpnu &1i� PK { "]��1OX X �T system.phpnu &1i� PK { "]b<^� � �W directory.phpnu &1i� PK { "]ȻO� �\ phpsetting.phpnu &1i� PK }"],��y[ [ �b com_templates/style/edit.phpnu &1i� PK �"]�}�� �g batch/user.phpnu &1i� PK �"]��j�� � �k batch/adminlanguage.phpnu &1i� PK �"]ϚG�� � r batch/item.phpnu &1i� PK �"]�y8U? ? )w batch/tag.phpnu &1i� PK �"]T��.� � �z batch/access.phpnu &1i� PK �"]�P?� � �} batch/language.phpnu &1i� PK �"]Ny�^� � � image.phpnu &1i� PK �"]�Sލ6 6 � treeprefix.phpnu &1i� PK �"]� �qI I W� formbehavior/ajaxchosen.phpnu &1i� PK �"]g5�� � � formbehavior/chosen.phpnu &1i� PK �"]Nd3�� � �� sortablelist.phpnu &1i� PK �"]�$n ȝ tag.phpnu &1i� PK �"]l22� � � menus.phpnu &1i� PK "]�E�-� � � messages.phpnu &1i� PK ;"]�'�a� � �� manage.phpnu &1i� PK ;"]�3��Y Y �� updatesites.phpnu &1i� PK � ��
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка