0byt3m1n1-V2
Path:
/
home
/
academiac
/
www
/
[
Home
]
File: default.php.tar
home/academiac/www/templates/atomic/html/mod_search/default.php 0000644 00000003251 15137143432 0020672 0 ustar 00 <?php /** * @package Joomla.Site * @subpackage Templates.atomic * @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; ?> <form action="<?php echo JRoute::_('index.php');?>" method="post" class="inline"> <div class="search<?php echo $params->get('moduleclass_sfx') ?>"> <?php $output = '<input name="searchword" id="mod-search-searchword" maxlength="'.$maxlength.'" class="inputbox'.$moduleclass_sfx.'" type="text" size="'.$width.'" value="'.$text.'" onblur="if (this.value==\'\') this.value=\''.$text.'\';" onfocus="if (this.value==\''.$text.'\') this.value=\'\';" />'; if ($button) : if ($imagebutton) : $button = '<input type="image" value="'.$button_text.'" class="button'.$moduleclass_sfx.'" src="'.$img.'" onclick="this.form.searchword.focus();"/>'; else : $button = '<input type="submit" value="'.$button_text.'" class="button'.$moduleclass_sfx.'" onclick="this.form.searchword.focus();"/>'; endif; endif; switch ($button_pos) : case 'top' : $button = $button.'<br />'; $output = $button.$output; break; case 'bottom' : $button = '<br />'.$button; $output = $output.$button; break; case 'right' : $output = $output.$button; break; case 'left' : default : $output = $button.$output; break; endswitch; echo $output; ?> <input type="hidden" name="task" value="search" /> <input type="hidden" name="option" value="com_search" /> <input type="hidden" name="Itemid" value="<?php echo $mitemid; ?>" /> </div> </form> home/academiac/www/templates/atomic/html/mod_custom/default.php 0000644 00000000473 15137143451 0020743 0 ustar 00 <?php /** * @package Joomla.Site * @subpackage Templates.atomic * @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; ?> <?php echo $module->content;?> home/academiac/www/templates/ideas/html/mod_menu/default.php 0000604 00000012767 15137144143 0020212 0 ustar 00 <?php defined('_JEXEC') or die; require_once dirname(__FILE__) . str_replace('/', DIRECTORY_SEPARATOR, '/../../functions.php'); // Note. It is important to remove spaces between elements. $tag = ($params->get('tag_id') != NULL) ? ' id="' . $params->get('tag_id') . '"' : ''; if (isset($attribs['name']) && $attribs['name'] == 'position-1') { $menutype = 'horizontal'; $start = $params->get('startLevel'); // render subitems or not. $subitems = $GLOBALS['artx_settings']['menu']['show_submenus'] && 1 == $params->get('showAllChildren'); // true - skip current node, false - render current node. $skip = false; echo '<ul class="awp-hmenu"' . $tag . '>'; foreach ($list as $i => & $item) { if ($skip) { if ($item->shallower) { if (($item->level - $item->level_diff) <= $limit) { echo '</li>' . str_repeat('</ul></li>', $limit - $item->level + $item->level_diff); $skip = false; } } continue; } $class = 'item-' . $item->id; $class .= $item->id == $active_id ? ' current' : ''; $class .= ('alias' == $item->type && in_array($item->params->get('aliasoptions'), $path) || in_array($item->id, $path)) ? ' active' : ''; $class .= $item->deeper ? ' deeper' : ''; $class .= $item->parent ? ' parent' : ''; echo '<li class="' . $class . '">'; // Render the menu item. switch ($item->type) { case 'separator': case 'url': case 'component': require JModuleHelper::getLayoutPath('mod_menu', 'default_' . $item->type); break; default: require JModuleHelper::getLayoutPath('mod_menu', 'default_url'); break; } if ($item->deeper) { if (!$subitems) { $limit = $item->level; $skip = true; continue; } echo '<ul>'; } elseif ($item->shallower) echo '</li>' . str_repeat('</ul></li>', $item->level_diff); else echo '</li>'; } echo '</ul>'; } else if (0 === strpos($params->get('moduleclass_sfx'), 'awp-vmenu') || false !== strpos($params->get('moduleclass_sfx'), ' awp-vmenu')) { $menutype = 'vertical'; $start = $params->get('startLevel'); // render subitems or not. $subitems = $GLOBALS['artx_settings']['vmenu']['show_submenus'] && 1 == $params->get('showAllChildren'); // true - skip current node, false - render current node. $skip = false; // limit of rendering - skip items with level more then limit. $limit = $start; echo '<ul class="awp-vmenu"' . $tag . '>'; foreach ($list as $i => & $item) { if ($skip) { if ($item->shallower) { if (($item->level - $item->level_diff) <= $limit) { echo '</li>' . str_repeat('</ul></li>', $limit - $item->level + $item->level_diff); $skip = false; } } continue; } $class = 'item-' . $item->id; $class .= $item->id == $active_id ? ' current' : ''; $class .= ('alias' == $item->type && in_array($item->params->get('aliasoptions'), $path) || in_array($item->id, $path)) ? ' active' : ''; $class .= $item->deeper ? ' deeper' : ''; $class .= $item->parent ? ' parent' : ''; echo '<li class="' . $class . '">'; // Render the menu item. switch ($item->type) { case 'separator': case 'url': case 'component': require JModuleHelper::getLayoutPath('mod_menu', 'default_' . $item->type); break; default: require JModuleHelper::getLayoutPath('mod_menu', 'default_url'); break; } if ($item->deeper) { if (!$subitems) { $limit = $item->level; $skip = true; continue; } echo '<ul' . ($subitems && in_array($item->id, $path) ? ' class="active"' : '') . '>'; } elseif ($item->shallower) echo '</li>' . str_repeat('</ul></li>', $item->level_diff); else echo '</li>'; } echo '</ul>'; } else { $menutype = 'default'; echo '<ul class="menu' . $params->get('class_sfx') . '"' . $tag . '>'; foreach ($list as $i => &$item) { $class = 'item-' . $item->id; $class .= $item->id == $active_id ? ' current' : ''; $class .= ('alias' == $item->type && in_array($item->params->get('aliasoptions'), $path) || in_array($item->id, $path)) ? ' active' : ''; $class .= $item->deeper ? ' deeper' : ''; $class .= $item->parent ? ' parent' : ''; echo '<li class="' . $class . '">'; // Render the menu item. switch ($item->type) { case 'separator': case 'url': case 'component': require JModuleHelper::getLayoutPath('mod_menu', 'default_'.$item->type); break; default: require JModuleHelper::getLayoutPath('mod_menu', 'default_url'); break; } if ($item->deeper) echo '<ul>'; elseif ($item->shallower) echo '</li>' . str_repeat('</ul></li>', $item->level_diff); else echo '</li>'; } echo '</ul>'; } home/academiac/www/administrator/templates/hathor/html/com_templates/templates/default.php 0000644 00000012012 15137145515 0026310 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Templates.hathor * @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt * @since 1.6 */ // No direct access. defined('_JEXEC') or die; // Include the component HTML helpers. JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); JHtml::_('behavior.tooltip'); JHtml::_('behavior.modal'); JHtml::_('behavior.multiselect'); $user = JFactory::getUser(); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); ?> <form action="<?php echo JRoute::_('index.php?option=com_templates&view=templates'); ?>" method="post" name="adminForm" id="adminForm"> <fieldset id="filter-bar"> <legend class="element-invisible"><?php echo JText::_('Filters'); ?></legend> <div class="filter-search"> <label class="filter-search-lbl" for="filter_search"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></label> <input type="text" name="filter_search" id="filter_search" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" title="<?php echo JText::_('COM_TEMPLATES_TEMPLATES_FILTER_SEARCH_DESC'); ?>" /> <button type="submit"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button> <button type="button" onclick="document.id('filter_search').value='';this.form.submit();"><?php echo JText::_('JSEARCH_FILTER_CLEAR'); ?></button> </div> <div class="filter-select"> <label class="selectlabel" for="filter_client_id"> <?php echo JText::_('JGLOBAL_FILTER_CLIENT'); ?> </label> <select name="filter_client_id" class="inputbox" id="filter_client_id"> <option value="*"><?php echo JText::_('JGLOBAL_FILTER_CLIENT'); ?></option> <?php echo JHtml::_('select.options', TemplatesHelper::getClientOptions(), 'value', 'text', $this->state->get('filter.client_id'));?> </select> <button type="submit" id="filter-go"> <?php echo JText::_('JSUBMIT'); ?></button> </div> </fieldset> <div class="clr"> </div> <table class="adminlist" id="template-mgr"> <thead> <tr> <th class="checkmark-col">   </th> <th> <?php echo JHtml::_('grid.sort', 'COM_TEMPLATES_HEADING_TEMPLATE', 'a.element', $listDirn, $listOrder); ?> </th> <th class="width-10"> <?php echo JHtml::_('grid.sort', 'JCLIENT', 'a.client_id', $listDirn, $listOrder); ?> </th> <th class="center width-10"> <?php echo JText::_('JVERSION'); ?> </th> <th class="width-15"> <?php echo JText::_('JDATE'); ?> </th> <th class="width-25"> <?php echo JText::_('JAUTHOR'); ?> </th> </tr> </thead> <tbody> <?php foreach ($this->items as $i => $item) : ?> <tr class="row<?php echo $i % 2; ?>"> <td class="center"> <?php echo JHtml::_('templates.thumb', $item->element, $item->client_id); ?> </td> <td class="template-name"> <a href="<?php echo JRoute::_('index.php?option=com_templates&view=template&id='.(int) $item->extension_id); ?>"> <?php echo JText::sprintf( 'COM_TEMPLATES_TEMPLATE_DETAILS', $item->name) ;?></a> <p> <?php if($this->preview && $item->client_id == '0'): ?> <a href="<?php echo JURI::root().'index.php?tp=1&template='.$item->element; ?>" target="_blank"> <?php echo JText::sprintf('COM_TEMPLATES_TEMPLATE_PREVIEW'); ?></a> <?php elseif ($item->client_id == '1'): ?> <?php echo JText::sprintf('COM_TEMPLATES_TEMPLATE_NO_PREVIEW_ADMIN'); ?> <?php else: ?> <span class="hasTip" title="<?php echo JText::sprintf('COM_TEMPLATES_TEMPLATE_NO_PREVIEW'); ?>::<?php echo JText::sprintf('COM_TEMPLATES_TEMPLATE_NO_PREVIEW_DESC'); ?>"> <?php echo JText::sprintf('COM_TEMPLATES_TEMPLATE_NO_PREVIEW'); ?></span> <?php endif; ?> </p> </td> <td class="center"> <?php echo $item->client_id == 0 ? JText::_('JSITE') : JText::_('JADMINISTRATOR'); ?> </td> <td class="center"> <?php echo $this->escape($item->xmldata->get('version')); ?> </td> <td class="center"> <?php echo $this->escape($item->xmldata->get('creationDate')); ?> </td> <td> <?php if ($author = $item->xmldata->get('author')) : ?> <p><?php echo $this->escape($author); ?></p> <?php else : ?> — <?php endif; ?> <?php if ($email = $item->xmldata->get('authorEmail')) : ?> <p><?php echo $this->escape($email); ?></p> <?php endif; ?> <?php if ($url = $item->xmldata->get('authorUrl')) : ?> <p><a href="<?php echo $this->escape($url); ?>"> <?php echo $this->escape($url); ?></a></p> <?php endif; ?> </td> </tr> <?php endforeach; ?> </tbody> </table> <?php echo $this->pagination->getListFooter(); ?> <input type="hidden" name="task" value="" /> <input type="hidden" name="boxchecked" value="0" /> <input type="hidden" name="filter_order" value="<?php echo $listOrder; ?>" /> <input type="hidden" name="filter_order_Dir" value="<?php echo $listDirn; ?>" /> <?php echo JHtml::_('form.token'); ?> </form> home/academiac/www/administrator/templates/hathor/html/com_templates/styles/default.php 0000644 00000015612 15137170613 0025643 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Templates.hathor * @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt * @since 1.6 */ // No direct access. defined('_JEXEC') or die; // Include the component HTML helpers. JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); JHtml::_('behavior.tooltip'); JHtml::_('script', 'system/multiselect.js', false, true); $user = JFactory::getUser(); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); ?> <form action="<?php echo JRoute::_('index.php?option=com_templates&view=styles'); ?>" method="post" name="adminForm" id="adminForm"> <fieldset id="filter-bar"> <legend class="element-invisible"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></legend> <div class="filter-search"> <label class="filter-search-lbl" for="filter_search"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></label> <input type="text" name="filter_search" id="filter_search" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" title="<?php echo JText::_('COM_TEMPLATES_STYLES_FILTER_SEARCH_DESC'); ?>" /> <button type="submit"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button> <button type="button" onclick="document.id('filter_search').value='';this.form.submit();"><?php echo JText::_('JSEARCH_FILTER_CLEAR'); ?></button> </div> <div class="filter-select"> <label class="selectlabel" for="filter_template"><?php echo JText::_('COM_TEMPLATES_FILTER_TEMPLATE'); ?></label> <select name="filter_template" class="inputbox" id="filter_template"> <option value="0"><?php echo JText::_('COM_TEMPLATES_FILTER_TEMPLATE'); ?></option> <?php echo JHtml::_('select.options', TemplatesHelper::getTemplateOptions($this->state->get('filter.client_id')), 'value', 'text', $this->state->get('filter.template'));?> </select> <label class="selectlabel" for="filter_client_id"><?php echo JText::_('JGLOBAL_FILTER_CLIENT'); ?></label> <select name="filter_client_id" class="inputbox" id="filter_client_id"> <option value="*"><?php echo JText::_('JGLOBAL_FILTER_CLIENT'); ?></option> <?php echo JHtml::_('select.options', TemplatesHelper::getClientOptions(), 'value', 'text', $this->state->get('filter.client_id'));?> </select> <button type="submit" id="filter-go"> <?php echo JText::_('JSUBMIT'); ?></button> </div> </fieldset> <div class="clr"> </div> <table class="adminlist"> <thead> <tr> <th class="checkmark-col">   </th> <th> <?php echo JHtml::_('grid.sort', 'COM_TEMPLATES_HEADING_STYLE', 'a.title', $listDirn, $listOrder); ?> </th> <th class="width-10"> <?php echo JHtml::_('grid.sort', 'JCLIENT', 'a.client_id', $listDirn, $listOrder); ?> </th> <th> <?php echo JHtml::_('grid.sort', 'COM_TEMPLATES_HEADING_TEMPLATE', 'a.template', $listDirn, $listOrder); ?> </th> <th class="width-5"> <?php echo JHtml::_('grid.sort', 'COM_TEMPLATES_HEADING_DEFAULT', 'a.home', $listDirn, $listOrder); ?> </th> <th class="width-5"> <?php echo JText::_('COM_TEMPLATES_HEADING_ASSIGNED'); ?> </th> <th class="nowrap id-col"> <?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ID', 'a.id', $listDirn, $listOrder); ?> </th> </tr> </thead> <tbody> <?php foreach ($this->items as $i => $item) : $canCreate = $user->authorise('core.create', 'com_templates'); $canEdit = $user->authorise('core.edit', 'com_templates'); $canChange = $user->authorise('core.edit.state', 'com_templates'); ?> <tr class="row<?php echo $i % 2; ?>"> <td class="center"> <?php echo JHtml::_('grid.id', $i, $item->id); ?> </td> <td> <?php if ($this->preview && $item->client_id == '0'): ?> <a target="_blank"href="<?php echo JURI::root().'index.php?tp=1&templateStyle='.(int) $item->id ?>" class="jgrid hasTip" title="<?php echo htmlspecialchars(JText::_('COM_TEMPLATES_TEMPLATE_PREVIEW')); ?>::<?php echo htmlspecialchars($item->title);?>" ><span class="state icon-16-preview"><span class="text"><?php echo JText::_('COM_TEMPLATES_TEMPLATE_PREVIEW'); ?></span></span></a> <?php elseif ($item->client_id == '1'): ?> <span class="jgrid hasTip" title="<?php echo htmlspecialchars(JText::_('COM_TEMPLATES_TEMPLATE_NO_PREVIEW_ADMIN')); ?>" ><span class="state icon-16-nopreview"><span class="text"><?php echo JText::_('COM_TEMPLATES_TEMPLATE_NO_PREVIEW_ADMIN'); ?></span></span></span> <?php else: ?> <span class="jgrid hasTip" title="<?php echo htmlspecialchars(JText::_('COM_TEMPLATES_TEMPLATE_NO_PREVIEW')); ?>" ><span class="state icon-16-nopreview"><span class="text"><?php echo JText::_('COM_TEMPLATES_TEMPLATE_NO_PREVIEW'); ?></span></span></span> <?php endif; ?> <?php if ($canEdit) : ?> <a href="<?php echo JRoute::_('index.php?option=com_templates&task=style.edit&id='.(int) $item->id); ?>"> <?php echo $this->escape($item->title);?></a> <?php else : ?> <?php echo $this->escape($item->title);?> <?php endif; ?> </td> <td class="center"> <?php echo $item->client_id == 0 ? JText::_('JSITE') : JText::_('JADMINISTRATOR'); ?> </td> <td> <label for="cb<?php echo $i;?>"> <?php echo $this->escape($item->template);?> </label> </td> <td class="center"> <?php if ($item->home=='0' || $item->home=='1'):?> <?php echo JHtml::_('jgrid.isdefault', $item->home!='0', $i, 'styles.', $canChange && $item->home!='1');?> <?php elseif ($canChange):?> <a href="<?php echo JRoute::_('index.php?option=com_templates&task=styles.unsetDefault&cid[]='.$item->id.'&'.JSession::getFormToken().'=1');?>"> <?php echo JHtml::_('image', 'mod_languages/'.$item->image.'.gif', $item->language_title, array('title'=>JText::sprintf('COM_TEMPLATES_GRID_UNSET_LANGUAGE', $item->language_title)), true);?> </a> <?php else:?> <?php echo JHtml::_('image', 'mod_languages/'.$item->image.'.gif', $item->language_title, array('title'=>$item->language_title), true);?> <?php endif;?> </td> <td class="center"> <?php if ($item->assigned > 0) : ?> <?php echo JHtml::_('image', 'admin/tick.png', JText::plural('COM_TEMPLATES_ASSIGNED', $item->assigned), array('title'=>JText::plural('COM_TEMPLATES_ASSIGNED', $item->assigned)), true); ?> <?php else : ?>   <?php endif; ?> </td> <td class="center"> <?php echo (int) $item->id; ?> </td> </tr> <?php endforeach; ?> </tbody> </table> <?php echo $this->pagination->getListFooter(); ?> <input type="hidden" name="task" value="" /> <input type="hidden" name="boxchecked" value="0" /> <input type="hidden" name="filter_order" value="<?php echo $listOrder; ?>" /> <input type="hidden" name="filter_order_Dir" value="<?php echo $listDirn; ?>" /> <?php echo JHtml::_('form.token'); ?> </form> home/academiac/www/administrator/templates/hathor/html/com_languages/installed/default.php 0000644 00000006007 15137172647 0026256 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Templates.hathor * @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt * @since 1.6 */ defined('_JEXEC') or die; // Add specific helper files for html generation JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); $user = JFactory::getUser(); $userId = $user->get('id'); $client = $this->state->get('filter.client_id', 0) ? JText::_('JADMINISTRATOR') : JText::_('JSITE'); $clientId = $this->state->get('filter.client_id', 0); ?> <form action="<?php echo JRoute::_('index.php?option=com_languages&view=installed&client='.$clientId); ?>" method="post" id="adminForm" name="adminForm"> <table class="adminlist"> <thead> <tr> <th class="row-number-col"> <?php echo JText::_('COM_LANGUAGES_HEADING_NUM'); ?> </th> <th class="checkmark-col">   </th> <th class="title"> <?php echo JText::_('COM_LANGUAGES_HEADING_LANGUAGE'); ?> </th> <th> <?php echo JText::_('COM_LANGUAGES_FIELD_LANG_TAG_LABEL'); ?> </th> <th class="width-10"> <?php echo JText::_('JCLIENT'); ?> </th> <th class="width-5"> <?php echo JText::_('COM_LANGUAGES_HEADING_DEFAULT'); ?> </th> <th class="width-10"> <?php echo JText::_('JVERSION'); ?> </th> <th class="width-10"> <?php echo JText::_('JDATE'); ?> </th> <th class="width-20"> <?php echo JText::_('JAUTHOR'); ?> </th> <th class="width-25"> <?php echo JText::_('COM_LANGUAGES_HEADING_AUTHOR_EMAIL'); ?> </th> </tr> </thead> <tbody> <?php foreach ($this->rows as $i => $row) : $canCreate = $user->authorise('core.create', 'com_languages'); $canEdit = $user->authorise('core.edit', 'com_languages'); $canChange = $user->authorise('core.edit.state', 'com_languages'); ?> <tr class="row<?php echo $i % 2; ?>"> <th> <?php echo $this->pagination->getRowOffset($i); ?> </th> <td> <?php echo JHtml::_('languages.id', $i, $row->language);?> </td> <td> <?php echo $this->escape($row->name); ?> </td> <td align="center"> <?php echo $this->escape($row->language); ?> </td> <td class="center"> <?php echo $client;?> </td> <td class="center"> <?php echo JHtml::_('jgrid.isdefault', $row->published, $i, 'installed.', !$row->published && $canChange);?> </td> <td class="center"> <?php echo $this->escape($row->version); ?> </td> <td class="center"> <?php echo $this->escape($row->creationDate); ?> </td> <td class="center"> <?php echo $this->escape($row->author); ?> </td> <td class="center"> <?php echo $this->escape($row->authorEmail); ?> </td> </tr> <?php endforeach;?> </tbody> </table> <?php echo $this->pagination->getListFooter(); ?> <input type="hidden" name="task" value="" /> <input type="hidden" name="boxchecked" value="0" /> <?php echo JHtml::_('form.token'); ?> </form> home/academiac/www/administrator/templates/hathor/html/com_installer/manage/default.php 0000644 00000010137 15137172664 0025554 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Templates.hathor * @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt * @since 1.6 */ // no direct access defined('_JEXEC') or die; JHtml::_('behavior.multiselect'); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); ?> <div id="installer-manage"> <form action="<?php echo JRoute::_('index.php?option=com_installer&view=manage');?>" method="post" name="adminForm" id="adminForm"> <?php if ($this->showMessage) : ?> <?php echo $this->loadTemplate('message'); ?> <?php endif; ?> <?php if ($this->ftp) : ?> <?php echo $this->loadTemplate('ftp'); ?> <?php endif; ?> <?php echo $this->loadTemplate('filter'); ?> <?php if (count($this->items)) : ?> <table class="adminlist"> <thead> <tr> <th class="checkmark-col"> <input type="checkbox" name="checkall-toggle" value="" title="<?php echo JText::_('JGLOBAL_CHECK_ALL'); ?>" onclick="Joomla.checkAll(this)" /> </th> <th class="title nowrap"> <?php echo JHtml::_('grid.sort', 'COM_INSTALLER_HEADING_NAME', 'name', $listDirn, $listOrder); ?> </th> <th> <?php echo JHtml::_('grid.sort', 'COM_INSTALLER_HEADING_LOCATION', 'client_id', $listDirn, $listOrder); ?> </th> <th class="width-10 center"> <?php echo JHtml::_('grid.sort', 'JSTATUS', 'status', $listDirn, $listOrder); ?> </th> <th class="center"> <?php echo JHtml::_('grid.sort', 'COM_INSTALLER_HEADING_TYPE', 'type', $listDirn, $listOrder); ?> </th> <th class="width-10 center"> <?php echo JText::_('JVERSION'); ?> </th> <th class="width-10"> <?php echo JText::_('JDATE'); ?> </th> <th class="width-15 center"> <?php echo JText::_('JAUTHOR'); ?> </th> <th> <?php echo JHtml::_('grid.sort', 'COM_INSTALLER_HEADING_FOLDER', 'folder', $listDirn, $listOrder); ?> </th> <th class="nowrap id-col"> <?php echo JHtml::_('grid.sort', 'COM_INSTALLER_HEADING_ID', 'extension_id', $listDirn, $listOrder); ?> </th> </tr> </thead> <tbody> <?php foreach ($this->items as $i => $item): ?> <tr class="row<?php echo $i%2; if ($item->status == 2) echo ' protected';?>"> <td> <?php echo JHtml::_('grid.id', $i, $item->extension_id); ?> </td> <td> <span class="bold hasTip" title="<?php echo htmlspecialchars($item->name.'::'.$item->description); ?>"> <?php echo $item->name; ?> </span> </td> <td class="center"> <?php echo $item->client; ?> </td> <td class="center"> <?php if (!$item->element) : ?> <strong>X</strong> <?php else : ?> <?php echo JHtml::_('InstallerHtml.Manage.state', $item->status, $i, $item->status < 2, 'cb'); ?> <?php endif; ?> </td> <td class="center"> <?php echo JText::_('COM_INSTALLER_TYPE_' . $item->type); ?> </td> <td class="center"> <?php echo @$item->version != '' ? $item->version : ' '; ?> </td> <td class="center"> <?php echo @$item->creationDate != '' ? $item->creationDate : ' '; ?> </td> <td class="center"> <span class="editlinktip hasTip" title="<?php echo addslashes(htmlspecialchars(JText::_('COM_INSTALLER_AUTHOR_INFORMATION').'::'.$item->author_info)); ?>"> <?php echo @$item->author != '' ? $item->author : ' '; ?> </span> </td> <td class="center"> <?php echo @$item->folder != '' ? $item->folder : JText::_('COM_INSTALLER_TYPE_NONAPPLICABLE'); ?> </td> <td> <?php echo $item->extension_id ?> </td> </tr> <?php endforeach; ?> </tbody> </table> <?php echo $this->pagination->getListFooter(); ?> <?php endif; ?> <input type="hidden" name="task" value="" /> <input type="hidden" name="boxchecked" value="0" /> <input type="hidden" name="filter_order" value="<?php echo $listOrder; ?>" /> <input type="hidden" name="filter_order_Dir" value="<?php echo $listDirn; ?>" /> <?php echo JHtml::_('form.token'); ?> </form> </div> home/academiac/www/administrator/templates/hathor/html/com_installer/update/default.php 0000644 00000007041 15137172667 0025611 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Templates.hathor * @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt * @since 1.6 */ // no direct access defined('_JEXEC') or die; JHtml::_('behavior.multiselect'); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); ?> <div id="installer-update"> <form action="<?php echo JRoute::_('index.php?option=com_installer&view=update');?>" method="post" name="adminForm" id="adminForm"> <?php if ($this->showMessage) : ?> <?php echo $this->loadTemplate('message'); ?> <?php endif; ?> <?php if ($this->ftp) : ?> <?php echo $this->loadTemplate('ftp'); ?> <?php endif; ?> <?php if (count($this->items)) : ?> <table class="adminlist" cellspacing="1"> <thead> <tr> <th class="checkmark-col"><input type="checkbox" name="checkall-toggle" value="" title="<?php echo JText::_('JGLOBAL_CHECK_ALL'); ?>" onclick="Joomla.checkAll(this)" /></th> <th class="nowrap"><?php echo JHtml::_('grid.sort', 'COM_INSTALLER_HEADING_NAME', 'name', $listDirn, $listOrder); ?></th> <th class="nowrap"><?php echo JHtml::_('grid.sort', 'COM_INSTALLER_HEADING_INSTALLTYPE', 'extension_id', $listDirn, $listOrder); ?></th> <th ><?php echo JHtml::_('grid.sort', 'COM_INSTALLER_HEADING_TYPE', 'type', $listDirn, $listOrder); ?></th> <th class="width-10" class="center"><?php echo JText::_('JVERSION'); ?></th> <th><?php echo JHtml::_('grid.sort', 'COM_INSTALLER_HEADING_FOLDER', 'folder', $listDirn, $listOrder); ?></th> <th><?php echo JHtml::_('grid.sort', 'COM_INSTALLER_HEADING_CLIENT', 'client_id', $listDirn, $listOrder); ?></th> <th class="width-25"><?php echo JText::_('COM_INSTALLER_HEADING_DETAILSURL'); ?></th> </tr> </thead> <tbody> <?php foreach($this->items as $i=>$item): $client = $item->client_id ? JText::_('JADMINISTRATOR') : JText::_('JSITE'); ?> <tr class="row<?php echo $i%2; ?>"> <td><?php echo JHtml::_('grid.id', $i, $item->update_id); ?></td> <td> <span class="editlinktip hasTip" title="<?php echo JText::_('JGLOBAL_DESCRIPTION');?>::<?php echo $item->description ? $item->description : JText::_('COM_INSTALLER_MSG_UPDATE_NODESC'); ?>"> <?php echo $item->name; ?> </span> </td> <td class="center"> <?php echo $item->extension_id ? JText::_('COM_INSTALLER_MSG_UPDATE_UPDATE') : JText::_('COM_INSTALLER_NEW_INSTALL') ?> </td> <td><?php echo JText::_('COM_INSTALLER_TYPE_' . $item->type) ?></td> <td class="center"><?php echo $item->version ?></td> <td class="center"><?php echo @$item->folder != '' ? $item->folder : JText::_('COM_INSTALLER_TYPE_NONAPPLICABLE'); ?></td> <td class="center"><?php echo $client; ?></td> <td><?php echo $item->detailsurl ?> <?php if (isset($item->infourl)) : ?> <br /><a href="<?php echo $item->infourl;?>"><?php echo $item->infourl;?></a> <?php endif; ?> </td> </tr> <?php endforeach;?> </tbody> </table> <?php echo $this->pagination->getListFooter(); ?> <?php else : ?> <p class="nowarning"><?php echo JText::_('COM_INSTALLER_MSG_UPDATE_NOUPDATES'); ?></p> <?php endif; ?> <input type="hidden" name="task" value="" /> <input type="hidden" name="boxchecked" value="0" /> <input type="hidden" name="filter_order" value="<?php echo $listOrder; ?>" /> <input type="hidden" name="filter_order_Dir" value="<?php echo $listDirn; ?>" /> <?php echo JHtml::_('form.token'); ?> </form> </div> home/academiac/www/templates/atomic/html/mod_menu/default.php 0000644 00000003046 15137174126 0020377 0 ustar 00 <?php /** * @package Joomla.Site * @subpackage Templates.atomic * @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; // Note. It is important to remove spaces between elements. ?> <!-- The class on the root UL tag was changed to match the Blueprint nav style --> <ul class="joomla-nav<?php echo $params->get('class_sfx');?>"<?php $tag = ''; if ($params->get('tag_id')!=NULL) { $tag = $params->get('tag_id').''; echo ' id="'.$tag.'"'; } ?>> <?php foreach ($list as $i => &$item) : $id = ''; if($item->id == $active_id) { $id = ' id="current"'; } $class = ''; if(in_array($item->id, $path)) { // Changed the active style to match the Blueprint nav style $class .= 'selected '; } if($item->deeper) { $class .= 'parent '; } $class = ' class="'.$class.'item'.$item->id.'"'; echo '<li'.$id.$class.'>'; // Render the menu item. switch ($item->type) : case 'separator': case 'url': case 'component': require JModuleHelper::getLayoutPath('mod_menu', 'default_'.$item->type); break; default: require JModuleHelper::getLayoutPath('mod_menu', 'default_url'); break; endswitch; // The next item is deeper. if ($item->deeper) { echo '<ul>'; } // The next item is shallower. elseif ($item->shallower) { echo '</li>'; echo str_repeat('</ul></li>', $item->level_diff); } // The next item is on the same level. else { echo '</li>'; } endforeach; ?></ul> home/academiac/www/templates/puntopc/html/mod_syndicate/default.php 0000604 00000000302 15137174556 0021625 0 ustar 00 <?php defined('_JEXEC') or die; echo '<a href="' . $link . '" class="art-rss-tag-icon syndicate-module' . $moduleclass_sfx . '">' . ($text ? '<span>' . $text . '</span>' : '') . '</a>'; home/academiac/www/templates/nicelya/html/mod_syndicate/default.php 0000604 00000000275 15137175364 0021570 0 ustar 00 <?php defined('_JEXEC') or die; echo '<a href="' . $link . '" class="awp-rss-tag-icon syndicate-module' . $moduleclass_sfx . '">' . ($text ? '<span>' . $text . '</span>' : '') . '</a>'; home/academiac/www/templates/atomic/html/mod_login/default.php 0000644 00000005651 15137175411 0020545 0 ustar 00 <?php /** * @package Joomla.Site * @subpackage Templates.atomic * @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; JHtml::_('behavior.keepalive'); ?> <?php if ($type == 'logout') : ?> <form action="index.php" method="post" id="form-login"> <?php if ($params->get('greeting')) : ?> <div> <?php if($params->get('name') == 0) : { echo JText::sprintf('MOD_LOGIN_HINAME', $user->get('name')); } else : { echo JText::sprintf('MOD_LOGIN_HINAME', $user->get('username')); } endif; ?> </div> <?php endif; ?> <div class="logout-button"> <input type="submit" name="Submit" class="button" value="<?php echo JText::_('JLOGOUT'); ?>" /> </div> <input type="hidden" name="option" value="com_users" /> <input type="hidden" name="task" value="user.logout" /> <input type="hidden" name="return" value="<?php echo $return; ?>" /> <?php echo JHtml::_('form.token'); ?> </form> <?php else : ?> <form action="<?php echo JRoute::_('index.php', true, $params->get('usesecure')); ?>" method="post" id="form-login" > <?php echo $params->get('pretext'); ?> <fieldset class="input"> <p id="form-login-username"> <label for="modlgn_username"><?php echo JText::_('MOD_LOGIN_VALUE_USERNAME') ?></label> <input id="modlgn_username" type="text" name="username" class="inputbox" size="18" /> </p> <p id="form-login-password"> <label for="modlgn_passwd"><?php echo JText::_('JGLOBAL_PASSWORD') ?></label> <input id="modlgn_passwd" type="password" name="password" class="inputbox" size="18" /> </p> <?php if (JPluginHelper::isEnabled('system', 'remember')) : ?> <p id="form-login-remember"> <label for="modlgn_remember"><?php echo JText::_('MOD_LOGIN_REMEMBER_ME') ?></label> <input id="modlgn_remember" type="checkbox" name="remember" class="inputbox" value="yes"/> </p> <?php endif; ?> <input type="submit" name="Submit" class="button" value="<?php echo JText::_('JLOGIN') ?>" /> <input type="hidden" name="option" value="com_users" /> <input type="hidden" name="task" value="user.login" /> <input type="hidden" name="return" value="<?php echo $return; ?>" /> <?php echo JHtml::_('form.token'); ?> </fieldset> <ul> <li> <a href="<?php echo JRoute::_('index.php?option=com_users&view=reset'); ?>"> <?php echo JText::_('MOD_LOGIN_FORGOT_YOUR_PASSWORD'); ?></a> </li> <li> <a href="<?php echo JRoute::_('index.php?option=com_users&view=remind'); ?>"> <?php echo JText::_('MOD_LOGIN_FORGOT_YOUR_USERNAME'); ?></a> </li> <?php $usersConfig = JComponentHelper::getParams('com_users'); if ($usersConfig->get('allowUserRegistration')) : ?> <li> <a href="<?php echo JRoute::_('index.php?option=com_users&view=registration'); ?>"> <?php echo JText::_('MOD_LOGIN_REGISTER'); ?></a> </li> <?php endif; ?> </ul> <?php echo $params->get('posttext'); ?> </form> <?php endif; ?> home/academiac/www/administrator/templates/hathor/html/com_content/featured/default.php 0000644 00000021372 15137175423 0025577 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Templates.hathor * @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt * @since 1.6 */ /* add accessibility, labels on input forms */ // no direct access defined('_JEXEC') or die; JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); JHtml::_('behavior.tooltip'); JHtml::_('behavior.multiselect'); $user = JFactory::getUser(); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); $canOrder = $user->authorise('core.edit.state', 'com_content.article'); $saveOrder = $listOrder == 'fp.ordering'; $n = count($this->items); ?> <form action="<?php echo JRoute::_('index.php?option=com_content&view=featured');?>" method="post" name="adminForm" id="adminForm"> <fieldset id="filter-bar"> <legend class="element-invisible"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></legend> <div class="filter-search"> <label class="filter-search-lbl" for="filter_search"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></label> <input type="text" name="filter_search" id="filter_search" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" title="<?php echo JText::_('COM_CONTENT_FILTER_SEARCH_DESC'); ?>" /> <button type="submit"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button> <button type="button" onclick="document.id('filter_search').value='';this.form.submit();"><?php echo JText::_('JSEARCH_FILTER_CLEAR'); ?></button> </div> <div class="filter-select"> <label class="selectlabel" for="filter_published"><?php echo JText::_('JOPTION_SELECT_PUBLISHED'); ?></label> <select name="filter_published" class="inputbox" id="filter_published"> <option value=""><?php echo JText::_('JOPTION_SELECT_PUBLISHED');?></option> <?php echo JHtml::_('select.options', JHtml::_('jgrid.publishedOptions'), 'value', 'text', $this->state->get('filter.published'), true);?> </select> <label class="selectlabel" for="filter_access"><?php echo JText::_('JOPTION_SELECT_ACCESS'); ?></label> <select name="filter_access" class="inputbox" id="filter_access"> <option value=""><?php echo JText::_('JOPTION_SELECT_ACCESS');?></option> <?php echo JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text', $this->state->get('filter.access'));?> </select> <label class="selectlabel" for="filter_language"><?php echo JText::_('JOPTION_SELECT_LANGUAGE'); ?></label> <select name="filter_language" class="inputbox" id="filter_language"> <option value=""><?php echo JText::_('JOPTION_SELECT_LANGUAGE');?></option> <?php echo JHtml::_('select.options', JHtml::_('contentlanguage.existing', true, true), 'value', 'text', $this->state->get('filter.language'));?> </select> <button type="submit" id="filter-go"> <?php echo JText::_('JSUBMIT'); ?></button> </div> </fieldset> <div class="clr"> </div> <table class="adminlist"> <thead> <tr> <th class="checkmark-col"> <input type="checkbox" name="checkall-toggle" value="" title="<?php echo JText::_('JGLOBAL_CHECK_ALL'); ?>" onclick="Joomla.checkAll(this)" /> </th> <th class="title"> <?php echo JHtml::_('grid.sort', 'JGLOBAL_TITLE', 'a.title', $listDirn, $listOrder); ?> </th> <th class="nowrap state-col"> <?php echo JHtml::_('grid.sort', 'JSTATUS', 'a.state', $listDirn, $listOrder); ?> </th> <th class="title category-col"> <?php echo JHtml::_('grid.sort', 'JCATEGORY', 'a.catid', $listDirn, $listOrder); ?> </th> <th class="nowrap ordering-col"> <?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ORDERING', 'fp.ordering', $listDirn, $listOrder); ?> <?php if ($canOrder && $saveOrder) :?> <?php echo JHtml::_('grid.order', $this->items, 'filesave.png', 'featured.saveorder'); ?> <?php endif; ?> </th> <th class="title access-col"> <?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ACCESS', 'a.access', $listDirn, $listOrder); ?> </th> <th class="title created-by-col"> <?php echo JHtml::_('grid.sort', 'JGRID_HEADING_CREATED_BY', 'a.created_by', $listDirn, $listOrder); ?> </th> <th class="title date-col"> <?php echo JHtml::_('grid.sort', 'JDATE', 'a.created', $listDirn, $listOrder); ?> </th> <th class="hits-col"> <?php echo JHtml::_('grid.sort', 'JGLOBAL_HITS', 'a.hits', $listDirn, $listOrder); ?> </th> <th class="language-col"> <?php echo JHtml::_('grid.sort', 'JGRID_HEADING_LANGUAGE', 'language', $listDirn, $listOrder); ?> </th> <th class="nowrap id-col"> <?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ID', 'a.id', $listDirn, $listOrder); ?> </th> </tr> </thead> <tbody> <?php foreach ($this->items as $i => $item) : $item->max_ordering = 0; //?? $ordering = ($listOrder == 'fp.ordering'); $assetId = 'com_content.article.'.$item->id; $canCreate = $user->authorise('core.create', 'com_content.category.'.$item->catid); $canEdit = $user->authorise('core.edit', 'com_content.article.'.$item->id); $canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out==$user->get('id')|| $item->checked_out==0; $canChange = $user->authorise('core.edit.state', 'com_content.article.'.$item->id) && $canCheckin; ?> <tr class="row<?php echo $i % 2; ?>"> <th class="center"> <?php echo JHtml::_('grid.id', $i, $item->id); ?> </th> <td> <?php if ($item->checked_out) : ?> <?php echo JHtml::_('jgrid.checkedout', $i, $item->editor, $item->checked_out_time, 'featured.', $canCheckin); ?> <?php endif; ?> <?php if ($canEdit) : ?> <a href="<?php echo JRoute::_('index.php?option=com_content&task=article.edit&return=featured&id='.$item->id);?>"> <?php echo $this->escape($item->title); ?></a> <?php else : ?> <?php echo $this->escape($item->title); ?> <?php endif; ?> <p class="smallsub"> <?php echo JText::sprintf('JGLOBAL_LIST_ALIAS', $this->escape($item->alias));?></p> </td> <td class="center"> <?php echo JHtml::_('jgrid.published', $item->state, $i, 'articles.', $canChange, 'cb', $item->publish_up, $item->publish_down); ?> </td> <td class="center"> <?php echo $this->escape($item->category_title); ?> </td> <td class="order"> <?php if ($canChange) : ?> <?php if ($saveOrder) :?> <?php if ($listDirn == 'asc') : ?> <span><?php echo $this->pagination->orderUpIcon($i, true, 'featured.orderup', 'JLIB_HTML_MOVE_UP', $ordering); ?></span> <span><?php echo $this->pagination->orderDownIcon($i, $this->pagination->total, true, 'featured.orderdown', 'JLIB_HTML_MOVE_DOWN', $ordering); ?></span> <?php elseif ($listDirn == 'desc') : ?> <span><?php echo $this->pagination->orderUpIcon($i, true, 'featured.orderdown', 'JLIB_HTML_MOVE_UP', $ordering); ?></span> <span><?php echo $this->pagination->orderDownIcon($i, $this->pagination->total, true, 'featured.orderup', 'JLIB_HTML_MOVE_DOWN', $ordering); ?></span> <?php endif; ?> <?php endif; ?> <?php $disabled = $saveOrder ? '' : 'disabled="disabled"'; ?> <input type="text" name="order[]" value="<?php echo $item->ordering;?>" <?php echo $disabled ?> class="text-area-order" title="<?php echo $item->title; ?> order" /> <?php else : ?> <?php echo $item->ordering; ?> <?php endif; ?> </td> <td class="center"> <?php echo $this->escape($item->access_level); ?> </td> <td class="center"> <?php if ($item->created_by_alias) : ?> <?php echo $this->escape($item->author_name); ?> <p class="smallsub"> <?php echo JText::sprintf('JGLOBAL_LIST_ALIAS', $this->escape($item->created_by_alias)); ?></p> <?php else : ?> <?php echo $this->escape($item->author_name); ?> <?php endif; ?> </td> <td class="center nowrap"> <?php echo JHtml::_('date', $item->created, JText::_('DATE_FORMAT_LC4')); ?> </td> <td class="center"> <?php echo (int) $item->hits; ?> </td> <td class="center"> <?php if ($item->language=='*'):?> <?php echo JText::alt('JALL', 'language'); ?> <?php else:?> <?php echo $item->language_title ? $this->escape($item->language_title) : JText::_('JUNDEFINED'); ?> <?php endif;?> </td> <td class="center"> <?php echo (int) $item->id; ?> </td> </tr> <?php endforeach; ?> </tbody> </table> <?php echo $this->pagination->getListFooter(); ?> <input type="hidden" name="task" value="" /> <input type="hidden" name="boxchecked" value="0" /> <input type="hidden" name="filter_order" value="<?php echo $listOrder; ?>" /> <input type="hidden" name="filter_order_Dir" value="<?php echo $listDirn; ?>" /> <?php echo JHtml::_('form.token'); ?> </form> home/academiac/www/administrator/templates/hathor/html/com_search/searches/default.php 0000644 00000007427 15137175613 0025376 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Templates.hathor * @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt * @since 1.6 */ // No direct access. defined('_JEXEC') or die; // Include the component HTML helpers. JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); JHtml::_('behavior.tooltip'); JHtml::_('behavior.multiselect'); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); $canDo = SearchHelper::getActions(); ?> <form action="<?php echo JRoute::_('index.php?option=com_search&view=searches'); ?>" method="post" name="adminForm" id="adminForm"> <fieldset id="filter-bar"> <legend class="element-invisible"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></legend> <div class="filter-search"> <label class="filter-search-lbl" for="filter_search"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></label> <input type="text" name="filter_search" id="filter_search" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" title="<?php echo JText::_('COM_SEARCH_SEARCH_IN_PHRASE'); ?>" /> <button type="submit"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button> <button type="button" onclick="document.id('filter_search').value='';this.form.submit();"><?php echo JText::_('JSEARCH_FILTER_CLEAR'); ?></button> </div> <div class="filter-select"> <?php if ($this->enabled) : ?> <span class="enabled"><?php echo JText::_('COM_SEARCH_LOGGING_ENABLED'); ?></span> <?php else : ?> <span class="disabled"><?php echo JText::_('COM_SEARCH_LOGGING_DISABLED'); ?></span> <?php endif; ?> <span class="adminlist-searchstatus"> <?php if ($this->state->get('filter.results')) : ?> <a href="<?php echo JRoute::_('index.php?option=com_search&filter_results=0');?>"> <?php echo JText::_('COM_SEARCH_HIDE_SEARCH_RESULTS'); ?></a> <?php else : ?> <a href="<?php echo JRoute::_('index.php?option=com_search&filter_results=1');?>"> <?php echo JText::_('COM_SEARCH_SHOW_SEARCH_RESULTS'); ?></a> <?php endif; ?> </span> </div> </fieldset> <div class="clr"> </div> <table class="adminlist"> <thead> <tr> <th class="row-number-col"> <?php echo JText::_('JGRID_HEADING_ROW_NUMBER'); ?> </th> <th class="title"> <?php echo JHtml::_('grid.sort', 'COM_SEARCH_HEADING_PHRASE', 'a.search_term', $listDirn, $listOrder); ?> </th> <th class="hits-col"> <?php echo JHtml::_('grid.sort', 'JGLOBAL_HITS', 'a.hits', $listDirn, $listOrder); ?> </th> <th class="width-15"> <?php echo JText::_('COM_SEARCH_HEADING_RESULTS'); ?> </th> <th class="width-30">   </th> </tr> </thead> <tbody> <?php foreach ($this->items as $i => $item) : ?> <tr class="row<?php echo $i % 2; ?>"> <td class="right"> <?php echo $i + 1 + $this->pagination->limitstart; ?> </td> <td> <?php echo $this->escape($item->search_term); ?> </td> <td class="center"> <?php echo (int) $item->hits; ?> </td> <td class="center"> <?php if ($this->state->get('filter.results')) : ?> <?php echo (int) $item->returns; ?> <?php else: ?> <?php echo JText::_('COM_SEARCH_NO_RESULTS'); ?> <?php endif; ?> </td> <td>   </td> </tr> <?php endforeach; ?> </tbody> </table> <?php echo $this->pagination->getListFooter(); ?> <input type="hidden" name="task" value="" /> <input type="hidden" name="boxchecked" value="0" /> <input type="hidden" name="filter_order" value="<?php echo $listOrder; ?>" /> <input type="hidden" name="filter_order_Dir" value="<?php echo $listDirn; ?>" /> <?php echo JHtml::_('form.token'); ?> </form> home/academiac/www/administrator/templates/hathor/html/com_finder/filters/default.php 0000644 00000013527 15137175625 0025254 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Templates.hathor * * @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE */ defined('_JEXEC') or die; $user = JFactory::getUser(); $userId = $user->get('id'); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); JText::script('COM_FINDER_INDEX_CONFIRM_DELETE_PROMPT'); ?> <script type="text/javascript"> Joomla.submitbutton = function(pressbutton) { if (pressbutton == 'filters.delete') { if (confirm(Joomla.JText._('COM_FINDER_INDEX_CONFIRM_DELETE_PROMPT'))) { Joomla.submitform(pressbutton); } else { return false; } } Joomla.submitform(pressbutton); } </script> <form action="<?php echo JRoute::_('index.php?option=com_finder&view=filters');?>" method="post" name="adminForm" id="adminForm"> <fieldset id="filter-bar"> <legend class="element-invisible"><?php echo JText::sprintf('COM_FINDER_SEARCH_LABEL', JText::_('COM_FINDER_FILTERS')); ?></legend> <div class="filter-search"> <label class="filter-search-lbl" for="filter_search"><?php echo JText::sprintf('COM_FINDER_SEARCH_LABEL', JText::_('COM_FINDER_FILTERS')); ?></label> <input type="text" name="filter_search" id="filter_search" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" title="<?php echo JText::_('COM_FINDER_FILTER_SEARCH_DESCRIPTION'); ?>" /> <button type="submit" class="btn"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button> <button type="button" onclick="document.id('filter_search').value='';this.form.submit();"><?php echo JText::_('JSEARCH_FILTER_CLEAR'); ?></button> </div> <div class="filter-select"> <label class="selectlabel" for="filter_state"><?php echo JText::_('COM_FINDER_INDEX_FILTER_BY_STATE'); ?></label> <select name="filter_state" class="inputbox" id="filter_state"> <option value=""><?php echo JText::_('COM_FINDER_INDEX_FILTER_BY_STATE');?></option> <?php echo JHtml::_('select.options', JHtml::_('finder.statelist'), 'value', 'text', $this->state->get('filter.state'));?> </select> <button type="submit" id="filter-go"> <?php echo JText::_('JSUBMIT'); ?></button> </div> </fieldset> <div class="clr"> </div> <table class="adminlist"> <thead> <tr> <th class="checkmark-col"> <input type="checkbox" name="checkall-toggle" value="" title="<?php echo JText::_('JGLOBAL_CHECK_ALL'); ?>" onclick="Joomla.checkAll(this)" /> </th> <th class="title"> <?php echo JHtml::_('grid.sort', 'JGLOBAL_TITLE', 'a.title', $listDirn, $listOrder); ?> </th> <th class="nowrap state-col"> <?php echo JHtml::_('grid.sort', 'JSTATUS', 'a.state', $listDirn, $listOrder); ?> </th> <th class="title created-by-col"> <?php echo JHtml::_('grid.sort', 'JGRID_HEADING_CREATED_BY', 'a.created_by_alias', $listDirn, $listOrder); ?> </th> <th class="title date-col"> <?php echo JHtml::_('grid.sort', 'COM_FINDER_FILTER_TIMESTAMP', 'a.created', $listDirn, $listOrder); ?> </th> <th class="nowrap width-5"> <?php echo JHtml::_('grid.sort', 'COM_FINDER_FILTER_MAP_COUNT', 'a.map_count', $listDirn, $listOrder); ?> </th> <th class="nowrap id-col"> <?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ID', 'a.filter_id', $listDirn, $listOrder); ?> </th> </tr> </thead> <tbody> <?php if (count($this->items) == 0): ?> <tr class="row0"> <td class="center" colspan="7"> <?php if ($this->total == 0): echo JText::_('COM_FINDER_NO_FILTERS'); ?> <a href="<?php echo JRoute::_('index.php?option=com_finder&task=filter.add'); ?>" title="<?php echo JText::_('COM_FINDER_CREATE_FILTER'); ?>"> <?php echo JText::_('COM_FINDER_CREATE_FILTER'); ?> </a> <?php else: echo JText::_('COM_FINDER_NO_RESULTS'); endif; ?> </td> </tr> <?php endif; ?> <?php foreach ($this->items as $i => $item) : $canCreate = $user->authorise('core.create', 'com_finder'); $canEdit = $user->authorise('core.edit', 'com_finder'); $canCheckin = $user->authorise('core.manage', 'com_checkin') || $filter->checked_out == $user->get('id') || $filter->checked_out == 0; $canChange = $user->authorise('core.edit.state', 'com_finder') && $canCheckin; ?> <tr class="row<?php echo $i % 2; ?>"> <th class="center"> <?php echo JHtml::_('grid.id', $i, $item->filter_id); ?> </th> <td> <?php if ($item->checked_out) { echo JHtml::_('jgrid.checkedout', $i, $item->editor, $item->checked_out_time, 'filters.', $canCheckin); } ?> <?php if ($canEdit) { ?> <a href="<?php echo JRoute::_('index.php?option=com_finder&task=filter.edit&filter_id=' . (int) $item->filter_id); ?>"> <?php echo $this->escape($item->title); ?></a> <?php } else { echo $this->escape($item->title); } ?> </td> <td class="center nowrap"> <?php echo JHtml::_('jgrid.published', $item->state, $i, 'filters.', $canChange); ?> </td> <td class="center nowrap"> <?php echo $item->created_by_alias ? $item->created_by_alias : $item->user_name; ?> </td> <td class="center nowrap"> <?php echo JHtml::_('date', $item->created, JText::_('DATE_FORMAT_LC4')); ?> </td> <td class="center nowrap"> <?php echo $item->map_count; ?> </td> <td class="center"> <?php echo (int) $item->filter_id; ?> </td> </tr> <?php endforeach; ?> </tbody> </table> <?php echo $this->pagination->getListFooter(); ?> <input type="hidden" name="task" value="" /> <input type="hidden" name="boxchecked" value="0" /> <input type="hidden" name="filter_order" value="<?php echo $listOrder; ?>" /> <input type="hidden" name="filter_order_Dir" value="<?php echo $listDirn; ?>" /> <?php echo JHtml::_('form.token'); ?> </form> home/academiac/www/administrator/templates/hathor/html/com_banners/clients/default.php 0000644 00000012362 15137175633 0025421 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Templates.hathor * @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt * @since 1.6 */ // no direct access defined('_JEXEC') or die; JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); JHtml::_('behavior.tooltip'); JHtml::_('behavior.multiselect'); $user = JFactory::getUser(); $userId = $user->get('id'); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); ?> <form action="<?php echo JRoute::_('index.php?option=com_banners&view=clients'); ?>" method="post" name="adminForm" id="adminForm"> <fieldset id="filter-bar"> <legend class="element-invisible"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></legend> <div class="filter-search"> <label class="filter-search-lbl" for="filter_search"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></label> <input type="text" name="filter_search" id="filter_search" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" title="<?php echo JText::_('COM_BANNERS_SEARCH_IN_TITLE'); ?>" /> <button type="submit"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button> <button type="button" onclick="document.id('filter_search').value='';this.form.submit();"><?php echo JText::_('JSEARCH_FILTER_CLEAR'); ?></button> </div> <div class="filter-select"> <label class="selectlabel" for="filter_state"> <?php echo JText::_('JOPTION_SELECT_PUBLISHED'); ?> </label> <select name="filter_state" class="inputbox" id="filter_state"> <option value=""><?php echo JText::_('JOPTION_SELECT_PUBLISHED');?></option> <?php echo JHtml::_('select.options', JHtml::_('jgrid.publishedOptions'), 'value', 'text', $this->state->get('filter.state'), true);?> </select> <button type="submit" id="filter-go"> <?php echo JText::_('JSUBMIT'); ?></button> </div> </fieldset> <div class="clr"> </div> <table class="adminlist"> <thead> <tr> <th class="checkmark-col"> <input type="checkbox" name="checkall-toggle" value="" title="<?php echo JText::_('JGLOBAL_CHECK_ALL'); ?>" onclick="Joomla.checkAll(this)" /> </th> <th> <?php echo JHtml::_('grid.sort', 'COM_BANNERS_HEADING_CLIENT', 'name', $listDirn, $listOrder); ?> </th> <th class="width-30"> <?php echo JHtml::_('grid.sort', 'COM_BANNERS_HEADING_CONTACT', 'contact', $listDirn, $listOrder); ?> </th> <th class="nowrap state-col"> <?php echo JHtml::_('grid.sort', 'JSTATUS', 'state', $listDirn, $listOrder); ?> </th> <th class="width-5"> <?php echo JHtml::_('grid.sort', 'COM_BANNERS_HEADING_ACTIVE', 'nbanners', $listDirn, $listOrder); ?> </th> <th class="nowrap width-5"> <?php echo JText::_('COM_BANNERS_HEADING_METAKEYWORDS'); ?> </th> <th class="width-10"> <?php echo JText::_('COM_BANNERS_HEADING_PURCHASETYPE'); ?> </th> <th class="nowrap id-col"> <?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ID', 'id', $listDirn, $listOrder); ?> </th> </tr> </thead> <tbody> <?php foreach ($this->items as $i => $item) : $ordering = ($listOrder == 'ordering'); $canCreate = $user->authorise('core.create', 'com_banners'); $canEdit = $user->authorise('core.edit', 'com_banners'); $canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out==$user->get('id') || $item->checked_out==0; $canChange = $user->authorise('core.edit.state', 'com_banners') && $canCheckin; ?> <tr class="row<?php echo $i % 2; ?>"> <td class="center"> <?php echo JHtml::_('grid.id', $i, $item->id); ?> </td> <td> <?php if ($item->checked_out) : ?> <?php echo JHtml::_('jgrid.checkedout', $i, $item->editor, $item->checked_out_time, 'clients.', $canCheckin); ?> <?php endif; ?> <?php if ($canEdit) : ?> <a href="<?php echo JRoute::_('index.php?option=com_banners&task=client.edit&id='.(int) $item->id); ?>"> <?php echo $this->escape($item->name); ?></a> <?php else : ?> <?php echo $this->escape($item->name); ?> <?php endif; ?> </td> <td class="center"> <?php echo $item->contact;?> </td> <td class="center"> <?php echo JHtml::_('jgrid.published', $item->state, $i, 'clients.', $canChange);?> </td> <td class="center"> <?php echo $item->nbanners; ?> </td> <td> <?php echo $item->metakey; ?> </td> <td class="center"> <?php if ($item->purchase_type<0):?> <?php echo JText::sprintf('COM_BANNERS_DEFAULT', JText::_('COM_BANNERS_FIELD_VALUE_'.$this->state->params->get('purchase_type')));?> <?php else:?> <?php echo JText::_('COM_BANNERS_FIELD_VALUE_'.$item->purchase_type);?> <?php endif;?> </td> <td class="center"> <?php echo $item->id; ?> </td> </tr> <?php endforeach; ?> </tbody> </table> <?php echo $this->pagination->getListFooter(); ?> <input type="hidden" name="task" value="" /> <input type="hidden" name="boxchecked" value="0" /> <input type="hidden" name="filter_order" value="<?php echo $listOrder; ?>" /> <input type="hidden" name="filter_order_Dir" value="<?php echo $listDirn; ?>" /> <?php echo JHtml::_('form.token'); ?> </form> home/academiac/www/administrator/templates/hathor/html/com_banners/banners/default.php 0000644 00000024174 15137175641 0025413 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Templates.hathor * @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt * @since 1.6 */ // no direct access defined('_JEXEC') or die; JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); JHtml::_('behavior.tooltip'); JHtml::_('behavior.multiselect'); $user = JFactory::getUser(); $userId = $user->get('id'); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); $canOrder = $user->authorise('core.edit.state', 'com_banners.category'); $saveOrder = $listOrder=='ordering'; ?> <form action="<?php echo JRoute::_('index.php?option=com_banners&view=banners'); ?>" method="post" name="adminForm" id="adminForm"> <fieldset id="filter-bar"> <legend class="element-invisible"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></legend> <div class="filter-search"> <label class="filter-search-lbl" for="filter_search"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></label> <input type="text" name="filter_search" id="filter_search" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" title="<?php echo JText::_('Banners_Search_in_title'); ?>" /> <button type="submit"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button> <button type="button" onclick="document.id('filter_search').value='';this.form.submit();"><?php echo JText::_('JSEARCH_FILTER_CLEAR'); ?></button> </div> <div class="filter-select"> <label class="selectlabel" for="filter_state"> <?php echo JText::_('JOPTION_SELECT_PUBLISHED'); ?> </label> <select name="filter_state" class="inputbox" id="filter_state"> <option value=""><?php echo JText::_('JOPTION_SELECT_PUBLISHED');?></option> <?php echo JHtml::_('select.options', JHtml::_('jgrid.publishedOptions'), 'value', 'text', $this->state->get('filter.state'), true);?> </select> <label class="selectlabel" for="filter_client_id"> <?php echo JText::_('COM_BANNERS_SELECT_CLIENT'); ?> </label> <select name="filter_client_id" class="inputbox" id="filter_client_id"> <option value=""><?php echo JText::_('COM_BANNERS_SELECT_CLIENT');?></option> <?php echo JHtml::_('select.options', BannersHelper::getClientOptions(), 'value', 'text', $this->state->get('filter.client_id'));?> </select> <label class="selectlabel" for="filter_category_id"> <?php echo JText::_('JOPTION_SELECT_CATEGORY'); ?> </label> <select name="filter_category_id" class="inputbox" id="filter_category_id"> <option value=""><?php echo JText::_('JOPTION_SELECT_CATEGORY');?></option> <?php echo JHtml::_('select.options', JHtml::_('category.options', 'com_banners'), 'value', 'text', $this->state->get('filter.category_id'));?> </select> <label class="selectlabel" for="filter_language"> <?php echo JText::_('JOPTION_SELECT_LANGUAGE'); ?> </label> <select name="filter_language" class="inputbox" id="filter_language"> <option value=""><?php echo JText::_('JOPTION_SELECT_LANGUAGE');?></option> <?php echo JHtml::_('select.options', JHtml::_('contentlanguage.existing', true, true), 'value', 'text', $this->state->get('filter.language'));?> </select> <button type="submit" id="filter-go"> <?php echo JText::_('JSUBMIT'); ?></button> </div> </fieldset> <div class="clr"> </div> <table class="adminlist"> <thead> <tr> <th class="checkmark-col"> <input type="checkbox" name="checkall-toggle" value="" title="<?php echo JText::_('JGLOBAL_CHECK_ALL'); ?>" onclick="Joomla.checkAll(this)" /> </th> <th class="title"> <?php echo JHtml::_('grid.sort', 'COM_BANNERS_HEADING_NAME', 'name', $listDirn, $listOrder); ?> </th> <th class="nowrap state-col"> <?php echo JHtml::_('grid.sort', 'JSTATUS', 'state', $listDirn, $listOrder); ?> </th> <th class="nowrap width-5"> <?php echo JHtml::_('grid.sort', 'COM_BANNERS_HEADING_STICKY', 'sticky', $listDirn, $listOrder); ?> </th> <th class="nowrap width-10"> <?php echo JHtml::_('grid.sort', 'COM_BANNERS_HEADING_CLIENT', 'client_name', $listDirn, $listOrder); ?> </th> <th class="nowrap title category-col"> <?php echo JHtml::_('grid.sort', 'JCATEGORY', 'category_title', $listDirn, $listOrder); ?> </th> <th class="nowrap ordering-col"> <?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ORDERING', 'ordering', $listDirn, $listOrder); ?> <?php if ($canOrder && $saveOrder): ?> <?php echo JHtml::_('grid.order', $this->items, 'filesave.png', 'banners.saveorder'); ?> <?php endif;?> </th> <th class="nowrap width-5"> <?php echo JHtml::_('grid.sort', 'COM_BANNERS_HEADING_IMPRESSIONS', 'impmade', $listDirn, $listOrder); ?> </th> <th class="nowrap width-10"> <?php echo JHtml::_('grid.sort', 'COM_BANNERS_HEADING_CLICKS', 'clicks', $listDirn, $listOrder); ?> </th> <th class="nowrap width-5"> <?php echo JText::_('COM_BANNERS_HEADING_METAKEYWORDS'); ?> </th> <th class="width-10"> <?php echo JText::_('COM_BANNERS_HEADING_PURCHASETYPE'); ?> </th> <th class="language-col"> <?php echo JHtml::_('grid.sort', 'JGRID_HEADING_LANGUAGE', 'a.language', $this->state->get('list.direction'), $this->state->get('list.ordering')); ?> </th> <th class="nowrap id-col"> <?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ID', 'id', $listDirn, $listOrder); ?> </th> </tr> </thead> <tbody> <?php foreach ($this->items as $i => $item) : $ordering = ($listOrder == 'ordering'); $item->cat_link = JRoute::_('index.php?option=com_categories&extension=com_banners&task=edit&type=other&cid[]='. $item->catid); $canCreate = $user->authorise('core.create', 'com_banners.category.'.$item->catid); $canEdit = $user->authorise('core.edit', 'com_banners.category.'.$item->catid); $canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $userId || $item->checked_out == 0; $canChange = $user->authorise('core.edit.state', 'com_banners.category.'.$item->catid) && $canCheckin; ?> <tr class="row<?php echo $i % 2; ?>"> <td> <?php echo JHtml::_('grid.id', $i, $item->id); ?> </td> <td> <?php if ($item->checked_out) : ?> <?php echo JHtml::_('jgrid.checkedout', $i, $item->editor, $item->checked_out_time, 'banners.', $canCheckin); ?> <?php endif; ?> <?php if ($canEdit) : ?> <a href="<?php echo JRoute::_('index.php?option=com_banners&task=banner.edit&id='.(int) $item->id); ?>"> <?php echo $this->escape($item->name); ?></a> <?php else : ?> <?php echo $this->escape($item->name); ?> <?php endif; ?> <p class="smallsub"> <?php echo JText::sprintf('JGLOBAL_LIST_ALIAS', $this->escape($item->alias));?></p> </td> <td class="center"> <?php echo JHtml::_('jgrid.published', $item->state, $i, 'banners.', $canChange, 'cb', $item->publish_up, $item->publish_down); ?> </td> <td class="center"> <?php echo JHtml::_('banner.pinned', $item->sticky, $i, $canChange);?> </td> <td class="center"> <?php echo $item->client_name;?> </td> <td class="center"> <?php echo $this->escape($item->category_title); ?> </td> <td class="order"> <?php if ($canChange) : ?> <?php if ($saveOrder) : ?> <?php if ($listDirn == 'asc') : ?> <span><?php echo $this->pagination->orderUpIcon($i, (@$this->items[$i-1]->catid == $item->catid), 'banners.orderup', 'JLIB_HTML_MOVE_UP', $ordering); ?></span> <span><?php echo $this->pagination->orderDownIcon($i, $this->pagination->total, (@$this->items[$i+1]->catid == $item->catid), 'banners.orderdown', 'JLIB_HTML_MOVE_DOWN', $ordering); ?></span> <?php elseif ($listDirn == 'desc') : ?> <span><?php echo $this->pagination->orderUpIcon($i, (@$this->items[$i-1]->catid == $item->catid), 'banners.orderdown', 'JLIB_HTML_MOVE_UP', $ordering); ?></span> <span><?php echo $this->pagination->orderDownIcon($i, $this->pagination->total, (@$this->items[$i+1]->catid == $item->catid), 'banners.orderup', 'JLIB_HTML_MOVE_DOWN', $ordering); ?></span> <?php endif; ?> <?php endif; ?> <?php $disabled = $saveOrder ? '' : 'disabled="disabled"'; ?> <input type="text" name="order[]" value="<?php echo $item->ordering;?>" <?php echo $disabled; ?> class="text-area-order" title="<?php echo $item->name; ?> order" /> <?php else : ?> <?php echo $item->ordering; ?> <?php endif; ?> </td> <td class="center"> <?php echo JText::sprintf('COM_BANNERS_IMPRESSIONS', $item->impmade, $item->imptotal ? $item->imptotal : JText::_('COM_BANNERS_UNLIMITED'));?> </td> <td class="center"> <?php echo $item->clicks;?> - <?php echo sprintf('%.2f%%', $item->impmade ? 100 * $item->clicks/$item->impmade : 0);?> </td> <td> <?php echo $item->metakey; ?> </td> <td class="center"> <?php if ($item->purchase_type < 0):?> <?php echo JText::sprintf('COM_BANNERS_DEFAULT', ($item->client_purchase_type > 0) ? JText::_('COM_BANNERS_FIELD_VALUE_'.$item->client_purchase_type) : JText::_('COM_BANNERS_FIELD_VALUE_'.$this->state->params->get('purchase_type')));?> <?php else:?> <?php echo JText::_('COM_BANNERS_FIELD_VALUE_'.$item->purchase_type);?> <?php endif;?> </td> <td class="center"> <?php if ($item->language=='*'):?> <?php echo JText::alt('JALL', 'language'); ?> <?php else:?> <?php echo $item->language_title ? $this->escape($item->language_title) : JText::_('JUNDEFINED'); ?> <?php endif;?> </td> <td class="center"> <?php echo $item->id; ?> </td> </tr> <?php endforeach; ?> </tbody> </table> <?php echo $this->pagination->getListFooter(); ?> <div class="clr"> </div> <?php //Load the batch processing form. ?> <?php echo $this->loadTemplate('batch'); ?> <input type="hidden" name="task" value="" /> <input type="hidden" name="boxchecked" value="0" /> <input type="hidden" name="filter_order" value="<?php echo $listOrder; ?>" /> <input type="hidden" name="filter_order_Dir" value="<?php echo $listDirn; ?>" /> <?php echo JHtml::_('form.token'); ?> </form> home/academiac/www/administrator/templates/hathor/html/com_banners/tracks/default.php 0000644 00000011445 15137175670 0025251 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Templates.hathor * @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt * @since 1.6 */ // no direct access defined('_JEXEC') or die; JHtml::addIncludePath(JPATH_COMPONENT . '/helpers/html'); JHtml::_('behavior.tooltip'); JHtml::_('behavior.multiselect'); JHtml::_('behavior.modal', 'a.modal'); $user = JFactory::getUser(); $userId = $user->get('id'); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); ?> <form action="<?php echo JRoute::_('index.php?option=com_banners&view=tracks'); ?>" method="post" name="adminForm" id="adminForm"> <fieldset id="filter-bar"> <legend class="element-invisible"><?php echo JText::_('COM_BANNERS_BEGIN_LABEL'); ?></legend> <div class="filter-search"> <label class="filter-hide-lbl" for="filter_begin"><?php echo JText::_('COM_BANNERS_BEGIN_LABEL'); ?></label> <?php echo JHtml::_('calendar', $this->state->get('filter.begin'), 'filter_begin', 'filter_begin', '%Y-%m-%d' , array('size'=>10));?> <label class="filter-hide-lbl" for="filter_end"><?php echo JText::_('COM_BANNERS_END_LABEL'); ?></label> <?php echo JHtml::_('calendar', $this->state->get('filter.end'), 'filter_end', 'filter_end', '%Y-%m-%d' , array('size'=>10));?> </div> <div class="filter-select"> <label class="selectlabel" for="filter_client_id"> <?php echo JText::_('COM_BANNERS_SELECT_CLIENT'); ?> </label> <select name="filter_client_id" class="inputbox" id="filter_client_id"> <option value=""><?php echo JText::_('COM_BANNERS_SELECT_CLIENT');?></option> <?php echo JHtml::_('select.options', BannersHelper::getClientOptions(), 'value', 'text', $this->state->get('filter.client_id'));?> </select> <label class="selectlabel" for="filter_category_id"> <?php echo JText::_('JOPTION_SELECT_CATEGORY'); ?> </label> <?php $category = $this->state->get('filter.category_id');?> <select name="filter_category_id" class="inputbox" id="filter_category_id"> <option value=""><?php echo JText::_('JOPTION_SELECT_CATEGORY');?></option> <?php echo JHtml::_('select.options', JHtml::_('category.options', 'com_banners'), 'value', 'text', $category);?> </select> <label class="selectlabel" for="filter_type"> <?php echo JText::_('BANNERS_SELECT_TYPE'); ?> </label> <select name="filter_type" class="inputbox" id="filter_type"> <?php echo JHtml::_('select.options', array(JHtml::_('select.option', '0', JText::_('COM_BANNERS_SELECT_TYPE')), JHtml::_('select.option', 1, JText::_( 'COM_BANNERS_IMPRESSION')), JHtml::_('select.option', 2, JText::_('COM_BANNERS_CLICK'))), 'value', 'text', $this->state->get('filter.type'));?> </select> <button type="submit" id="filter-go"> <?php echo JText::_('JSUBMIT'); ?></button> </div> </fieldset> <div class="clr"> </div> <table class="adminlist"> <thead> <tr> <th class="title"> <?php echo JHtml::_('grid.sort', 'COM_BANNERS_HEADING_NAME', 'name', $listDirn, $listOrder); ?> </th> <th class="nowrap width-20"> <?php echo JHtml::_('grid.sort', 'COM_BANNERS_HEADING_CLIENT', 'client_name', $listDirn, $listOrder); ?> </th> <th class="width-20"> <?php echo JHtml::_('grid.sort', 'JCATEGORY', 'category_title', $listDirn, $listOrder); ?> </th> <th class="nowrap width-10"> <?php echo JHtml::_('grid.sort', 'COM_BANNERS_HEADING_TYPE', 'track_type', $listDirn, $listOrder); ?> </th> <th class="nowrap width-10"> <?php echo JHtml::_('grid.sort', 'COM_BANNERS_HEADING_COUNT', 'count', $listDirn, $listOrder); ?> </th> <th class="nowrap width-10"> <?php echo JHtml::_('grid.sort', 'JDATE', 'track_date', $listDirn, $listOrder); ?> </th> </tr> </thead> <tbody> <?php foreach ($this->items as $i => $item) :?> <tr class="row<?php echo $i % 2; ?>"> <td> <?php echo $item->name;?> </td> <td> <?php echo $item->client_name;?> </td> <td> <?php echo $item->category_title;?> </td> <td> <?php echo $item->track_type==1 ? JText::_('COM_BANNERS_IMPRESSION'): JText::_('COM_BANNERS_CLICK');?> </td> <td> <?php echo $item->count;?> </td> <td> <?php echo JHtml::_('date', $item->track_date, JText::_('DATE_FORMAT_LC4').' H:i');?> </td> </tr> <?php endforeach; ?> </tbody> </table> <?php echo $this->pagination->getListFooter(); ?> <input type="hidden" name="task" value="" /> <input type="hidden" name="boxchecked" value="0" /> <input type="hidden" name="filter_order" value="<?php echo $listOrder; ?>" /> <input type="hidden" name="filter_order_Dir" value="<?php echo $listDirn; ?>" /> <?php echo JHtml::_('form.token'); ?> </form> home/academiac/www/templates/nicelya/html/com_content/article/default.php 0000604 00000005575 15137175707 0022712 0 ustar 00 <?php defined('_JEXEC') or die; require_once dirname(__FILE__) . str_replace('/', DIRECTORY_SEPARATOR, '/../../../functions.php'); JHtml::addIncludePath(JPATH_COMPONENT . '/helpers'); $component = new ArtxContent($this, $this->params); $article = $component->article('article', $this->item, $this->item->params, array('print' => $this->print)); echo $component->beginPageContainer('item-page'); if (strlen($article->pageHeading)) echo $component->pageHeading($article->pageHeading); $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=\"awp-postdateicon\">" . $article->createdDateInfo($article->created) . "</span>"; if (strlen($article->modified)) $params['metadata-header-icons'][] = "<span class=\"awp-postdateicon\">" . $article->modifiedDateInfo($article->modified) . "</span>"; if (strlen($article->published)) $params['metadata-header-icons'][] = "<span class=\"awp-postdateicon\">" . $article->publishedDateInfo($article->published) . "</span>"; if (strlen($article->author)) $params['metadata-header-icons'][] = "<span class=\"awp-postauthoricon\">" . $article->authorInfo($article->author, $article->authorLink) . "</span>"; if ($article->printIconVisible) $params['metadata-header-icons'][] = $article->printIcon(); if ($article->emailIconVisible) $params['metadata-header-icons'][] = $article->emailIcon(); if ($article->editIconVisible) $params['metadata-header-icons'][] = $article->editIcon(); if (strlen($article->hits)) $params['metadata-header-icons'][] = $article->hitsInfo($article->hits); // Build article content $content = ''; if (!$article->introVisible) $content .= $article->event('afterDisplayTitle'); $content .= $article->event('beforeDisplayContent'); if (strlen($article->toc)) $content .= $article->toc($article->toc); if (strlen($article->text)) $content .= $article->text($article->text); if ($article->introVisible) $content .= $article->intro($article->intro); if (strlen($article->readmore)) $content .= $article->readmore($article->readmore, $article->readmoreLink); $content .= $article->event('afterDisplayContent'); $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=\"awp-postcategoryicon\">" . $article->categories($article->parentCategory, $article->parentCategoryLink, $article->category, $article->categoryLink) . "</span>"; // Render article echo $article->article($params); echo $component->endPageContainer(); home/academiac/www/templates/puntopc/html/com_content/article/default.php 0000604 00000005376 15137175712 0022751 0 ustar 00 <?php defined('_JEXEC') or die; require_once dirname(__FILE__) . str_replace('/', DIRECTORY_SEPARATOR, '/../../../functions.php'); JHtml::addIncludePath(JPATH_COMPONENT . '/helpers'); $component = new ArtxContent($this, $this->params); $article = $component->article('article', $this->item, $this->item->params, array('print' => $this->print)); echo $component->beginPageContainer('item-page'); if (strlen($article->pageHeading)) echo $component->pageHeading($article->pageHeading); $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 ($article->printIconVisible) $params['metadata-header-icons'][] = $article->printIcon(); if ($article->emailIconVisible) $params['metadata-header-icons'][] = $article->emailIcon(); if ($article->editIconVisible) $params['metadata-header-icons'][] = $article->editIcon(); if (strlen($article->hits)) $params['metadata-header-icons'][] = $article->hitsInfo($article->hits); // Build article content $content = ''; if (!$article->introVisible) $content .= $article->event('afterDisplayTitle'); $content .= $article->event('beforeDisplayContent'); if (strlen($article->toc)) $content .= $article->toc($article->toc); if (strlen($article->text)) $content .= $article->text($article->text); if ($article->introVisible) $content .= $article->intro($article->intro); if (strlen($article->readmore)) $content .= $article->readmore($article->readmore, $article->readmoreLink); $content .= $article->event('afterDisplayContent'); $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); echo $component->endPageContainer(); home/academiac/www/administrator/templates/hathor/html/com_redirect/links/default.php 0000644 00000012166 15137176340 0025247 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Templates.hathor * @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt * @since 1.6 */ // No direct access. defined('_JEXEC') or die; // Include the component HTML helpers. JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); JHtml::_('behavior.tooltip'); JHtml::_('behavior.multiselect'); $user = JFactory::getUser(); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); ?> <form action="<?php echo JRoute::_('index.php?option=com_redirect&view=links'); ?>" method="post" name="adminForm" id="adminForm"> <fieldset id="filter-bar"> <legend class="element-invisible"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></legend> <div class="filter-search"> <label class="filter-search-lbl" for="filter_search"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></label> <input type="text" name="filter_search" id="filter_search" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" title="<?php echo JText::_('COM_REDIRECT_SEARCH_LINKS'); ?>" /> <button type="submit"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button> <button type="button" onclick="document.id('filter_search').value='';this.form.submit();"><?php echo JText::_('JSEARCH_FILTER_CLEAR'); ?></button> </div> <div class="filter-select"> <label class="selectlabel" for="filter_published"> <?php echo JText::_('JOPTION_SELECT_PUBLISHED'); ?> </label> <select name="filter_state" class="inputbox" id="filter_published"> <option value=""><?php echo JText::_('JOPTION_SELECT_PUBLISHED');?></option> <?php echo JHtml::_('select.options', RedirectHelper::publishedOptions(), 'value', 'text', $this->state->get('filter.state'), true);?> </select> <button type="submit" id="filter-go"> <?php echo JText::_('JSUBMIT'); ?></button> </div> </fieldset> <div class="clr"> </div> <table class="adminlist"> <thead> <tr> <th class="checkmark-col"> <input type="checkbox" name="checkall-toggle" value="" title="<?php echo JText::_('JGLOBAL_CHECK_ALL'); ?>" onclick="Joomla.checkAll(this)" /> </th> <th class="title"> <?php echo JHtml::_('grid.sort', 'COM_REDIRECT_HEADING_OLD_URL', 'a.old_url', $listDirn, $listOrder); ?> </th> <th class="width-30"> <?php echo JHtml::_('grid.sort', 'COM_REDIRECT_HEADING_NEW_URL', 'a.new_url', $listDirn, $listOrder); ?> </th> <th class="width-30"> <?php echo JHtml::_('grid.sort', 'COM_REDIRECT_HEADING_REFERRER', 'a.referer', $listDirn, $listOrder); ?> </th> <th class="width-10"> <?php echo JHtml::_('grid.sort', 'COM_REDIRECT_HEADING_CREATED_DATE', 'a.created_date', $listDirn, $listOrder); ?> </th> <th class="nowrap state-col"> <?php echo JHtml::_('grid.sort', 'JSTATUS', 'a.published', $listDirn, $listOrder); ?> </th> <th class="nowrap id-col"> <?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ID', 'a.id', $listDirn, $listOrder); ?> </th> </tr> </thead> <tbody> <?php foreach ($this->items as $i => $item) : $canCreate = $user->authorise('core.create', 'com_redirect'); $canEdit = $user->authorise('core.edit', 'com_redirect'); $canChange = $user->authorise('core.edit.state', 'com_redirect'); ?> <tr class="row<?php echo $i % 2; ?>"> <td class="center"> <?php echo JHtml::_('grid.id', $i, $item->id); ?> </td> <td> <?php if ($canEdit) : ?> <a href="<?php echo JRoute::_('index.php?option=com_redirect&task=link.edit&id='.$item->id);?>" title="<?php echo $this->escape($item->old_url); ?>"> <?php echo $this->escape(str_replace(JURI::root(), '', $item->old_url)); ?></a> <?php else : ?> <?php echo $this->escape(str_replace(JURI::root(), '', $item->old_url)); ?> <?php endif; ?> </td> <td> <?php echo $this->escape($item->new_url); ?> </td> <td> <?php echo $this->escape($item->referer); ?> </td> <td class="center"> <?php echo JHtml::_('date', $item->created_date, JText::_('DATE_FORMAT_LC4')); ?> </td> <td class="center"> <?php echo JHtml::_('redirect.published', $item->published, $i); ?> </td> <td class="center"> <?php echo (int) $item->id; ?> </td> </tr> <?php endforeach; ?> </tbody> </table> <?php echo $this->pagination->getListFooter(); ?> <p class="footer-tip"> <?php if ($this->enabled) : ?> <span class="enabled"><?php echo JText::_('COM_REDIRECT_PLUGIN_ENABLED'); ?></span> <?php else : ?> <span class="disabled"><?php echo JText::_('COM_REDIRECT_PLUGIN_DISABLED'); ?></span> <?php endif; ?> </p> <div class="clr"></div> <?php if (!empty($this->items)) : ?> <?php echo $this->loadTemplate('addform'); ?> <?php endif; ?> <input type="hidden" name="task" value="" /> <input type="hidden" name="boxchecked" value="0" /> <input type="hidden" name="filter_order" value="<?php echo $listOrder; ?>" /> <input type="hidden" name="filter_order_Dir" value="<?php echo $listDirn; ?>" /> <?php echo JHtml::_('form.token'); ?> </form> home/academiac/www/administrator/templates/hathor/html/com_messages/messages/default.php 0000644 00000007650 15137176534 0025753 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Templates.hathor * @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt * @since 1.6 */ // No direct access. defined('_JEXEC') or die; // Include the component HTML helpers. JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); JHtml::_('behavior.tooltip'); JHtml::_('behavior.multiselect'); $user = JFactory::getUser(); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); ?> <form action="<?php echo JRoute::_('index.php?option=com_messages&view=messages'); ?>" method="post" name="adminForm" id="adminForm"> <fieldset id="filter-bar"> <legend class="element-invisible"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></legend> <div class="filter-search"> <label class="filter-search-lbl" for="filter_search"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></label> <input type="text" name="filter_search" id="filter_search" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" title="<?php echo JText::_('COM_MESSAGES_SEARCH_IN_SUBJECT'); ?>" /> <button type="submit"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button> <button type="button" onclick="document.id('filter_search').value='';this.form.submit();"><?php echo JText::_('JSEARCH_FILTER_CLEAR'); ?></button> </div> <div class="filter-select"> <label class="selectlabel" for="filter_state"> <?php echo JText::_('JOPTION_SELECT_PUBLISHED'); ?> </label> <select name="filter_state" class="inputbox" id="filter_state"> <option value=""><?php echo JText::_('JOPTION_SELECT_PUBLISHED');?></option> <?php echo JHtml::_('select.options', MessagesHelper::getStateOptions(), 'value', 'text', $this->state->get('filter.state'));?> </select> <button type="submit" id="filter-go"> <?php echo JText::_('JSUBMIT'); ?></button> </div> </fieldset> <div class="clr"> </div> <table class="adminlist"> <thead> <tr> <th class="checkmark-col"> <input type="checkbox" name="checkall-toggle" value="" title="<?php echo JText::_('JGLOBAL_CHECK_ALL'); ?>" onclick="Joomla.checkAll(this)" /> </th> <th class="title"> <?php echo JHtml::_('grid.sort', 'COM_MESSAGES_HEADING_SUBJECT', 'a.subject', $listDirn, $listOrder); ?> </th> <th class="width-5"> <?php echo JHtml::_('grid.sort', 'COM_MESSAGES_HEADING_READ', 'a.state', $listDirn, $listOrder); ?> </th> <th class="width-15"> <?php echo JHtml::_('grid.sort', 'COM_MESSAGES_HEADING_FROM', 'a.user_id_from', $listDirn, $listOrder); ?> </th> <th class="nowrap width-20"> <?php echo JHtml::_('grid.sort', 'JDATE', 'a.date_time', $listDirn, $listOrder); ?> </th> </tr> </thead> <tbody> <?php foreach ($this->items as $i => $item) : $canChange = $user->authorise('core.edit.state', 'com_messages'); ?> <tr class="row<?php echo $i % 2; ?>"> <td> <?php echo JHtml::_('grid.id', $i, $item->message_id); ?> </td> <td> <a href="<?php echo JRoute::_('index.php?option=com_messages&view=message&message_id='.(int) $item->message_id); ?>"> <?php echo $this->escape($item->subject); ?></a> </td> <td class="center"> <?php echo JHtml::_('messages.state', $item->state, $i, $canChange); ?> </td> <td> <?php echo $item->user_from; ?> </td> <td> <?php echo JHtml::_('date', $item->date_time, JText::_('DATE_FORMAT_LC2')); ?> </td> </tr> <?php endforeach; ?> </tbody> </table> <?php echo $this->pagination->getListFooter(); ?> <input type="hidden" name="task" value="" /> <input type="hidden" name="boxchecked" value="0" /> <input type="hidden" name="filter_order" value="<?php echo $listOrder; ?>" /> <input type="hidden" name="filter_order_Dir" value="<?php echo $listDirn; ?>" /> <?php echo JHtml::_('form.token'); ?> </form> home/academiac/www/administrator/templates/hathor/html/com_menus/menus/default.php 0000644 00000012262 15137176613 0024604 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Templates.hathor * @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt * @since 1.6 */ defined('_JEXEC') or die; // Include the component HTML helpers. JHtml::addIncludePath(JPATH_COMPONENT . '/helpers/html'); // Load the tooltip behavior. JHtml::_('behavior.tooltip'); JHtml::_('behavior.multiselect'); $uri = JFactory::getUri(); $return = base64_encode($uri); $user = JFactory::getUser(); $userId = $user->get('id'); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); ?> <script type="text/javascript"> Joomla.submitbutton = function(task) { if (task != 'menus.delete' || confirm('<?php echo JText::_('COM_MENUS_MENU_CONFIRM_DELETE', true);?>')) { Joomla.submitform(task); } } </script> <form action="<?php echo JRoute::_('index.php?option=com_menus&view=menus');?>" method="post" name="adminForm" id="adminForm"> <table class="adminlist"> <thead> <tr> <th class="checkmark-col" rowspan="2"> <input type="checkbox" name="checkall-toggle" value="" title="<?php echo JText::_('JGLOBAL_CHECK_ALL'); ?>" onclick="Joomla.checkAll(this)" /> </th> <th rowspan="2"> <?php echo JHtml::_('grid.sort', 'JGLOBAL_TITLE', 'a.title', $listDirn, $listOrder); ?> </th> <th class="width-30" colspan="3"> <?php echo JText::_('COM_MENUS_HEADING_NUMBER_MENU_ITEMS'); ?> </th> <th class="width-20" rowspan="2"> <?php echo JText::_('COM_MENUS_HEADING_LINKED_MODULES'); ?> </th> <th class="nowrap id-col" rowspan="2"> <?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ID', 'a.id', $listDirn, $listOrder); ?> </th> </tr> <tr> <th class="width-10"> <?php echo JText::_('COM_MENUS_HEADING_PUBLISHED_ITEMS'); ?> </th> <th class="width-10"> <?php echo JText::_('COM_MENUS_HEADING_UNPUBLISHED_ITEMS'); ?> </th> <th class="width-10"> <?php echo JText::_('COM_MENUS_HEADING_TRASHED_ITEMS'); ?> </th> </tr> </thead> <tbody> <?php foreach ($this->items as $i => $item) : $canCreate = $user->authorise('core.create', 'com_menus'); $canEdit = $user->authorise('core.edit', 'com_menus'); $canChange = $user->authorise('core.edit.state', 'com_menus'); ?> <tr class="row<?php echo $i % 2; ?>"> <td class="center"> <?php echo JHtml::_('grid.id', $i, $item->id); ?> </td> <td> <a href="<?php echo JRoute::_('index.php?option=com_menus&view=items&menutype='.$item->menutype) ?> "> <?php echo $this->escape($item->title); ?></a> <p class="smallsub">(<span><?php echo JText::_('COM_MENUS_MENU_MENUTYPE_LABEL') ?></span> <?php if ($canEdit) : ?> <?php echo '<a href="'.JRoute::_('index.php?option=com_menus&task=menu.edit&id='.$item->id).' title='.$this->escape($item->description).'">'. $this->escape($item->menutype).'</a>'; ?>) <?php else : ?> <?php echo $this->escape($item->menutype)?>) <?php endif; ?> </p> </td> <td class="center btns"> <a href="<?php echo JRoute::_('index.php?option=com_menus&view=items&menutype='.$item->menutype.'&filter_published=1');?>"> <?php echo $item->count_published; ?></a> </td> <td class="center btns"> <a href="<?php echo JRoute::_('index.php?option=com_menus&view=items&menutype='.$item->menutype.'&filter_published=0');?>"> <?php echo $item->count_unpublished; ?></a> </td> <td class="center btns"> <a href="<?php echo JRoute::_('index.php?option=com_menus&view=items&menutype='.$item->menutype.'&filter_published=-2');?>"> <?php echo $item->count_trashed; ?></a> </td> <td class="left"> <ul class="menu-module-list"> <?php if (isset($this->modules[$item->menutype])) : foreach ($this->modules[$item->menutype] as &$module) : ?> <li> <?php if ($canEdit) : ?> <a class="modal" href="<?php echo JRoute::_('index.php?option=com_modules&task=module.edit&id='.$module->id.'&return='.$return.'&tmpl=component&layout=modal');?>" rel="{handler: 'iframe', size: {x: 1024, y: 450}}" title="<?php echo JText::_('COM_MENUS_EDIT_MODULE_SETTINGS');?>"> <?php echo JText::sprintf('COM_MENUS_MODULE_ACCESS_POSITION', $this->escape($module->title), $this->escape($module->access_title), $this->escape($module->position)); ?></a> <?php else :?> <?php echo JText::sprintf('COM_MENUS_MODULE_ACCESS_POSITION', $this->escape($module->title), $this->escape($module->access_title), $this->escape($module->position)); ?> <?php endif; ?> </li> <?php endforeach; endif; ?> </ul> </td> <td class="center"> <?php echo $item->id; ?> </td> </tr> <?php endforeach; ?> </tbody> </table> <?php echo $this->pagination->getListFooter(); ?> <input type="hidden" name="task" value="" /> <input type="hidden" name="boxchecked" value="0" /> <input type="hidden" name="filter_order" value="<?php echo $listOrder; ?>" /> <input type="hidden" name="filter_order_Dir" value="<?php echo $listDirn; ?>" /> <?php echo JHtml::_('form.token'); ?> </form> home/academiac/www/administrator/templates/hathor/html/com_users/users/default.php 0000644 00000020604 15137177073 0024630 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Templates.hathor * @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt * @since 1.6 */ // No direct access. defined('_JEXEC') or die; // Include the component HTML helpers. JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); // Load the tooltip behavior. JHtml::_('behavior.tooltip'); JHtml::_('behavior.multiselect'); JHtml::_('behavior.modal'); $canDo = UsersHelper::getActions(); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); $loggeduser = JFactory::getUser(); ?> <form action="<?php echo JRoute::_('index.php?option=com_users&view=users');?>" method="post" name="adminForm" id="adminForm"> <fieldset id="filter-bar"> <legend class="element-invisible"><?php echo JText::_('COM_USERS_SEARCH_USERS'); ?></legend> <div class="filter-search"> <label class="filter-search-lbl" for="filter_search"><?php echo JText::_('COM_USERS_SEARCH_USERS'); ?></label> <input type="text" name="filter_search" id="filter_search" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" title="<?php echo JText::_('COM_USERS_SEARCH_USERS'); ?>" /> <button type="submit"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button> <button type="button" onclick="document.id('filter_search').value='';this.form.submit();"><?php echo JText::_('JSEARCH_RESET'); ?></button> </div> <div class="filter-select"> <span class="faux-label")><?php echo JText::_('COM_USERS_FILTER_LABEL'); ?></span> <label class="selectlabel" for="filter_state"> <?php echo JText::_('COM_USERS_FILTER_LABEL'); ?> </label> <select name="filter_state" class="inputbox" id="filter_state"> <option value="*"><?php echo JText::_('COM_USERS_FILTER_STATE');?></option> <?php echo JHtml::_('select.options', UsersHelper::getStateOptions(), 'value', 'text', $this->state->get('filter.state'));?> </select> <label class="selectlabel" for="filter_active"> <?php echo JText::_('COM_USERS_FILTER_ACTIVE'); ?> </label> <select name="filter_active" class="inputbox" id="filter_active"> <option value="*"><?php echo JText::_('COM_USERS_FILTER_ACTIVE');?></option> <?php echo JHtml::_('select.options', UsersHelper::getActiveOptions(), 'value', 'text', $this->state->get('filter.active'));?> </select> <label class="selectlabel" for="filter_group_id"> <?php echo JText::_('COM_USERS_FILTER_USERGROUP'); ?> </label> <select name="filter_group_id" class="inputbox" id="filter_group_id"> <option value=""><?php echo JText::_('COM_USERS_FILTER_USERGROUP');?></option> <?php echo JHtml::_('select.options', UsersHelper::getGroups(), 'value', 'text', $this->state->get('filter.group_id'));?> </select> <label class="selectlabel" for="filter_range"> <?php echo JText::_('COM_USERS_FILTER_FILTER_DATE'); ?> </label> <select name="filter_range" class="inputbox" id="filter_range" > <option value=""><?php echo JText::_('COM_USERS_OPTION_FILTER_DATE');?></option> <?php echo JHtml::_('select.options', Usershelper::getRangeOptions(), 'value', 'text', $this->state->get('filter.range'));?> </select> <button type="submit" id="filter-go"> <?php echo JText::_('JSUBMIT'); ?></button> </div> </fieldset> <div class="clr"> </div> <table class="adminlist"> <thead> <tr> <th class="checkmark-col"> <input type="checkbox" name="checkall-toggle" value="" title="<?php echo JText::_('JGLOBAL_CHECK_ALL'); ?>" onclick="Joomla.checkAll(this)" /> </th> <th class="title"> <?php echo JHtml::_('grid.sort', 'COM_USERS_HEADING_NAME', 'a.name', $listDirn, $listOrder); ?> </th> <th class="nowrap width-10"> <?php echo JHtml::_('grid.sort', 'JGLOBAL_USERNAME', 'a.username', $listDirn, $listOrder); ?> </th> <th class="nowrap width-5"> <?php echo JHtml::_('grid.sort', 'COM_USERS_HEADING_ENABLED', 'a.block', $listDirn, $listOrder); ?> </th> <th class="nowrap width-5"> <?php echo JHtml::_('grid.sort', 'COM_USERS_HEADING_ACTIVATED', 'a.activation', $listDirn, $listOrder); ?> </th> <th class="nowrap width-10"> <?php echo JText::_('COM_USERS_HEADING_GROUPS'); ?> </th> <th class="nowrap width-15"> <?php echo JHtml::_('grid.sort', 'JGLOBAL_EMAIL', 'a.email', $listDirn, $listOrder); ?> </th> <th class="nowrap width-15"> <?php echo JHtml::_('grid.sort', 'COM_USERS_HEADING_LAST_VISIT_DATE', 'a.lastvisitDate', $listDirn, $listOrder); ?> </th> <th class="nowrap width-15"> <?php echo JHtml::_('grid.sort', 'COM_USERS_HEADING_REGISTRATION_DATE', 'a.registerDate', $listDirn, $listOrder); ?> </th> <th class="nowrap id-col"> <?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ID', 'a.id', $listDirn, $listOrder); ?> </th> </tr> </thead> <tbody> <?php foreach ($this->items as $i => $item) : $canEdit = $canDo->get('core.edit'); $canChange = $loggeduser->authorise('core.edit.state', 'com_users'); // If this group is super admin and this user is not super admin, $canEdit is false if ((!$loggeduser->authorise('core.admin')) && JAccess::check($item->id, 'core.admin')) { $canEdit = false; $canChange = false; } ?> <tr class="row<?php echo $i % 2; ?>"> <td> <?php if ($canEdit) : ?> <?php echo JHtml::_('grid.id', $i, $item->id); ?> <?php endif; ?> </td> <td> <div class="fltrt"> <?php echo JHtml::_('users.filterNotes', $item->note_count, $item->id); ?> <?php echo JHtml::_('users.notes', $item->note_count, $item->id); ?> <?php echo JHtml::_('users.addNote', $item->id); ?> </div> <?php if ($canEdit) : ?> <a href="<?php echo JRoute::_('index.php?option=com_users&task=user.edit&id='.(int) $item->id); ?>" title="<?php echo JText::sprintf('COM_USERS_EDIT_USER', $this->escape($item->name)); ?>"> <?php echo $this->escape($item->name); ?></a> <?php else : ?> <?php echo $this->escape($item->name); ?> <?php endif; ?> <?php if (JDEBUG) : ?> <div class="fltrt"><div class="button2-left smallsub"><div class="blank"><a href="<?php echo JRoute::_('index.php?option=com_users&view=debuguser&user_id='.(int) $item->id);?>"> <?php echo JText::_('COM_USERS_DEBUG_USER');?></a></div></div></div> <?php endif; ?> </td> <td class="center"> <?php echo $this->escape($item->username); ?> </td> <td class="center"> <?php if ($canChange) : ?> <?php if ($loggeduser->id != $item->id) : ?> <?php echo JHtml::_('grid.boolean', $i, !$item->block, 'users.unblock', 'users.block'); ?> <?php else : ?> <?php echo JHtml::_('grid.boolean', $i, !$item->block, 'users.block', null); ?> <?php endif; ?> <?php else : ?> <?php echo JText::_($item->block ? 'JNO' : 'JYES'); ?> <?php endif; ?> </td> <td class="center"> <?php echo JHtml::_('grid.boolean', $i, !$item->activation, 'users.activate', null); ?> </td> <td class="center"> <?php if (substr_count($item->group_names, "\n") > 1) : ?> <span class="hasTip" title="<?php echo JText::_('COM_USERS_HEADING_GROUPS').'::'.nl2br($item->group_names); ?>"><?php echo JText::_('COM_USERS_USERS_MULTIPLE_GROUPS'); ?></span> <?php else : ?> <?php echo nl2br($item->group_names); ?> <?php endif; ?> </td> <td class="center"> <?php echo $this->escape($item->email); ?> </td> <td class="center"> <?php if ($item->lastvisitDate!='0000-00-00 00:00:00'):?> <?php echo JHtml::_('date', $item->lastvisitDate, 'Y-m-d H:i:s'); ?> <?php else:?> <?php echo JText::_('JNEVER'); ?> <?php endif;?> </td> <td class="center"> <?php echo JHtml::_('date', $item->registerDate, 'Y-m-d H:i:s'); ?> </td> <td class="center"> <?php echo (int) $item->id; ?> </td> </tr> <?php endforeach; ?> </tbody> </table> <?php //Load the batch processing form. ?> <?php echo $this->loadTemplate('batch'); ?> <?php echo $this->pagination->getListFooter(); ?> <div> <input type="hidden" name="task" value="" /> <input type="hidden" name="boxchecked" value="0" /> <input type="hidden" name="filter_order" value="<?php echo $listOrder; ?>" /> <input type="hidden" name="filter_order_Dir" value="<?php echo $listDirn; ?>" /> <?php echo JHtml::_('form.token'); ?> </div> </form> home/academiac/www/administrator/templates/hathor/html/com_languages/languages/default.php 0000644 00000016124 15137177240 0026240 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Templates.hathor * @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt * @since 1.6 */ // no direct access defined('_JEXEC') or die; JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); JHtml::_('behavior.tooltip'); JHtml::_('behavior.multiselect'); $user = JFactory::getUser(); $userId = $user->get('id'); $n = count($this->items); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); $canOrder = $user->authorise('core.edit.state', 'com_languages'); $saveOrder = $listOrder == 'a.ordering'; ?> <form action="<?php echo JRoute::_('index.php?option=com_languages&view=languages'); ?>" method="post" name="adminForm" id="adminForm"> <fieldset id="filter-bar"> <legend class="element-invisible"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></legend> <div class="filter-search"> <label class="filter-search-lbl" for="filter_search"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></label> <input type="text" name="filter_search" id="filter_search" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" title="<?php echo JText::_('COM_LANGS_SEARCH_IN_TITLE'); ?>" /> <button type="submit"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button> <button type="button" onclick="document.id('filter_search').value='';this.form.submit();"><?php echo JText::_('JSEARCH_FILTER_CLEAR'); ?></button> </div> <div class="filter-select"> <label class="selectlabel" for="filter_published"> <?php echo JText::_('JOPTION_SELECT_PUBLISHED'); ?> </label> <select name="filter_published" class="inputbox" id="filter_published"> <option value=""><?php echo JText::_('JOPTION_SELECT_PUBLISHED');?></option> <?php echo JHtml::_('select.options', JHtml::_('languages.publishedOptions'), 'value', 'text', $this->state->get('filter.published'), true);?> </select> <button type="submit" id="filter-go"> <?php echo JText::_('JSUBMIT'); ?></button> </div> </fieldset> <table class="adminlist"> <thead> <tr> <th class="row-number-col"> <?php echo JText::_('JGRID_HEADING_ROW_NUMBER'); ?> </th> <th class="checkmark-col"> <input type="checkbox" name="checkall-toggle" value="" title="<?php echo JText::_('JGLOBAL_CHECK_ALL'); ?>" onclick="Joomla.checkAll(this)" /> </th> <th class="title"> <?php echo JHtml::_('grid.sort', 'JGLOBAL_TITLE', 'a.title', $listDirn, $listOrder); ?> </th> <th class="title"> <?php echo JHtml::_('grid.sort', 'COM_LANGUAGES_HEADING_TITLE_NATIVE', 'a.title_native', $listDirn, $listOrder); ?> </th> <th class="nowrap width-5"> <?php echo JHtml::_('grid.sort', 'COM_LANGUAGES_FIELD_LANG_TAG_LABEL', 'a.lang_code', $listDirn, $listOrder); ?> </th> <th class="nowrap width-5"> <?php echo JHtml::_('grid.sort', 'COM_LANGUAGES_FIELD_LANG_CODE_LABEL', 'a.sef', $listDirn, $listOrder); ?> </th> <th class="nowrap width-5"> <?php echo JHtml::_('grid.sort', 'COM_LANGUAGES_HEADING_LANG_IMAGE', 'a.image', $listDirn, $listOrder); ?> </th> <th class="nowrap width-5"> <?php echo JHtml::_('grid.sort', 'JSTATUS', 'a.published', $listDirn, $listOrder); ?> </th> <th width="nowrap ordering-col"> <?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ORDERING', 'ordering', $listDirn, $listOrder); ?> <?php if ($canOrder && $saveOrder) :?> <?php echo JHtml::_('grid.order', $this->items, 'filesave.png', 'languages.saveorder'); ?> <?php endif; ?> </th> <th class="nowrap width-5"> <?php echo JHtml::_('grid.sort', 'COM_LANGUAGES_HOMEPAGE', '', $listDirn, $listOrder); ?> </th> <th class="nowrap id-col"> <?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ID', 'a.lang_id', $listDirn, $listOrder); ?> </th> </tr> </thead> <tbody> <?php foreach ($this->items as $i => $item) : $ordering = ($listOrder == 'a.ordering'); $canCreate = $user->authorise('core.create', 'com_languages'); $canEdit = $user->authorise('core.edit', 'com_languages'); $canChange = $user->authorise('core.edit.state', 'com_languages'); ?> <tr class="row<?php echo $i % 2; ?>"> <td> <?php echo $this->pagination->getRowOffset($i); ?> </td> <td> <?php echo JHtml::_('grid.id', $i, $item->lang_id); ?> </td> <td> <span class="editlinktip hasTip" title="<?php echo JText::_('JGLOBAL_EDIT_ITEM');?>::<?php echo $this->escape($item->title); ?>"> <?php if ($canEdit) : ?> <a href="<?php echo JRoute::_('index.php?option=com_languages&task=language.edit&lang_id='.(int) $item->lang_id); ?>"> <?php echo $this->escape($item->title); ?></a> <?php else : ?> <?php echo $this->escape($item->title); ?> <?php endif; ?> </span> </td> <td class="center"> <?php echo $this->escape($item->title_native); ?> </td> <td class="center"> <?php echo $this->escape($item->lang_code); ?> </td> <td class="center"> <?php echo $this->escape($item->sef); ?> </td> <td class="center"> <?php echo $this->escape($item->image); ?> </td> <td class="center"> <?php echo JHtml::_('jgrid.published', $item->published, $i, 'languages.', $canChange);?> </td> <td class="order"> <?php if ($canChange) : ?> <?php if ($saveOrder) :?> <?php if ($listDirn == 'asc') : ?> <span><?php echo $this->pagination->orderUpIcon($i, true, 'languages.orderup', 'JLIB_HTML_MOVE_UP', $ordering); ?></span> <span><?php echo $this->pagination->orderDownIcon($i, $this->pagination->total, true, 'languages.orderdown', 'JLIB_HTML_MOVE_DOWN', $ordering); ?></span> <?php elseif ($listDirn == 'desc') : ?> <span><?php echo $this->pagination->orderUpIcon($i, true, 'languages.orderdown', 'JLIB_HTML_MOVE_UP', $ordering); ?></span> <span><?php echo $this->pagination->orderDownIcon($i, $this->pagination->total, true, 'languages.orderup', 'JLIB_HTML_MOVE_DOWN', $ordering); ?></span> <?php endif; ?> <?php endif; ?> <?php $disabled = $saveOrder ? '' : 'disabled="disabled"'; ?> <input type="text" name="order[]" size="5" value="<?php echo $item->ordering;?>" <?php echo $disabled ?> class="text-area-order" /> <?php else : ?> <?php echo $item->ordering; ?> <?php endif; ?> </td> <td class="center"> <?php if ($item->home == '1') : ?> <?php echo JText::_('JYES');?> <?php else:?> <?php echo JText::_('JNO');?> <?php endif;?> </td> <td class="center"> <?php echo $this->escape($item->lang_id); ?> </td> </tr> <?php endforeach; ?> </tbody> </table> <?php echo $this->pagination->getListFooter(); ?> <div> <input type="hidden" name="task" value="" /> <input type="hidden" name="boxchecked" value="0" /> <input type="hidden" name="filter_order" value="<?php echo $listOrder; ?>" /> <input type="hidden" name="filter_order_Dir" value="<?php echo $listDirn; ?>" /> <?php echo JHtml::_('form.token'); ?> </div> </form> home/academiac/www/templates/ideas/html/com_content/featured/default.php 0000604 00000004175 15137177741 0022522 0 ustar 00 <?php defined('_JEXEC') or die; require_once dirname(__FILE__) . str_replace('/', DIRECTORY_SEPARATOR, '/../../../functions.php'); JHtml::addIncludePath(JPATH_COMPONENT . '/helpers'); $view = new ArtxContent($this, $this->params); echo $view->beginPageContainer('blog-featured'); if (strlen($view->pageHeading)) echo $view->pageHeading(); $leadingcount = 0; if (!empty($this->lead_items)) { echo '<div class="items-leading">'; foreach ($this->lead_items as $item) { echo '<div class="leading-' . $leadingcount . ($item->state == 0 ? ' system-unpublished' : '') . '">'; $this->item = $item; echo $this->loadTemplate('item'); echo '</div>'; $leadingcount++; } echo '</div>'; } $introcount = count($this->intro_items); $counter = 0; if (!empty($this->intro_items)) { foreach ($this->intro_items as $key => $item) { $key = ($key - $leadingcount) + 1; $rowcount = (((int)$key - 1) % (int)$this->columns) + 1; $row = $counter / $this->columns; if ($rowcount == 1) echo '<div class="items-row cols-' . (int) $this->columns . ' row-' . $row . '">'; echo '<div class="item column-' . $rowcount . ($item->state == 0 ? ' system-unpublished"' : '') . '">'; $this->item = $item; echo $this->loadTemplate('item'); echo '</div>'; $counter++; if ($rowcount == $this->columns || $counter == $introcount) echo '<span class="row-separator"></span></div>'; } } if (!empty($this->link_items)) { ob_start(); echo '<div class="items-more">' . $this->loadTemplate('links') . '</div>'; echo artxPost(ob_get_clean()); } if ($this->params->def('show_pagination', 2) == 1 || ($this->params->get('show_pagination') == 2 && $this->pagination->get('pages.total') > 1)) { ob_start(); echo '<div class="pagination">'; if ($this->params->def('show_pagination_results', 1)) echo '<p class="counter">' . $this->pagination->getPagesCounter() . '</p>'; echo $this->pagination->getPagesLinks(); echo '</div>'; echo artxPost(ob_get_clean()); } echo $view->endPageContainer(); home/academiac/www/templates/ideas/html/com_content/article/default.php 0000604 00000005575 15137200114 0022330 0 ustar 00 <?php defined('_JEXEC') or die; require_once dirname(__FILE__) . str_replace('/', DIRECTORY_SEPARATOR, '/../../../functions.php'); JHtml::addIncludePath(JPATH_COMPONENT . '/helpers'); $component = new ArtxContent($this, $this->params); $article = $component->article('article', $this->item, $this->item->params, array('print' => $this->print)); echo $component->beginPageContainer('item-page'); if (strlen($article->pageHeading)) echo $component->pageHeading($article->pageHeading); $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=\"awp-postdateicon\">" . $article->createdDateInfo($article->created) . "</span>"; if (strlen($article->modified)) $params['metadata-header-icons'][] = "<span class=\"awp-postdateicon\">" . $article->modifiedDateInfo($article->modified) . "</span>"; if (strlen($article->published)) $params['metadata-header-icons'][] = "<span class=\"awp-postdateicon\">" . $article->publishedDateInfo($article->published) . "</span>"; if (strlen($article->author)) $params['metadata-header-icons'][] = "<span class=\"awp-postauthoricon\">" . $article->authorInfo($article->author, $article->authorLink) . "</span>"; if ($article->printIconVisible) $params['metadata-header-icons'][] = $article->printIcon(); if ($article->emailIconVisible) $params['metadata-header-icons'][] = $article->emailIcon(); if ($article->editIconVisible) $params['metadata-header-icons'][] = $article->editIcon(); if (strlen($article->hits)) $params['metadata-header-icons'][] = $article->hitsInfo($article->hits); // Build article content $content = ''; if (!$article->introVisible) $content .= $article->event('afterDisplayTitle'); $content .= $article->event('beforeDisplayContent'); if (strlen($article->toc)) $content .= $article->toc($article->toc); if (strlen($article->text)) $content .= $article->text($article->text); if ($article->introVisible) $content .= $article->intro($article->intro); if (strlen($article->readmore)) $content .= $article->readmore($article->readmore, $article->readmoreLink); $content .= $article->event('afterDisplayContent'); $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=\"awp-postcategoryicon\">" . $article->categories($article->parentCategory, $article->parentCategoryLink, $article->category, $article->categoryLink) . "</span>"; // Render article echo $article->article($params); echo $component->endPageContainer(); home/academiac/www/administrator/templates/hathor/html/com_content/articles/default.php 0000644 00000024700 15137200170 0025570 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Templates.hathor * @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt * @since 1.6 */ // no direct access defined('_JEXEC') or die; JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); JHtml::_('behavior.tooltip'); JHtml::_('behavior.multiselect'); $user = JFactory::getUser(); $userId = $user->get('id'); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); $saveOrder = $listOrder == 'a.ordering'; $n = count($this->items); ?> <form action="<?php echo JRoute::_('index.php?option=com_content&view=articles');?>" method="post" name="adminForm" id="adminForm"> <fieldset id="filter-bar"> <legend class="element-invisible"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></legend> <div class="filter-search"> <label class="filter-search-lbl" for="filter_search"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></label> <input type="text" name="filter_search" id="filter_search" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" title="<?php echo JText::_('COM_CONTENT_FILTER_SEARCH_DESC'); ?>" /> <button type="submit" class="btn"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button> <button type="button" onclick="document.id('filter_search').value='';this.form.submit();"><?php echo JText::_('JSEARCH_FILTER_CLEAR'); ?></button> </div> <div class="filter-select"> <label class="selectlabel" for="filter_published"><?php echo JText::_('JOPTION_SELECT_PUBLISHED'); ?></label> <select name="filter_published" class="inputbox" id="filter_published"> <option value=""><?php echo JText::_('JOPTION_SELECT_PUBLISHED');?></option> <?php echo JHtml::_('select.options', JHtml::_('jgrid.publishedOptions'), 'value', 'text', $this->state->get('filter.published'), true);?> </select> <label class="selectlabel" for="filter_category_id"><?php echo JText::_('JOPTION_SELECT_CATEGORY'); ?></label> <select name="filter_category_id" class="inputbox" id="filter_category_id"> <option value=""><?php echo JText::_('JOPTION_SELECT_CATEGORY');?></option> <?php echo JHtml::_('select.options', JHtml::_('category.options', 'com_content'), 'value', 'text', $this->state->get('filter.category_id'));?> </select> <label class="selectlabel" for="filter_level"><?php echo JText::_('JOPTION_SELECT_MAX_LEVELS'); ?></label> <select name="filter_level" class="inputbox" id="filter_level"> <option value=""><?php echo JText::_('JOPTION_SELECT_MAX_LEVELS');?></option> <?php echo JHtml::_('select.options', $this->f_levels, 'value', 'text', $this->state->get('filter.level'));?> </select> <label class="selectlabel" for="filter_access"><?php echo JText::_('JOPTION_SELECT_ACCESS'); ?></label> <select name="filter_access" class="inputbox" id="filter_access"> <option value=""><?php echo JText::_('JOPTION_SELECT_ACCESS');?></option> <?php echo JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text', $this->state->get('filter.access'));?> </select> <label class="selectlabel" for="filter_author_id"><?php echo JText::_('JOPTION_SELECT_AUTHOR'); ?></label> <select name="filter_author_id" class="inputbox" id="filter_author_id"> <option value=""><?php echo JText::_('JOPTION_SELECT_AUTHOR');?></option> <?php echo JHtml::_('select.options', $this->authors, 'value', 'text', $this->state->get('filter.author_id'));?> </select> <label class="selectlabel" for="filter_language"><?php echo JText::_('JOPTION_SELECT_LANGUAGE'); ?></label> <select name="filter_language" class="inputbox" id="filter_language"> <option value=""><?php echo JText::_('JOPTION_SELECT_LANGUAGE');?></option> <?php echo JHtml::_('select.options', JHtml::_('contentlanguage.existing', true, true), 'value', 'text', $this->state->get('filter.language'));?> </select> <button type="submit" id="filter-go"> <?php echo JText::_('JSUBMIT'); ?></button> </div> </fieldset> <div class="clr"> </div> <table class="adminlist"> <thead> <tr> <th class="checkmark-col"> <input type="checkbox" name="checkall-toggle" value="" title="<?php echo JText::_('JGLOBAL_CHECK_ALL'); ?>" onclick="Joomla.checkAll(this)" /> </th> <th class="title"> <?php echo JHtml::_('grid.sort', 'JGLOBAL_TITLE', 'a.title', $listDirn, $listOrder); ?> </th> <th class="nowrap state-col"> <?php echo JHtml::_('grid.sort', 'JSTATUS', 'a.state', $listDirn, $listOrder); ?> </th> <th class="nowrap featured-col"> <?php echo JHtml::_('grid.sort', 'JFEATURED', 'a.featured', $listDirn, $listOrder, NULL, 'desc'); ?> </th> <th class="title category-col"> <?php echo JHtml::_('grid.sort', 'JCATEGORY', 'category_title', $listDirn, $listOrder); ?> </th> <th class="nowrap ordering-col"> <?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ORDERING', 'a.ordering', $listDirn, $listOrder); ?> <?php if ($saveOrder) :?> <?php echo JHtml::_('grid.order', $this->items, 'filesave.png', 'articles.saveorder'); ?> <?php endif; ?> </th> <th class="title access-col"> <?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ACCESS', 'access_level', $listDirn, $listOrder); ?> </th> <th class="title created-by-col"> <?php echo JHtml::_('grid.sort', 'JGRID_HEADING_CREATED_BY', 'a.created_by', $listDirn, $listOrder); ?> </th> <th class="title date-col"> <?php echo JHtml::_('grid.sort', 'JDATE', 'a.created', $listDirn, $listOrder); ?> </th> <th class="hits-col"> <?php echo JHtml::_('grid.sort', 'JGLOBAL_HITS', 'a.hits', $listDirn, $listOrder); ?> </th> <th class="language-col"> <?php echo JHtml::_('grid.sort', 'JGRID_HEADING_LANGUAGE', 'language', $listDirn, $listOrder); ?> </th> <th class="nowrap id-col"> <?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ID', 'a.id', $listDirn, $listOrder); ?> </th> </tr> </thead> <tbody> <?php foreach ($this->items as $i => $item) : $item->max_ordering = 0; //?? $ordering = ($listOrder == 'a.ordering'); $canCreate = $user->authorise('core.create', 'com_content.category.'.$item->catid); $canEdit = $user->authorise('core.edit', 'com_content.article.'.$item->id); $canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $userId || $item->checked_out == 0; $canEditOwn = $user->authorise('core.edit.own', 'com_content.article.'.$item->id) && $item->created_by == $userId; $canChange = $user->authorise('core.edit.state', 'com_content.article.'.$item->id) && $canCheckin; ?> <tr class="row<?php echo $i % 2; ?>"> <th class="center"> <?php echo JHtml::_('grid.id', $i, $item->id); ?> </th> <td> <?php if ($item->checked_out) : ?> <?php echo JHtml::_('jgrid.checkedout', $i, $item->editor, $item->checked_out_time, 'articles.', $canCheckin); ?> <?php endif; ?> <?php if ($canEdit || $canEditOwn) : ?> <a href="<?php echo JRoute::_('index.php?option=com_content&task=article.edit&id='.$item->id);?>"> <?php echo $this->escape($item->title); ?></a> <?php else : ?> <?php echo $this->escape($item->title); ?> <?php endif; ?> <p class="smallsub"> <?php echo JText::sprintf('JGLOBAL_LIST_ALIAS', $this->escape($item->alias));?></p> </td> <td class="center"> <?php echo JHtml::_('jgrid.published', $item->state, $i, 'articles.', $canChange, 'cb', $item->publish_up, $item->publish_down); ?> </td> <td class="center"> <?php echo JHtml::_('contentadministrator.featured', $item->featured, $i, $canChange); ?> </td> <td class="center"> <?php echo $this->escape($item->category_title); ?> </td> <td class="order"> <?php if ($canChange) : ?> <?php if ($saveOrder) :?> <?php if ($listDirn == 'asc') : ?> <span><?php echo $this->pagination->orderUpIcon($i, ($item->catid == @$this->items[$i-1]->catid), 'articles.orderup', 'JLIB_HTML_MOVE_UP', $ordering); ?></span> <span><?php echo $this->pagination->orderDownIcon($i, $this->pagination->total, ($item->catid == @$this->items[$i+1]->catid), 'articles.orderdown', 'JLIB_HTML_MOVE_DOWN', $ordering); ?></span> <?php elseif ($listDirn == 'desc') : ?> <span><?php echo $this->pagination->orderUpIcon($i, ($item->catid == @$this->items[$i-1]->catid), 'articles.orderdown', 'JLIB_HTML_MOVE_UP', $ordering); ?></span> <span><?php echo $this->pagination->orderDownIcon($i, $this->pagination->total, ($item->catid == @$this->items[$i+1]->catid), 'articles.orderup', 'JLIB_HTML_MOVE_DOWN', $ordering); ?></span> <?php endif; ?> <?php endif; ?> <?php $disabled = $saveOrder ? '' : 'disabled="disabled"'; ?> <input type="text" name="order[]" value="<?php echo $item->ordering;?>" <?php echo $disabled ?> class="text-area-order" title="<?php echo $item->title; ?> order" /> <?php else : ?> <?php echo $item->ordering; ?> <?php endif; ?> </td> <td class="center"> <?php echo $this->escape($item->access_level); ?> </td> <td class="center"> <?php if ($item->created_by_alias) : ?> <?php echo $this->escape($item->author_name); ?> <p class="smallsub"> <?php echo JText::sprintf('JGLOBAL_LIST_ALIAS', $this->escape($item->created_by_alias)); ?></p> <?php else : ?> <?php echo $this->escape($item->author_name); ?> <?php endif; ?> </td> <td class="center nowrap"> <?php echo JHtml::_('date', $item->created, JText::_('DATE_FORMAT_LC4')); ?> </td> <td class="center"> <?php echo (int) $item->hits; ?> </td> <td class="center"> <?php if ($item->language=='*'):?> <?php echo JText::alt('JALL', 'language'); ?> <?php else:?> <?php echo $item->language_title ? $this->escape($item->language_title) : JText::_('JUNDEFINED'); ?> <?php endif;?> </td> <td class="center"> <?php echo (int) $item->id; ?> </td> </tr> <?php endforeach; ?> </tbody> </table> <?php //Load the batch processing form. ?> <?php echo $this->loadTemplate('batch'); ?> <?php echo $this->pagination->getListFooter(); ?> <input type="hidden" name="task" value="" /> <input type="hidden" name="boxchecked" value="0" /> <input type="hidden" name="filter_order" value="<?php echo $listOrder; ?>" /> <input type="hidden" name="filter_order_Dir" value="<?php echo $listDirn; ?>" /> <?php echo JHtml::_('form.token'); ?> </form> home/academiac/www/templates/ideas/html/mod_syndicate/default.php 0000604 00000000275 15137200625 0021216 0 ustar 00 <?php defined('_JEXEC') or die; echo '<a href="' . $link . '" class="awp-rss-tag-icon syndicate-module' . $moduleclass_sfx . '">' . ($text ? '<span>' . $text . '</span>' : '') . '</a>'; home/academiac/www/administrator/templates/hathor/html/com_cache/cache/default.php 0000644 00000006021 15137203076 0024422 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Templates.hathor * @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt * @since 1.6 */ // no direct access defined('_JEXEC') or die; $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); ?> <form action="<?php echo JRoute::_('index.php?option=com_cache'); ?>" method="post" name="adminForm" id="adminForm"> <fieldset id="filter-bar"> <legend class="element-invisible"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></legend> <div class="filter-select fltrt"> <label class="selectlabel" for="filter_client_id"> <?php echo JText::_('COM_CACHE_SELECT_CLIENT'); ?> </label> <select name="filter_client_id" class="inputbox" id="filter_client_id"> <?php echo JHtml::_('select.options', CacheHelper::getClientOptions(), 'value', 'text', $this->state->get('clientId'));?> </select> <button type="submit" id="filter-go"> <?php echo JText::_('JSUBMIT'); ?></button> </div> </fieldset> <div class="clr"> </div> <table class="adminlist"> <thead> <tr> <th class="title row-number-col"> <?php echo JText::_('COM_CACHE_NUM'); ?> </th> <th class="checkmark-col"> <input type="checkbox" name="checkall-toggle" value="" title="<?php echo JText::_('JGLOBAL_CHECK_ALL'); ?>" onclick="Joomla.checkAll(this)" /> </th> <th class="title nowrap"> <?php echo JHtml::_('grid.sort', 'COM_CACHE_GROUP', 'group', $listDirn, $listOrder); ?> </th> <th class="width-5 center nowrap"> <?php echo JHtml::_('grid.sort', 'COM_CACHE_NUMBER_OF_FILES', 'count', $listDirn, $listOrder); ?> </th> <th class="width-10 center"> <?php echo JHtml::_('grid.sort', 'COM_CACHE_SIZE', 'size', $listDirn, $listOrder); ?> </th> </tr> </thead> <tbody> <?php $i = 0; foreach ($this->data as $folder => $item): ?> <tr class="row<?php echo $i % 2; ?>"> <td> <?php echo $this->pagination->getRowOffset($i); ?> </td> <td> <input type="checkbox" id="cb<?php echo $i;?>" name="cid[]" title="<?php echo JText::sprintf('JGRID_CHECKBOX_ROW_N', ($i + 1)); ?>" value="<?php echo $item->group; ?>" onclick="Joomla.isChecked(this.checked);" /> </td> <td> <span class="bold"> <?php echo $item->group; ?> </span> </td> <td class="center"> <?php echo $item->count; ?> </td> <td class="center"> <?php echo JHtml::_('number.bytes', $item->size*1024); ?> </td> </tr> <?php $i++; endforeach; ?> </tbody> </table> <?php echo $this->pagination->getListFooter(); ?> <input type="hidden" name="task" value="" /> <input type="hidden" name="boxchecked" value="0" /> <input type="hidden" name="client" value="<?php echo $this->client->id;?>" /> <input type="hidden" name="filter_order" value="<?php echo $listOrder; ?>" /> <input type="hidden" name="filter_order_Dir" value="<?php echo $listDirn; ?>" /> <?php echo JHtml::_('form.token'); ?> </form> home/academiac/www/administrator/templates/hathor/html/com_plugins/plugins/default.php 0000644 00000016646 15137203570 0025473 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Templates.hathor * @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt * @since 1.6 */ // No direct access. defined('_JEXEC') or die; // Include the component HTML helpers. JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); JHtml::_('behavior.tooltip'); JHtml::_('behavior.multiselect'); $user = JFactory::getUser(); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); $canOrder = $user->authorise('core.edit.state', 'com_plugins'); $saveOrder = $listOrder == 'ordering'; ?> <form action="<?php echo JRoute::_('index.php?option=com_plugins&view=plugins'); ?>" method="post" name="adminForm" id="adminForm"> <fieldset id="filter-bar"> <legend class="element-invisible"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></legend> <div class="filter-search"> <label class="filter-search-lbl" for="filter_search"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></label> <input type="text" name="filter_search" id="filter_search" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" title="<?php echo JText::_('COM_PLUGINS_SEARCH_IN_TITLE'); ?>" /> <button type="submit"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button> <button type="button" onclick="document.id('filter_search').value='';this.form.submit();"><?php echo JText::_('JSEARCH_FILTER_CLEAR'); ?></button> </div> <div class="filter-select"> <label class="selectlabel" for="filter_state"> <?php echo JText::_('JOPTION_SELECT_PUBLISHED'); ?> </label> <select name="filter_state" class="inputbox" id="filter_state"> <option value=""><?php echo JText::_('JOPTION_SELECT_PUBLISHED');?></option> <?php echo JHtml::_('select.options', PluginsHelper::stateOptions(), 'value', 'text', $this->state->get('filter.state'), true);?> </select> <label class="selectlabel" for="filter_folder"> <?php echo JText::_('COM_PLUGINS_OPTION_FOLDER'); ?> </label> <select name="filter_folder" class="inputbox" id="filter_folder"> <option value=""><?php echo JText::_('COM_PLUGINS_OPTION_FOLDER');?></option> <?php echo JHtml::_('select.options', PluginsHelper::folderOptions(), 'value', 'text', $this->state->get('filter.folder'));?> </select> <label class="selectlabel" for="filter_access"> <?php echo JText::_('JOPTION_SELECT_ACCESS'); ?> </label> <select name="filter_access" class="inputbox" id="filter_access"> <option value=""><?php echo JText::_('JOPTION_SELECT_ACCESS');?></option> <?php echo JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text', $this->state->get('filter.access'));?> </select> <button type="submit" id="filter-go"> <?php echo JText::_('JSUBMIT'); ?></button> </div> </fieldset> <div class="clr"> </div> <table class="adminlist"> <thead> <tr> <th class="checkmark-col"> <input type="checkbox" name="checkall-toggle" value="" title="<?php echo JText::_('JGLOBAL_CHECK_ALL'); ?>" onclick="Joomla.checkAll(this)" /> </th> <th class="title"> <?php echo JHtml::_('grid.sort', 'COM_PLUGINS_NAME_HEADING', 'name', $listDirn, $listOrder); ?> </th> <th class="width-5"> <?php echo JHtml::_('grid.sort', 'JENABLED', 'enabled', $listDirn, $listOrder); ?> </th> <th class="nowrap ordering-col"> <?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ORDERING', 'ordering', $listDirn, $listOrder); ?> <?php if ($canOrder && $saveOrder) :?> <?php echo JHtml::_('grid.order', $this->items, 'filesave.png', 'plugins.saveorder'); ?> <?php endif; ?> </th> <th class="nowrap width-10"> <?php echo JHtml::_('grid.sort', 'COM_PLUGINS_FOLDER_HEADING', 'folder', $listDirn, $listOrder); ?> </th> <th class="nowrap width-10"> <?php echo JHtml::_('grid.sort', 'COM_PLUGINS_ELEMENT_HEADING', 'element', $listDirn, $listOrder); ?> </th> <th class="title access-col"> <?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ACCESS', 'access', $listDirn, $listOrder); ?> </th> <th class="nowrap id-col"> <?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ID', 'extension_id', $listDirn, $listOrder); ?> </th> </tr> </thead> <tbody> <?php foreach ($this->items as $i => $item) : $ordering = ($listOrder == 'ordering'); $canEdit = $user->authorise('core.edit', 'com_plugins'); $canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out==$user->get('id') || $item->checked_out==0; $canChange = $user->authorise('core.edit.state', 'com_plugins') && $canCheckin; ?> <tr class="row<?php echo $i % 2; ?>"> <td class="center"> <?php echo JHtml::_('grid.id', $i, $item->extension_id); ?> </td> <td> <?php if ($item->checked_out) : ?> <?php echo JHtml::_('jgrid.checkedout', $i, $item->editor, $item->checked_out_time, 'plugins.', $canCheckin); ?> <?php endif; ?> <?php if ($canEdit) : ?> <a href="<?php echo JRoute::_('index.php?option=com_plugins&task=plugin.edit&extension_id='.(int) $item->extension_id); ?>"> <?php echo $item->name; ?></a> <?php else : ?> <?php echo $item->name; ?> <?php endif; ?> </td> <td class="center"> <?php echo JHtml::_('jgrid.published', $item->enabled, $i, 'plugins.', $canChange); ?> </td> <td class="order"> <?php if ($canChange) : ?> <?php if ($saveOrder) :?> <?php if ($listDirn == 'asc') : ?> <span><?php echo $this->pagination->orderUpIcon($i, (@$this->items[$i-1]->folder == $item->folder), 'plugins.orderup', 'JLIB_HTML_MOVE_UP', $ordering); ?></span> <span><?php echo $this->pagination->orderDownIcon($i, $this->pagination->total, (@$this->items[$i+1]->folder == $item->folder), 'plugins.orderdown', 'JLIB_HTML_MOVE_DOWN', $ordering); ?></span> <?php elseif ($listDirn == 'desc') : ?> <span><?php echo $this->pagination->orderUpIcon($i, (@$this->items[$i-1]->folder == $item->folder), 'plugins.orderdown', 'JLIB_HTML_MOVE_UP', $ordering); ?></span> <span><?php echo $this->pagination->orderDownIcon($i, $this->pagination->total, (@$this->items[$i+1]->folder == $item->folder), 'plugins.orderup', 'JLIB_HTML_MOVE_DOWN', $ordering); ?></span> <?php endif; ?> <?php endif; ?> <?php $disabled = $saveOrder ? '' : 'disabled="disabled"'; ?> <input type="text" name="order[]" value="<?php echo $item->ordering;?>" <?php echo $disabled ?> class="text-area-order" title="<?php echo $item->name; ?> order" /> <?php else : ?> <?php echo $item->ordering; ?> <?php endif; ?> </td> <td class="nowrap center"> <?php echo $this->escape($item->folder);?> </td> <td class="nowrap center"> <?php echo $this->escape($item->element);?> </td> <td class="center"> <?php echo $this->escape($item->access_level); ?> </td> <td class="center"> <?php echo (int) $item->extension_id;?> </td> </tr> <?php endforeach; ?> </tbody> </table> <?php echo $this->pagination->getListFooter(); ?> <input type="hidden" name="task" value="" /> <input type="hidden" name="boxchecked" value="0" /> <input type="hidden" name="filter_order" value="<?php echo $listOrder; ?>" /> <input type="hidden" name="filter_order_Dir" value="<?php echo $listDirn; ?>" /> <?php echo JHtml::_('form.token'); ?> </form> home/academiac/www/administrator/templates/hathor/html/com_newsfeeds/newsfeeds/default.php 0000644 00000021671 15137203712 0026267 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Templates.hathor * @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt * @since 1.6 */ // No direct access. defined('_JEXEC') or die; // Include the component HTML helpers. JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); JHtml::_('behavior.tooltip'); JHtml::_('behavior.multiselect'); $user = JFactory::getUser(); $userId = $user->get('id'); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); $canOrder = $user->authorise('core.edit.state', 'com_newsfeeds.category'); $saveOrder = $listOrder == 'a.ordering'; ?> <form action="<?php echo JRoute::_('index.php?option=com_newsfeeds&view=newsfeeds'); ?>" method="post" name="adminForm" id="adminForm"> <fieldset id="filter-bar"> <legend class="element-invisible"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></legend> <div class="filter-search"> <label class="filter-search-lbl" for="filter_search"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></label> <input type="text" name="filter_search" id="filter_search" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" title="<?php echo JText::_('COM_NEWSFEEDS_SEARCH_IN_TITLE'); ?>" /> <button type="submit"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button> <button type="button" onclick="document.id('filter_search').value='';this.form.submit();"><?php echo JText::_('JSEARCH_FILTER_CLEAR'); ?></button> </div> <div class="filter-select"> <label class="selectlabel" for="filter_published"> <?php echo JText::_('JOPTION_SELECT_PUBLISHED'); ?> </label> <select name="filter_published" class="inputbox" id="filter_published"> <option value=""><?php echo JText::_('JOPTION_SELECT_PUBLISHED');?></option> <?php echo JHtml::_('select.options', JHtml::_('jgrid.publishedOptions'), 'value', 'text', $this->state->get('filter.state'), true);?> </select> <label class="selectlabel" for="filter_category_id"> <?php echo JText::_('JOPTION_SELECT_CATEGORY'); ?> </label> <select name="filter_category_id" class="inputbox" id="filter_category_id"> <option value=""><?php echo JText::_('JOPTION_SELECT_CATEGORY');?></option> <?php echo JHtml::_('select.options', JHtml::_('category.options', 'com_newsfeeds'), 'value', 'text', $this->state->get('filter.category_id'));?> </select> <label class="selectlabel" for="filter_access"> <?php echo JText::_('JOPTION_SELECT_ACCESS'); ?> </label> <select name="filter_access" class="inputbox" id="filter_access"> <option value=""><?php echo JText::_('JOPTION_SELECT_ACCESS');?></option> <?php echo JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text', $this->state->get('filter.access'));?> </select> <label class="selectlabel" for="filter_language"> <?php echo JText::_('JOPTION_SELECT_LANGUAGE'); ?> </label> <select name="filter_language" class="inputbox" id="filter_language"> <option value=""><?php echo JText::_('JOPTION_SELECT_LANGUAGE');?></option> <?php echo JHtml::_('select.options', JHtml::_('contentlanguage.existing', true, true), 'value', 'text', $this->state->get('filter.language'));?> </select> <button type="submit" id="filter-go"> <?php echo JText::_('JSUBMIT'); ?></button> </div> </fieldset> <div class="clr"> </div> <table class="adminlist"> <thead> <tr> <th class="checkmark-col"> <input type="checkbox" name="checkall-toggle" value="" title="<?php echo JText::_('JGLOBAL_CHECK_ALL'); ?>" onclick="Joomla.checkAll(this)" /> </th> <th class="title"> <?php echo JHtml::_('grid.sort', 'JGLOBAL_TITLE', 'a.name', $listDirn, $listOrder); ?> </th> <th class="nowrap state-col"> <?php echo JHtml::_('grid.sort', 'JSTATUS', 'a.published', $listDirn, $listOrder); ?> </th> <th class="nowrap title category-col"> <?php echo JHtml::_('grid.sort', 'JCATEGORY', 'category_title', $listDirn, $listOrder); ?> </th> <th class="nowrap ordering-col"> <?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ORDERING', 'a.ordering', $listDirn, $listOrder); ?> <?php if ($canOrder && $saveOrder) :?> <?php echo JHtml::_('grid.order', $this->items, 'filesave.png', 'newsfeeds.saveorder'); ?> <?php endif; ?> </th> <th class="title access-col"> <?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ACCESS', 'a.access', $listDirn, $listOrder); ?> </th> <th class="width-10"> <?php echo JHtml::_('grid.sort', 'COM_NEWSFEEDS_NUM_ARTICLES_HEADING', 'numarticles', $listDirn, $listOrder); ?> </th> <th class="width-5"> <?php echo JHtml::_('grid.sort', 'COM_NEWSFEEDS_CACHE_TIME_HEADING', 'a.cache_time', $listDirn, $listOrder); ?> </th> <th class="width-5"> <?php echo JHtml::_('grid.sort', 'JGRID_HEADING_LANGUAGE', 'a.language', $listDirn, $listOrder); ?> </th> <th class="nowrap id-col"> <?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ID', 'a.id', $listDirn, $listOrder); ?> </th> </tr> </thead> <tbody> <?php foreach ($this->items as $i => $item) : $ordering = ($listOrder == 'a.ordering'); $canCreate = $user->authorise('core.create', 'com_newsfeeds.category.'.$item->catid); $canEdit = $user->authorise('core.edit', 'com_newsfeeds.category.'.$item->catid); $canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out==$user->get('id') || $item->checked_out==0; $canChange = $user->authorise('core.edit.state', 'com_newsfeeds.category.'.$item->catid) && $canCheckin; ?> <tr class="row<?php echo $i % 2; ?>"> <th class="center"> <?php echo JHtml::_('grid.id', $i, $item->id); ?> </th> <td> <?php if ($item->checked_out) : ?> <?php echo JHtml::_('jgrid.checkedout', $i, $item->editor, $item->checked_out_time, 'newsfeeds.', $canCheckin); ?> <?php endif; ?> <?php if ($canEdit) : ?> <a href="<?php echo JRoute::_('index.php?option=com_newsfeeds&task=newsfeed.edit&id='.(int) $item->id); ?>"> <?php echo $this->escape($item->name); ?></a> <?php else : ?> <?php echo $this->escape($item->name); ?> <?php endif; ?> <p class="smallsub"> <?php echo JText::sprintf('JGLOBAL_LIST_ALIAS', $this->escape($item->alias));?></p> </td> <td class="center"> <?php echo JHtml::_('jgrid.published', $item->published, $i, 'newsfeeds.', $canChange, 'cb', $item->publish_up, $item->publish_down); ?> </td> <td class="center"> <?php echo $this->escape($item->category_title); ?> </td> <td class="order"> <?php if ($canChange) : ?> <?php if ($saveOrder) :?> <?php if ($listDirn == 'asc') : ?> <span><?php echo $this->pagination->orderUpIcon($i, ($item->catid == @$this->items[$i-1]->catid), 'newsfeeds.orderup', 'JLIB_HTML_MOVE_UP', $ordering); ?></span> <span><?php echo $this->pagination->orderDownIcon($i, $this->pagination->total, ($item->catid == @$this->items[$i+1]->catid), 'newsfeeds.orderdown', 'JLIB_HTML_MOVE_DOWN', $ordering); ?></span> <?php elseif ($listDirn == 'desc') : ?> <span><?php echo $this->pagination->orderUpIcon($i, ($item->catid == @$this->items[$i-1]->catid), 'newsfeeds.orderdown', 'JLIB_HTML_MOVE_UP', $ordering); ?></span> <span><?php echo $this->pagination->orderDownIcon($i, $this->pagination->total, ($item->catid == @$this->items[$i+1]->catid), 'newsfeeds.orderup', 'JLIB_HTML_MOVE_DOWN', $ordering); ?></span> <?php endif; ?> <?php endif; ?> <?php $disabled = $saveOrder ? '' : 'disabled="disabled"'; ?> <input type="text" name="order[]" size="5" value="<?php echo $item->ordering;?>" <?php echo $disabled ?> class="text-area-order" title="<?php echo $item->name; ?> order" /> <?php else : ?> <?php echo $item->ordering; ?> <?php endif; ?> </td> <td class="center"> <?php echo $this->escape($item->access_level); ?> </td> <td class="center"> <?php echo (int) $item->numarticles; ?> </td> <td class="center"> <?php echo (int) $item->cache_time; ?> </td> <td class="center"> <?php if ($item->language=='*'):?> <?php echo JText::alt('JALL', 'language'); ?> <?php else:?> <?php echo $item->language_title ? $this->escape($item->language_title) : JText::_('JUNDEFINED'); ?> <?php endif;?> </td> <td class="center"> <?php echo (int) $item->id; ?> </td> </tr> <?php endforeach; ?> </tbody> </table> <?php //Load the batch processing form. ?> <?php echo $this->loadTemplate('batch'); ?> <?php echo $this->pagination->getListFooter(); ?> <input type="hidden" name="task" value="" /> <input type="hidden" name="boxchecked" value="0" /> <input type="hidden" name="filter_order" value="<?php echo $listOrder; ?>" /> <input type="hidden" name="filter_order_Dir" value="<?php echo $listDirn; ?>" /> <?php echo JHtml::_('form.token'); ?> </form> home/academiac/www/administrator/components/com_joomlaupdate/models/default.php 0000644 00000044565 15137217435 0024244 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage com_joomlaupdate * @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** * Joomla! update overview Model * * @package Joomla.Administrator * @subpackage com_joomlaupdate * @author nikosdion <nicholas@dionysopoulos.me> * @since 2.5.4 */ class JoomlaupdateModelDefault extends JModelLegacy { /** * Detects if the Joomla! update site currently in use matches the one * configured in this component. If they don't match, it changes it. * * @return void * * @since 2.5.4 */ public function applyUpdateSite() { // Determine the intended update URL $params = JComponentHelper::getParams('com_joomlaupdate'); switch ($params->get('updatesource', 'nochange')) { // "Long Term Support (LTS) branch - Recommended" case 'lts': $updateURL = 'http://update.joomla.org/core/list.xml'; break; // "Short term support (STS) branch" case 'sts': $updateURL = 'http://update.joomla.org/core/sts/list_sts.xml'; break; // "Testing" case 'testing': $updateURL = 'http://update.joomla.org/core/test/list_test.xml'; break; // "Custom" case 'custom': $updateURL = $params->get('customurl', ''); break; // "Do not change" case 'nochange': default: return; break; } $db = $this->getDbo(); $query = $db->getQuery(true) ->select($db->nq('us') . '.*') ->from( $db->nq('#__update_sites_extensions') . ' AS ' . $db->nq('map') ) ->innerJoin( $db->nq('#__update_sites') . ' AS ' . $db->nq('us') . ' ON (' . $db->nq('us') . '.' . $db->nq('update_site_id') . ' = ' . $db->nq('map') . '.' . $db->nq('update_site_id') . ')' ) ->where( $db->nq('map') . '.' . $db->nq('extension_id') . ' = ' . $db->q(700) ); $db->setQuery($query); $update_site = $db->loadObject(); if ($update_site->location != $updateURL) { // Modify the database record $update_site->last_check_timestamp = 0; $update_site->location = $updateURL; $db->updateObject('#__update_sites', $update_site, 'update_site_id'); // Remove cached updates $query = $db->getQuery(true) ->delete($db->nq('#__updates')) ->where($db->nq('extension_id').' = '.$db->q('700')); $db->setQuery($query); $db->query(); } } /** * Makes sure that the Joomla! update cache is up-to-date * * @param bool $force Force reload, ignoring the cache timeout * * @return void * * @since 2.5.4 */ public function refreshUpdates($force = false) { if ($force) { $cache_timeout = 0; } else { $update_params = JComponentHelper::getParams('com_installer'); $cache_timeout = $update_params->get('cachetimeout', 6, 'int'); $cache_timeout = 3600 * $cache_timeout; } $updater = JUpdater::getInstance(); $results = $updater->findUpdates(700, $cache_timeout); } /** * Returns an array with the Joomla! update information * * @return array * * @since 2.5.4 */ public function getUpdateInformation() { // Initialise the return array $ret = array( 'installed' => JVERSION, 'latest' => null, 'object' => null ); // Fetch the update information from the database $db = $this->getDbo(); $query = $db->getQuery(true) ->select('*') ->from($db->nq('#__updates')) ->where($db->nq('extension_id') . ' = ' . $db->q(700)); $db->setQuery($query); $updateObject = $db->loadObject(); if (is_null($updateObject)) { $ret['latest'] = JVERSION; return $ret; } else { $ret['latest'] = $updateObject->version; } // Fetch the full udpate details from the update details URL jimport('joomla.updater.update'); $update = new JUpdate; $update->loadFromXML($updateObject->detailsurl); // Pass the update object if($ret['latest'] == JVERSION) { $ret['object'] = null; } else { $ret['object'] = $update; } return $ret; } /** * Returns an array with the configured FTP options * * @return array * * @since 2.5.4 */ public function getFTPOptions() { $config = JFactory::getConfig(); return array( 'host' => $config->get('ftp_host'), 'port' => $config->get('ftp_port'), 'username' => $config->get('ftp_user'), 'password' => $config->get('ftp_pass'), 'directory' => $config->get('ftp_root'), 'enabled' => $config->get('ftp_enable'), ); } /** * Downloads the update package to the site * * @return bool|string False on failure, basename of the file in any other case * * @since 2.5.4 */ public function download() { $updateInfo = $this->getUpdateInformation(); $packageURL = $updateInfo['object']->downloadurl->_data; $basename = basename($packageURL); // Find the path to the temp directory and the local package $jreg = JFactory::getConfig(); $tempdir = $jreg->getValue('config.tmp_path'); $target = $tempdir . '/' . $basename; // Do we have a cached file? jimport('joomla.filesystem.file'); $exists = JFile::exists($target); if (!$exists) { // Not there, let's fetch it return $this->downloadPackage($packageURL, $target); } else { // Is it a 0-byte file? If so, re-download please. $filesize = @filesize($target); if(empty($filesize)) return $this->downloadPackage($packageURL, $target); // Yes, it's there, skip downloading return $basename; } } /** * Downloads a package file to a specific directory * * @param string $url The URL to download from * @param string $target The directory to store the file * * @return boolean True on success * * @since 2.5.4 */ protected function downloadPackage($url, $target) { JLoader::import('helpers.download', JPATH_COMPONENT_ADMINISTRATOR); $result = AdmintoolsHelperDownload::download($url, $target); if(!$result) { return false; } else { return basename($target); } } /** * @since 2.5.4 */ public function createRestorationFile($basename = null) { // Get a password jimport('joomla.user.helper'); $password = JUserHelper::genRandomPassword(32); JFactory::getApplication()->setUserState('com_joomlaupdate.password', $password); // Do we have to use FTP? $method = JRequest::getCmd('method', 'direct'); // Get the absolute path to site's root $siteroot = JPATH_SITE; // If the package name is not specified, get it from the update info if (empty($basename)) { $updateInfo = $this->getUpdateInformation(); $packageURL = $updateInfo['object']->downloadurl->_data; $basename = basename($packageURL); } // Get the package name $tempdir = JFactory::getConfig()->getValue('config.tmp_path'); $file = $tempdir . '/' . $basename; $filesize = @filesize($file); JFactory::getApplication()->setUserState('com_joomlaupdate.password', $password); JFactory::getApplication()->setUserState('com_joomlaupdate.filesize', $filesize); $data = "<?php\ndefined('_AKEEBA_RESTORATION') or die('Restricted access');\n"; $data .= '$restoration_setup = array('."\n"; $data .= <<<ENDDATA 'kickstart.security.password' => '$password', 'kickstart.tuning.max_exec_time' => '5', 'kickstart.tuning.run_time_bias' => '75', 'kickstart.tuning.min_exec_time' => '0', 'kickstart.procengine' => '$method', 'kickstart.setup.sourcefile' => '$file', 'kickstart.setup.destdir' => '$siteroot', 'kickstart.setup.restoreperms' => '0', 'kickstart.setup.filetype' => 'zip', 'kickstart.setup.dryrun' => '0' ENDDATA; if ($method == 'ftp') { // Fetch the FTP parameters from the request. Note: The password should be // allowed as raw mode, otherwise something like !@<sdf34>43H% would be // sanitised to !@43H% which is just plain wrong. $ftp_host = JRequest::getVar('ftp_host',''); $ftp_port = JRequest::getVar('ftp_port', '21'); $ftp_user = JRequest::getVar('ftp_user', ''); $ftp_pass = JRequest::getVar('ftp_pass', '', 'default', 'none', 2); $ftp_root = JRequest::getVar('ftp_root', ''); // Is the tempdir really writable? $writable = @is_writeable($tempdir); if($writable) { // Let's be REALLY sure $fp = @fopen($tempdir.'/test.txt','w'); if($fp === false) { $writable = false; } else { fclose($fp); unlink($tempdir.'/test.txt'); } } // If the tempdir is not writable, create a new writable subdirectory if(!$writable) { jimport('joomla.client.ftp'); jimport('joomla.client.helper'); jimport('joomla.filesystem.folder'); $FTPOptions = JClientHelper::getCredentials('ftp'); $ftp = & JFTP::getInstance($FTPOptions['host'], $FTPOptions['port'], null, $FTPOptions['user'], $FTPOptions['pass']); $dest = JPath::clean(str_replace(JPATH_ROOT, $FTPOptions['root'], $tempdir.'/admintools'), '/'); if(!@mkdir($tempdir.'/admintools')) $ftp->mkdir($dest); if(!@chmod($tempdir.'/admintools', 511)) $ftp->chmod($dest, 511); $tempdir .= '/admintools'; } // Just in case the temp-directory was off-root, try using the default tmp directory $writable = @is_writeable($tempdir); if(!$writable) { $tempdir = JPATH_ROOT.'/tmp'; // Does the JPATH_ROOT/tmp directory exist? if(!is_dir($tempdir)) { jimport('joomla.filesystem.folder'); jimport('joomla.filesystem.file'); JFolder::create($tempdir, 511); JFile::write($tempdir.'/.htaccess',"order deny, allow\ndeny from all\nallow from none\n"); } // If it exists and it is unwritable, try creating a writable admintools subdirectory if(!is_writable($tempdir)) { jimport('joomla.client.ftp'); jimport('joomla.client.helper'); jimport('joomla.filesystem.folder'); $FTPOptions = JClientHelper::getCredentials('ftp'); $ftp = & JFTP::getInstance($FTPOptions['host'], $FTPOptions['port'], null, $FTPOptions['user'], $FTPOptions['pass']); $dest = JPath::clean(str_replace(JPATH_ROOT, $FTPOptions['root'], $tempdir.'/admintools'), '/'); if(!@mkdir($tempdir.'/admintools')) $ftp->mkdir($dest); if(!@chmod($tempdir.'/admintools', 511)) $ftp->chmod($dest, 511); $tempdir .= '/admintools'; } } // If we still have no writable directory, we'll try /tmp and the system's temp-directory $writable = @is_writeable($tempdir); if(!$writable) { if(@is_dir('/tmp') && @is_writable('/tmp')) { $tempdir = '/tmp'; } else { // Try to find the system temp path $tmpfile = @tempnam("dummy",""); $systemp = @dirname($tmpfile); @unlink($tmpfile); if(!empty($systemp)) { if(@is_dir($systemp) && @is_writable($systemp)) { $tempdir = $systemp; } } } } $data.=<<<ENDDATA , 'kickstart.ftp.ssl' => '0', 'kickstart.ftp.passive' => '1', 'kickstart.ftp.host' => '$ftp_host', 'kickstart.ftp.port' => '$ftp_port', 'kickstart.ftp.user' => '$ftp_user', 'kickstart.ftp.pass' => '$ftp_pass', 'kickstart.ftp.dir' => '$ftp_root', 'kickstart.ftp.tempdir' => '$tempdir' ENDDATA; } $data .= ');'; // Remove the old file, if it's there... jimport('joomla.filesystem.file'); $configpath = JPATH_COMPONENT_ADMINISTRATOR . '/restoration.php'; if( JFile::exists($configpath) ) { JFile::delete($configpath); } // Write new file. First try with JFile. $result = JFile::write( $configpath, $data ); // In case JFile used FTP but direct access could help if(!$result) { if(function_exists('file_put_contents')) { $result = @file_put_contents($configpath, $data); if($result !== false) $result = true; } else { $fp = @fopen($configpath, 'wt'); if($fp !== false) { $result = @fwrite($fp, $data); if($result !== false) $result = true; @fclose($fp); } } } return $result; } /** * Runs the schema update SQL files, the PHP update script and updates the * manifest cache and #__extensions entry. Essentially, it is identical to * JInstallerFile::install() without the file copy. * * @return boolean True on success * * @since 2.5.4 */ public function finaliseUpgrade() { jimport('joomla.installer.install'); $installer = JInstaller::getInstance(); $installer->setPath('source', JPATH_ROOT); $installer->setPath('extension_root', JPATH_ROOT); if (!$installer->setupInstall()) { $installer->abort(JText::_('JLIB_INSTALLER_ABORT_DETECTMANIFEST')); return false; } $installer->extension = JTable::getInstance('extension'); $installer->extension->load(700); $installer->setAdapter($installer->extension->type); $manifest = $installer->getManifest(); $manifestPath = JPath::clean($installer->getPath('manifest')); $element = preg_replace('/\.xml/', '', basename($manifestPath)); // Run the script file $scriptElement = $manifest->scriptfile; $manifestScript = (string) $manifest->scriptfile; if ($manifestScript) { $manifestScriptFile = JPATH_ROOT . '/' . $manifestScript; if (is_file($manifestScriptFile)) { // load the file include_once $manifestScriptFile; } $classname = 'JoomlaInstallerScript'; if (class_exists($classname)) { $manifestClass = new $classname($this); } } ob_start(); ob_implicit_flush(false); if ($manifestClass && method_exists($manifestClass, 'preflight')) { if ($manifestClass->preflight('update', $this) === false) { $installer->abort(JText::_('JLIB_INSTALLER_ABORT_FILE_INSTALL_CUSTOM_INSTALL_FAILURE')); return false; } } $msg = ob_get_contents(); // create msg object; first use here ob_end_clean(); // Get a database connector object $db = JFactory::getDbo(); // Check to see if a file extension by the same name is already installed // If it is, then update the table because if the files aren't there // we can assume that it was (badly) uninstalled // If it isn't, add an entry to extensions $query = $db->getQuery(true); $query->select($query->qn('extension_id')) ->from($query->qn('#__extensions')); $query->where($query->qn('type') . ' = ' . $query->q('file')) ->where($query->qn('element') . ' = ' . $query->q('joomla')); $db->setQuery($query); try { $db->Query(); } catch (RuntimeException $e) { // Install failed, roll back changes $installer->abort( JText::sprintf('JLIB_INSTALLER_ABORT_FILE_ROLLBACK', JText::_('JLIB_INSTALLER_UPDATE'), $db->stderr(true)) ); return false; } $id = $db->loadResult(); $row = JTable::getInstance('extension'); if ($id) { // Load the entry and update the manifest_cache $row->load($id); // Update name $row->set('name', 'files_joomla'); // Update manifest $row->manifest_cache = $installer->generateManifestCache(); if (!$row->store()) { // Install failed, roll back changes $installer->abort( JText::sprintf('JLIB_INSTALLER_ABORT_FILE_ROLLBACK', JText::_('JLIB_INSTALLER_UPDATE'), $db->stderr(true)) ); return false; } } else { // Add an entry to the extension table with a whole heap of defaults $row->set('name', 'files_joomla'); $row->set('type', 'file'); $row->set('element', 'joomla'); // There is no folder for files so leave it blank $row->set('folder', ''); $row->set('enabled', 1); $row->set('protected', 0); $row->set('access', 0); $row->set('client_id', 0); $row->set('params', ''); $row->set('system_data', ''); $row->set('manifest_cache', $installer->generateManifestCache()); if (!$row->store()) { // Install failed, roll back changes $installer->abort(JText::sprintf('JLIB_INSTALLER_ABORT_FILE_INSTALL_ROLLBACK', $db->stderr(true))); return false; } // Set the insert id $row->set('extension_id', $db->insertid()); // Since we have created a module item, we add it to the installation step stack // so that if we have to rollback the changes we can undo it. $installer->pushStep(array('type' => 'extension', 'extension_id' => $row->extension_id)); } /* * Let's run the queries for the file */ if ($manifest->update) { $result = $installer->parseSchemaUpdates($manifest->update->schemas, $row->extension_id); if ($result === false) { // Install failed, rollback changes $installer->abort(JText::sprintf('JLIB_INSTALLER_ABORT_FILE_UPDATE_SQL_ERROR', $db->stderr(true))); return false; } } // Start Joomla! 1.6 ob_start(); ob_implicit_flush(false); if ($manifestClass && method_exists($manifestClass, 'update')) { if ($manifestClass->update($installer) === false) { // Install failed, rollback changes $installer->abort(JText::_('JLIB_INSTALLER_ABORT_FILE_INSTALL_CUSTOM_INSTALL_FAILURE')); return false; } } $msg .= ob_get_contents(); // append messages ob_end_clean(); // Lastly, we will copy the manifest file to its appropriate place. $manifest = array(); $manifest['src'] = $installer->getPath('manifest'); $manifest['dest'] = JPATH_MANIFESTS . '/files/' . basename($installer->getPath('manifest')); if (!$installer->copyFiles(array($manifest), true)) { // Install failed, rollback changes $installer->abort(JText::_('JLIB_INSTALLER_ABORT_FILE_INSTALL_COPY_SETUP')); return false; } // Clobber any possible pending updates $update = JTable::getInstance('update'); $uid = $update->find( array('element' => $element, 'type' => 'file', 'client_id' => '', 'folder' => '') ); if ($uid) { $update->delete($uid); } // And now we run the postflight ob_start(); ob_implicit_flush(false); if ($manifestClass && method_exists($manifestClass, 'postflight')) { $manifestClass->postflight('update', $this); } $msg .= ob_get_contents(); // append messages ob_end_clean(); if ($msg != '') { $installer->set('extension_message', $msg); } return true; } /** * Removes the extracted package file * * @return void * * @since 2.5.4 */ public function cleanUp() { jimport('joomla.filesystem.file'); // Remove the update package $jreg = JFactory::getConfig(); $tempdir = $jreg->getValue('config.tmp_path'); $file = JFactory::getApplication()->getUserState('com_joomlaupdate.file', null); $target = $tempdir.'/'.$file; if (!@unlink($target)) { jimport('joomla.filesystem.file'); JFile::delete($target); } // Remove the restoration.php file $target = JPATH_COMPONENT_ADMINISTRATOR . '/restoration.php'; if (!@unlink($target)) { JFile::delete($target); } // Remove joomla.xml from the site's root $target = JPATH_ROOT . '/joomla.xml'; if (!@unlink($target)) { JFile::delete($target); } // Unset the update filename from the session JFactory::getApplication()->setUserState('com_joomlaupdate.file', null); } } home/academiac/www/administrator/components/com_virtuemart/views/user/tmpl/default.php 0000604 00000010414 15137220441 0025533 0 ustar 00 <?php /** * * User listing view * * @package VirtueMart * @subpackage User * @author Oscar van Eijk * @link http://www.virtuemart.net * @copyright Copyright (c) 2004 - 2010 VirtueMart Team. All rights reserved. * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php * VirtueMart is free software. This version may have been modified pursuant * to the GNU General Public License, and as distributed it includes or * is derivative of works licensed under the GNU General Public License or * other free or open source software licenses. * @version $Id: default.php 6477 2012-09-24 14:33:54Z Milbo $ */ // Check to ensure this file is included in Joomla! defined('_JEXEC') or die('Restricted access'); AdminUIHelper::startAdminArea($this); ?> <form action="<?php echo JRoute::_( 'index.php' );?>" method="post" name="adminForm" id="adminForm"> <div id="header"> <div id="filterbox"> <table> <tr> <td width="100%"> <?php echo JText::_('COM_VIRTUEMART_FILTER'); ?>: <input type="text" name="search" id="search" value="<?php echo $this->lists['search'];?>" class="text_area" onchange="document.adminForm.submit();" /> <?php $selected = JRequest::getString('searchTable','juser'); $searchOptionTables = array( '0' => array('searchTable' => 'juser', 'searchTable_name' => JText::_('COM_VIRTUEMART_ONLY_JUSER')), '1' => array('searchTable' => 'all', 'searchTable_name' => JText::_('JALL')) ); echo JHTML::_('Select.genericlist', $searchOptionTables, 'searchTable', '', 'searchTable', 'searchTable_name', $selected ); ?> <button onclick="this.form.submit();"><?php echo JText::_('COM_VIRTUEMART_GO'); ?></button> <button onclick="document.adminForm.search.value='';this.form.submit();"><?php echo JText::_('COM_VIRTUEMART_RESET'); ?></button> </td> </tr> </table> </div> <div id="resultscounter"><?php echo $this->pagination->getResultsCounter();?></div> </div> <div id="editcell"> <table class="adminlist" cellspacing="0" cellpadding="0"> <thead> <tr> <th width="10"> <input type="checkbox" name="toggle" value="" onclick="checkAll(<?php echo count($this->userList); ?>);" /> </th> <th><?php echo $this->sort('ju.username', 'COM_VIRTUEMART_USERNAME') ?></th> <th><?php echo $this->sort('ju.name', 'COM_VIRTUEMART_USER_DISPLAYED_NAME') ?></th> <th><?php echo JText::_('COM_VIRTUEMART_EMAIL'); ?></th> <th><?php echo JText::_('COM_VIRTUEMART_USER_GROUP'); ?></th> <th><?php echo $this->sort('shopper_group_name', 'COM_VIRTUEMART_SHOPPERGROUP') ?></th> <?php if(Vmconfig::get('multix','none')!=='none'){ ?> <th width="80"><?php echo JText::_('COM_VIRTUEMART_USER_IS_VENDOR'); ?></th> <?php } ?> <th><?php echo JText::_('COM_VIRTUEMART_ID') ?></th> </tr> </thead> <?php $k = 0; for ($i = 0, $n = count($this->userList); $i < $n; $i++) { $row = $this->userList[$i]; $checked = JHTML::_('grid.id', $i, $row->id); $editlink = JROUTE::_('index.php?option=com_virtuemart&view=user&task=edit&virtuemart_user_id[]=' . $row->id); $is_vendor = $this->toggle($row->is_vendor, $i, 'toggle.user_is_vendor'); ?> <tr class="row<?php echo $k ; ?>"> <td> <?php echo $checked; ?> </td> <td align="left"> <a href="<?php echo $editlink; ?>"><?php echo $row->username; ?></a> </td> <td align="left"> <?php echo $row->name; ?> </td> <td align="left"> <?php echo $row->email; ?> </td> <td align="left"> <?php echo $this->perm->getPermissions($row->id); // if(empty($row->perms)) $row->perms = 'shopper'; // echo $row->perms . ' / (' . $row->usertype . ')'; ?> </td> <td align="left"> <?php if(empty($row->shopper_group_name)) $row->shopper_group_name = $this->defaultShopperGroup; echo $row->shopper_group_name; ?> </td> <?php if(Vmconfig::get('multix','none')!=='none'){ ?> <td align="center"> <?php echo $is_vendor; ?> </td> <?php } ?> <td align="right"> <?php echo $row->id; ?> </td> </tr> <?php $k = 1 - $k; } ?> <tfoot> <tr> <td colspan="11"> <?php echo $this->pagination->getListFooter(); ?> </td> </tr> </tfoot> </table> </div> <?php echo $this->addStandardHiddenToForm(); ?> </form> <?php AdminUIHelper::endAdminArea(); ?> home/academiac/www/modules/mod_virtuemart_manufacturer/tmpl/default.php 0000604 00000004126 15137225523 0022611 0 ustar 00 <?php // no direct access defined('_JEXEC') or die('Restricted access'); $col= 1 ; ?> <div class="vmgroup<?php echo $params->get( 'moduleclass_sfx' ) ?>"> <?php if ($headerText) : ?> <div class="vmheader"><?php echo $headerText ?></div> <?php endif; if ($display_style =="div") { ?> <div class="vmmanufacturer<?php echo $params->get('moduleclass_sfx'); ?>"> <?php foreach ($manufacturers as $manufacturer) { $link = JROUTE::_('index.php?option=com_virtuemart&view=manufacturer&virtuemart_manufacturer_id=' . $manufacturer->virtuemart_manufacturer_id); ?> <div style="float:left;"> <a href="<?php echo $link; ?>"> <?php if ($manufacturer->images && ($show == 'image' or $show == 'all' )) { ?> <?php echo $manufacturer->images[0]->displayMediaThumb('',false);?> <?php } if ($show == 'text' or $show == 'all' ) { ?> <div><?php echo $manufacturer->mf_name; ?></div> <?php } ?> </a> </div> <?php if ($col == $manufacturers_per_row) { echo "</div><div style='clear:both;'>"; $col= 1 ; } else { $col++; } } ?> </div> <br style='clear:both;' /> <?php } else { $last = count($manufacturers)-1; ?> <ul class="vmmanufacturer<?php echo $params->get('moduleclass_sfx'); ?>"> <?php foreach ($manufacturers as $manufacturer) { $link = JROUTE::_('index.php?option=com_virtuemart&view=manufacturer&virtuemart_manufacturer_id=' . $manufacturer->virtuemart_manufacturer_id); ?> <li><a href="<?php echo $link; ?>"> <?php if ($manufacturer->images && ($show == 'image' or $show == 'all' )) { ?> <?php echo $manufacturer->images[0]->displayMediaThumb('',false);?> <?php } if ($show == 'text' or $show == 'all' ) { ?> <div><?php echo $manufacturer->mf_name; ?></div> <?php } ?> </a> </li> <?php if ($col == $manufacturers_per_row && $manufacturers_per_row && $last) { echo '</ul><ul class="vmmanufacturer'.$params->get('moduleclass_sfx').'">'; $col= 1 ; } else { $col++; } $last--; } ?> </ul> <?php } if ($footerText) : ?> <div class="vmfooter<?php echo $params->get( 'moduleclass_sfx' ) ?>"> <?php echo $footerText ?> </div> <?php endif; ?> </div> home/academiac/www/administrator/templates/hathor/html/com_modules/modules/default.php 0000644 00000023661 15137246164 0025452 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Templates.hathor * @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt * @since 1.6 */ // No direct access. defined('_JEXEC') or die; // Include the component HTML helpers. JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); JHtml::_('behavior.tooltip'); JHtml::_('behavior.multiselect'); $client = $this->state->get('filter.client_id') ? 'administrator' : 'site'; $user = JFactory::getUser(); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); $canOrder = $user->authorise('core.edit.state', 'com_modules'); $saveOrder = $listOrder == 'ordering'; ?> <form action="<?php echo JRoute::_('index.php?option=com_modules'); ?>" method="post" name="adminForm" id="adminForm"> <fieldset id="filter-bar"> <legend class="element-invisible"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></legend> <div class="filter-search"> <label class="filter-search-lbl" for="filter_search"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></label> <input type="text" name="filter_search" id="filter_search" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" title="<?php echo JText::_('COM_MODULES_MODULES_FILTER_SEARCH_DESC'); ?>" /> <button type="submit"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button> <button type="button" onclick="document.id('filter_search').value='';this.form.submit();"><?php echo JText::_('JSEARCH_FILTER_CLEAR'); ?></button> </div> <div class="filter-select"> <label class="selectlabel" for="filter_client_id"> <?php echo JText::_('JGLOBAL_FILTER_CLIENT'); ?> </label> <select name="filter_client_id" class="inputbox" id="filter_client_id"> <?php echo JHtml::_('select.options', ModulesHelper::getClientOptions(), 'value', 'text', $this->state->get('filter.client_id'));?> </select> <label class="selectlabel" for="filter_state"> <?php echo JText::_('JOPTION_SELECT_PUBLISHED'); ?> </label> <select name="filter_state" class="inputbox" id="filter_state"> <option value=""><?php echo JText::_('JOPTION_SELECT_PUBLISHED');?></option> <?php echo JHtml::_('select.options', ModulesHelper::getStateOptions(), 'value', 'text', $this->state->get('filter.state'));?> </select> <label class="selectlabel" for="filter_position"> <?php echo JText::_('COM_MODULES_OPTION_SELECT_POSITION'); ?> </label> <select name="filter_position" class="inputbox" id="filter_position"> <option value=""><?php echo JText::_('COM_MODULES_OPTION_SELECT_POSITION');?></option> <?php echo JHtml::_('select.options', ModulesHelper::getPositions($this->state->get('filter.client_id')), 'value', 'text', $this->state->get('filter.position'));?> </select> <label class="selectlabel" for="filter_module"> <?php echo JText::_('COM_MODULES_OPTION_SELECT_MODULE'); ?> </label> <select name="filter_module" class="inputbox" id="filter_module"> <option value=""><?php echo JText::_('COM_MODULES_OPTION_SELECT_MODULE');?></option> <?php echo JHtml::_('select.options', ModulesHelper::getModules($this->state->get('filter.client_id')), 'value', 'text', $this->state->get('filter.module'));?> </select> <label class="selectlabel" for="filter_access"> <?php echo JText::_('JOPTION_SELECT_ACCESS'); ?> </label> <select name="filter_access" class="inputbox" id="filter_access"> <option value=""><?php echo JText::_('JOPTION_SELECT_ACCESS');?></option> <?php echo JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text', $this->state->get('filter.access'));?> </select> <label class="selectlabel" for="filter_language"> <?php echo JText::_('JOPTION_SELECT_LANGUAGE'); ?> </label> <select name="filter_language" class="inputbox" id="filter_language"> <option value=""><?php echo JText::_('JOPTION_SELECT_LANGUAGE');?></option> <?php echo JHtml::_('select.options', JHtml::_('contentlanguage.existing', true, true), 'value', 'text', $this->state->get('filter.language'));?> </select> <button type="submit" id="filter-go"> <?php echo JText::_('JSUBMIT'); ?></button> </div> </fieldset> <div class="clr"> </div> <table class="adminlist" id="modules-mgr"> <thead> <tr> <th class="checkmark-col"> <input type="checkbox" name="checkall-toggle" value="" title="<?php echo JText::_('JGLOBAL_CHECK_ALL'); ?>" onclick="Joomla.checkAll(this)" /> </th> <th class="title"> <?php echo JHtml::_('grid.sort', 'JGLOBAL_TITLE', 'title', $listDirn, $listOrder); ?> </th> <th class="width-5"> <?php echo JHtml::_('grid.sort', 'JSTATUS', 'published', $listDirn, $listOrder); ?> </th> <th class="width-20"> <?php echo JHtml::_('grid.sort', 'COM_MODULES_HEADING_POSITION', 'position', $listDirn, $listOrder); ?> </th> <th class="nowrap ordering-col"> <?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ORDERING', 'ordering', $listDirn, $listOrder); ?> <?php if ($canOrder && $saveOrder) :?> <?php echo JHtml::_('grid.order', $this->items, 'filesave.png', 'modules.saveorder'); ?> <?php endif; ?> </th> <th class="width-10"> <?php echo JHtml::_('grid.sort', 'COM_MODULES_HEADING_MODULE', 'name', $listDirn, $listOrder); ?> </th> <th class="width-10"> <?php echo JHtml::_('grid.sort', 'COM_MODULES_HEADING_PAGES', 'pages', $listDirn, $listOrder); ?> </th> <th class="title access-col"> <?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ACCESS', 'access', $listDirn, $listOrder); ?> </th> <th class="language-col"> <?php echo JHtml::_('grid.sort', 'JGRID_HEADING_LANGUAGE', 'language_title', $listDirn, $listOrder); ?> </th> <th class="nowrap id-col"> <?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ID', 'id', $listDirn, $listOrder); ?> </th> </tr> </thead> <tbody> <?php foreach ($this->items as $i => $item) : $ordering = ($listOrder == 'ordering'); $canCreate = $user->authorise('core.create', 'com_modules'); $canEdit = $user->authorise('core.edit', 'com_modules'); $canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out==$user->get('id') || $item->checked_out==0; $canChange = $user->authorise('core.edit.state', 'com_modules') && $canCheckin; ?> <tr class="row<?php echo $i % 2; ?>"> <td class="center"> <?php echo JHtml::_('grid.id', $i, $item->id); ?> </td> <td> <?php if ($item->checked_out) : ?> <?php echo JHtml::_('jgrid.checkedout', $i, $item->editor, $item->checked_out_time, 'modules.', $canCheckin); ?> <?php endif; ?> <?php if ($canEdit) : ?> <a href="<?php echo JRoute::_('index.php?option=com_modules&task=module.edit&id='.(int) $item->id); ?>"> <?php echo $this->escape($item->title); ?></a> <?php else : ?> <?php echo $this->escape($item->title); ?> <?php endif; ?> <?php if (!empty($item->note)) : ?> <p class="smallsub"> <?php echo JText::sprintf('JGLOBAL_LIST_NOTE', $this->escape($item->note));?></p> <?php endif; ?> </td> <td class="center"> <?php echo JHtml::_('modules.state', $item->published, $i, $canChange, 'cb'); ?> </td> <td class="center"> <?php echo $item->position; ?> </td> <td class="order"> <?php if ($canChange) : ?> <?php if ($saveOrder) :?> <?php if ($listDirn == 'asc') : ?> <span><?php echo $this->pagination->orderUpIcon($i, (@$this->items[$i-1]->position == $item->position), 'modules.orderup', 'JLIB_HTML_MOVE_UP', $ordering); ?></span> <span><?php echo $this->pagination->orderDownIcon($i, $this->pagination->total, (@$this->items[$i+1]->position == $item->position), 'modules.orderdown', 'JLIB_HTML_MOVE_DOWN', $ordering); ?></span> <?php elseif ($listDirn == 'desc') : ?> <span><?php echo $this->pagination->orderUpIcon($i, (@$this->items[$i-1]->position == $item->position), 'modules.orderdown', 'JLIB_HTML_MOVE_UP', $ordering); ?></span> <span><?php echo $this->pagination->orderDownIcon($i, $this->pagination->total, (@$this->items[$i+1]->position == $item->position), 'modules.orderup', 'JLIB_HTML_MOVE_DOWN', $ordering); ?></span> <?php endif; ?> <?php endif; ?> <?php $disabled = $saveOrder ? '' : 'disabled="disabled"'; ?> <input type="text" name="order[]" value="<?php echo $item->ordering;?>" <?php echo $disabled ?> class="text-area-order" title="<?php echo $item->title; ?> order" /> <?php else : ?> <?php echo $item->ordering; ?> <?php endif; ?> </td> <td class="left"> <?php echo $item->name;?> </td> <td class="center"> <?php echo $item->pages; ?> </td> <td class="center"> <?php echo $this->escape($item->access_level); ?> </td> <td class="center"> <?php if ($item->language==''):?> <?php echo JText::_('JDEFAULT'); ?> <?php elseif ($item->language=='*'):?> <?php echo JText::alt('JALL', 'language'); ?> <?php else:?> <?php echo $item->language_title ? $this->escape($item->language_title) : JText::_('JUNDEFINED'); ?> <?php endif;?> </td> <td class="center"> <?php echo (int) $item->id; ?> </td> </tr> <?php endforeach; ?> </tbody> </table> <?php //Load the batch processing form.is user is allowed ?> <?php if($user->authorize('core.create', 'com_modules') || $user->authorize('core.edit', 'com_modules')) : ?> <?php echo $this->loadTemplate('batch'); ?> <?php endif;?> <?php echo $this->pagination->getListFooter(); ?> <input type="hidden" name="task" value="" /> <input type="hidden" name="boxchecked" value="0" /> <input type="hidden" name="filter_order" value="<?php echo $listOrder; ?>" /> <input type="hidden" name="filter_order_Dir" value="<?php echo $listDirn; ?>" /> <?php echo JHtml::_('form.token'); ?> </form> home/academiac/www/administrator/templates/hathor/html/com_categories/categories/default.php 0000644 00000021307 15137246716 0026602 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Templates.hathor * @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt * @since 1.6 */ // no direct access defined('_JEXEC') or die; // Include the component HTML helpers. JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); JHtml::_('behavior.tooltip'); JHtml::_('behavior.multiselect'); $user = JFactory::getUser(); $userId = $user->get('id'); $extension = $this->escape($this->state->get('filter.extension')); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); $ordering = ($listOrder == 'a.lft'); $saveOrder = ($listOrder == 'a.lft' && $listDirn == 'asc'); ?> <div class="categories"> <form action="<?php echo JRoute::_('index.php?option=com_categories&view=categories');?>" method="post" name="adminForm" id="adminForm"> <fieldset id="filter-bar"> <legend class="element-invisible"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></legend> <div class="filter-search"> <label class="filter-search-lbl" for="filter_search"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></label> <input type="text" name="filter_search" id="filter_search" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" title="<?php echo JText::_('COM_CATEGORIES_ITEMS_SEARCH_FILTER'); ?>" /> <button type="submit"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button> <button type="button" onclick="document.id('filter_search').value='';this.form.submit();"><?php echo JText::_('JSEARCH_FILTER_CLEAR'); ?></button> </div> <div class="filter-select"> <label class="selectlabel" for="filter_level"><?php echo JText::_('JOPTION_SELECT_MAX_LEVELS'); ?></label> <select name="filter_level" class="inputbox" id="filter_level"> <option value=""><?php echo JText::_('JOPTION_SELECT_MAX_LEVELS');?></option> <?php echo JHtml::_('select.options', $this->f_levels, 'value', 'text', $this->state->get('filter.level'));?> </select> <label class="selectlabel" for="filter_published"><?php echo JText::_('JOPTION_SELECT_PUBLISHED'); ?></label> <select name="filter_published" class="inputbox" id="filter_published"> <option value=""><?php echo JText::_('JOPTION_SELECT_PUBLISHED');?></option> <?php echo JHtml::_('select.options', JHtml::_('jgrid.publishedOptions'), 'value', 'text', $this->state->get('filter.published'), true);?> </select> <label class="selectlabel" for="filter_access"><?php echo JText::_('JOPTION_SELECT_ACCESS'); ?></label> <select name="filter_access" class="inputbox" id="filter_access"> <option value=""><?php echo JText::_('JOPTION_SELECT_ACCESS');?></option> <?php echo JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text', $this->state->get('filter.access'));?> </select> <label class="selectlabel" for="filter_language"><?php echo JText::_('JOPTION_SELECT_LANGUAGE'); ?></label> <select name="filter_language" class="inputbox" id="filter_language"> <option value=""><?php echo JText::_('JOPTION_SELECT_LANGUAGE');?></option> <?php echo JHtml::_('select.options', JHtml::_('contentlanguage.existing', true, true), 'value', 'text', $this->state->get('filter.language'));?> </select> <button type="submit" id="filter-go"> <?php echo JText::_('JSUBMIT'); ?></button> </div> </fieldset> <div class="clr"> </div> <table class="adminlist"> <thead> <tr> <th class="checkmark-col"> <input type="checkbox" name="checkall-toggle" value="" title="<?php echo JText::_('JGLOBAL_CHECK_ALL'); ?>" onclick="Joomla.checkAll(this)" /> </th> <th class="title"> <?php echo JHtml::_('grid.sort', 'JGLOBAL_TITLE', 'a.title', $listDirn, $listOrder); ?> </th> <th class="nowrap state-col"> <?php echo JHtml::_('grid.sort', 'JSTATUS', 'a.published', $listDirn, $listOrder); ?> </th> <th class="nowrap ordering-col"> <?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ORDERING', 'a.lft', $listDirn, $listOrder); ?> <?php if ($saveOrder) :?> <?php echo JHtml::_('grid.order', $this->items, 'filesave.png', 'categories.saveorder'); ?> <?php endif; ?> </th> <th class="access-col"> <?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ACCESS', 'access_level', $listDirn, $listOrder); ?> </th> <th class="language-col"> <?php echo JHtml::_('grid.sort', 'JGRID_HEADING_LANGUAGE', 'language', $this->state->get('list.direction'), $this->state->get('list.ordering')); ?> </th> <th class="nowrap id-col"> <?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ID', 'a.id', $listDirn, $listOrder); ?> </th> </tr> </thead> <tbody> <?php $originalOrders = array(); foreach ($this->items as $i => $item) : $orderkey = array_search($item->id, $this->ordering[$item->parent_id]); $canEdit = $user->authorise('core.edit', $extension.'.category.'.$item->id); $canCheckin = $user->authorise('core.admin', 'com_checkin') || $item->checked_out == $userId || $item->checked_out == 0; $canEditOwn = $user->authorise('core.edit.own', $extension.'.category.'.$item->id) && $item->created_user_id == $userId; $canChange = $user->authorise('core.edit.state', $extension.'.category.'.$item->id) && $canCheckin; ?> <tr class="row<?php echo $i % 2; ?>"> <th class="center"> <?php echo JHtml::_('grid.id', $i, $item->id); ?> </th> <td> <?php echo str_repeat('<span class="gi">|—</span>', $item->level-1) ?> <?php if ($item->checked_out) : ?> <?php echo JHtml::_('jgrid.checkedout', $i, $item->editor, $item->checked_out_time, 'categories.', $canCheckin); ?> <?php endif; ?> <?php if ($canEdit || $canEditOwn) : ?> <a href="<?php echo JRoute::_('index.php?option=com_categories&task=category.edit&id='.$item->id.'&extension='.$extension);?>"> <?php echo $this->escape($item->title); ?></a> <?php else : ?> <?php echo $this->escape($item->title); ?> <?php endif; ?> <p class="smallsub" title="<?php echo $this->escape($item->path);?>"> <?php echo str_repeat('<span class="gtr">|—</span>', $item->level-1) ?> <?php if (empty($item->note)) : ?> <?php echo JText::sprintf('JGLOBAL_LIST_ALIAS', $this->escape($item->alias));?> <?php else : ?> <?php echo JText::sprintf('JGLOBAL_LIST_ALIAS_NOTE', $this->escape($item->alias), $this->escape($item->note));?> <?php endif; ?></p> </td> <td class="center"> <?php echo JHtml::_('jgrid.published', $item->published, $i, 'categories.', $canChange);?> </td> <td class="order"> <?php if ($canChange) : ?> <?php if ($saveOrder) : ?> <span><?php echo $this->pagination->orderUpIcon($i, isset($this->ordering[$item->parent_id][$orderkey - 1]), 'categories.orderup', 'JLIB_HTML_MOVE_UP', $ordering); ?></span> <span><?php echo $this->pagination->orderDownIcon($i, $this->pagination->total, isset($this->ordering[$item->parent_id][$orderkey + 1]), 'categories.orderdown', 'JLIB_HTML_MOVE_DOWN', $ordering); ?></span> <?php endif; ?> <?php $disabled = $saveOrder ? '' : 'disabled="disabled"'; ?> <input type="text" name="order[]" value="<?php echo $orderkey + 1;?>" <?php echo $disabled ?> class="text-area-order" title="<?php echo $item->title; ?> order" /> <?php $originalOrders[] = $orderkey + 1; ?> <?php else : ?> <?php echo $orderkey + 1;?> <?php endif; ?> </td> <td class="center"> <?php echo $this->escape($item->access_level); ?> </td> <td class="center nowrap"> <?php if ($item->language=='*'):?> <?php echo JText::alt('JALL', 'language'); ?> <?php else:?> <?php echo $item->language_title ? $this->escape($item->language_title) : JText::_('JUNDEFINED'); ?> <?php endif;?> </td> <td class="center"> <span title="<?php echo sprintf('%d-%d', $item->lft, $item->rgt);?>"> <?php echo (int) $item->id; ?></span> </td> </tr> <?php endforeach; ?> </tbody> </table> <?php echo $this->pagination->getListFooter(); ?> <div class="clr"> </div> <?php //Load the batch processing form. ?> <?php echo $this->loadTemplate('batch'); ?> <input type="hidden" name="extension" value="<?php echo $extension;?>" /> <input type="hidden" name="task" value="" /> <input type="hidden" name="boxchecked" value="0" /> <input type="hidden" name="filter_order" value="<?php echo $listOrder; ?>" /> <input type="hidden" name="filter_order_Dir" value="<?php echo $listDirn; ?>" /> <input type="hidden" name="original_order_values" value="<?php echo implode($originalOrders, ','); ?>" /> <?php echo JHtml::_('form.token'); ?> </form> </div> home/academiac/www/templates/mw_business/html/com_content/featured/default.php 0000604 00000004175 15137253576 0023774 0 ustar 00 <?php defined('_JEXEC') or die; require_once dirname(__FILE__) . str_replace('/', DIRECTORY_SEPARATOR, '/../../../functions.php'); JHtml::addIncludePath(JPATH_COMPONENT . '/helpers'); $view = new ArtxContent($this, $this->params); echo $view->beginPageContainer('blog-featured'); if (strlen($view->pageHeading)) echo $view->pageHeading(); $leadingcount = 0; if (!empty($this->lead_items)) { echo '<div class="items-leading">'; foreach ($this->lead_items as $item) { echo '<div class="leading-' . $leadingcount . ($item->state == 0 ? ' system-unpublished' : '') . '">'; $this->item = $item; echo $this->loadTemplate('item'); echo '</div>'; $leadingcount++; } echo '</div>'; } $introcount = count($this->intro_items); $counter = 0; if (!empty($this->intro_items)) { foreach ($this->intro_items as $key => $item) { $key = ($key - $leadingcount) + 1; $rowcount = (((int)$key - 1) % (int)$this->columns) + 1; $row = $counter / $this->columns; if ($rowcount == 1) echo '<div class="items-row cols-' . (int) $this->columns . ' row-' . $row . '">'; echo '<div class="item column-' . $rowcount . ($item->state == 0 ? ' system-unpublished"' : '') . '">'; $this->item = $item; echo $this->loadTemplate('item'); echo '</div>'; $counter++; if ($rowcount == $this->columns || $counter == $introcount) echo '<span class="row-separator"></span></div>'; } } if (!empty($this->link_items)) { ob_start(); echo '<div class="items-more">' . $this->loadTemplate('links') . '</div>'; echo artxPost(ob_get_clean()); } if ($this->params->def('show_pagination', 2) == 1 || ($this->params->get('show_pagination') == 2 && $this->pagination->get('pages.total') > 1)) { ob_start(); echo '<div class="pagination">'; if ($this->params->def('show_pagination_results', 1)) echo '<p class="counter">' . $this->pagination->getPagesCounter() . '</p>'; echo $this->pagination->getPagesLinks(); echo '</div>'; echo artxPost(ob_get_clean()); } echo $view->endPageContainer(); home/academiac/www/templates/mw_business/html/com_content/article/default.php 0000604 00000005575 15137253604 0023615 0 ustar 00 <?php defined('_JEXEC') or die; require_once dirname(__FILE__) . str_replace('/', DIRECTORY_SEPARATOR, '/../../../functions.php'); JHtml::addIncludePath(JPATH_COMPONENT . '/helpers'); $component = new ArtxContent($this, $this->params); $article = $component->article('article', $this->item, $this->item->params, array('print' => $this->print)); echo $component->beginPageContainer('item-page'); if (strlen($article->pageHeading)) echo $component->pageHeading($article->pageHeading); $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 ($article->printIconVisible) $params['metadata-header-icons'][] = $article->printIcon(); if ($article->emailIconVisible) $params['metadata-header-icons'][] = $article->emailIcon(); if ($article->editIconVisible) $params['metadata-header-icons'][] = $article->editIcon(); if (strlen($article->hits)) $params['metadata-header-icons'][] = $article->hitsInfo($article->hits); // Build article content $content = ''; if (!$article->introVisible) $content .= $article->event('afterDisplayTitle'); $content .= $article->event('beforeDisplayContent'); if (strlen($article->toc)) $content .= $article->toc($article->toc); if (strlen($article->text)) $content .= $article->text($article->text); if ($article->introVisible) $content .= $article->intro($article->intro); if (strlen($article->readmore)) $content .= $article->readmore($article->readmore, $article->readmoreLink); $content .= $article->event('afterDisplayContent'); $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); echo $component->endPageContainer();
©
2018.