Файловый менеджер - Редактировать - /home/lmsyaran/public_html/joomla4/layouts.tar
Назад
index.html 0000644 00000000037 14736055622 0006553 0 ustar 00 <!DOCTYPE html><title></title> joomla/content/associations.php 0000644 00000000772 14736055622 0012727 0 ustar 00 <?php /** * @package Joomla.Site * @subpackage Layout * * @copyright (C) 2013 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; $items = $displayData; if (!empty($items)) : ?> <ul class="item-associations"> <?php foreach ($items as $id => $item) : ?> <li> <?php echo is_array($item) ? $item['link'] : $item->link; ?> </li> <?php endforeach; ?> </ul> <?php endif; ?> joomla/content/blog_style_default_item_title.php 0000644 00000003347 14736055622 0016317 0 ustar 00 <?php /** * @package Joomla.Site * @subpackage Layout * * @copyright (C) 2013 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; // Create a shortcut for params. $params = $displayData->params; $canEdit = $displayData->params->get('access-edit'); $currentDate = JFactory::getDate()->format('Y-m-d H:i:s'); JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); ?> <?php if ($displayData->state == 0 || $params->get('show_title') || ($params->get('show_author') && !empty($displayData->author ))) : ?> <div class="page-header"> <?php if ($params->get('show_title')) : ?> <h2 itemprop="name"> <?php if ($params->get('link_titles') && ($params->get('access-view') || $params->get('show_noauth', '0') == '1')) : ?> <a href="<?php echo JRoute::_( ContentHelperRoute::getArticleRoute($displayData->slug, $displayData->catid, $displayData->language) ); ?>" itemprop="url"> <?php echo $this->escape($displayData->title); ?> </a> <?php else : ?> <?php echo $this->escape($displayData->title); ?> <?php endif; ?> </h2> <?php endif; ?> <?php if ($displayData->state == 0) : ?> <span class="label label-warning"><?php echo JText::_('JUNPUBLISHED'); ?></span> <?php endif; ?> <?php if ($displayData->publish_up > $currentDate) : ?> <span class="label label-warning"><?php echo JText::_('JNOTPUBLISHEDYET'); ?></span> <?php endif; ?> <?php if ($displayData->publish_down < $currentDate && $displayData->publish_down !== JFactory::getDbo()->getNullDate()) : ?> <span class="label label-warning"><?php echo JText::_('JEXPIRED'); ?></span> <?php endif; ?> </div> <?php endif; ?> joomla/content/blog_style_default_links.php 0000644 00000001025 14736055622 0015267 0 ustar 00 <?php /** * @package Joomla.Site * @subpackage Layout * * @copyright (C) 2013 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; ?> <ol class="nav nav-tabs nav-stacked"> <?php foreach ($displayData->get('link_items') as $item) : ?> <li> <?php echo JHtml::_('link', JRoute::_(ContentHelperRoute::getArticleRoute($item->slug, $item->catid, $item->language)), $item->title); ?> </li> <?php endforeach; ?> </ol> joomla/content/categories_default.php 0000644 00000002264 14736055622 0014057 0 ustar 00 <?php /** * @package Joomla.Site * @subpackage Layout * * @copyright (C) 2013 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; ?> <?php if ($displayData->params->get('show_page_heading')) : ?> <h1> <?php echo $displayData->escape($displayData->params->get('page_heading')); ?> </h1> <?php endif; ?> <?php if ($displayData->params->get('show_base_description')) : ?> <?php // If there is a description in the menu parameters use that; ?> <?php if ($displayData->params->get('categories_description')) : ?> <div class="category-desc base-desc"> <?php echo JHtml::_('content.prepare', $displayData->params->get('categories_description'), '', $displayData->get('extension') . '.categories'); ?> </div> <?php else : ?> <?php // Otherwise get one from the database if it exists. ?> <?php if ($displayData->parent->description) : ?> <div class="category-desc base-desc"> <?php echo JHtml::_('content.prepare', $displayData->parent->description, '', $displayData->parent->extension . '.categories'); ?> </div> <?php endif; ?> <?php endif; ?> <?php endif; ?> joomla/content/categories_default_items.php 0000644 00000001271 14736055622 0015255 0 ustar 00 <?php /** * @package Joomla.Site * @subpackage Layout * * @copyright (C) 2013 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; $class = ' class="first"'; JHtml::_('bootstrap.tooltip'); $item = $displayData->item; $items = $displayData->get('items'); $params = $displayData->params; $extension = $displayData->get('extension'); $className = substr($extension, 4); // This will work for the core components but not necessarily for other components // that may have different pluralisation rules. if (substr($className, -1) === 's') { $className = rtrim($className, 's'); } joomla/content/category_default.php 0000644 00000006751 14736055622 0013554 0 ustar 00 <?php /** * @package Joomla.Site * @subpackage Layout * * @copyright (C) 2013 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** * Note that this layout opens a div with the page class suffix. If you do not use the category children * layout you need to close this div either by overriding this file or in your main layout. */ $params = $displayData->params; $category = $displayData->get('category'); $extension = $category->extension; $canEdit = $params->get('access-edit'); $className = substr($extension, 4); $dispatcher = JEventDispatcher::getInstance(); $category->text = $category->description; $dispatcher->trigger('onContentPrepare', array($extension . '.categories', &$category, &$params, 0)); $category->description = $category->text; $results = $dispatcher->trigger('onContentAfterTitle', array($extension . '.categories', &$category, &$params, 0)); $afterDisplayTitle = trim(implode("\n", $results)); $results = $dispatcher->trigger('onContentBeforeDisplay', array($extension . '.categories', &$category, &$params, 0)); $beforeDisplayContent = trim(implode("\n", $results)); $results = $dispatcher->trigger('onContentAfterDisplay', array($extension . '.categories', &$category, &$params, 0)); $afterDisplayContent = trim(implode("\n", $results)); /** * This will work for the core components but not necessarily for other components * that may have different pluralisation rules. */ if (substr($className, -1) === 's') { $className = rtrim($className, 's'); } $tagsData = $category->tags->itemTags; ?> <div> <div class="<?php echo $className .'-category' . $displayData->pageclass_sfx; ?>"> <?php if ($params->get('show_page_heading')) : ?> <h1> <?php echo $displayData->escape($params->get('page_heading')); ?> </h1> <?php endif; ?> <?php if ($params->get('show_category_title', 1)) : ?> <h2> <?php echo JHtml::_('content.prepare', $category->title, '', $extension . '.category.title'); ?> </h2> <?php endif; ?> <?php echo $afterDisplayTitle; ?> <?php if ($params->get('show_cat_tags', 1)) : ?> <?php echo JLayoutHelper::render('joomla.content.tags', $tagsData); ?> <?php endif; ?> <?php if ($beforeDisplayContent || $afterDisplayContent || $params->get('show_description', 1) || $params->def('show_description_image', 1)) : ?> <div class="category-desc"> <?php if ($params->get('show_description_image') && $category->getParams()->get('image')) : ?> <img src="<?php echo $category->getParams()->get('image'); ?>" alt="<?php echo htmlspecialchars($category->getParams()->get('image_alt'), ENT_COMPAT, 'UTF-8'); ?>"/> <?php endif; ?> <?php echo $beforeDisplayContent; ?> <?php if ($params->get('show_description') && $category->description) : ?> <?php echo JHtml::_('content.prepare', $category->description, '', $extension . '.category.description'); ?> <?php endif; ?> <?php echo $afterDisplayContent; ?> <div class="clr"></div> </div> <?php endif; ?> <?php echo $displayData->loadTemplate($displayData->subtemplatename); ?> <?php if ($displayData->maxLevel != 0 && $displayData->get('children')) : ?> <div class="cat-children"> <?php if ($params->get('show_category_heading_title_text', 1) == 1) : ?> <h3> <?php echo JText::_('JGLOBAL_SUBCATEGORIES'); ?> </h3> <?php endif; ?> <?php echo $displayData->loadTemplate('children'); ?> </div> <?php endif; ?> </div> </div> joomla/content/full_image.php 0000644 00000001616 14736055622 0012332 0 ustar 00 <?php /** * @package Joomla.Site * @subpackage Layout * * @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; $params = $displayData->params; ?> <?php $images = json_decode($displayData->images); ?> <?php if (!empty($images->image_fulltext)) : ?> <?php $imgfloat = empty($images->float_fulltext) ? $params->get('float_fulltext') : $images->float_fulltext; ?> <div class="pull-<?php echo htmlspecialchars($imgfloat); ?> item-image"> <img <?php if ($images->image_fulltext_caption) : echo 'class="caption"' . ' title="' . htmlspecialchars($images->image_fulltext_caption) . '"'; endif; ?> src="<?php echo htmlspecialchars($images->image_fulltext); ?>" alt="<?php echo htmlspecialchars($images->image_fulltext_alt); ?>" itemprop="image"/> </div> <?php endif; ?> joomla/content/icons/create.php 0000644 00000001422 14736055622 0012577 0 ustar 00 <?php /** * @package Joomla.Site * @subpackage Layout * * @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; JHtml::_('bootstrap.tooltip'); $params = $displayData['params']; // @deprecated 4.0 The legacy icon flag will be removed from this layout in 4.0 $legacy = $displayData['legacy']; ?> <?php if ($params->get('show_icons')) : ?> <?php if ($legacy) : ?> <?php echo JHtml::_('image', 'system/new.png', JText::_('JNEW'), null, true); ?> <?php else : ?> <span class="icon-plus" aria-hidden="true"></span> <?php echo JText::_('JNEW'); ?> <?php endif; ?> <?php else : ?> <?php echo JText::_('JNEW') . ' '; ?> <?php endif; ?> joomla/content/icons/edit.php 0000644 00000002425 14736055622 0012265 0 ustar 00 <?php /** * @package Joomla.Site * @subpackage Layout * * @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; JHtml::_('bootstrap.tooltip'); $article = $displayData['article']; $overlib = $displayData['overlib']; // @deprecated 4.0 The legacy icon flag will be removed from this layout in 4.0 $legacy = $displayData['legacy']; $currentDate = JFactory::getDate()->format('Y-m-d H:i:s'); $isUnpublished = ($article->publish_up > $currentDate) || ($article->publish_down < $currentDate && $article->publish_down !== JFactory::getDbo()->getNullDate()); if ($legacy) { $icon = $article->state ? 'edit.png' : 'edit_unpublished.png'; if ($isUnpublished) { $icon = 'edit_unpublished.png'; } } else { $icon = $article->state ? 'edit' : 'eye-close'; if ($isUnpublished) { $icon = 'eye-close'; } } ?> <?php if ($legacy) : ?> <?php echo JHtml::_('image', 'system/' . $icon, JText::_('JGLOBAL_EDIT'), null, true); ?> <?php else : ?> <span class="hasTooltip icon-<?php echo $icon; ?> tip" title="<?php echo JHtml::tooltipText(JText::_('COM_CONTENT_EDIT_ITEM'), $overlib, 0, 0); ?>"></span> <?php echo JText::_('JGLOBAL_EDIT'); ?> <?php endif; ?> joomla/content/icons/edit_lock.php 0000644 00000001554 14736055622 0013277 0 ustar 00 <?php /** * @package Joomla.Site * @subpackage Layout * * @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; JHtml::_('bootstrap.tooltip'); $tooltip = $displayData['tooltip']; // @deprecated 4.0 The legacy icon flag will be removed from this layout in 4.0 $legacy = $displayData['legacy']; ?> <?php if ($legacy) : ?> <span class="hasTooltip" title="<?php echo JHtml::tooltipText($tooltip . '', 0); ?>"> <?php echo JHtml::_('image', 'system/checked_out.png', null, null, true); ?> </span> <?php echo JText::_('JLIB_HTML_CHECKED_OUT'); ?> <?php else : ?> <span class="hasTooltip icon-lock" title="<?php echo JHtml::tooltipText($tooltip . '', 0); ?>"></span> <?php echo JText::_('JLIB_HTML_CHECKED_OUT'); ?> <?php endif; ?> joomla/content/icons/email.php 0000644 00000001273 14736055622 0012427 0 ustar 00 <?php /** * @package Joomla.Site * @subpackage Layout * * @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; $params = $displayData['params']; $legacy = $displayData['legacy']; ?> <?php if ($params->get('show_icons')) : ?> <?php if ($legacy) : ?> <?php echo JHtml::_('image', 'system/emailButton.png', JText::_('JGLOBAL_EMAIL'), null, true); ?> <?php else : ?> <span class="icon-envelope" aria-hidden="true"></span> <?php echo JText::_('JGLOBAL_EMAIL'); ?> <?php endif; ?> <?php else : ?> <?php echo JText::_('JGLOBAL_EMAIL'); ?> <?php endif; ?> joomla/content/icons/print_popup.php 0000644 00000001422 14736055622 0013713 0 ustar 00 <?php /** * @package Joomla.Site * @subpackage Layout * * @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; $params = $displayData['params']; $legacy = $displayData['legacy']; ?> <?php if ($params->get('show_icons')) : ?> <?php if ($legacy) : ?> <?php // Checks template image directory for image, if none found default are loaded ?> <?php echo JHtml::_('image', 'system/printButton.png', JText::_('JGLOBAL_PRINT'), null, true); ?> <?php else : ?> <span class="icon-print" aria-hidden="true"></span> <?php echo JText::_('JGLOBAL_PRINT'); ?> <?php endif; ?> <?php else : ?> <?php echo JText::_('JGLOBAL_PRINT'); ?> <?php endif; ?> joomla/content/icons/print_screen.php 0000644 00000001422 14736055622 0014027 0 ustar 00 <?php /** * @package Joomla.Site * @subpackage Layout * * @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; $params = $displayData['params']; $legacy = $displayData['legacy']; ?> <?php if ($params->get('show_icons')) : ?> <?php if ($legacy) : ?> <?php // Checks template image directory for image, if none found default are loaded ?> <?php echo JHtml::_('image', 'system/printButton.png', JText::_('JGLOBAL_PRINT'), null, true); ?> <?php else : ?> <span class="icon-print" aria-hidden="true"></span> <?php echo JText::_('JGLOBAL_PRINT'); ?> <?php endif; ?> <?php else : ?> <?php echo JText::_('JGLOBAL_PRINT'); ?> <?php endif; ?> joomla/content/icons.php 0000644 00000003630 14736055622 0011337 0 ustar 00 <?php /** * @package Joomla.Site * @subpackage Layout * * @copyright (C) 2013 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; JHtml::_('bootstrap.framework'); $canEdit = $displayData['params']->get('access-edit'); $articleId = $displayData['item']->id; ?> <div class="icons"> <?php if (empty($displayData['print'])) : ?> <?php if ($canEdit || $displayData['params']->get('show_print_icon') || $displayData['params']->get('show_email_icon')) : ?> <div class="btn-group pull-right"> <button class="btn dropdown-toggle" type="button" id="dropdownMenuButton-<?php echo $articleId; ?>" aria-label="<?php echo JText::_('JUSER_TOOLS'); ?>" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <span class="icon-cog" aria-hidden="true"></span> <span class="caret" aria-hidden="true"></span> </button> <?php // Note the actions class is deprecated. Use dropdown-menu instead. ?> <ul class="dropdown-menu" aria-labelledby="dropdownMenuButton-<?php echo $articleId; ?>"> <?php if ($displayData['params']->get('show_print_icon')) : ?> <li class="print-icon"> <?php echo JHtml::_('icon.print_popup', $displayData['item'], $displayData['params']); ?> </li> <?php endif; ?> <?php if ($displayData['params']->get('show_email_icon')) : ?> <li class="email-icon"> <?php echo JHtml::_('icon.email', $displayData['item'], $displayData['params']); ?> </li> <?php endif; ?> <?php if ($canEdit) : ?> <li class="edit-icon"> <?php echo JHtml::_('icon.edit', $displayData['item'], $displayData['params']); ?> </li> <?php endif; ?> </ul> </div> <?php endif; ?> <?php else : ?> <div class="pull-right"> <?php echo JHtml::_('icon.print_screen', $displayData['item'], $displayData['params']); ?> </div> <?php endif; ?> </div> joomla/content/info_block/associations.php 0000644 00000002310 14736055622 0015022 0 ustar 00 <?php /** * @package Joomla.Site * @subpackage Layout * * @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; ?> <?php if (!empty($displayData['item']->associations)) : ?> <?php $associations = $displayData['item']->associations; ?> <dd class="association"> <?php echo JText::_('JASSOCIATIONS'); ?> <?php foreach ($associations as $association) : ?> <?php if ($displayData['item']->params->get('flags', 1) && $association['language']->image) : ?> <?php $flag = JHtml::_('image', 'mod_languages/' . $association['language']->image . '.gif', $association['language']->title_native, array('title' => $association['language']->title_native), true); ?> <a href="<?php echo JRoute::_($association['item']); ?>"><?php echo $flag; ?></a> <?php else : ?> <?php $class = 'label label-association label-' . $association['language']->sef; ?> <a class="<?php echo $class; ?>" href="<?php echo JRoute::_($association['item']); ?>"><?php echo strtoupper($association['language']->sef); ?></a> <?php endif; ?> <?php endforeach; ?> </dd> <?php endif; ?> joomla/content/info_block/author.php 0000644 00000001553 14736055622 0013635 0 ustar 00 <?php /** * @package Joomla.Site * @subpackage Layout * * @copyright (C) 2013 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; ?> <dd class="createdby" itemprop="author" itemscope itemtype="https://schema.org/Person"> <?php $author = ($displayData['item']->created_by_alias ?: $displayData['item']->author); ?> <?php $author = '<span itemprop="name">' . $author . '</span>'; ?> <?php if (!empty($displayData['item']->contact_link ) && $displayData['params']->get('link_author') == true) : ?> <?php echo JText::sprintf('COM_CONTENT_WRITTEN_BY', JHtml::_('link', $displayData['item']->contact_link, $author, array('itemprop' => 'url'))); ?> <?php else : ?> <?php echo JText::sprintf('COM_CONTENT_WRITTEN_BY', $author); ?> <?php endif; ?> </dd> joomla/content/info_block/block.php 0000644 00000000716 14736055622 0013425 0 ustar 00 <?php /** * @package Joomla.Site * @subpackage Layout * * @copyright (C) 2013 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; JLog::add('The layout joomla.content.info_block.block is deprecated, use joomla.content.info_block instead.', JLog::WARNING, 'deprecated'); echo JLayoutHelper::render('joomla.content.info_block', $displayData); joomla/content/info_block/category.php 0000644 00000001502 14736055622 0014142 0 ustar 00 <?php /** * @package Joomla.Site * @subpackage Layout * * @copyright (C) 2013 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; ?> <dd class="category-name"> <?php $title = $this->escape($displayData['item']->category_title); ?> <?php if ($displayData['params']->get('link_category') && $displayData['item']->catslug) : ?> <?php $url = '<a href="' . JRoute::_(ContentHelperRoute::getCategoryRoute($displayData['item']->catslug)) . '" itemprop="genre">' . $title . '</a>'; ?> <?php echo JText::sprintf('COM_CONTENT_CATEGORY', $url); ?> <?php else : ?> <?php echo JText::sprintf('COM_CONTENT_CATEGORY', '<span itemprop="genre">' . $title . '</span>'); ?> <?php endif; ?> </dd>