Файловый менеджер - Редактировать - /home/wuectly/www/03cbe/category.zip
Назад
PK A�!]�!4� � tmpl/default.xmlnu &1i� <?xml version="1.0" encoding="utf-8"?> <metadata> <layout title="COM_NEWSFEEDS_CATEGORY_VIEW_DEFAULT_TITLE" option="COM_NEWSFEEDS_CATEGORY_VIEW_DEFAULT_OPTION"> <help key = "JHELP_MENUS_MENU_ITEM_NEWSFEED_CATEGORY" /> <message> <![CDATA[COM_NEWSFEEDS_CATEGORY_VIEW_DEFAULT_DESC]]> </message> </layout> <!-- Add fields to the request variables for the layout. --> <fields name="request" addfieldpath="/administrator/components/com_categories/models/fields" > <fieldset name="request" addfieldpath="/administrator/components/com_newsfeeds/models/fields" > <field name="id" type="modal_category" label="JCATEGORY" description="COM_NEWSFEEDS_FIELD_SELECT_CATEGORY_DESC" extension="com_newsfeeds" required="true" select="true" new="true" edit="true" clear="true" /> </fieldset> </fields> <!-- Add fields to the parameters object for the layout. --> <fields name="params"> <fieldset name="basic" label="JGLOBAL_CATEGORY_OPTIONS"> <field name="spacer1" type="spacer" label="JGLOBAL_SUBSLIDER_DRILL_CATEGORIES_LABEL" class="text" /> <field name="show_category_title" type="list" label="JGLOBAL_SHOW_CATEGORY_TITLE" description="JGLOBAL_SHOW_CATEGORY_TITLE_DESC" useglobal="true" class="chzn-color" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_description" type="list" label="JGLOBAL_SHOW_CATEGORY_DESCRIPTION_LABEL" description="JGLOBAL_SHOW_CATEGORY_DESCRIPTION_DESC" useglobal="true" class="chzn-color" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_description_image" type="list" label="JGLOBAL_SHOW_CATEGORY_IMAGE_LABEL" description="JGLOBAL_SHOW_CATEGORY_IMAGE_DESC" useglobal="true" class="chzn-color" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="maxLevel" type="list" label="JGLOBAL_MAXIMUM_CATEGORY_LEVELS_LABEL" description="JGLOBAL_MAXIMUM_CATEGORY_LEVELS_DESC" useglobal="true" > <option value="-1">JALL</option> <option value="0">JNONE</option> <option value="1">J1</option> <option value="2">J2</option> <option value="3">J3</option> <option value="4">J4</option> <option value="5">J5</option> </field> <field name="show_empty_categories" type="list" label="JGLOBAL_SHOW_EMPTY_CATEGORIES_LABEL" description="COM_NEWSFEEDS_SHOW_EMPTY_CATEGORIES_DESC" useglobal="true" class="chzn-color" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_subcat_desc" type="list" label="JGLOBAL_SHOW_SUBCATEGORIES_DESCRIPTION_LABEL" description="JGLOBAL_SHOW_SUBCATEGORIES_DESCRIPTION_DESC" useglobal="true" class="chzn-color" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_cat_items" type="list" label="COM_NEWSFEEDS_FIELD_SHOW_CAT_ITEMS_LABEL" description="COM_NEWSFEEDS_FIELD_SHOW_CAT_ITEMS_DESC" id="show_cat_items" useglobal="true" class="chzn-color" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> </fieldset> <fieldset name="advanced" label="JGLOBAL_LIST_LAYOUT_OPTIONS"> <field name="spacer2" type="spacer" label="JGLOBAL_SUBSLIDER_DRILL_CATEGORIES_LABEL" class="text" /> <field name="filter_field" type="list" label="JGLOBAL_FILTER_FIELD_LABEL" description="JGLOBAL_FILTER_FIELD_DESC" default="" useglobal="true" class="chzn-color" > <option value="hide">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_pagination_limit" type="list" label="JGLOBAL_DISPLAY_SELECT_LABEL" description="JGLOBAL_DISPLAY_SELECT_DESC" useglobal="true" class="chzn-color" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_headings" type="list" label="JGLOBAL_SHOW_HEADINGS_LABEL" description="JGLOBAL_SHOW_HEADINGS_DESC" id="show_headings" useglobal="true" class="chzn-color" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_articles" type="list" label="COM_NEWSFEEDS_FIELD_NUM_ARTICLES_COLUMN_LABEL" description="COM_NEWSFEEDS_FIELD_NUM_ARTICLES_COLUMN_DESC" id="show_articles" useglobal="true" class="chzn-color" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_link" type="list" label="COM_NEWSFEEDS_FIELD_SHOW_LINKS_LABEL" description="COM_NEWSFEEDS_FIELD_SHOW_LINKS_DESC" id="show_link" useglobal="true" class="chzn-color" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_pagination" type="list" label="JGLOBAL_PAGINATION_LABEL" description="JGLOBAL_PAGINATION_DESC" useglobal="true" class="chzn-color" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> <option value="2">JGLOBAL_AUTO</option> </field> <field name="show_pagination_results" type="list" label="JGLOBAL_PAGINATION_RESULTS_LABEL" description="JGLOBAL_PAGINATION_RESULTS_DESC" useglobal="true" class="chzn-color" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> </fieldset> <fieldset name="newsfeed" label="COM_NEWSFEEDS_FIELDSET_MORE_OPTIONS_LABEL"> <field name="show_feed_image" type="list" label="COM_NEWSFEEDS_FIELD_SHOW_FEED_IMAGE_LABEL" description="COM_NEWSFEEDS_FIELD_SHOW_FEED_IMAGE_DESC" useglobal="true" class="chzn-color" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_feed_description" type="list" label="COM_NEWSFEEDS_FIELD_SHOW_FEED_DESCRIPTION_LABEL" description="COM_NEWSFEEDS_FIELD_SHOW_FEED_DESCRIPTION_DESC" useglobal="true" class="chzn-color" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_item_description" type="list" label="COM_NEWSFEEDS_FIELD_SHOW_ITEM_DESCRIPTION_LABEL" description="COM_NEWSFEEDS_FIELD_SHOW_ITEM_DESCRIPTION_DESC" useglobal="true" class="chzn-color" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="feed_character_count" type="number" description="COM_NEWSFEEDS_FIELD_CHARACTER_COUNT_DESC" label="COM_NEWSFEEDS_FIELD_CHARACTER_COUNT_LABEL" size="6" useglobal="true" /> <field name="feed_display_order" type="list" label="COM_NEWSFEEDS_FIELD_FEED_DISPLAY_ORDER_LABEL" description="COM_NEWSFEEDS_FIELD_FEED_DISPLAY_ORDER_DESC" useglobal="true" > <option value="des">JGLOBAL_MOST_RECENT_FIRST</option> <option value="asc">JGLOBAL_OLDEST_FIRST</option> </field> </fieldset> </fields> </metadata> PK A�!]���_ tmpl/default.phpnu &1i� <?php /** * @package Joomla.Site * @subpackage com_newsfeeds * * @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; JHtml::addIncludePath(JPATH_COMPONENT . '/helpers'); JHtml::_('behavior.caption'); JHtml::_('formbehavior.chosen', 'select'); $pageClass = $this->params->get('pageclass_sfx', ''); ?> <div class="newsfeed-category<?php echo $this->pageclass_sfx; ?>"> <?php if ($this->params->get('show_page_heading')) : ?> <h1> <?php echo $this->escape($this->params->get('page_heading')); ?> </h1> <?php endif; ?> <?php if ($this->params->get('show_category_title', 1)) : ?> <h2> <?php echo JHtml::_('content.prepare', $this->category->title, '', 'com_newsfeeds.category.title'); ?> </h2> <?php endif; ?> <?php if ($this->params->get('show_tags', 1) && !empty($this->category->tags->itemTags)) : ?> <?php $this->category->tagLayout = new JLayoutFile('joomla.content.tags'); ?> <?php echo $this->category->tagLayout->render($this->category->tags->itemTags); ?> <?php endif; ?> <?php if ($this->params->get('show_description', 1) || $this->params->def('show_description_image', 1)) : ?> <div class="category-desc"> <?php if ($this->params->get('show_description_image') && $this->category->getParams()->get('image')) : ?> <img src="<?php echo $this->category->getParams()->get('image'); ?>" /> <?php endif; ?> <?php if ($this->params->get('show_description') && $this->category->description) : ?> <?php echo JHtml::_('content.prepare', $this->category->description, '', 'com_newsfeeds.category'); ?> <?php endif; ?> <div class="clr"></div> </div> <?php endif; ?> <?php echo $this->loadTemplate('items'); ?> <?php if ($this->maxLevel != 0 && !empty($this->children[$this->category->id])) : ?> <div class="cat-children"> <h3> <?php echo JText::_('JGLOBAL_SUBCATEGORIES'); ?> </h3> <?php echo $this->loadTemplate('children'); ?> </div> <?php endif; ?> </div> PK A�!]�gE tmpl/default_items.phpnu &1i� <?php /** * @package Joomla.Site * @subpackage com_newsfeeds * * @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; $n = count($this->items); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); ?> <?php if (empty($this->items)) : ?> <p><?php echo JText::_('COM_NEWSFEEDS_NO_ARTICLES'); ?></p> <?php else : ?> <form action="<?php echo htmlspecialchars(JUri::getInstance()->toString(), ENT_COMPAT, 'UTF-8'); ?>" method="post" name="adminForm" id="adminForm"> <?php if ($this->params->get('filter_field') !== 'hide' || $this->params->get('show_pagination_limit')) : ?> <fieldset class="filters btn-toolbar"> <?php if ($this->params->get('filter_field') !== 'hide' && $this->params->get('filter_field') == '1') : ?> <div class="btn-group"> <label class="filter-search-lbl element-invisible" for="filter-search"> <span class="label label-warning"> <?php echo JText::_('JUNPUBLISHED'); ?> </span> <?php echo JText::_('COM_NEWSFEEDS_FILTER_LABEL') . ' '; ?> </label> <input type="text" name="filter-search" id="filter-search" value="<?php echo $this->escape($this->state->get('list.filter')); ?>" class="inputbox" onchange="document.adminForm.submit();" title="<?php echo JText::_('COM_NEWSFEEDS_FILTER_SEARCH_DESC'); ?>" placeholder="<?php echo JText::_('COM_NEWSFEEDS_FILTER_SEARCH_DESC'); ?>" /> </div> <?php endif; ?> <?php if ($this->params->get('show_pagination_limit')) : ?> <div class="btn-group pull-right"> <label for="limit" class="element-invisible"> <?php echo JText::_('JGLOBAL_DISPLAY_NUM'); ?> </label> <?php echo $this->pagination->getLimitBox(); ?> </div> <?php endif; ?> </fieldset> <?php endif; ?> <ul class="category list-striped list-condensed"> <?php foreach ($this->items as $i => $item) : ?> <?php if ($this->items[$i]->published == 0) : ?> <li class="system-unpublished cat-list-row<?php echo $i % 2; ?>"> <?php else : ?> <li class="cat-list-row<?php echo $i % 2; ?>"> <?php endif; ?> <?php if ($this->params->get('show_articles')) : ?> <span class="list-hits badge badge-info pull-right"> <?php echo JText::sprintf('COM_NEWSFEEDS_NUM_ARTICLES_COUNT', $item->numarticles); ?> </span> <?php endif; ?> <span class="list pull-left"> <div class="list-title"> <a href="<?php echo JRoute::_(NewsFeedsHelperRoute::getNewsfeedRoute($item->slug, $item->catid)); ?>"> <?php echo $item->name; ?> </a> </div> </span> <?php if ($this->items[$i]->published == 0) : ?> <span class="label label-warning"> <?php echo JText::_('JUNPUBLISHED'); ?> </span> <?php endif; ?> <br /> <?php if ($this->params->get('show_link')) : ?> <?php $link = JStringPunycode::urlToUTF8($item->link); ?> <span class="list pull-left"> <a href="<?php echo $item->link; ?>"> <?php echo $link; ?> </a> </span> <br /> <?php endif; ?> </li> <?php endforeach; ?> </ul> <?php // Add pagination links ?> <?php if (!empty($this->items)) : ?> <?php if (($this->params->def('show_pagination', 2) == 1 || ($this->params->get('show_pagination') == 2)) && ($this->pagination->pagesTotal > 1)) : ?> <div class="pagination"> <?php if ($this->params->def('show_pagination_results', 1)) : ?> <p class="counter pull-right"> <?php echo $this->pagination->getPagesCounter(); ?> </p> <?php endif; ?> <?php echo $this->pagination->getPagesLinks(); ?> </div> <?php endif; ?> <?php endif; ?> </form> <?php endif; ?> PK A�!]O��2� � tmpl/default_children.phpnu &1i� <?php /** * @package Joomla.Site * @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; ?> <?php $class = ' class="first"'; ?> <?php if ($this->maxLevel != 0 && count($this->children[$this->category->id]) > 0) : ?> <ul> <?php foreach ($this->children[$this->category->id] as $id => $child) : ?> <?php if ($this->params->get('show_empty_categories') || $child->numitems || count($child->getChildren())) : ?> <?php if (!isset($this->children[$this->category->id][$id + 1])) : ?> <?php $class = ' class="last"'; ?> <?php endif; ?> <li<?php echo $class; ?>> <?php $class = ''; ?> <span class="item-title"> <a href="<?php echo JRoute::_(NewsfeedsHelperRoute::getCategoryRoute($child->id)); ?>"> <?php echo $this->escape($child->title); ?> </a> </span> <?php if ($this->params->get('show_subcat_desc') == 1) : ?> <?php if ($child->description) : ?> <div class="category-desc"> <?php echo JHtml::_('content.prepare', $child->description, '', 'com_newsfeeds.category'); ?> </div> <?php endif; ?> <?php endif; ?> <?php if ($this->params->get('show_cat_items') == 1) : ?> <dl class="newsfeed-count"> <dt> <?php echo JText::_('COM_NEWSFEEDS_CAT_NUM'); ?> </dt> <dd> <?php echo $child->numitems; ?> </dd> </dl> <?php endif; ?> <?php if (count($child->getChildren()) > 0) : ?> <?php $this->children[$child->id] = $child->getChildren(); ?> <?php $this->category = $child; ?> <?php $this->maxLevel--; ?> <?php echo $this->loadTemplate('children'); ?> <?php $this->category = $child->getParent(); ?> <?php $this->maxLevel++; ?> <?php endif; ?> </li> <?php endif; ?> <?php endforeach; ?> </ul> <?php endif; PK A�!]+��?� � view.html.phpnu &1i� <?php /** * @package Joomla.Site * @subpackage com_newsfeeds * * @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; use Joomla\Registry\Registry; /** * HTML View class for the Newsfeeds component * * @since 1.0 */ class NewsfeedsViewCategory extends JViewCategory { /** * @var string Default title to use for page title * @since 3.2 */ protected $defaultPageTitle = 'COM_NEWSFEEDS_DEFAULT_PAGE_TITLE'; /** * @var string The name of the extension for the category * @since 3.2 */ protected $extension = 'com_newsfeeds'; /** * @var string The name of the view to link individual items to * @since 3.2 */ protected $viewName = 'newsfeed'; /** * Execute and display a template script. * * @param string $tpl The name of the template file to parse; automatically searches through the template paths. * * @return mixed A string if successful, otherwise an Error object. */ public function display($tpl = null) { $this->commonCategoryDisplay(); // Flag indicates to not add limitstart=0 to URL $this->pagination->hideEmptyLimitstart = true; // Prepare the data. // Compute the newsfeed slug. foreach ($this->items as $item) { $item->slug = $item->alias ? ($item->id . ':' . $item->alias) : $item->id; $temp = $item->params; $item->params = clone $this->params; $item->params->merge($temp); } return parent::display($tpl); } /** * Prepares the document * * @return void */ protected function prepareDocument() { parent::prepareDocument(); $menu = $this->menu; $id = (int) @$menu->query['id']; if ($menu && (!isset($menu->query['option']) || $menu->query['option'] !== 'com_newsfeeds' || $menu->query['view'] === 'newsfeed' || $id != $this->category->id)) { $path = array(array('title' => $this->category->title, 'link' => '')); $category = $this->category->getParent(); while ((!isset($menu->query['option']) || $menu->query['option'] !== 'com_newsfeeds' || $menu->query['view'] === 'newsfeed' || $id != $category->id) && $category->id > 1) { $path[] = array('title' => $category->title, 'link' => NewsfeedsHelperRoute::getCategoryRoute($category->id)); $category = $category->getParent(); } $path = array_reverse($path); foreach ($path as $item) { $this->pathway->addItem($item['title'], $item['link']); } } } } PK A�!]*�&�� � view.feed.phpnu &1i� <?php /** * @package Joomla.Site * @subpackage com_contact * * @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; /** * HTML View class for the Contact component * * @since 1.5 */ class ContactViewCategory extends JViewCategoryfeed { /** * @var string The name of the view to link individual items to * @since 3.2 */ protected $viewName = 'contact'; /** * Method to reconcile non standard names from components to usage in this class. * Typically overridden in the component feed view class. * * @param object $item The item for a feed, an element of the $items array. * * @return void * * @since 3.2 */ protected function reconcileNames($item) { parent::reconcileNames($item); $item->description = $item->address; } } PK ��!]��x default_children.phpnu &1i� <?php /** * @package Joomla.Site * @subpackage Templates.beez3 * * @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; $app = JFactory::getApplication(); $templateparams = $app->getTemplate(true)->params; $class = ' class="first"'; $user = JFactory::getUser(); $groups = $user->getAuthorisedViewLevels(); ?> <?php if (count($this->children[$this->category->id]) > 0) :?> <ul> <?php foreach ($this->children[$this->category->id] as $id => $child) : ?> <?php // Check whether category access level allows access to subcategories. ?> <?php if (in_array($child->access, $groups)) : ?> <?php if ($this->params->get('show_empty_categories') || $child->getNumItems(true) || count($child->getChildren())) : if (!isset($this->children[$this->category->id][$id + 1])) : $class = ' class="last"'; endif; ?> <li<?php echo $class; ?>> <?php $class = ''; ?> <h3 class="item-title"><a href="<?php echo JRoute::_(ContentHelperRoute::getCategoryRoute($child->id));?>"> <?php echo $this->escape($child->title); ?></a> </h3> <?php if ($this->params->get('show_subcat_desc') == 1) :?> <?php if ($child->description and $this->params->get('show_description') != 0 ) : ?> <div class="category-desc"> <?php echo JHtml::_('content.prepare', $child->description, '', 'com_content.category'); ?> </div> <?php endif; ?> <?php endif; ?> <?php if ($this->params->get('show_cat_num_articles', 1)) : ?> <?php if ($child->getNumItems() == true) : ?> <dl> <dt> <?php echo JText::_('COM_CONTENT_NUM_ITEMS'); ?> </dt> <dd> <?php echo $child->getNumItems(true); ?> </dd> </dl> <?php endif; ?> <?php endif; ?> <?php if (count($child->getChildren()) > 0 ) : $this->children[$child->id] = $child->getChildren(); $this->category = $child; $this->maxLevel--; if ($this->maxLevel !== 0) : echo $this->loadTemplate('children'); endif; $this->category = $child->getParent(); $this->maxLevel++; endif; ?> </li> <?php endif; ?> <?php endif; ?> <?php endforeach; ?> </ul> <?php endif; ?> PK ��!]wtW� index.htmlnu &1i� <html><body></body></html>PK ��!]�[?�N N default.phpnu &1i� <?php /** * @package Joomla.Site * @subpackage Templates.beez3 * * @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; $app = JFactory::getApplication(); $templateparams = $app->getTemplate(true)->params; JHtml::addIncludePath(JPATH_COMPONENT . '/helpers'); JHtml::_('behavior.caption'); $showCategoryTitle = $this->params->get('show_category_title') == 1; $showCategoryHeadingTitleText = $this->params->get('show_category_heading_title_text', 1) == 1; $pageSubHeading = $this->params->get('page_subheading'); ?> <section class="category-list<?php echo $this->pageclass_sfx;?>"> <?php if ($showPageHeading = $this->params->get('show_page_heading')) : ?> <?php if ($showPageHeading and ($showCategoryTitle === true or $pageSubHeading)) : ?> <hgroup> <?php endif; ?> <h1> <?php echo $this->escape($this->params->get('page_heading')); ?> </h1> <?php endif; ?> <?php if ($showCategoryTitle === true or $pageSubHeading) : ?> <h2> <?php echo $this->escape($pageSubHeading); ?> <?php if ($showCategoryTitle === true) { echo '<span class="subheading-category">'.JHtml::_('content.prepare', $this->category->title, '', 'com_content.category.title').'</span>'; } ?> </h2> <?php if ($this->params->get('show_page_heading') and ($this->params->get('show_category_title', 1) or $pageSubHeading)) : ?> </hgroup> <?php endif; ?> <?php endif; ?> <?php if ($this->params->get('show_description', 1) || $this->params->def('show_description_image', 1)) : ?> <div class="category-desc"> <?php if ($this->params->get('show_description_image') && $this->category->getParams()->get('image')) : ?> <img src="<?php echo $this->category->getParams()->get('image'); ?>"/> <?php endif; ?> <?php if ($this->category->description && $this->params->get('show_description')) : ?> <?php echo JHtml::_('content.prepare', $this->category->description, '', 'com_content.category'); ?> <?php endif; ?> <div class="clr"></div> </div> <?php endif; ?> <?php if ($this->params->get('maxLevel') != 0 && is_array($this->children[$this->category->id]) && count($this->children[$this->category->id]) > 0) : ?> <div class="cat-children"> <?php if ($showCategoryTitle === true or $pageSubHeading) { echo '<h3>'; } elseif ($showCategoryHeadingTitleText === true) { echo '<h2>'; } ?> <?php if ($showCategoryHeadingTitleText === true) : ?> <?php echo JText::_('JGLOBAL_SUBCATEGORIES'); ?> <?php endif; ?> <?php if ($showCategoryTitle === true or $pageSubHeading) { echo '</h3>'; } elseif ($showCategoryHeadingTitleText === true) { echo '</h2>'; } ?> </div> <?php endif; ?> <?php echo $this->loadTemplate('children'); ?> <div class="cat-items"> <?php echo $this->loadTemplate('articles'); ?> </div> </section> PK ��!]��2� � default_items.phpnu &1i� <?php /** * @package Joomla.Site * @subpackage com_newsfeeds * * @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; JHtml::_('behavior.framework'); $n = count($this->items); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); ?> <?php if (empty($this->items)) : ?> <p><?php echo JText::_('COM_NEWSFEEDS_NO_ARTICLES'); ?></p> <?php else : ?> <form action="<?php echo htmlspecialchars(JUri::getInstance()->toString(), ENT_COMPAT, 'UTF-8'); ?>" method="post" name="adminForm" id="adminForm"> <fieldset class="filters"> <legend class="hidelabeltxt"><?php echo JText::_('JGLOBAL_FILTER_LABEL'); ?></legend> <?php if ($this->params->get('show_pagination_limit')) : ?> <div class="display-limit"> <?php echo JText::_('JGLOBAL_DISPLAY_NUM'); ?>  <?php echo $this->pagination->getLimitBox(); ?> </div> <?php endif; ?> <input type="hidden" name="filter_order" value="<?php echo $listOrder; ?>" /> <input type="hidden" name="filter_order_Dir" value="<?php echo $listDirn; ?>" /> </fieldset> <table class="category"> <?php if ($this->params->get('show_headings') == 1) : ?> <thead><tr> <th class="item-title" id="tableOrdering"> <?php echo JHtml::_('grid.sort', 'COM_NEWSFEEDS_FEED_NAME', 'a.name', $listDirn, $listOrder); ?> </th> <?php if ($this->params->get('show_articles')) : ?> <th class="item-num-art" id="tableOrdering2"> <?php echo JHtml::_('grid.sort', 'COM_NEWSFEEDS_NUM_ARTICLES', 'a.numarticles', $listDirn, $listOrder); ?> </th> <?php endif; ?> <?php if ($this->params->get('show_link')) : ?> <th class="item-link" id="tableOrdering3"> <?php echo JHtml::_('grid.sort', 'COM_NEWSFEEDS_FEED_LINK', 'a.link', $listDirn, $listOrder); ?> </th> <?php endif; ?> </tr> </thead> <?php endif; ?> <tbody> <?php foreach ($this->items as $i => $item) : ?> <?php if ($this->items[$i]->published == 0) : ?> <tr class="system-unpublished cat-list-row<?php echo $i % 2; ?>"> <?php else: ?> <tr class="cat-list-row<?php echo $i % 2; ?>" > <?php endif; ?> <td class="item-title"> <a href="<?php echo JRoute::_(NewsFeedsHelperRoute::getNewsfeedRoute($item->slug, $item->catid)); ?>"> <?php echo $item->name; ?></a> </td> <?php if ($this->params->get('show_articles')) : ?> <td class="item-num-art"> <?php echo $item->numarticles; ?> </td> <?php endif; ?> <?php if ($this->params->get('show_link')) : ?> <td class="item-link"> <a href="<?php echo $item->link; ?>"><?php echo $item->link; ?></a> </td> <?php endif; ?> </tr> <?php endforeach; ?> </tbody> </table> <?php if ($this->params->get('show_pagination')) : ?> <div class="pagination"> <?php if ($this->params->def('show_pagination_results', 1)) : ?> <p class="counter"> <?php echo $this->pagination->getPagesCounter(); ?> </p> <?php endif; ?> <?php echo $this->pagination->getPagesLinks(); ?> </div> <?php endif; ?> </form> <?php endif; ?> PK k�!]M�� � blog_children.phpnu &1i� <?php /** * @package Joomla.Site * @subpackage Templates.beez3 * * @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; $app = JFactory::getApplication(); $templateparams = $app->getTemplate(true)->params; $class = ' class="first"'; $user = JFactory::getUser(); $groups = $user->getAuthorisedViewLevels(); ?> <?php if (count($this->children[$this->category->id]) > 0) : ?> <ul> <?php foreach ($this->children[$this->category->id] as $id => $child) : ?> <?php // Check whether category access level allows access to subcategories. ?> <?php if (in_array($child->access, $groups)) : ?> <?php if ($child->numitems || $this->params->get('show_empty_categories') || count($child->getChildren())) : if (!isset($this->children[$this->category->id][$id + 1])) : $class = ' class="last"'; endif; ?> <li<?php echo $class; ?>> <?php $class = ''; ?> <span class="item-title"><a href="<?php echo JRoute::_(ContentHelperRoute::getCategoryRoute($child->id));?>"> <?php echo $this->escape($child->title); ?></a> </span> <?php if ($this->params->get('show_subcat_desc') == 1) :?> <?php if ($child->description) : ?> <div class="category-desc"> <?php echo JHtml::_('content.prepare', $child->description, '', 'com_content.category'); ?> </div> <?php endif; ?> <?php endif; ?> <?php if ( $this->params->get('show_cat_num_articles', 1)) : ?> <dl> <dt> <?php echo JText::_('COM_CONTENT_NUM_ITEMS'); ?> </dt> <dd> <?php echo $child->getNumItems(true); ?> </dd> </dl> <?php endif; ?> <?php if (count($child->getChildren()) > 0): $this->children[$child->id] = $child->getChildren(); $this->category = $child; $this->maxLevel--; if ($this->maxLevel !== 0) : echo $this->loadTemplate('children'); endif; $this->category = $child->getParent(); $this->maxLevel++; endif; ?> </li> <?php endif; ?> <?php endif; ?> <?php endforeach; ?> </ul> <?php endif; ?> PK k�!]�c� � blog_links.phpnu &1i� <?php /** * @package Joomla.Site * @subpackage Templates.beez3 * * @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; JHtml::addIncludePath(JPATH_COMPONENT . '/helpers'); ?> <div class="items-more"> <h3><?php echo JText::_('COM_CONTENT_MORE_ARTICLES'); ?></h3> <ol> <?php foreach ($this->link_items as &$item) : ?> <li> <a href="<?php echo JRoute::_(ContentHelperRoute::getArticleRoute($item->slug, $item->catid, $item->language)); ?>"> <?php echo $item->title; ?></a> </li> <?php endforeach; ?> </ol> </div> PK k�!]U��#� � blog_item.phpnu &1i� <?php /** * @package Joomla.Site * @subpackage Templates.beez3 * * @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; $params = &$this->item->params; $images = json_decode($this->item->images); $app = JFactory::getApplication(); $canEdit = $this->item->params->get('access-edit'); JHtml::addIncludePath(JPATH_COMPONENT . '/helpers'); $currentDate = JFactory::getDate()->format('Y-m-d H:i:s'); $isUnpublished = ($this->item->state == 0 || $this->item->publish_up > $currentDate) || ($this->item->publish_down < $currentDate && $this->item->publish_down !== JFactory::getDbo()->getNullDate()); ?> <?php if ($isUnpublished) : ?> <div class="system-unpublished"> <?php endif; ?> <?php if ($params->get('show_title')) : ?> <h2> <?php if ($params->get('link_titles') && $params->get('access-view')) : ?> <a href="<?php echo JRoute::_(ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)); ?>"> <?php echo $this->escape($this->item->title); ?></a> <?php else : ?> <?php echo $this->escape($this->item->title); ?> <?php endif; ?> </h2> <?php endif; ?> <?php // Content is generated by content plugin event "onContentAfterTitle" ?> <div class="pull-left"><?php echo $this->item->event->afterDisplayTitle; ?></div> <?php if ($canEdit || $params->get('show_print_icon') || $params->get('show_email_icon')) : ?> <ul class="actions"> <?php if ($params->get('show_print_icon')) : ?> <li class="print-icon"> <?php echo JHtml::_('icon.print_popup', $this->item, $params, array(), true); ?> </li> <?php endif; ?> <?php if ($params->get('show_email_icon')) : ?> <li class="email-icon"> <?php echo JHtml::_('icon.email', $this->item, $params, array(), true); ?> </li> <?php endif; ?> <?php if ($canEdit) : ?> <li class="edit-icon"> <?php echo JHtml::_('icon.edit', $this->item, $params, array(), true); ?> </li> <?php endif; ?> </ul> <?php endif; ?> <?php echo $this->item->event->beforeDisplayContent; ?> <?php // to do not that elegant would be nice to group the params ?> <?php if ($params->get('show_author') || $params->get('show_category') || $params->get('show_create_date') || $params->get('show_modify_date') || $params->get('show_publish_date') || $params->get('show_parent_category') || $params->get('show_hits')) : ?> <dl class="article-info"> <dt class="article-info-term"><?php echo JText::_('COM_CONTENT_ARTICLE_INFO'); ?></dt> <?php endif; ?> <?php if ($params->get('show_parent_category') && $this->item->parent_id != 1) : ?> <dd class="parent-category-name"> <?php $title = $this->escape($this->item->parent_title); $url = '<a href="' . JRoute::_(ContentHelperRoute::getCategoryRoute($this->item->parent_id)) . '">' . $title . '</a>'; ?> <?php if ($params->get('link_parent_category')) : ?> <?php echo JText::sprintf('COM_CONTENT_PARENT', $url); ?> <?php else : ?> <?php echo JText::sprintf('COM_CONTENT_PARENT', $title); ?> <?php endif; ?> </dd> <?php endif; ?> <?php if ($params->get('show_category')) : ?> <dd class="category-name"> <?php $title = $this->escape($this->item->category_title); $url = '<a href="' . JRoute::_(ContentHelperRoute::getCategoryRoute($this->item->catid)) . '">' . $title . '</a>'; ?> <?php if ($params->get('link_category')) : ?> <?php echo JText::sprintf('COM_CONTENT_CATEGORY', $url); ?> <?php else : ?> <?php echo JText::sprintf('COM_CONTENT_CATEGORY', $title); ?> <?php endif; ?> </dd> <?php endif; ?> <?php if ($params->get('show_create_date')) : ?> <dd class="create"> <?php echo JText::sprintf('COM_CONTENT_CREATED_DATE_ON', JHtml::_('date', $this->item->created, JText::_('DATE_FORMAT_LC2'))); ?> </dd> <?php endif; ?> <?php if ($params->get('show_modify_date')) : ?> <dd class="modified"> <?php echo JText::sprintf('COM_CONTENT_LAST_UPDATED', JHtml::_('date', $this->item->modified, JText::_('DATE_FORMAT_LC2'))); ?> </dd> <?php endif; ?> <?php if ($params->get('show_publish_date')) : ?> <dd class="published"> <?php echo JText::sprintf('COM_CONTENT_PUBLISHED_DATE_ON', JHtml::_('date', $this->item->publish_up, JText::_('DATE_FORMAT_LC2'))); ?> </dd> <?php endif; ?> <?php if ($params->get('show_author') && !empty($this->item->author )) : ?> <dd class="createdby"> <?php $author = $this->item->created_by_alias ?: $this->item->author; ?> <?php if (!empty($this->item->contact_link) && $params->get('link_author') == true) : ?> <?php echo JText::sprintf('COM_CONTENT_WRITTEN_BY', JHtml::_('link', $this->item->contact_link, $author)); ?> <?php else :?> <?php echo JText::sprintf('COM_CONTENT_WRITTEN_BY', $author); ?> <?php endif; ?> </dd> <?php endif; ?> <?php if ($params->get('show_hits')) : ?> <dd class="hits"> <?php echo JText::sprintf('COM_CONTENT_ARTICLE_HITS', $this->item->hits); ?> </dd> <?php endif; ?> <?php if ($params->get('show_author') || $params->get('show_category') || $params->get('show_create_date') || $params->get('show_modify_date') || $params->get('show_publish_date') || $params->get('show_parent_category') || $params->get('show_hits')) :?> </dl> <?php endif; ?> <?php if (isset($images->image_intro) && !empty($images->image_intro)) : ?> <?php $imgfloat = empty($images->float_intro) ? $params->get('float_intro') : $images->float_intro; ?> <div class="img-intro-<?php echo htmlspecialchars($imgfloat); ?>"> <img <?php if ($images->image_intro_caption): echo 'class="caption"'.' title="' . htmlspecialchars($images->image_intro_caption, ENT_COMPAT, 'UTF-8') . '"'; endif; ?> src="<?php echo htmlspecialchars($images->image_intro, ENT_COMPAT, 'UTF-8'); ?>" alt="<?php echo htmlspecialchars($images->image_intro_alt, ENT_COMPAT, 'UTF-8'); ?>"/> </div> <?php endif; ?> <?php echo $this->item->introtext; ?> <?php if ($params->get('show_readmore') && $this->item->readmore) : if ($params->get('access-view')) : $link = JRoute::_(ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)); else : $menu = JFactory::getApplication()->getMenu(); $active = $menu->getActive(); $itemId = $active->id; $link = new JUri(JRoute::_('index.php?option=com_users&view=login&Itemid=' . $itemId, false)); $link->setVar('return', base64_encode(ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language))); endif; ?> <p class="readmore"> <a href="<?php echo $link; ?>"> <?php if (!$params->get('access-view')) : echo JText::_('COM_CONTENT_REGISTER_TO_READ_MORE'); elseif ($readmore = $this->item->alternative_readmore) : echo $readmore; if ($params->get('show_readmore_title', 0) != 0) : echo JHtml::_('string.truncate', $this->item->title, $params->get('readmore_limit')); endif; elseif ($params->get('show_readmore_title', 0) == 0) : echo JText::sprintf('COM_CONTENT_READ_MORE_TITLE'); else : echo JText::_('COM_CONTENT_READ_MORE'); echo JHtml::_('string.truncate', $this->item->title, $params->get('readmore_limit')); endif; ?></a> </p> <?php endif; ?> <?php if ($isUnpublished) : ?> </div> <?php endif; ?> <div class="item-separator"></div> <?php echo $this->item->event->afterDisplayContent; ?> PK k�!]a>���"