0byt3m1n1-V2
Path:
/
home
/
a
/
c
/
a
/
academiac
/
www
/
[
Home
]
File: default_items.php.tar
home/academiac/www/templates/puntopc/html/com_content/archive/default_items.php 0000604 00000004222 15137175443 0024136 0 ustar 00 <?php defined('_JEXEC') or die; JHtml::addIncludePath(JPATH_COMPONENT . '/helpers'); require_once dirname(__FILE__) . str_replace('/', DIRECTORY_SEPARATOR, '/../../../functions.php'); $component = new ArtxContent($this, $this->params); ?> <ul id="archive-items"> <?php foreach ($this->items as $i => $item) : ?> <li class="row<?php echo $i % 2; ?>"> <?php $article = $component->article('archive', $item, $this->params); $params = $article->getArticleViewParameters(); if (strlen($article->title)) { $params['header-text'] = $this->escape($article->title); if (strlen($article->titleLink)) $params['header-link'] = $article->titleLink; } // Change the order of "if" statements to change the order of article metadata header items. if (strlen($article->created)) $params['metadata-header-icons'][] = "<span class=\"art-postdateicon\">" . $article->createdDateInfo($article->created) . "</span>"; if (strlen($article->modified)) $params['metadata-header-icons'][] = "<span class=\"art-postdateicon\">" . $article->modifiedDateInfo($article->modified) . "</span>"; if (strlen($article->published)) $params['metadata-header-icons'][] = "<span class=\"art-postdateicon\">" . $article->publishedDateInfo($article->published) . "</span>"; if (strlen($article->hits)) $params['metadata-header-icons'][] = $article->hitsInfo($article->hits); // Build article content $content = ''; if (strlen($article->intro)) $content .= $article->intro($article->intro); $params['content'] = $content; // Change the order of "if" statements to change the order of article metadata footer items. if (strlen($article->category)) $params['metadata-footer-icons'][] = "<span class=\"art-postcategoryicon\">" . $article->categories($article->parentCategory, $article->parentCategoryLink, $article->category, $article->categoryLink) . "</span>"; // Render article echo $article->article($params); ?> </li> <?php endforeach; ?> </ul> <div class="pagination"> <p class="counter"> <?php echo $this->pagination->getPagesCounter(); ?> </p> <?php echo $this->pagination->getPagesLinks(); ?> </div> home/academiac/www/templates/mw_business/html/com_content/archive/default_items.php 0000604 00000004423 15137445263 0025007 0 ustar 00 <?php defined('_JEXEC') or die; JHtml::addIncludePath(JPATH_COMPONENT . '/helpers'); require_once dirname(__FILE__) . str_replace('/', DIRECTORY_SEPARATOR, '/../../../functions.php'); $content = new ArtxContent($this, $this->params); ?> <ul id="archive-items"> <?php foreach ($this->items as $i => $item) : ?> <li class="row<?php echo $i % 2; ?>"> <?php $article = $content->article('archive', $item, $this->params); $params = $article->getArticleViewParameters(); if (strlen($article->title)) { $params['header-text'] = $this->escape($article->title); if (strlen($article->titleLink)) $params['header-link'] = $article->titleLink; } // Change the order of "if" statements to change the order of article metadata header items. if (strlen($article->created)) $params['metadata-header-icons'][] = "<span class=\"art-postdateicon\">" . $article->createdDateInfo($article->created) . "</span>"; if (strlen($article->modified)) $params['metadata-header-icons'][] = "<span class=\"art-postdateicon\">" . $article->modifiedDateInfo($article->modified) . "</span>"; if (strlen($article->published)) $params['metadata-header-icons'][] = "<span class=\"art-postdateicon\">" . $article->publishedDateInfo($article->published) . "</span>"; if (strlen($article->author)) $params['metadata-header-icons'][] = "<span class=\"art-postauthoricon\">" . $article->authorInfo($article->author, $article->authorLink) . "</span>"; if (strlen($article->hits)) $params['metadata-header-icons'][] = $article->hitsInfo($article->hits); // Build article content $content = ''; if (strlen($article->intro)) $content .= $article->intro($article->intro); $params['content'] = $content; // Change the order of "if" statements to change the order of article metadata footer items. if (strlen($article->category)) $params['metadata-footer-icons'][] = "<span class=\"art-postcategoryicon\">" . $article->categories($article->parentCategory, $article->parentCategoryLink, $article->category, $article->categoryLink) . "</span>"; // Render article echo $article->article($params); ?> </li> <?php endforeach; ?> </ul> <div class="pagination"> <p class="counter"> <?php echo $this->pagination->getPagesCounter(); ?> </p> <?php echo $this->pagination->getPagesLinks(); ?> </div> home/academiac/www/components/com_xmap/views/xml/tmpl/default_items.php 0000604 00000001007 15140203676 0022444 0 ustar 00 <?php /** * @version $Id$ * @copyright Copyright (C) 2005 - 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( 'Restricted access' ); // Create shortcut to parameters. $params = $this->state->get('params'); // Use the class defined in default_class.php to print the sitemap $this->displayer->printSitemap(); home/academiac/www/components/com_weblinks/views/categories/tmpl/default_items.php 0000644 00000003273 15140237447 0024660 0 ustar 00 <?php /** * @package Joomla.Site * @subpackage com_weblinks * @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ // no direct access defined('_JEXEC') or die; $class = ' class="first"'; if (count($this->items[$this->parent->id]) > 0 && $this->maxLevelcat != 0) : ?> <ul> <?php foreach($this->items[$this->parent->id] as $id => $item) : ?> <?php if($this->params->get('show_empty_categories_cat') || $item->numitems || count($item->getChildren())) : if(!isset($this->items[$this->parent->id][$id + 1])) { $class = ' class="last"'; } ?> <li<?php echo $class; ?>> <?php $class = ''; ?> <span class="item-title"><a href="<?php echo JRoute::_(WeblinksHelperRoute::getCategoryRoute($item->id));?>"> <?php echo $this->escape($item->title); ?></a> </span> <?php if ($this->params->get('show_subcat_desc_cat') == 1) :?> <?php if ($item->description) : ?> <div class="category-desc"> <?php echo JHtml::_('content.prepare', $item->description, '', 'com_weblinks.categories'); ?> </div> <?php endif; ?> <?php endif; ?> <?php if ($this->params->get('show_cat_num_links_cat') == 1) :?> <dl class="weblink-count"><dt> <?php echo JText::_('COM_WEBLINKS_NUM'); ?></dt> <dd><?php echo $item->numitems; ?></dd> </dl> <?php endif; ?> <?php if(count($item->getChildren()) > 0) : $this->items[$item->id] = $item->getChildren(); $this->parent = $item; $this->maxLevelcat--; echo $this->loadTemplate('items'); $this->parent = $item->getParent(); $this->maxLevelcat++; endif; ?> </li> <?php endif; ?> <?php endforeach; ?> </ul> <?php endif; ?> home/academiac/www/components/com_weblinks/views/category/tmpl/default_items.php 0000644 00000013172 15140354406 0024342 0 ustar 00 <?php /** * @package Joomla.Site * @subpackage com_weblinks * @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ // no direct access defined('_JEXEC') or die; // Code to support edit links for weblinks // Create a shortcut for params. $params = &$this->item->params; JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); JHtml::_('behavior.tooltip'); JHtml::_('behavior.framework'); // Get the user object. $user = JFactory::getUser(); // Check if user is allowed to add/edit based on weblinks permissinos. $canEdit = $user->authorise('core.edit', 'com_weblinks'); $canCreate = $user->authorise('core.create', 'com_weblinks'); $canEditState = $user->authorise('core.edit.state', 'com_weblinks'); $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_WEBLINKS_NO_WEBLINKS'); ?></p> <?php else : ?> <form action="<?php echo htmlspecialchars(JFactory::getURI()->toString()); ?>" method="post" name="adminForm" id="adminForm"> <?php if ($this->params->get('show_pagination_limit')) : ?> <fieldset class="filters"> <legend class="hidelabeltxt"><?php echo JText::_('JGLOBAL_FILTER_LABEL'); ?></legend> <div class="display-limit"> <?php echo JText::_('JGLOBAL_DISPLAY_NUM'); ?>  <?php echo $this->pagination->getLimitBox(); ?> </div> <input type="hidden" name="filter_order" value="<?php echo $listOrder; ?>" /> <input type="hidden" name="filter_order_Dir" value="<?php echo $listDirn; ?>" /> </fieldset> <?php endif; ?> <table class="category"> <?php if ($this->params->get('show_headings')==1) : ?> <thead><tr> <th class="title"> <?php echo JHtml::_('grid.sort', 'COM_WEBLINKS_GRID_TITLE', 'title', $listDirn, $listOrder); ?> </th> <?php if ($this->params->get('show_link_hits')) : ?> <th class="hits"> <?php echo JHtml::_('grid.sort', 'JGLOBAL_HITS', 'hits', $listDirn, $listOrder); ?> </th> <?php endif; ?> </tr> </thead> <?php endif; ?> <tbody> <?php foreach ($this->items as $i => $item) : ?> <?php if ($this->items[$i]->state == 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="title"> <p> <?php if ($this->params->get('icons') == 0) : ?> <?php echo JText::_('COM_WEBLINKS_LINK'); ?> <?php elseif ($this->params->get('icons') == 1) : ?> <?php if (!$this->params->get('link_icons')) : ?> <?php echo JHtml::_('image', 'system/'.$this->params->get('link_icons', 'weblink.png'), JText::_('COM_WEBLINKS_LINK'), NULL, true); ?> <?php else: ?> <?php echo '<img src="'.$this->params->get('link_icons').'" alt="'.JText::_('COM_WEBLINKS_LINK').'" />'; ?> <?php endif; ?> <?php endif; ?> <?php // Compute the correct link $menuclass = 'category'.$this->pageclass_sfx; $link = $item->link; $width = $item->params->get('width'); $height = $item->params->get('height'); if ($width == null || $height == null) { $width = 600; $height = 500; } switch ($item->params->get('target', $this->params->get('target'))) { case 1: // open in a new window echo '<a href="'. $link .'" target="_blank" class="'. $menuclass .'" rel="nofollow">'. $this->escape($item->title) .'</a>'; break; case 2: // open in a popup window $attribs = 'toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width='.$this->escape($width).',height='.$this->escape($height).''; echo "<a href=\"$link\" onclick=\"window.open(this.href, 'targetWindow', '".$attribs."'); return false;\">". $this->escape($item->title).'</a>'; break; case 3: // open in a modal window JHtml::_('behavior.modal', 'a.modal'); ?> <a class="modal" href="<?php echo $link;?>" rel="{handler: 'iframe', size: {x:<?php echo $this->escape($width);?>, y:<?php echo $this->escape($height);?>}}"> <?php echo $this->escape($item->title). ' </a>' ; break; default: // open in parent window echo '<a href="'. $link . '" class="'. $menuclass .'" rel="nofollow">'. $this->escape($item->title) . ' </a>'; break; } ?> <?php // Code to add the edit link for the weblink. ?> <?php if ($canEdit) : ?> <ul class="actions"> <li class="edit-icon"> <?php echo JHtml::_('icon.edit', $item, $params); ?> </li> </ul> <?php endif; ?> </p> <?php if (($this->params->get('show_link_description')) and ($item->description !='')): ?> <?php echo $item->description; ?> <?php endif; ?> </td> <?php if ($this->params->get('show_link_hits')) : ?> <td class="hits"> <?php echo $item->hits; ?> </td> <?php endif; ?> </tr> <?php endforeach; ?> </tbody> </table> <?php // Code to add a link to submit a weblink. ?> <?php /* if ($canCreate) : // TODO This is not working due to some problem in the router, I think. Ref issue #23685 ?> <?php echo JHtml::_('icon.create', $item, $item->params); ?> <?php endif; */ ?> <?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; ?>
©
2018.