You've already forked joomla_test
first commit
This commit is contained in:
@ -0,0 +1,58 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
jimport('joomla.language.help');
|
||||
?>
|
||||
<form action="<?php echo JRoute::_('index.php?option=com_admin&view=help'); ?>" method="post" name="adminForm" id="adminForm">
|
||||
<div class="width-40 fltlft">
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo JText::_('COM_ADMIN_SEARCH'); ?></legend>
|
||||
<input class="textarea" type="hidden" name="option" value="com_admin" />
|
||||
<input type="text" name="helpsearch" size="40" value="<?php echo $this->escape($this->help_search);?>" class="inputbox" />
|
||||
<input type="submit" value="<?php echo JText::_('COM_ADMIN_GO'); ?>" class="button" />
|
||||
<input type="button" value="<?php echo JText::_('COM_ADMIN_CLEAR_RESULTS'); ?>" class="button" onclick="f=document.adminForm;f.helpsearch.value='';f.submit()" />
|
||||
</fieldset>
|
||||
</div>
|
||||
<div class="width-50 fltrt helplinks">
|
||||
<ul class="helpmenu">
|
||||
<li><?php echo JHtml::_('link', JHelp::createUrl('JHELP_GLOSSARY'), JText::_('COM_ADMIN_GLOSSARY'), array('target' => 'helpFrame')) ?></li>
|
||||
<li><?php echo JHtml::_('link', 'http://www.gnu.org/licenses/gpl-2.0.html', JText::_('COM_ADMIN_LICENSE'), array('target' => 'helpFrame')) ?></li>
|
||||
<li><?php echo JHtml::_('link', $this->latest_version_check, JText::_('COM_ADMIN_LATEST_VERSION_CHECK'), array('target' => 'helpFrame')) ?></li>
|
||||
<li><?php echo JHtml::_('link', JHelp::createUrl('JHELP_START_HERE'), JText::_('COM_ADMIN_START_HERE'), array('target' => 'helpFrame')) ?></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="clr"> </div>
|
||||
<div id="treecellhelp" class="width-20 fltleft">
|
||||
<fieldset class="adminform whitebg" title="<?php echo JText::_('COM_ADMIN_ALPHABETICAL_INDEX'); ?>">
|
||||
<legend><?php echo JText::_('COM_ADMIN_ALPHABETICAL_INDEX'); ?></legend>
|
||||
|
||||
<div class="helpIndex">
|
||||
<ul class="subext">
|
||||
<?php foreach ($this->toc as $k => $v):?>
|
||||
<li>
|
||||
<?php $url = JHelp::createUrl('JHELP_'.strtoupper($k)); ?>
|
||||
<?php echo JHtml::_('link', $url, $v, array('target' => 'helpFrame'));?>
|
||||
</li>
|
||||
<?php endforeach;?>
|
||||
</ul>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
<div id="datacellhelp" class="width-80 fltrt">
|
||||
<fieldset title="<?php echo JText::_('COM_ADMIN_VIEW'); ?>">
|
||||
<legend>
|
||||
<?php echo JText::_('COM_ADMIN_VIEW'); ?>
|
||||
</legend>
|
||||
<iframe name="helpFrame" src="<?php echo $this->page;?>" class="helpFrame"></iframe>
|
||||
</fieldset>
|
||||
</div>
|
||||
</form>
|
||||
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
||||
1
administrator/templates/hathor/html/com_admin/index.html
Normal file
1
administrator/templates/hathor/html/com_admin/index.html
Normal file
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
||||
@ -0,0 +1,72 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// Include the component HTML helpers.
|
||||
JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
|
||||
|
||||
JHtml::_('behavior.formvalidation');
|
||||
|
||||
// Get the form fieldsets.
|
||||
$fieldsets = $this->form->getFieldsets();
|
||||
?>
|
||||
|
||||
<script type="text/javascript">
|
||||
Joomla.submitbutton = function(task)
|
||||
{
|
||||
if (task == 'profile.cancel' || document.formvalidator.isValid(document.id('profile-form')))
|
||||
{
|
||||
Joomla.submitform(task, document.getElementById('profile-form'));
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<form action="<?php echo JRoute::_('index.php?option=com_admin&view=profile&layout=edit&id='.$this->item->id); ?>" method="post" name="adminForm" id="profile-form" class="form-validate" enctype="multipart/form-data">
|
||||
<div class="col main-section">
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo JText::_('COM_ADMIN_USER_ACCOUNT_DETAILS'); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset('user_details') as $field) : ?>
|
||||
<li><?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?></li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
<div class="col options-section">
|
||||
<?php
|
||||
echo JHtml::_('sliders.start');
|
||||
foreach ($fieldsets as $fieldset) :
|
||||
if ($fieldset->name == 'user_details') :
|
||||
continue;
|
||||
endif;
|
||||
echo JHtml::_('sliders.panel', JText::_($fieldset->label), $fieldset->name);
|
||||
?>
|
||||
<fieldset class="panelform">
|
||||
<legend class="element-invisible"><?php echo JText::_($fieldset->label); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset($fieldset->name) as $field) : ?>
|
||||
<?php if ($field->hidden) : ?>
|
||||
<?php echo $field->input; ?>
|
||||
<?php else: ?>
|
||||
<li><?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?></li>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
<?php endforeach; ?>
|
||||
<?php echo JHtml::_('sliders.end'); ?>
|
||||
|
||||
<input type="hidden" name="task" value="" />
|
||||
<?php echo JHtml::_('form.token'); ?>
|
||||
</div>
|
||||
</form>
|
||||
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
||||
@ -0,0 +1,62 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// Add specific helper files for html generation
|
||||
JHtml::addIncludePath(JPATH_COMPONENT . '/helpers/html');
|
||||
// Load switcher behavior
|
||||
JHtml::_('behavior.switcher');
|
||||
?>
|
||||
|
||||
<form action="<?php echo JRoute::_('index.php'); ?>" method="post" name="adminForm" id="adminForm">
|
||||
<div id="config-document">
|
||||
<div id="page-site" class="tab">
|
||||
<div class="noshow">
|
||||
<div class="width-100">
|
||||
<?php echo $this->loadTemplate('system'); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="page-phpsettings" class="tab">
|
||||
<div class="noshow">
|
||||
<div class="width-60">
|
||||
<?php echo $this->loadTemplate('phpsettings'); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="page-config" class="tab">
|
||||
<div class="noshow">
|
||||
<div class="width-60">
|
||||
<?php echo $this->loadTemplate('config'); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="page-directory" class="tab">
|
||||
<div class="noshow">
|
||||
<div class="width-60">
|
||||
<?php echo $this->loadTemplate('directory'); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="page-phpinfo" class="tab">
|
||||
<div class="noshow">
|
||||
<div class="width-100">
|
||||
<?php echo $this->loadTemplate('phpinfo'); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="clr"></div>
|
||||
</form>
|
||||
@ -0,0 +1,43 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
?>
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo JText::_('COM_ADMIN_CONFIGURATION_FILE'); ?></legend>
|
||||
<table class="adminlist">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="300">
|
||||
<?php echo JText::_('COM_ADMIN_SETTING'); ?>
|
||||
</th>
|
||||
<th>
|
||||
<?php echo JText::_('COM_ADMIN_VALUE'); ?>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="2"> </td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
<tbody>
|
||||
<?php foreach ($this->config as $key => $value):?>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo $key;?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo htmlspecialchars($value, ENT_QUOTES);?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach;?>
|
||||
</tbody>
|
||||
</table>
|
||||
</fieldset>
|
||||
@ -0,0 +1,43 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
?>
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo JText::_('COM_ADMIN_DIRECTORY_PERMISSIONS'); ?></legend>
|
||||
<table class="adminlist">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="650">
|
||||
<?php echo JText::_('COM_ADMIN_DIRECTORY'); ?>
|
||||
</th>
|
||||
<th>
|
||||
<?php echo JText::_('COM_ADMIN_STATUS'); ?>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="2"> </td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
<tbody>
|
||||
<?php foreach ($this->directory as $dir => $info) : ?>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo JHtml::_('directory.message', $dir, $info['message']);?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo JHtml::_('directory.writable', $info['writable']);?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</fieldset>
|
||||
@ -0,0 +1,41 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
?>
|
||||
<div id="submenu-box">
|
||||
<div class="submenu-box">
|
||||
<div class="submenu-pad">
|
||||
<ul id="submenu" class="information nav nav-list">
|
||||
<li>
|
||||
<a href="#" onclick="return false;" id="site" class="active">
|
||||
<?php echo JText::_('COM_ADMIN_SYSTEM_INFORMATION'); ?></a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" onclick="return false;" id="phpsettings">
|
||||
<?php echo JText::_('COM_ADMIN_PHP_SETTINGS'); ?></a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" onclick="return false;" id="config">
|
||||
<?php echo JText::_('COM_ADMIN_CONFIGURATION_FILE'); ?></a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" onclick="return false;" id="directory">
|
||||
<?php echo JText::_('COM_ADMIN_DIRECTORY_PERMISSIONS'); ?></a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" onclick="return false;" id="phpinfo">
|
||||
<?php echo JText::_('COM_ADMIN_PHP_INFORMATION'); ?></a>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="clr"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clr"></div>
|
||||
</div>
|
||||
@ -0,0 +1,162 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
?>
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo JText::_('COM_ADMIN_RELEVANT_PHP_SETTINGS'); ?></legend>
|
||||
<table class="adminlist">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="250">
|
||||
<?php echo JText::_('COM_ADMIN_SETTING'); ?>
|
||||
</th>
|
||||
<th>
|
||||
<?php echo JText::_('COM_ADMIN_VALUE'); ?>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="2"> 
|
||||
</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo JText::_('COM_ADMIN_SAFE_MODE'); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo JHtml::_('phpsetting.boolean', $this->php_settings['safe_mode']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo JText::_('COM_ADMIN_OPEN_BASEDIR'); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo JHtml::_('phpsetting.string', $this->php_settings['open_basedir']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo JText::_('COM_ADMIN_DISPLAY_ERRORS'); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo JHtml::_('phpsetting.boolean', $this->php_settings['display_errors']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo JText::_('COM_ADMIN_SHORT_OPEN_TAGS'); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo JHtml::_('phpsetting.boolean', $this->php_settings['short_open_tag']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo JText::_('COM_ADMIN_FILE_UPLOADS'); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo JHtml::_('phpsetting.boolean', $this->php_settings['file_uploads']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo JText::_('COM_ADMIN_MAGIC_QUOTES'); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo JHtml::_('phpsetting.boolean', $this->php_settings['magic_quotes_gpc']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo JText::_('COM_ADMIN_REGISTER_GLOBALS'); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo JHtml::_('phpsetting.boolean', $this->php_settings['register_globals']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo JText::_('COM_ADMIN_OUTPUT_BUFFERING'); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo JHtml::_('phpsetting.boolean', $this->php_settings['output_buffering']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo JText::_('COM_ADMIN_SESSION_SAVE_PATH'); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo JHtml::_('phpsetting.string', $this->php_settings['session.save_path']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo JText::_('COM_ADMIN_SESSION_AUTO_START'); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo JHtml::_('phpsetting.integer', $this->php_settings['session.auto_start']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo JText::_('COM_ADMIN_XML_ENABLED'); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo JHtml::_('phpsetting.set', $this->php_settings['xml']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo JText::_('COM_ADMIN_ZLIB_ENABLED'); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo JHtml::_('phpsetting.set', $this->php_settings['zlib']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo JText::_('COM_ADMIN_ZIP_ENABLED'); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo JHtml::_('phpsetting.set', $this->php_settings['zip']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo JText::_('COM_ADMIN_DISABLED_FUNCTIONS'); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo JHtml::_('phpsetting.string', $this->php_settings['disable_functions']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo JText::_('COM_ADMIN_MBSTRING_ENABLED'); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo JHtml::_('phpsetting.set', $this->php_settings['mbstring']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo JText::_('COM_ADMIN_ICONV_AVAILABLE'); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo JHtml::_('phpsetting.set', $this->php_settings['iconv']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</fieldset>
|
||||
@ -0,0 +1,106 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
?>
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo JText::_('COM_ADMIN_SYSTEM_INFORMATION'); ?></legend>
|
||||
<table class="adminlist">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="250">
|
||||
<?php echo JText::_('COM_ADMIN_SETTING'); ?>
|
||||
</th>
|
||||
<th>
|
||||
<?php echo JText::_('COM_ADMIN_VALUE'); ?>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="2"> 
|
||||
</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<strong><?php echo JText::_('COM_ADMIN_PHP_BUILT_ON'); ?></strong>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo $this->info['php'];?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<strong><?php echo JText::_('COM_ADMIN_DATABASE_VERSION'); ?></strong>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo $this->info['dbversion'];?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<strong><?php echo JText::_('COM_ADMIN_DATABASE_COLLATION'); ?></strong>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo $this->info['dbcollation'];?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<strong><?php echo JText::_('COM_ADMIN_PHP_VERSION'); ?></strong>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo $this->info['phpversion'];?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<strong><?php echo JText::_('COM_ADMIN_WEB_SERVER'); ?></strong>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo JHtml::_('system.server', $this->info['server']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<strong><?php echo JText::_('COM_ADMIN_WEBSERVER_TO_PHP_INTERFACE'); ?></strong>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo $this->info['sapi_name'];?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<strong><?php echo JText::_('COM_ADMIN_JOOMLA_VERSION'); ?></strong>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo $this->info['version'];?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<strong><?php echo JText::_('COM_ADMIN_PLATFORM_VERSION'); ?></strong>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo $this->info['platform'];?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<strong><?php echo JText::_('COM_ADMIN_USER_AGENT'); ?></strong>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo $this->info['useragent'];?>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</fieldset>
|
||||
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
||||
133
administrator/templates/hathor/html/com_banners/banner/edit.php
Normal file
133
administrator/templates/hathor/html/com_banners/banner/edit.php
Normal file
@ -0,0 +1,133 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
|
||||
|
||||
JHtml::_('behavior.formvalidation');
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
Joomla.submitbutton = function(task)
|
||||
{
|
||||
if (task == 'banner.cancel' || document.formvalidator.isValid(document.id('banner-form')))
|
||||
{
|
||||
Joomla.submitform(task, document.getElementById('banner-form'));
|
||||
}
|
||||
}
|
||||
window.addEvent('domready', function()
|
||||
{
|
||||
document.id('jform_type0').addEvent('click', function(e){
|
||||
document.id('image').setStyle('display', 'block');
|
||||
document.id('url').setStyle('display', 'block');
|
||||
document.id('custom').setStyle('display', 'none');
|
||||
});
|
||||
document.id('jform_type1').addEvent('click', function(e){
|
||||
document.id('image').setStyle('display', 'none');
|
||||
document.id('url').setStyle('display', 'none');
|
||||
document.id('custom').setStyle('display', 'block');
|
||||
});
|
||||
|
||||
if (document.id('jform_type0').checked==true)
|
||||
{
|
||||
document.id('jform_type0').fireEvent('click');
|
||||
}
|
||||
else
|
||||
{
|
||||
document.id('jform_type1').fireEvent('click');
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<form action="<?php echo JRoute::_('index.php?option=com_banners&layout=edit&id='.(int) $this->item->id); ?>" method="post" name="adminForm" id="banner-form" class="form-validate">
|
||||
<div class="col main-section">
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo empty($this->item->id) ? JText::_('COM_BANNERS_NEW_BANNER') : JText::sprintf('COM_BANNERS_BANNER_DETAILS', $this->item->id); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<li><?php echo $this->form->getLabel('name'); ?>
|
||||
<?php echo $this->form->getInput('name'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('alias'); ?>
|
||||
<?php echo $this->form->getInput('alias'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('access'); ?>
|
||||
<?php echo $this->form->getInput('access'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('catid'); ?>
|
||||
<?php echo $this->form->getInput('catid'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('state'); ?>
|
||||
<?php echo $this->form->getInput('state'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('type'); ?>
|
||||
<?php echo $this->form->getInput('type'); ?></li>
|
||||
|
||||
<?php foreach ($this->form->getFieldset('image') as $field) : ?>
|
||||
<li><?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?></li>
|
||||
<?php endforeach; ?>
|
||||
|
||||
<li><div id="custom">
|
||||
<?php echo $this->form->getLabel('custombannercode'); ?>
|
||||
<?php echo $this->form->getInput('custombannercode'); ?>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li><div id="url">
|
||||
<?php echo $this->form->getLabel('clickurl'); ?>
|
||||
<?php echo $this->form->getInput('clickurl'); ?>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('description'); ?>
|
||||
<?php echo $this->form->getInput('description'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('language'); ?>
|
||||
<?php echo $this->form->getInput('language'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('id'); ?>
|
||||
<?php echo $this->form->getInput('id'); ?></li>
|
||||
</ul>
|
||||
<div class="clr"> </div>
|
||||
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
<div class="col options-section">
|
||||
<?php echo JHtml::_('sliders.start', 'banner-sliders-' . $this->item->id, array('useCookie' => 1)); ?>
|
||||
|
||||
<?php echo JHtml::_('sliders.panel', JText::_('COM_BANNERS_GROUP_LABEL_PUBLISHING_DETAILS'), 'publishing-details'); ?>
|
||||
<fieldset class="panelform">
|
||||
<legend class="element-invisible"><?php echo JText::_('JGLOBAL_FIELDSET_PUBLISHING'); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset('publish') as $field) : ?>
|
||||
<li><?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?></li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
|
||||
<?php echo JHtml::_('sliders.panel', JText::_('JGLOBAL_FIELDSET_METADATA_OPTIONS'), 'metadata'); ?>
|
||||
<fieldset class="panelform">
|
||||
<legend class="element-invisible"><?php echo JText::_('JGLOBAL_FIELDSET_METADATA_OPTIONS'); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset('metadata') as $field) : ?>
|
||||
<li><?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?></li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
|
||||
<?php echo JHtml::_('sliders.end'); ?>
|
||||
<input type="hidden" name="task" value="" />
|
||||
<?php echo JHtml::_('form.token'); ?>
|
||||
</div>
|
||||
|
||||
<div class="clr"></div>
|
||||
</form>
|
||||
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
||||
@ -0,0 +1,228 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
|
||||
|
||||
JHtml::_('behavior.multiselect');
|
||||
JHtml::_('behavior.modal');
|
||||
|
||||
$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">
|
||||
<?php if (!empty( $this->sidebar)) : ?>
|
||||
<div id="j-sidebar-container" class="span2">
|
||||
<?php echo $this->sidebar; ?>
|
||||
</div>
|
||||
<div id="j-main-container" class="span10">
|
||||
<?php else : ?>
|
||||
<div id="j-main-container">
|
||||
<?php endif;?>
|
||||
<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'); ?>
|
||||
</div>
|
||||
</form>
|
||||
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
||||
101
administrator/templates/hathor/html/com_banners/client/edit.php
Normal file
101
administrator/templates/hathor/html/com_banners/client/edit.php
Normal file
@ -0,0 +1,101 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
|
||||
|
||||
JHtml::_('behavior.formvalidation');
|
||||
$canDo = BannersHelper::getActions();
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
Joomla.submitbutton = function(task)
|
||||
{
|
||||
if (task == 'client.cancel' || document.formvalidator.isValid(document.id('client-form')))
|
||||
{
|
||||
Joomla.submitform(task, document.getElementById('client-form'));
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<form action="<?php echo JRoute::_('index.php?option=com_banners&layout=edit&id='.(int) $this->item->id); ?>" method="post" name="adminForm" id="client-form" class="form-validate">
|
||||
|
||||
<div class="col main-section">
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo empty($this->item->id) ? JText::_('COM_BANNERS_NEW_CLIENT') : JText::sprintf('COM_BANNERS_EDIT_CLIENT', $this->item->id); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<li><?php echo $this->form->getLabel('name'); ?>
|
||||
<?php echo $this->form->getInput('name'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('contact'); ?>
|
||||
<?php echo $this->form->getInput('contact'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('email'); ?>
|
||||
<?php echo $this->form->getInput('email'); ?></li>
|
||||
|
||||
<?php if ($canDo->get('core.edit.state')) : ?>
|
||||
<li><?php echo $this->form->getLabel('state'); ?>
|
||||
<?php echo $this->form->getInput('state'); ?></li>
|
||||
<?php endif; ?>
|
||||
|
||||
<li><?php echo $this->form->getLabel('purchase_type'); ?>
|
||||
<?php echo $this->form->getInput('purchase_type'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('track_impressions'); ?>
|
||||
<?php echo $this->form->getInput('track_impressions'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('track_clicks'); ?>
|
||||
<?php echo $this->form->getInput('track_clicks'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('id'); ?>
|
||||
<?php echo $this->form->getInput('id'); ?></li>
|
||||
</ul>
|
||||
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
<div class="col options-section">
|
||||
<?php echo JHtml::_('sliders.start', 'banner-client-sliders-' . $this->item->id, array('useCookie' => 1)); ?>
|
||||
|
||||
<?php echo JHtml::_('sliders.panel', JText::_('JGLOBAL_FIELDSET_METADATA_OPTIONS'), 'metadata'); ?>
|
||||
<fieldset class="panelform">
|
||||
<legend class="element-invisible"><?php echo JText::_('JGLOBAL_FIELDSET_METADATA_OPTIONS'); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset('metadata') as $field) : ?>
|
||||
<li>
|
||||
<?php if (!$field->hidden) : ?>
|
||||
<?php echo $field->label; ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $field->input; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
|
||||
<?php echo JHtml::_('sliders.panel', JText::_('COM_BANNERS_EXTRA'), 'extra'); ?>
|
||||
<fieldset class="panelform">
|
||||
<legend class="element-invisible"><?php echo JText::_('COM_BANNERS_EXTRA'); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset('extra') as $field) : ?>
|
||||
<li><?php if (!$field->hidden) : ?>
|
||||
<?php echo $field->label; ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $field->input; ?></li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
|
||||
<?php echo JHtml::_('sliders.end'); ?>
|
||||
|
||||
<input type="hidden" name="task" value="" />
|
||||
<?php echo JHtml::_('form.token'); ?>
|
||||
</div>
|
||||
|
||||
<div class="clr"></div>
|
||||
</form>
|
||||
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
||||
@ -0,0 +1,143 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
|
||||
|
||||
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">
|
||||
<?php if (!empty( $this->sidebar)) : ?>
|
||||
<div id="j-sidebar-container" class="span2">
|
||||
<?php echo $this->sidebar; ?>
|
||||
</div>
|
||||
<div id="j-main-container" class="span10">
|
||||
<?php else : ?>
|
||||
<div id="j-main-container">
|
||||
<?php endif;?>
|
||||
<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'); ?>
|
||||
</div>
|
||||
</form>
|
||||
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
||||
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
||||
@ -0,0 +1,130 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
JHtml::addIncludePath(JPATH_COMPONENT . '/helpers/html');
|
||||
|
||||
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">
|
||||
<?php if (!empty( $this->sidebar)) : ?>
|
||||
<div id="j-sidebar-container" class="span2">
|
||||
<?php echo $this->sidebar; ?>
|
||||
</div>
|
||||
<div id="j-main-container" class="span10">
|
||||
<?php else : ?>
|
||||
<div id="j-main-container">
|
||||
<?php endif;?>
|
||||
<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'); ?>
|
||||
</div>
|
||||
</form>
|
||||
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
||||
91
administrator/templates/hathor/html/com_cache/cache/default.php
vendored
Normal file
91
administrator/templates/hathor/html/com_cache/cache/default.php
vendored
Normal file
@ -0,0 +1,91 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
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">
|
||||
<?php if (!empty( $this->sidebar)) : ?>
|
||||
<div id="j-sidebar-container" class="span2">
|
||||
<?php echo $this->sidebar; ?>
|
||||
</div>
|
||||
<div id="j-main-container" class="span10">
|
||||
<?php else : ?>
|
||||
<div id="j-main-container">
|
||||
<?php endif;?>
|
||||
<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="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>
|
||||
<input type="checkbox" id="cb<?php echo $i;?>" name="cid[]" 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'); ?>
|
||||
</div>
|
||||
</form>
|
||||
1
administrator/templates/hathor/html/com_cache/cache/index.html
vendored
Normal file
1
administrator/templates/hathor/html/com_cache/cache/index.html
vendored
Normal file
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
||||
1
administrator/templates/hathor/html/com_cache/index.html
Normal file
1
administrator/templates/hathor/html/com_cache/index.html
Normal file
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
||||
@ -0,0 +1,45 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_cache
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
?>
|
||||
|
||||
<form action="<?php echo JRoute::_('index.php?option=com_cache'); ?>" method="post" name="adminForm" id="adminForm">
|
||||
<?php if (!empty( $this->sidebar)) : ?>
|
||||
<div id="j-sidebar-container" class="span2">
|
||||
<?php echo $this->sidebar; ?>
|
||||
</div>
|
||||
<div id="j-main-container" class="span10">
|
||||
<?php else : ?>
|
||||
<div id="j-main-container">
|
||||
<?php endif;?>
|
||||
<table class="adminlist">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>
|
||||
<?php echo JText::_('COM_CACHE_PURGE_EXPIRED_ITEMS'); ?>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<p class="mod-purge-instruct"><?php echo JText::_('COM_CACHE_PURGE_INSTRUCTIONS'); ?></p>
|
||||
<p class="warning"><?php echo JText::_('COM_CACHE_RESOURCE_INTENSIVE_WARNING'); ?></p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div>
|
||||
<input type="hidden" name="task" value="" />
|
||||
<?php echo JHtml::_('form.token'); ?>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
||||
@ -0,0 +1,202 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// Include the component HTML helpers.
|
||||
JHtml::addIncludePath(JPATH_COMPONENT . '/helpers/html');
|
||||
|
||||
JHtml::_('behavior.multiselect');
|
||||
JHtml::_('behavior.modal');
|
||||
|
||||
$app = JFactory::getApplication();
|
||||
$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');
|
||||
$assoc = isset($app->item_associations) ? $app->item_associations : 0;
|
||||
?>
|
||||
<div class="categories">
|
||||
<form action="<?php echo JRoute::_('index.php?option=com_categories&view=categories'); ?>" method="post" name="adminForm" id="adminForm">
|
||||
<?php if (!empty($this->sidebar)) : ?>
|
||||
<div id="j-sidebar-container" class="span2">
|
||||
<?php echo $this->sidebar; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<div id="j-main-container"<?php echo !empty($this->sidebar) ? ' class="span10"' : ''; ?>>
|
||||
<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>
|
||||
<?php if ($assoc) : ?>
|
||||
<th width="5%">
|
||||
<?php echo JHtml::_('grid.sort', 'COM_CATEGORY_HEADING_ASSOCIATION', 'association', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<?php endif; ?>
|
||||
<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(); ?>
|
||||
<?php foreach ($this->items as $i => $item) : ?>
|
||||
<?php
|
||||
$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>
|
||||
<?php if ($assoc) : ?>
|
||||
<td class="center">
|
||||
<?php if ($item->association): ?>
|
||||
<?php echo JHtml::_('CategoriesAdministrator.association', $item->id, $extension); ?>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<?php endif; ?>
|
||||
<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'); ?>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
@ -0,0 +1,63 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_categories
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
$options = array(
|
||||
JHtml::_('select.option', 'c', JText::_('JLIB_HTML_BATCH_COPY')),
|
||||
JHtml::_('select.option', 'm', JText::_('JLIB_HTML_BATCH_MOVE'))
|
||||
);
|
||||
$published = $this->state->get('filter.published');
|
||||
$extension = $this->escape($this->state->get('filter.extension'));
|
||||
?>
|
||||
<div class="modal hide fade" id="collapseModal">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal">x</button>
|
||||
<h3><?php echo JText::_('COM_CATEGORIES_BATCH_OPTIONS'); ?></h3>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p><?php echo JText::_('COM_CATEGORIES_BATCH_TIP'); ?></p>
|
||||
|
||||
<div class="control-group">
|
||||
<div class="controls">
|
||||
<?php echo JHtml::_('batch.access'); ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<div class="controls">
|
||||
<?php echo JHtml::_('batch.language'); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php if ($published >= 0) : ?>
|
||||
<div class="control-group">
|
||||
<label id="batch-choose-action-lbl" for="batch-category-id" class="control-label">
|
||||
<?php echo JText::_('COM_CATEGORIES_BATCH_CATEGORY_LABEL'); ?>
|
||||
</label>
|
||||
|
||||
<div id="batch-choose-action" class="combo controls">
|
||||
<select name="batch[category_id]" class="inputbox" id="batch-category-id">
|
||||
<option value=""><?php echo JText::_('JSELECT') ?></option>
|
||||
<?php echo JHtml::_('select.options', JHtml::_('category.categories', $extension, array('filter.published' => $published))); ?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group radio">
|
||||
<?php echo JHtml::_('select.radiolist', $options, 'batch[move_copy]', '', 'value', 'text', 'm'); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn" type="button" onclick="document.id('batch-category-id').value='';document.id('batch-access').value='';document.id('batch-language-id').value=''" data-dismiss="modal">
|
||||
<?php echo JText::_('JCANCEL'); ?>
|
||||
</button>
|
||||
<button class="btn btn-primary" type="submit" onclick="Joomla.submitbutton('category.batch');">
|
||||
<?php echo JText::_('JGLOBAL_BATCH_PROCESS'); ?>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
||||
@ -0,0 +1,185 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// Include the component HTML helpers.
|
||||
JHtml::addIncludePath(JPATH_COMPONENT . '/helpers/html');
|
||||
|
||||
$input = JFactory::getApplication()->input;
|
||||
|
||||
JHtml::_('behavior.formvalidation');
|
||||
JHtml::_('behavior.keepalive');
|
||||
?>
|
||||
|
||||
<script type="text/javascript">
|
||||
Joomla.submitbutton = function(task)
|
||||
{
|
||||
if (task == 'category.cancel' || document.formvalidator.isValid(document.id('item-form'))) {
|
||||
<?php echo $this->form->getField('description')->save(); ?>
|
||||
Joomla.submitform(task, document.getElementById('item-form'));
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<div class="category-edit">
|
||||
<form action="<?php echo JRoute::_('index.php?option=com_categories&extension=' . $input->getCmd('extension', 'com_content') . '&layout=edit&id=' . (int) $this->item->id); ?>" method="post" name="adminForm" id="item-form" class="form-validate">
|
||||
<div class="col main-section">
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo JText::_('COM_CATEGORIES_FIELDSET_DETAILS'); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<li>
|
||||
<?php echo $this->form->getLabel('title'); ?>
|
||||
<?php echo $this->form->getInput('title'); ?>
|
||||
</li>
|
||||
<li>
|
||||
<?php echo $this->form->getLabel('alias'); ?>
|
||||
<?php echo $this->form->getInput('alias'); ?>
|
||||
</li>
|
||||
<li>
|
||||
<?php echo $this->form->getLabel('extension'); ?>
|
||||
<?php echo $this->form->getInput('extension'); ?>
|
||||
</li>
|
||||
<li>
|
||||
<?php echo $this->form->getLabel('parent_id'); ?>
|
||||
<?php echo $this->form->getInput('parent_id'); ?>
|
||||
</li>
|
||||
<li>
|
||||
<?php echo $this->form->getLabel('published'); ?>
|
||||
<?php echo $this->form->getInput('published'); ?>
|
||||
</li>
|
||||
<li>
|
||||
<?php echo $this->form->getLabel('access'); ?>
|
||||
<?php echo $this->form->getInput('access'); ?>
|
||||
</li>
|
||||
<?php if ($this->canDo->get('core.admin')) : ?>
|
||||
<li>
|
||||
<span class="faux-label"><?php echo JText::_('JGLOBAL_ACTION_PERMISSIONS_LABEL'); ?></span>
|
||||
<button type="button" onclick="document.location.href='#access-rules';">
|
||||
<?php echo JText::_('JGLOBAL_PERMISSIONS_ANCHOR'); ?></button>
|
||||
|
||||
</li>
|
||||
<?php endif; ?>
|
||||
<li>
|
||||
<?php echo $this->form->getLabel('language'); ?>
|
||||
<?php echo $this->form->getInput('language'); ?>
|
||||
</li>
|
||||
<!-- Tag field -->
|
||||
<li>
|
||||
<?php if ($this->checkTags) : ?>
|
||||
<?php echo $this->form->getLabel('tags'); ?>
|
||||
<div class="is-tagbox">
|
||||
<?php echo $this->form->getInput('tags'); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</li>
|
||||
<li>
|
||||
<?php echo $this->form->getLabel('id'); ?>
|
||||
<?php echo $this->form->getInput('id'); ?>
|
||||
</li>
|
||||
<li>
|
||||
<?php echo $this->form->getLabel('hits'); ?>
|
||||
<?php echo $this->form->getInput('hits'); ?>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div class="clr"></div>
|
||||
<?php echo $this->form->getLabel('description'); ?>
|
||||
<div class="clr"></div>
|
||||
<?php echo $this->form->getInput('description'); ?>
|
||||
<div class="clr"></div>
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
<div class="col options-section">
|
||||
|
||||
<?php echo JHtml::_('sliders.start', 'categories-sliders-' . $this->item->id, array('useCookie' => 1)); ?>
|
||||
<?php echo $this->loadTemplate('options'); ?>
|
||||
<div class="clr"></div>
|
||||
|
||||
<?php echo JHtml::_('sliders.panel', JText::_('JGLOBAL_FIELDSET_METADATA_OPTIONS'), 'meta-options'); ?>
|
||||
<fieldset class="panelform">
|
||||
<legend class="element-invisible"><?php echo JText::_('JGLOBAL_FIELDSET_METADATA_OPTIONS'); ?></legend>
|
||||
<?php echo $this->loadTemplate('metadata'); ?>
|
||||
</fieldset>
|
||||
|
||||
<?php $fieldSets = $this->form->getFieldsets('attribs'); ?>
|
||||
<?php foreach ($fieldSets as $name => $fieldSet) : ?>
|
||||
<?php if ($name != 'editorConfig' && $name != 'basic-limited') : ?>
|
||||
<?php
|
||||
$label = !empty($fieldSet->label) ? $fieldSet->label : 'COM_CATEGORIES_' . $name . '_FIELDSET_LABEL';
|
||||
echo JHtml::_('sliders.panel', JText::_($label), $name . '-options');
|
||||
if (isset($fieldSet->description) && trim($fieldSet->description))
|
||||
{
|
||||
echo '<p class="tip">' . $this->escape(JText::_($fieldSet->description)) . '</p>';
|
||||
}
|
||||
?>
|
||||
<div class="clr"></div>
|
||||
<fieldset class="panelform">
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset($name) as $field) : ?>
|
||||
<li>
|
||||
<?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
|
||||
<?php $fieldSets = $this->form->getFieldsets('associations'); ?>
|
||||
<?php foreach ($fieldSets as $name => $fieldSet) : ?>
|
||||
<?php
|
||||
$label = !empty($fieldSet->label) ? $fieldSet->label : 'COM_CATEGORIES_' . $name . '_FIELDSET_LABEL';
|
||||
echo JHtml::_('sliders.panel', JText::_($label), $name . '-options');
|
||||
if (isset($fieldSet->description) && trim($fieldSet->description))
|
||||
{
|
||||
echo '<p class="tip">' . $this->escape(JText::_($fieldSet->description)) . '</p>';
|
||||
}
|
||||
?>
|
||||
<div class="clr"></div>
|
||||
<fieldset class="panelform">
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset($name) as $field) : ?>
|
||||
<li>
|
||||
<?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
<?php endforeach;?>
|
||||
|
||||
<?php echo JHtml::_('sliders.end'); ?>
|
||||
</div>
|
||||
<div class="clr"></div>
|
||||
|
||||
<?php if ($this->canDo->get('core.admin')) : ?>
|
||||
<div class="col rules-section">
|
||||
|
||||
<?php echo JHtml::_('sliders.start', 'permissions-sliders-' . $this->item->id, array('useCookie' => 1)); ?>
|
||||
|
||||
<?php echo JHtml::_('sliders.panel', JText::_('COM_CATEGORIES_FIELDSET_RULES'), 'access-rules'); ?>
|
||||
<fieldset class="panelform">
|
||||
<legend class="element-invisible"><?php echo JText::_('COM_CATEGORIES_FIELDSET_RULES'); ?></legend>
|
||||
<?php echo $this->form->getLabel('rules'); ?>
|
||||
<?php echo $this->form->getInput('rules'); ?>
|
||||
</fieldset>
|
||||
|
||||
<?php echo JHtml::_('sliders.end'); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<div>
|
||||
<input type="hidden" name="task" value="" />
|
||||
<?php echo JHtml::_('form.token'); ?>
|
||||
</div>
|
||||
</form>
|
||||
<div class="clr"></div>
|
||||
</div>
|
||||
@ -0,0 +1,67 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die; ?>
|
||||
|
||||
<?php echo JHtml::_('sliders.panel', JText::_('JGLOBAL_FIELDSET_PUBLISHING'), 'publishing-details'); ?>
|
||||
|
||||
<fieldset class="panelform">
|
||||
<legend class="element-invisible"><?php echo JText::_('COM_CONTENT_FIELDSET_PUBLISHING'); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<li>
|
||||
<?php echo $this->form->getLabel('created_user_id'); ?>
|
||||
<?php echo $this->form->getInput('created_user_id'); ?>
|
||||
</li>
|
||||
<?php if ((int) $this->item->created_time) : ?>
|
||||
<li>
|
||||
<?php echo $this->form->getLabel('created_time'); ?>
|
||||
<?php echo $this->form->getInput('created_time'); ?>
|
||||
</li>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->item->modified_user_id) : ?>
|
||||
<li>
|
||||
<?php echo $this->form->getLabel('modified_user_id'); ?>
|
||||
<?php echo $this->form->getInput('modified_user_id'); ?>
|
||||
</li>
|
||||
<li>
|
||||
<?php echo $this->form->getLabel('modified_time'); ?>
|
||||
<?php echo $this->form->getInput('modified_time'); ?>
|
||||
</li>
|
||||
<?php endif; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
|
||||
<?php $fieldSets = $this->form->getFieldsets('params'); ?>
|
||||
<?php foreach ($fieldSets as $name => $fieldSet) : ?>
|
||||
<?php
|
||||
$label = !empty($fieldSet->label) ? $fieldSet->label : 'COM_CATEGORIES_' . $name . '_FIELDSET_LABEL';
|
||||
echo JHtml::_('sliders.panel', JText::_($label), $name . '-options');
|
||||
if (isset($fieldSet->description) && trim($fieldSet->description))
|
||||
{
|
||||
echo '<p class="tip">' . $this->escape(JText::_($fieldSet->description)) . '</p>';
|
||||
}
|
||||
?>
|
||||
<fieldset class="panelform">
|
||||
<legend class="element-invisible"><?php echo JText::_($label); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset($name) as $field) : ?>
|
||||
<li>
|
||||
<?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
<?php if ($name == 'basic'): ?>
|
||||
<li>
|
||||
<?php echo $this->form->getLabel('note'); ?>
|
||||
<?php echo $this->form->getInput('note'); ?>
|
||||
</li>
|
||||
<?php endif; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
<?php endforeach; ?>
|
||||
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
||||
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
||||
@ -0,0 +1,65 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_checkin
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
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_checkin'); ?>" method="post" name="adminForm" id="adminForm">
|
||||
<?php if (!empty($this->sidebar)) : ?>
|
||||
<div id="j-sidebar-container" class="span2">
|
||||
<?php echo $this->sidebar; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<div id="j-main-container"<?php echo !empty($this->sidebar) ? ' class="span10"' : ''; ?>>
|
||||
<fieldset id="filter-bar">
|
||||
<div class="filter-search fltlft">
|
||||
<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_CHECKIN_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>
|
||||
</fieldset>
|
||||
<div class="clr"></div>
|
||||
|
||||
<table id="global-checkin" class="adminlist">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="1%">
|
||||
<input type="checkbox" name="checkall-toggle" value="" title="<?php echo JText::_('JGLOBAL_CHECK_ALL'); ?>" onclick="Joomla.checkAll(this)" />
|
||||
</th>
|
||||
<th class="left"><?php echo JHtml::_('grid.sort', 'COM_CHECKIN_DATABASE_TABLE', 'table', $listDirn, $listOrder); ?></th>
|
||||
<th><?php echo JHtml::_('grid.sort', 'COM_CHECKIN_ITEMS_TO_CHECK_IN', 'count', $listDirn, $listOrder); ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ($this->items as $table => $count): $i = 0; ?>
|
||||
<tr class="row<?php echo $i % 2; ?>">
|
||||
<td class="center"><?php echo JHtml::_('grid.id', $i, $table); ?></td>
|
||||
<td><?php echo JText::sprintf('COM_CHECKIN_TABLE', $table); ?></td>
|
||||
<td width="200" class="center"><?php echo $count; ?></td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="15">
|
||||
<?php echo $this->pagination->getListFooter(); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
<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>
|
||||
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
||||
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
||||
@ -0,0 +1,84 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_config
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
JHtml::_('behavior.formvalidation');
|
||||
JHtml::_('behavior.switcher');
|
||||
|
||||
// Load submenu template, using element id 'submenu' as needed by behavior.switcher
|
||||
$this->document->setBuffer($this->loadTemplate('navigation'), 'modules', 'submenu');
|
||||
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
Joomla.submitbutton = function(task)
|
||||
{
|
||||
if (task == 'application.cancel' || document.formvalidator.isValid(document.id('application-form'))) {
|
||||
Joomla.submitform(task, document.getElementById('application-form'));
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<form action="<?php echo JRoute::_('index.php?option=com_config'); ?>" id="application-form" method="post" name="adminForm" class="form-validate">
|
||||
<?php if ($this->ftp) : ?>
|
||||
<?php echo $this->loadTemplate('ftplogin'); ?>
|
||||
<?php endif; ?>
|
||||
<div id="config-document">
|
||||
<div id="page-site" class="tab">
|
||||
<div class="noshow">
|
||||
<div class="width-60 fltlft">
|
||||
<?php echo $this->loadTemplate('site'); ?>
|
||||
<?php echo $this->loadTemplate('metadata'); ?>
|
||||
</div>
|
||||
<div class="width-40 fltrt">
|
||||
<?php echo $this->loadTemplate('seo'); ?>
|
||||
<?php echo $this->loadTemplate('cookie'); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="page-system" class="tab">
|
||||
<div class="noshow">
|
||||
<div class="width-60 fltlft">
|
||||
<?php echo $this->loadTemplate('system'); ?>
|
||||
</div>
|
||||
<div class="width-40 fltrt">
|
||||
<?php echo $this->loadTemplate('debug'); ?>
|
||||
<?php echo $this->loadTemplate('cache'); ?>
|
||||
<?php echo $this->loadTemplate('session'); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="page-server" class="tab">
|
||||
<div class="noshow">
|
||||
<div class="width-60 fltlft">
|
||||
<?php echo $this->loadTemplate('server'); ?>
|
||||
<?php echo $this->loadTemplate('locale'); ?>
|
||||
<?php echo $this->loadTemplate('ftp'); ?>
|
||||
</div>
|
||||
<div class="width-40 fltrt">
|
||||
<?php echo $this->loadTemplate('database'); ?>
|
||||
<?php echo $this->loadTemplate('mail'); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="page-permissions" class="tab">
|
||||
<div class="noshow">
|
||||
<?php echo $this->loadTemplate('permissions'); ?>
|
||||
</div>
|
||||
</div>
|
||||
<div id="page-filters" class="tab">
|
||||
<div class="noshow">
|
||||
<?php echo $this->loadTemplate('filters'); ?>
|
||||
</div>
|
||||
</div>
|
||||
<input type="hidden" name="task" value="" />
|
||||
<?php echo JHtml::_('form.token'); ?>
|
||||
</div>
|
||||
<div class="clr"></div>
|
||||
</form>
|
||||
@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_config
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
?>
|
||||
<div class="width-100">
|
||||
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo JText::_('COM_CONFIG_CACHE_SETTINGS'); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset('cache') as $field): ?>
|
||||
<li>
|
||||
<?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
<?php if (isset($this->data['cache_handler']) && $this->data['cache_handler'] == 'memcache' || $this->data['session_handler'] == 'memcache') : ?>
|
||||
|
||||
<?php foreach ($this->form->getFieldset('memcache') as $mfield): ?>
|
||||
<li>
|
||||
<?php echo $mfield->label; ?>
|
||||
<?php echo $mfield->input; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
</ul>
|
||||
|
||||
</fieldset>
|
||||
</div>
|
||||
@ -0,0 +1,26 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_config
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
?>
|
||||
|
||||
<div class="width-100">
|
||||
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo JText::_('COM_CONFIG_COOKIE_SETTINGS'); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset('cookie') as $field): ?>
|
||||
<li>
|
||||
<?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
</div>
|
||||
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_config
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
?>
|
||||
<div class="width-100">
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo JText::_('COM_CONFIG_DATABASE_SETTINGS'); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset('database') as $field): ?>
|
||||
<li>
|
||||
<?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
</div>
|
||||
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_config
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
?>
|
||||
<div class="width-100">
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo JText::_('COM_CONFIG_DEBUG_SETTINGS'); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset('debug') as $field): ?>
|
||||
<li>
|
||||
<?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
</div>
|
||||
@ -0,0 +1,22 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_config
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
?>
|
||||
<div class="width-80">
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo JText::_('COM_CONFIG_TEXT_FILTER_SETTINGS'); ?></legend>
|
||||
<p><?php echo JText::_('COM_CONFIG_TEXT_FILTERS_DESC'); ?></p>
|
||||
<?php foreach ($this->form->getFieldset('filters') as $field) : ?>
|
||||
<?php echo $field->label; ?>
|
||||
<div class="clr"></div>
|
||||
<?php echo $field->input; ?>
|
||||
<?php endforeach; ?>
|
||||
</fieldset>
|
||||
</div>
|
||||
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_config
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
?>
|
||||
<div class="width-100">
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo JText::_('COM_CONFIG_FTP_SETTINGS'); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset('ftp') as $field): ?>
|
||||
<li>
|
||||
<?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
</div>
|
||||
@ -0,0 +1,31 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_config
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
?>
|
||||
<div class="width-100">
|
||||
<fieldset title="<?php echo JText::_('COM_CONFIG_FTP_DETAILS'); ?>" class="adminform">
|
||||
<legend><?php echo JText::_('COM_CONFIG_FTP_DETAILS'); ?></legend>
|
||||
<?php echo JText::_('COM_CONFIG_FTP_DETAILS_TIP'); ?>
|
||||
|
||||
<?php if ($this->ftp instanceof Exception) : ?>
|
||||
<p><?php echo JText::_($this->ftp->message); ?></p>
|
||||
<?php endif; ?>
|
||||
<ul class="adminformlist">
|
||||
<li>
|
||||
<label for="username"><?php echo JText::_('JGLOBAL_USERNAME'); ?></label>
|
||||
<input type="text" id="username" name="username" class="input_box" size="70" value="" />
|
||||
</li>
|
||||
<li>
|
||||
<label for="password"><?php echo JText::_('JGLOBAL_PASSWORD'); ?></label>
|
||||
<input type="password" id="password" name="password" class="input_box" size="70" value="" />
|
||||
</li>
|
||||
</ul>
|
||||
</fieldset>
|
||||
</div>
|
||||
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_config
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
?>
|
||||
<div class="width-100">
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo JText::_('COM_CONFIG_LOCATION_SETTINGS'); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset('locale') as $field): ?>
|
||||
<li>
|
||||
<?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
</div>
|
||||
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_config
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
?>
|
||||
<div class="width-100">
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo JText::_('COM_CONFIG_MAIL_SETTINGS'); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset('mail') as $field): ?>
|
||||
<li>
|
||||
<?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
</div>
|
||||
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_config
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
?>
|
||||
<div class="width-100">
|
||||
<fieldset class="adminform long">
|
||||
<legend><?php echo JText::_('COM_CONFIG_METADATA_SETTINGS'); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset('metadata') as $field): ?>
|
||||
<li>
|
||||
<?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
</div>
|
||||
@ -0,0 +1,22 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
?>
|
||||
<div id="submenu-box">
|
||||
<ul id="submenu" class="configuration">
|
||||
<li><a href="#" onclick="return false;" id="site" class="active"><?php echo JText::_('JSITE'); ?></a></li>
|
||||
<li><a href="#" onclick="return false;" id="system"><?php echo JText::_('COM_CONFIG_SYSTEM'); ?></a></li>
|
||||
<li><a href="#" onclick="return false;" id="server"><?php echo JText::_('COM_CONFIG_SERVER'); ?></a></li>
|
||||
<li><a href="#" onclick="return false;" id="permissions"><?php echo JText::_('COM_CONFIG_PERMISSIONS'); ?></a>
|
||||
</li>
|
||||
<li><a href="#" onclick="return false;" id="filters"><?php echo JText::_('COM_CONFIG_TEXT_FILTERS') ?></a></li>
|
||||
</ul>
|
||||
<div class="clr"></div>
|
||||
</div>
|
||||
@ -0,0 +1,21 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_config
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
?>
|
||||
<div class="width-100">
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo JText::_('COM_CONFIG_PERMISSION_SETTINGS'); ?></legend>
|
||||
<?php foreach ($this->form->getFieldset('permissions') as $field) : ?>
|
||||
<?php echo $field->label; ?>
|
||||
<div class="clr"></div>
|
||||
<?php echo $field->input; ?>
|
||||
<?php endforeach; ?>
|
||||
</fieldset>
|
||||
</div>
|
||||
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_config
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
?>
|
||||
<div class="width-100">
|
||||
<fieldset class="adminform long">
|
||||
<legend><?php echo JText::_('COM_CONFIG_SEO_SETTINGS'); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset('seo') as $field): ?>
|
||||
<li>
|
||||
<?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
</div>
|
||||
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_config
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
?>
|
||||
<div class="width-100">
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo JText::_('COM_CONFIG_SERVER_SETTINGS'); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset('server') as $field): ?>
|
||||
<li>
|
||||
<?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
</div>
|
||||
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_config
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
?>
|
||||
<div class="width-100">
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo JText::_('COM_CONFIG_SESSION_SETTINGS'); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset('session') as $field): ?>
|
||||
<li>
|
||||
<?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
</div>
|
||||
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_config
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
?>
|
||||
<div class="width-100">
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo JText::_('COM_CONFIG_SITE_SETTINGS'); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset('site') as $field): ?>
|
||||
<li>
|
||||
<?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
</div>
|
||||
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_config
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
?>
|
||||
<div class="width-100">
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo JText::_('COM_CONFIG_SYSTEM_SETTINGS'); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset('system') as $field): ?>
|
||||
<li>
|
||||
<?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
</div>
|
||||
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
||||
@ -0,0 +1,61 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_config
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
$app = JFactory::getApplication();
|
||||
$template = $app->getTemplate();
|
||||
|
||||
JHtml::_('behavior.formvalidation');
|
||||
JHtml::_('bootstrap.framework');
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
Joomla.submitbutton = function(task)
|
||||
{
|
||||
if (document.formvalidator.isValid(document.id('component-form'))) {
|
||||
Joomla.submitform(task, document.getElementById('component-form'));
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<form action="<?php echo JRoute::_('index.php?option=com_config'); ?>" id="component-form" method="post" name="adminForm" autocomplete="off" class="form-validate">
|
||||
<?php
|
||||
echo JHtml::_('tabs.start', 'config-tabs-' . $this->component->option . '_configuration', array('useCookie' => 1));
|
||||
$fieldSets = $this->form->getFieldsets();
|
||||
?>
|
||||
<?php foreach ($fieldSets as $name => $fieldSet) : ?>
|
||||
<?php
|
||||
$label = empty($fieldSet->label) ? 'COM_CONFIG_' . $name . '_FIELDSET_LABEL' : $fieldSet->label;
|
||||
echo JHtml::_('tabs.panel', JText::_($label), 'publishing-details');
|
||||
if (isset($fieldSet->description) && !empty($fieldSet->description))
|
||||
{
|
||||
echo '<p class="tab-description">' . JText::_($fieldSet->description) . '</p>';
|
||||
}
|
||||
?>
|
||||
<ul class="config-option-list">
|
||||
<?php foreach ($this->form->getFieldset($name) as $field): ?>
|
||||
<li>
|
||||
<?php if (!$field->hidden) : ?>
|
||||
<?php echo $field->label; ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $field->input; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
|
||||
<div class="clr"></div>
|
||||
<?php endforeach; ?>
|
||||
<?php echo JHtml::_('tabs.end'); ?>
|
||||
<div>
|
||||
<input type="hidden" name="id" value="<?php echo $this->component->id; ?>" />
|
||||
<input type="hidden" name="component" value="<?php echo $this->component->option; ?>" />
|
||||
<input type="hidden" name="return" value="<?php echo $this->return; ?>" />
|
||||
<input type="hidden" name="task" value="" />
|
||||
<?php echo JHtml::_('form.token'); ?>
|
||||
</div>
|
||||
</form>
|
||||
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
||||
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
||||
185
administrator/templates/hathor/html/com_contact/contact/edit.php
Normal file
185
administrator/templates/hathor/html/com_contact/contact/edit.php
Normal file
@ -0,0 +1,185 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// Include the component HTML helpers.
|
||||
JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
|
||||
|
||||
JHtml::_('behavior.formvalidation');
|
||||
|
||||
$app = JFactory::getApplication();
|
||||
$input = $app->input;
|
||||
|
||||
$assoc = isset($app->item_associations) ? $app->item_associations : 0;
|
||||
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
Joomla.submitbutton = function(task)
|
||||
{
|
||||
if (task == 'contact.cancel' || document.formvalidator.isValid(document.id('contact-form')))
|
||||
{
|
||||
<?php echo $this->form->getField('misc')->save(); ?>
|
||||
Joomla.submitform(task, document.getElementById('contact-form'));
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<form action="<?php echo JRoute::_('index.php?option=com_contact&layout=edit&id='.(int) $this->item->id); ?>" method="post" name="adminForm" id="contact-form" class="form-validate">
|
||||
<div class="col main-section">
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo empty($this->item->id) ? JText::_('COM_CONTACT_NEW_CONTACT') : JText::sprintf('COM_CONTACT_EDIT_CONTACT', $this->item->id); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<li><?php echo $this->form->getLabel('name'); ?>
|
||||
<?php echo $this->form->getInput('name'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('alias'); ?>
|
||||
<?php echo $this->form->getInput('alias'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('user_id'); ?>
|
||||
<?php echo $this->form->getInput('user_id'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('catid'); ?>
|
||||
<?php echo $this->form->getInput('catid'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('published'); ?>
|
||||
<?php echo $this->form->getInput('published'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('access'); ?>
|
||||
<?php echo $this->form->getInput('access'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('ordering'); ?>
|
||||
<?php echo $this->form->getInput('ordering'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('featured'); ?>
|
||||
<?php echo $this->form->getInput('featured'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('language'); ?>
|
||||
<?php echo $this->form->getInput('language'); ?></li>
|
||||
|
||||
<!-- Tag field -->
|
||||
<li><?php echo $this->form->getLabel('tags'); ?>
|
||||
<div class="is-tagbox">
|
||||
<?php echo $this->form->getInput('tags'); ?>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('id'); ?>
|
||||
<?php echo $this->form->getInput('id'); ?></li>
|
||||
</ul>
|
||||
<div class="clr"></div>
|
||||
<?php echo $this->form->getLabel('misc'); ?>
|
||||
<div class="clr"></div>
|
||||
<?php echo $this->form->getInput('misc'); ?>
|
||||
</fieldset>
|
||||
</div>
|
||||
<div class="col options-section">
|
||||
<?php echo JHtml::_('sliders.start', 'contact-slider'); ?>
|
||||
<?php echo JHtml::_('sliders.panel', JText::_('JGLOBAL_FIELDSET_PUBLISHING'), 'publishing-details'); ?>
|
||||
|
||||
<fieldset class="panelform">
|
||||
<legend class="element-invisible"><?php echo JText::_('JGLOBAL_FIELDSET_PUBLISHING'); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
|
||||
<li><?php echo $this->form->getLabel('created_by'); ?>
|
||||
<?php echo $this->form->getInput('created_by'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('created_by_alias'); ?>
|
||||
<?php echo $this->form->getInput('created_by_alias'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('created'); ?>
|
||||
<?php echo $this->form->getInput('created'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('publish_up'); ?>
|
||||
<?php echo $this->form->getInput('publish_up'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('publish_down'); ?>
|
||||
<?php echo $this->form->getInput('publish_down'); ?></li>
|
||||
|
||||
<?php if ($this->item->modified_by) : ?>
|
||||
<li><?php echo $this->form->getLabel('modified_by'); ?>
|
||||
<?php echo $this->form->getInput('modified_by'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('modified'); ?>
|
||||
<?php echo $this->form->getInput('modified'); ?></li>
|
||||
<?php endif; ?>
|
||||
|
||||
</ul>
|
||||
</fieldset>
|
||||
<?php echo JHtml::_('sliders.panel', JText::_('COM_CONTACT_CONTACT_DETAILS'), 'basic-options'); ?>
|
||||
|
||||
<fieldset class="panelform">
|
||||
<legend class="element-invisible"><?php echo JText::_('COM_CONTACT_CONTACT_DETAILS'); ?></legend>
|
||||
<p><?php echo empty($this->item->id) ? JText::_('COM_CONTACT_DETAILS') : JText::sprintf('COM_CONTACT_EDIT_DETAILS', $this->item->id); ?></p>
|
||||
|
||||
<ul class="adminformlist">
|
||||
<li><?php echo $this->form->getLabel('image'); ?>
|
||||
<?php echo $this->form->getInput('image'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('con_position'); ?>
|
||||
<?php echo $this->form->getInput('con_position'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('email_to'); ?>
|
||||
<?php echo $this->form->getInput('email_to'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('address'); ?>
|
||||
<?php echo $this->form->getInput('address'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('suburb'); ?>
|
||||
<?php echo $this->form->getInput('suburb'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('state'); ?>
|
||||
<?php echo $this->form->getInput('state'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('postcode'); ?>
|
||||
<?php echo $this->form->getInput('postcode'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('country'); ?>
|
||||
<?php echo $this->form->getInput('country'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('telephone'); ?>
|
||||
<?php echo $this->form->getInput('telephone'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('mobile'); ?>
|
||||
<?php echo $this->form->getInput('mobile'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('fax'); ?>
|
||||
<?php echo $this->form->getInput('fax'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('webpage'); ?>
|
||||
<?php echo $this->form->getInput('webpage'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('sortname1'); ?>
|
||||
<?php echo $this->form->getInput('sortname1'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('sortname2'); ?>
|
||||
<?php echo $this->form->getInput('sortname2'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('sortname3'); ?>
|
||||
<?php echo $this->form->getInput('sortname3'); ?></li>
|
||||
</ul>
|
||||
</fieldset>
|
||||
|
||||
<?php echo $this->loadTemplate('params'); ?>
|
||||
|
||||
<?php echo JHtml::_('sliders.panel', JText::_('JGLOBAL_FIELDSET_METADATA_OPTIONS'), 'meta-options'); ?>
|
||||
<fieldset class="panelform">
|
||||
<legend class="element-invisible"><?php echo JText::_('JGLOBAL_FIELDSET_METADATA_OPTIONS'); ?></legend>
|
||||
<?php echo $this->loadTemplate('metadata'); ?>
|
||||
</fieldset>
|
||||
|
||||
<?php if ($assoc) : ?>
|
||||
<?php echo $this->loadTemplate('associations'); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php echo JHtml::_('sliders.end'); ?>
|
||||
<input type="hidden" name="task" value="" />
|
||||
<?php echo JHtml::_('form.token'); ?>
|
||||
</div>
|
||||
</form>
|
||||
@ -0,0 +1,28 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
$fieldSets = $this->form->getFieldsets('params');
|
||||
foreach ($fieldSets as $name => $fieldSet) :
|
||||
echo JHtml::_('sliders.panel', JText::_($fieldSet->label), $name.'-params');
|
||||
if (isset($fieldSet->description) && trim($fieldSet->description)) :
|
||||
echo '<p class="tip">'.$this->escape(JText::_($fieldSet->description)).'</p>';
|
||||
endif;
|
||||
?>
|
||||
<fieldset class="panelform" >
|
||||
<legend class="element-invisible"><?php echo JText::_($fieldSet->label); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset($name) as $field) : ?>
|
||||
<li><?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?></li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
<?php endforeach; ?>
|
||||
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
||||
@ -0,0 +1,225 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
|
||||
|
||||
JHtml::_('behavior.multiselect');
|
||||
JHtml::_('behavior.modal');
|
||||
|
||||
$app = JFactory::getApplication();
|
||||
$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_contact.category');
|
||||
$saveOrder = $listOrder == 'a.ordering';
|
||||
$assoc = isset($app->item_associations) ? $app->item_associations : 0;
|
||||
|
||||
?>
|
||||
|
||||
<form action="<?php echo JRoute::_('index.php?option=com_contact'); ?>" method="post" name="adminForm" id="adminForm">
|
||||
<?php if (!empty( $this->sidebar)) : ?>
|
||||
<div id="j-sidebar-container" class="span2">
|
||||
<?php echo $this->sidebar; ?>
|
||||
</div>
|
||||
<div id="j-main-container" class="span10">
|
||||
<?php else : ?>
|
||||
<div id="j-main-container">
|
||||
<?php endif;?>
|
||||
<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_CONTACT_SEARCH_IN_NAME'); ?>" />
|
||||
<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_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_contact'), '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>
|
||||
<?php echo JHtml::_('grid.sort', 'COM_CONTACT_FIELD_LINKED_USER_LABEL', 'ul.name', $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 ($canOrder && $saveOrder) :?>
|
||||
<?php echo JHtml::_('grid.order', $this->items, 'filesave.png', 'contacts.saveorder'); ?>
|
||||
<?php endif; ?>
|
||||
</th>
|
||||
<th class="title access-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ACCESS', 'access_level', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<?php if ($assoc) : ?>
|
||||
<th width="5%">
|
||||
<?php echo JHtml::_('grid.sort', 'COM_CONTACT_HEADING_ASSOCIATION', 'association', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<?php endif;?>
|
||||
<th class="language-col">
|
||||
<?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
|
||||
$n = count($this->items);
|
||||
foreach ($this->items as $i => $item) :
|
||||
$ordering = $listOrder == 'a.ordering';
|
||||
$canCreate = $user->authorise('core.create', 'com_contact.category.' . $item->catid);
|
||||
$canEdit = $user->authorise('core.edit', 'com_contact.category.' . $item->catid);
|
||||
$canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $userId || $item->checked_out == 0;
|
||||
$canEditOwn = $user->authorise('core.edit.own', 'com_contact.category.' . $item->catid) && $item->created_by == $userId;
|
||||
$canChange = $user->authorise('core.edit.state', 'com_contact.category.' . $item->catid) && $canCheckin;
|
||||
|
||||
$item->cat_link = JRoute::_('index.php?option=com_categories&extension=com_contact&task=edit&type=other&id='.$item->catid);
|
||||
?>
|
||||
<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, 'contacts.', $canCheckin); ?>
|
||||
<?php endif; ?>
|
||||
<?php if ($canEdit || $canEditOwn) : ?>
|
||||
<a href="<?php echo JRoute::_('index.php?option=com_contact&task=contact.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 align="center">
|
||||
<?php if (!empty($item->linked_user)) : ?>
|
||||
<a href="<?php echo JRoute::_('index.php?option=com_users&task=user.edit&id='.$item->user_id);?>"><?php echo $item->linked_user;?></a>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php echo JHtml::_('jgrid.published', $item->published, $i, 'contacts.', $canChange, 'cb', $item->publish_up, $item->publish_down); ?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php echo JHtml::_('contact.featured', $item->featured, $i, $canChange); ?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php echo $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), 'contacts.orderup', 'JLIB_HTML_MOVE_UP', $ordering); ?></span>
|
||||
<span><?php echo $this->pagination->orderDownIcon($i, $n, ($item->catid == @$this->items[$i + 1]->catid), 'contacts.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), 'contacts.orderdown', 'JLIB_HTML_MOVE_UP', $ordering); ?></span>
|
||||
<span><?php echo $this->pagination->orderDownIcon($i, $n, ($item->catid == @$this->items[$i + 1]->catid), 'contacts.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 $item->access_level; ?>
|
||||
</td>
|
||||
<?php if ($assoc) : ?>
|
||||
<td class="center">
|
||||
<?php if ($item->association) : ?>
|
||||
<?php echo JHtml::_('contact.association', $item->id); ?>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<?php endif;?>
|
||||
<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 //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'); ?>
|
||||
</div>
|
||||
</form>
|
||||
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
||||
@ -0,0 +1,136 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
|
||||
|
||||
$function = JFactory::getApplication()->input->getCmd('function', 'jSelectContact');
|
||||
$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_contact&view=contacts&layout=modal&tmpl=component');?>" 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_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_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_contact'), 'value', 'text', $this->state->get('filter.category_id'));?>
|
||||
</select>
|
||||
|
||||
<?php if ($this->state->get('filter.forcedLanguage')) : ?>
|
||||
<input type="hidden" name="forcedLanguage" value="<?php echo $this->escape($this->state->get('filter.forcedLanguage')); ?>" />
|
||||
<input type="hidden" name="filter_language" value="<?php echo $this->escape($this->state->get('filter.language')); ?>" />
|
||||
<?php else : ?>
|
||||
<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>
|
||||
<?php endif; ?>
|
||||
|
||||
<button type="submit" id="filter-go">
|
||||
<?php echo JText::_('JSUBMIT'); ?></button>
|
||||
</div>
|
||||
</fieldset>
|
||||
<div class="clr"> </div>
|
||||
|
||||
<table class="adminlist modal">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="title">
|
||||
<?php echo JHtml::_('grid.sort', 'JGLOBAL_TITLE', 'a.name', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th>
|
||||
<?php echo JHtml::_('grid.sort', 'COM_CONTACT_FIELD_LINKED_USER_LABEL', 'ul.name', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="title access-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ACCESS', 'access_level', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="nowrap state-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JCATEGORY', 'a.catid', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="title 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) : ?>
|
||||
<tr class="row<?php echo $i % 2; ?>">
|
||||
<th>
|
||||
<a class="pointer" onclick="if (window.parent) window.parent.<?php echo $this->escape($function);?>('<?php echo $item->id; ?>', '<?php echo $this->escape(addslashes($item->name)); ?>');">
|
||||
<?php echo $this->escape($item->name); ?></a>
|
||||
</th>
|
||||
<td class="center">
|
||||
<?php if (!empty($item->linked_user)) : ?>
|
||||
<?php echo $item->linked_user;?>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php echo $this->escape($item->access_level); ?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php echo $this->escape($item->category_title); ?>
|
||||
</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="filter_order" value="<?php echo $listOrder; ?>" />
|
||||
<input type="hidden" name="filter_order_Dir" value="<?php echo $listDirn; ?>" />
|
||||
<?php echo JHtml::_('form.token'); ?>
|
||||
</form>
|
||||
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
||||
286
administrator/templates/hathor/html/com_content/article/edit.php
Normal file
286
administrator/templates/hathor/html/com_content/article/edit.php
Normal file
@ -0,0 +1,286 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// Include the component HTML helpers.
|
||||
JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
|
||||
|
||||
JHtml::_('behavior.formvalidation');
|
||||
JHtml::_('behavior.keepalive');
|
||||
|
||||
// Create shortcut to parameters.
|
||||
$params = $this->state->get('params');
|
||||
$params = $params->toArray();
|
||||
|
||||
// This checks if the config options have ever been saved. If they haven't they will fall back to the original settings.
|
||||
$editoroptions = isset($params['show_publishing_options']);
|
||||
|
||||
$input = JFactory::getApplication()->input;
|
||||
|
||||
if (!$editoroptions):
|
||||
$params['show_publishing_options'] = '1';
|
||||
$params['show_article_options'] = '1';
|
||||
$params['show_urls_images_backend'] = '0';
|
||||
$params['show_urls_images_frontend'] = '0';
|
||||
endif;
|
||||
|
||||
// Check if the article uses configuration settings besides global. If so, use them.
|
||||
if (!empty($this->item->attribs['show_publishing_options'])):
|
||||
$params['show_publishing_options'] = $this->item->attribs['show_publishing_options'];
|
||||
endif;
|
||||
if (!empty($this->item->attribs['show_article_options'])):
|
||||
$params['show_article_options'] = $this->item->attribs['show_article_options'];
|
||||
endif;
|
||||
if (!empty($this->item->attribs['show_urls_images_backend'])):
|
||||
$params['show_urls_images_backend'] = $this->item->attribs['show_urls_images_backend'];
|
||||
endif;
|
||||
|
||||
?>
|
||||
|
||||
<script type="text/javascript">
|
||||
Joomla.submitbutton = function(task)
|
||||
{
|
||||
if (task == 'article.cancel' || document.formvalidator.isValid(document.id('item-form')))
|
||||
{
|
||||
<?php echo $this->form->getField('articletext')->save(); ?>
|
||||
Joomla.submitform(task, document.getElementById('item-form'));
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<div class="article-edit">
|
||||
|
||||
<form action="<?php echo JRoute::_('index.php?option=com_content&layout=edit&id='.(int) $this->item->id); ?>" method="post" name="adminForm" id="item-form" class="form-validate">
|
||||
<div class="col main-section">
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo empty($this->item->id) ? JText::_('COM_CONTENT_NEW_ARTICLE') : JText::sprintf('COM_CONTENT_EDIT_ARTICLE', $this->item->id); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<li><?php echo $this->form->getLabel('title'); ?>
|
||||
<?php echo $this->form->getInput('title'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('alias'); ?>
|
||||
<?php echo $this->form->getInput('alias'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('catid'); ?>
|
||||
<?php echo $this->form->getInput('catid'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('state'); ?>
|
||||
<?php echo $this->form->getInput('state'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('access'); ?>
|
||||
<?php echo $this->form->getInput('access'); ?></li>
|
||||
|
||||
<?php if ($this->canDo->get('core.admin')) : ?>
|
||||
<li><span class="faux-label"><?php echo JText::_('JGLOBAL_ACTION_PERMISSIONS_LABEL'); ?></span>
|
||||
<button type="button" onclick="document.location.href='#access-rules';">
|
||||
<?php echo JText::_('JGLOBAL_PERMISSIONS_ANCHOR'); ?>
|
||||
</button>
|
||||
</li>
|
||||
<?php endif; ?>
|
||||
|
||||
<li><?php echo $this->form->getLabel('featured'); ?>
|
||||
<?php echo $this->form->getInput('featured'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('language'); ?>
|
||||
<?php echo $this->form->getInput('language'); ?></li>
|
||||
|
||||
<!-- Tag field -->
|
||||
<li><?php echo $this->form->getLabel('tags'); ?>
|
||||
<div class="is-tagbox">
|
||||
<?php echo $this->form->getInput('tags'); ?>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('id'); ?>
|
||||
<?php echo $this->form->getInput('id'); ?></li>
|
||||
|
||||
</ul>
|
||||
|
||||
<div class="clr"></div>
|
||||
<?php echo $this->form->getLabel('articletext'); ?>
|
||||
<div class="clr"></div>
|
||||
<?php echo $this->form->getInput('articletext'); ?>
|
||||
<div class="clr"></div>
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
<div class="col options-section">
|
||||
<?php echo JHtml::_('sliders.start', 'content-sliders-' . $this->item->id, array('useCookie' => 1)); ?>
|
||||
<?php // Do not show the publishing options if the edit form is configured not to. ?>
|
||||
<?php if ($params['show_publishing_options'] || ( $params['show_publishing_options'] = '' && !empty($editoroptions)) ) : ?>
|
||||
<?php echo JHtml::_('sliders.panel', JText::_('COM_CONTENT_FIELDSET_PUBLISHING'), 'publishing-details'); ?>
|
||||
<fieldset class="panelform">
|
||||
<ul class="adminformlist">
|
||||
<li><?php echo $this->form->getLabel('created_by'); ?>
|
||||
<?php echo $this->form->getInput('created_by'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('created_by_alias'); ?>
|
||||
<?php echo $this->form->getInput('created_by_alias'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('created'); ?>
|
||||
<?php echo $this->form->getInput('created'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('publish_up'); ?>
|
||||
<?php echo $this->form->getInput('publish_up'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('publish_down'); ?>
|
||||
<?php echo $this->form->getInput('publish_down'); ?></li>
|
||||
|
||||
<?php if ($this->item->modified_by) : ?>
|
||||
<li><?php echo $this->form->getLabel('modified_by'); ?>
|
||||
<?php echo $this->form->getInput('modified_by'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('modified'); ?>
|
||||
<?php echo $this->form->getInput('modified'); ?></li>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->item->version) : ?>
|
||||
<li><?php echo $this->form->getLabel('version'); ?>
|
||||
<?php echo $this->form->getInput('version'); ?></li>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->item->hits) : ?>
|
||||
<li><?php echo $this->form->getLabel('hits'); ?>
|
||||
<?php echo $this->form->getInput('hits'); ?></li>
|
||||
<?php endif; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
<?php endif; ?>
|
||||
<?php $fieldSets = $this->form->getFieldsets('attribs'); ?>
|
||||
<?php foreach ($fieldSets as $name => $fieldSet) : ?>
|
||||
<?php
|
||||
// If the parameter says to show the article options or if the parameters have never been set, we will
|
||||
// show the article options.
|
||||
|
||||
if ($params['show_article_options'] || (( $params['show_article_options'] == '' && !empty($editoroptions) ))):
|
||||
|
||||
// Go through all the fieldsets except the configuration and basic-limited, which are
|
||||
// handled separately below.
|
||||
if ($name != 'editorConfig' && $name != 'basic-limited') : ?>
|
||||
<?php echo JHtml::_('sliders.panel', JText::_($fieldSet->label), $name.'-options'); ?>
|
||||
<?php if (isset($fieldSet->description) && trim($fieldSet->description)) : ?>
|
||||
<p class="tip"><?php echo $this->escape(JText::_($fieldSet->description));?></p>
|
||||
<?php endif; ?>
|
||||
<fieldset class="panelform">
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset($name) as $field) : ?>
|
||||
<li><?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?></li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
<?php endif ?>
|
||||
<?php // If we are not showing the options we need to use the hidden fields so the values are not lost. ?>
|
||||
<?php elseif ($name == 'basic-limited') : ?>
|
||||
<?php foreach ($this->form->getFieldset('basic-limited') as $field) : ?>
|
||||
<?php echo $field->input; ?>
|
||||
<?php endforeach; ?>
|
||||
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
<?php // Not the best place, but here for continuity with 1.5/1/6/1.7 ?>
|
||||
<fieldset class="panelform">
|
||||
</fieldset>
|
||||
<?php
|
||||
// We need to make a separate space for the configuration
|
||||
// so that those fields always show to those wih permissions
|
||||
if ( $this->canDo->get('core.admin') ): ?>
|
||||
<?php echo JHtml::_('sliders.panel', JText::_('COM_CONTENT_SLIDER_EDITOR_CONFIG'), 'configure-sliders'); ?>
|
||||
<fieldset class="panelform" >
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset('editorConfig') as $field) : ?>
|
||||
<li><?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?></li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
<?php endif ?>
|
||||
|
||||
<?php // The url and images fields only show if the configuration is set to allow them. ?>
|
||||
<?php // This is for legacy reasons. ?>
|
||||
<?php if ($params['show_urls_images_backend']) : ?>
|
||||
<?php echo JHtml::_('sliders.panel', JText::_('COM_CONTENT_FIELDSET_URLS_AND_IMAGES'), 'urls_and_images-options'); ?>
|
||||
<fieldset class="panelform">
|
||||
<ul class="adminformlist">
|
||||
<li>
|
||||
<?php echo $this->form->getLabel('images'); ?>
|
||||
<?php echo $this->form->getInput('images'); ?></li>
|
||||
|
||||
<?php foreach ($this->form->getGroup('images') as $field) : ?>
|
||||
<li>
|
||||
<?php if (!$field->hidden) : ?>
|
||||
<?php echo $field->label; ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $field->input; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
<?php foreach ($this->form->getGroup('urls') as $field) : ?>
|
||||
<li>
|
||||
<?php if (!$field->hidden) : ?>
|
||||
<?php echo $field->label; ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $field->input; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
<?php endif; ?>
|
||||
<?php echo JHtml::_('sliders.panel', JText::_('JGLOBAL_FIELDSET_METADATA_OPTIONS'), 'meta-options'); ?>
|
||||
<fieldset class="panelform">
|
||||
<legend class="element-invisible"><?php echo JText::_('JGLOBAL_FIELDSET_METADATA_OPTIONS'); ?></legend>
|
||||
<?php echo $this->loadTemplate('metadata'); ?>
|
||||
</fieldset>
|
||||
<?php
|
||||
|
||||
$fieldSets = $this->form->getFieldsets('associations');
|
||||
|
||||
foreach ($fieldSets as $name => $fieldSet) :
|
||||
$label = !empty($fieldSet->label) ? $fieldSet->label : 'COM_CONTENT_'.$name.'_FIELDSET_LABEL';
|
||||
echo JHtml::_('sliders.panel', JText::_($label), $name.'-options');
|
||||
if (isset($fieldSet->description) && trim($fieldSet->description)) :
|
||||
echo '<p class="tip">'.$this->escape(JText::_($fieldSet->description)).'</p>';
|
||||
endif;
|
||||
?>
|
||||
<div class="clr"></div>
|
||||
<fieldset class="panelform">
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset($name) as $field) : ?>
|
||||
<li><?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?></li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
<?php endforeach;?>
|
||||
<?php echo JHtml::_('sliders.end'); ?>
|
||||
</div>
|
||||
|
||||
<div class="clr"></div>
|
||||
<?php if ($this->canDo->get('core.admin')) : ?>
|
||||
<div class="col rules-section">
|
||||
<?php echo JHtml::_('sliders.start', 'permissions-sliders-' . $this->item->id, array('useCookie' => 1)); ?>
|
||||
|
||||
<?php echo JHtml::_('sliders.panel', JText::_('COM_CONTENT_FIELDSET_RULES'), 'access-rules'); ?>
|
||||
<fieldset class="panelform">
|
||||
<legend class="element-invisible"><?php echo JText::_('COM_CONTENT_FIELDSET_RULES'); ?></legend>
|
||||
<?php echo $this->form->getLabel('rules'); ?>
|
||||
<?php echo $this->form->getInput('rules'); ?>
|
||||
</fieldset>
|
||||
|
||||
<?php echo JHtml::_('sliders.end'); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<div>
|
||||
<input type="hidden" name="task" value="" />
|
||||
<input type="hidden" name="return" value="<?php echo $input->getCmd('return');?>" />
|
||||
<?php echo JHtml::_('form.token'); ?>
|
||||
</div>
|
||||
</form>
|
||||
<div class="clr"></div>
|
||||
</div>
|
||||
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
||||
@ -0,0 +1,240 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
|
||||
|
||||
JHtml::_('behavior.multiselect');
|
||||
JHtml::_('behavior.modal');
|
||||
|
||||
$app = JFactory::getApplication();
|
||||
$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';
|
||||
$assoc = isset($app->item_associations) ? $app->item_associations : 0;
|
||||
$n = count($this->items);
|
||||
?>
|
||||
<form action="<?php echo JRoute::_('index.php?option=com_content&view=articles'); ?>" method="post" name="adminForm" id="adminForm">
|
||||
<?php if (!empty( $this->sidebar)) : ?>
|
||||
<div id="j-sidebar-container" class="span2">
|
||||
<?php echo $this->sidebar; ?>
|
||||
</div>
|
||||
<div id="j-main-container" class="span10">
|
||||
<?php else : ?>
|
||||
<div id="j-main-container">
|
||||
<?php endif;?>
|
||||
<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>
|
||||
<?php if ($assoc) : ?>
|
||||
<th width="5%">
|
||||
<?php echo JHtml::_('grid.sort', 'COM_CONTENT_HEADING_ASSOCIATION', 'association', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<?php endif;?>
|
||||
<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>
|
||||
<?php if ($assoc) : ?>
|
||||
<td class="center">
|
||||
<?php if ($item->association):?>
|
||||
<?php echo JHtml::_('contentadministrator.association', $item->id); ?>
|
||||
<?php endif;?>
|
||||
</td>
|
||||
<?php endif;?>
|
||||
<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'); ?>
|
||||
</div>
|
||||
</form>
|
||||
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
||||
@ -0,0 +1,138 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
$app = JFactory::getApplication();
|
||||
|
||||
if ($app->isSite())
|
||||
{
|
||||
JSession::checkToken('get') or die(JText::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
require_once JPATH_ROOT . '/components/com_content/helpers/route.php';
|
||||
|
||||
JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
|
||||
|
||||
$function = $app->input->getCmd('function', 'jSelectArticle');
|
||||
$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_content&view=articles&layout=modal&tmpl=component&function='.$function.'&'.JSession::getFormToken().'=1');?>" 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_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_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>
|
||||
<?php if ($this->state->get('filter.forcedLanguage')) : ?>
|
||||
<input type="hidden" name="forcedLanguage" value="<?php echo $this->escape($this->state->get('filter.forcedLanguage')); ?>" />
|
||||
<input type="hidden" name="filter_language" value="<?php echo $this->escape($this->state->get('filter.language')); ?>" />
|
||||
<?php else : ?>
|
||||
<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>
|
||||
<?php endif; ?>
|
||||
|
||||
<button type="submit" id="filter-go">
|
||||
<?php echo JText::_('JSUBMIT'); ?></button>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<table class="adminlist modal">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="title">
|
||||
<?php echo JHtml::_('grid.sort', 'JGLOBAL_TITLE', 'a.title', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="title access-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ACCESS', 'access_level', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="nowrap state-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JCATEGORY', 'a.catid', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="title language-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JGRID_HEADING_LANGUAGE', 'language', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="title date-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JDATE', 'a.created', $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) : ?>
|
||||
<tr class="row<?php echo $i % 2; ?>">
|
||||
<th>
|
||||
<a class="pointer" onclick="if (window.parent) window.parent.<?php echo $this->escape($function);?>('<?php echo $item->id; ?>', '<?php echo $this->escape(addslashes($item->title)); ?>', '<?php echo $this->escape($item->catid); ?>', null, '<?php echo $this->escape(ContentHelperRoute::getArticleRoute($item->id, $item->catid)); ?>');">
|
||||
<?php echo $this->escape($item->title); ?></a>
|
||||
</th>
|
||||
<td class="center">
|
||||
<?php echo $this->escape($item->access_level); ?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php echo $this->escape($item->category_title); ?>
|
||||
</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 nowrap">
|
||||
<?php echo JHtml::_('date', $item->created, JText::_('DATE_FORMAT_LC4')); ?>
|
||||
</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>
|
||||
@ -0,0 +1,212 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
/* add accessibility, labels on input forms */
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
|
||||
|
||||
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">
|
||||
<?php if (!empty( $this->sidebar)) : ?>
|
||||
<div id="j-sidebar-container" class="span2">
|
||||
<?php echo $this->sidebar; ?>
|
||||
</div>
|
||||
<div id="j-main-container" class="span10">
|
||||
<?php else : ?>
|
||||
<div id="j-main-container">
|
||||
<?php endif;?>
|
||||
<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_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_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'); ?>
|
||||
</div>
|
||||
</form>
|
||||
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
||||
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
||||
@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 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;
|
||||
|
||||
echo JHtml::_('sliders.start', 'panel-sliders', array('useCookie' => '1'));
|
||||
|
||||
foreach ($this->modules as $module)
|
||||
{
|
||||
$output = JModuleHelper::renderModule($module);
|
||||
$params = new JRegistry;
|
||||
$params->loadString($module->params);
|
||||
if ($params->get('automatic_title', '0') == '0')
|
||||
{
|
||||
echo JHtml::_('sliders.panel', $module->title, 'cpanel-panel-' . $module->name);
|
||||
}
|
||||
elseif (method_exists('mod'.$module->name.'Helper', 'getTitle'))
|
||||
{
|
||||
echo JHtml::_('sliders.panel', call_user_func_array(array('mod' . $module->name . 'Helper', 'getTitle'), array($params)), 'cpanel-panel-' . $module->name);
|
||||
}
|
||||
else
|
||||
{
|
||||
echo JHtml::_('sliders.panel', JText::_('MOD_' . $module->name . '_TITLE'), 'cpanel-panel-' . $module->name);
|
||||
}
|
||||
echo $output;
|
||||
}
|
||||
|
||||
echo JHtml::_('sliders.end');
|
||||
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
||||
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
||||
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
||||
@ -0,0 +1,166 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
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">
|
||||
<?php if (!empty( $this->sidebar)) : ?>
|
||||
<div id="j-sidebar-container" class="span2">
|
||||
<?php echo $this->sidebar; ?>
|
||||
</div>
|
||||
<div id="j-main-container" class="span10">
|
||||
<?php else : ?>
|
||||
<div id="j-main-container">
|
||||
<?php endif;?>
|
||||
<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'); ?>
|
||||
</div>
|
||||
</form>
|
||||
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
||||
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
||||
175
administrator/templates/hathor/html/com_finder/index/default.php
Normal file
175
administrator/templates/hathor/html/com_finder/index/default.php
Normal file
@ -0,0 +1,175 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
JHtml::_('bootstrap.tooltip');
|
||||
|
||||
$listOrder = $this->escape($this->state->get('list.ordering'));
|
||||
$listDirn = $this->escape($this->state->get('list.direction'));
|
||||
|
||||
$lang = JFactory::getLanguage();
|
||||
JText::script('COM_FINDER_INDEX_CONFIRM_PURGE_PROMPT');
|
||||
JText::script('COM_FINDER_INDEX_CONFIRM_DELETE_PROMPT');
|
||||
?>
|
||||
|
||||
<script type="text/javascript">
|
||||
Joomla.submitbutton = function(pressbutton)
|
||||
{
|
||||
if (pressbutton == 'index.purge')
|
||||
{
|
||||
if (confirm(Joomla.JText._('COM_FINDER_INDEX_CONFIRM_PURGE_PROMPT')))
|
||||
{
|
||||
Joomla.submitform(pressbutton);
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (pressbutton == 'index.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=index');?>" method="post" name="adminForm" id="adminForm">
|
||||
<?php if (!empty( $this->sidebar)) : ?>
|
||||
<div id="j-sidebar-container" class="span2">
|
||||
<?php echo $this->sidebar; ?>
|
||||
</div>
|
||||
<div id="j-main-container" class="span10">
|
||||
<?php else : ?>
|
||||
<div id="j-main-container">
|
||||
<?php endif;?>
|
||||
<fieldset id="filter-bar">
|
||||
<legend class="element-invisible"><?php echo JText::sprintf('COM_FINDER_SEARCH_LABEL', JText::_('COM_FINDER_ITEMS')); ?></legend>
|
||||
<div class="filter-search">
|
||||
<label class="filter-search-lbl" for="filter_search"><?php echo JText::sprintf('COM_FINDER_SEARCH_LABEL', JText::_('COM_FINDER_ITEMS')); ?></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_type"><?php echo JText::_('COM_FINDER_INDEX_TYPE_FILTER'); ?></label>
|
||||
<select name="filter_type" class="inputbox" id="filter_type">
|
||||
<option value=""><?php echo JText::_('COM_FINDER_INDEX_TYPE_FILTER'); ?></option>
|
||||
<?php echo JHtml::_('select.options', JHtml::_('finder.typeslist'), 'value', 'text', $this->state->get('filter.type'));?>
|
||||
</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', 'l.title', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="nowrap state-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JSTATUS', 'l.published', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="nowrap width-5">
|
||||
<?php echo JHtml::_('grid.sort', 'COM_FINDER_INDEX_HEADING_INDEX_TYPE', 'l.type_id', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="nowrap width-20">
|
||||
<?php echo JHtml::_('grid.sort', 'COM_FINDER_INDEX_HEADING_LINK_URL', 'l.url', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="title date-col">
|
||||
<?php echo JHtml::_('grid.sort', 'COM_FINDER_INDEX_HEADING_INDEX_DATE', 'l.indexdate', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<?php if (count($this->items) == 0) : ?>
|
||||
<tr class="row0">
|
||||
<td align="center" colspan="7">
|
||||
<?php
|
||||
if ($this->total == 0)
|
||||
{
|
||||
echo JText::_('COM_FINDER_INDEX_NO_DATA') . ' ' . JText::_('COM_FINDER_INDEX_TIP');
|
||||
} else {
|
||||
echo JText::_('COM_FINDER_INDEX_NO_CONTENT');
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
<?php $canChange = JFactory::getUser()->authorise('core.manage', 'com_finder'); ?>
|
||||
<?php foreach ($this->items as $i => $item) : ?>
|
||||
<tr class="row<?php echo $i % 2; ?>">
|
||||
<th class="center">
|
||||
<?php echo JHtml::_('grid.id', $i, $item->link_id); ?>
|
||||
</th>
|
||||
<td>
|
||||
<?php if ((int) $item->publish_start_date or (int) $item->publish_end_date or (int) $item->start_date or (int) $item->end_date) : ?>
|
||||
<img src="<?php echo JUri::root();?>/media/system/images/calendar.png" style="border:1px;float:right" class="hasTooltip" title="<?php echo JHtml::tooltipText(JText::sprintf('COM_FINDER_INDEX_DATE_INFO', $item->publish_start_date, $item->publish_end_date, $item->start_date, $item->end_date), '', 0); ?>" />
|
||||
<?php endif; ?>
|
||||
<?php echo $this->escape($item->title); ?>
|
||||
</td>
|
||||
<td class="center nowrap">
|
||||
<?php echo JHtml::_('jgrid.published', $item->published, $i, 'index.', $canChange, 'cb'); ?>
|
||||
</td>
|
||||
<td class="center nowrap">
|
||||
<?php
|
||||
$key = FinderHelperLanguage::branchSingular($item->t_title);
|
||||
echo $lang->hasKey($key) ? JText::_($key) : $item->t_title;
|
||||
?>
|
||||
</td>
|
||||
<td class="nowrap">
|
||||
<?php
|
||||
if (strlen($item->url) > 80)
|
||||
{
|
||||
echo substr($item->url, 0, 70) . '...';
|
||||
} else {
|
||||
echo $item->url;
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
<td class="center nowrap">
|
||||
<?php echo JHtml::_('date', $item->indexdate, JText::_('DATE_FORMAT_LC4')); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<?php echo $this->pagination->getListFooter(); ?>
|
||||
|
||||
<input type="hidden" name="task" value="display" />
|
||||
<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>
|
||||
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
||||
146
administrator/templates/hathor/html/com_finder/maps/default.php
Normal file
146
administrator/templates/hathor/html/com_finder/maps/default.php
Normal file
@ -0,0 +1,146 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
JHtml::_('behavior.multiselect');
|
||||
|
||||
$listOrder = $this->escape($this->state->get('list.ordering'));
|
||||
$listDirn = $this->escape($this->state->get('list.direction'));
|
||||
|
||||
$lang = JFactory::getLanguage();
|
||||
JText::script('COM_FINDER_MAPS_CONFIRM_DELETE_PROMPT');
|
||||
?>
|
||||
|
||||
<script type="text/javascript">
|
||||
Joomla.submitbutton = function(pressbutton)
|
||||
{
|
||||
if (pressbutton == 'map.delete')
|
||||
{
|
||||
if (confirm(Joomla.JText._('COM_FINDER_MAPS_CONFIRM_DELETE_PROMPT')))
|
||||
{
|
||||
Joomla.submitform(pressbutton);
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
Joomla.submitform(pressbutton);
|
||||
}
|
||||
</script>
|
||||
<form action="<?php echo JRoute::_('index.php?option=com_finder&view=maps');?>" method="post" name="adminForm" id="adminForm">
|
||||
<?php if (!empty( $this->sidebar)) : ?>
|
||||
<div id="j-sidebar-container" class="span2">
|
||||
<?php echo $this->sidebar; ?>
|
||||
</div>
|
||||
<div id="j-main-container" class="span10">
|
||||
<?php else : ?>
|
||||
<div id="j-main-container">
|
||||
<?php endif;?>
|
||||
<fieldset id="filter-bar">
|
||||
<legend class="element-invisible"><?php echo JText::sprintf('COM_FINDER_SEARCH_LABEL', JText::_('COM_FINDER_MAPS')); ?></legend>
|
||||
<div class="filter-search">
|
||||
<label class="filter-search-lbl" for="filter_search"><?php echo JText::sprintf('COM_FINDER_SEARCH_LABEL', JText::_('COM_FINDER_MAPS')); ?></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_branch"><?php echo JText::sprintf('COM_FINDER_FILTER_BY', JText::_('COM_FINDER_MAPS')); ?></label>
|
||||
<select name="filter_branch" class="inputbox" id="filter_branch">
|
||||
<?php echo JHtml::_('select.options', JHtml::_('finder.mapslist'), 'value', 'text', $this->state->get('filter.branch'));?>
|
||||
</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>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<?php if (count($this->items) == 0) : ?>
|
||||
<tr class="row0">
|
||||
<td class="center" colspan="5">
|
||||
<?php echo JText::_('COM_FINDER_MAPS_NO_CONTENT'); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->state->get('filter.branch') != 1) : ?>
|
||||
<tr class="row1">
|
||||
<td colspan="5" class="center">
|
||||
<a href="#" onclick="document.id('filter_branch').value='1';document.adminForm.submit();">
|
||||
<?php echo JText::_('COM_FINDER_MAPS_RETURN_TO_BRANCHES'); ?></a>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php $canChange = JFactory::getUser()->authorise('core.manage', 'com_finder'); ?>
|
||||
<?php foreach ($this->items as $i => $item) :?>
|
||||
<tr class="row<?php echo $i % 2; ?>">
|
||||
<th class="center">
|
||||
<?php echo JHtml::_('grid.id', $i, $item->id); ?>
|
||||
</th>
|
||||
<td>
|
||||
<?php
|
||||
$key = FinderHelperLanguage::branchSingular($item->title);
|
||||
$title = $lang->hasKey($key) ? JText::_($key) : $item->title;
|
||||
?>
|
||||
<?php if ($this->state->get('filter.branch') == 1 && $item->num_children) : ?>
|
||||
<a href="#" onclick="document.id('filter_branch').value='<?php echo (int) $item->id;?>';document.adminForm.submit();" title="<?php echo JText::_('COM_FINDER_MAPS_BRANCH_LINK'); ?>">
|
||||
<?php echo $this->escape($title); ?></a>
|
||||
<?php else: ?>
|
||||
<?php echo $this->escape($title); ?>
|
||||
<?php endif; ?>
|
||||
<?php if ($item->num_children > 0) : ?>
|
||||
<small>(<?php echo $item->num_children; ?>)</small>
|
||||
<?php elseif ($item->num_nodes > 0) : ?>
|
||||
<small>(<?php echo $item->num_nodes; ?>)</small>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php echo JHtml::_('jgrid.published', $item->state, $i, 'maps.', $canChange, 'cb'); ?>
|
||||
</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'); ?>
|
||||
</div>
|
||||
</form>
|
||||
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
||||
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
||||
@ -0,0 +1,81 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_installer
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
?>
|
||||
<div id="installer-database">
|
||||
<form action="<?php echo JRoute::_('index.php?option=com_installer&view=warnings');?>" method="post" name="adminForm" id="adminForm">
|
||||
<?php if (!empty( $this->sidebar)) : ?>
|
||||
<div id="j-sidebar-container" class="span2">
|
||||
<?php echo $this->sidebar; ?>
|
||||
</div>
|
||||
<div id="j-main-container" class="span10">
|
||||
<?php else : ?>
|
||||
<div id="j-main-container">
|
||||
<?php endif;?>
|
||||
<?php if ($this->errorCount === 0) : ?>
|
||||
<p class="nowarning"><?php echo JText::_('COM_INSTALLER_MSG_DATABASE_OK'); ?></p>
|
||||
<?php echo JHtml::_('sliders.start', 'database-sliders', array('useCookie' => 1)); ?>
|
||||
|
||||
<?php else : ?>
|
||||
<p class="warning"><?php echo JText::_('COM_INSTALLER_MSG_DATABASE_ERRORS'); ?></p>
|
||||
<?php echo JHtml::_('sliders.start', 'database-sliders', array('useCookie' => 1)); ?>
|
||||
|
||||
<?php $panelName = JText::plural('COM_INSTALLER_MSG_N_DATABASE_ERROR_PANEL', $this->errorCount); ?>
|
||||
<?php echo JHtml::_('sliders.panel', $panelName, 'error-panel'); ?>
|
||||
<fieldset class="panelform">
|
||||
<ul>
|
||||
<?php if (!$this->filterParams) : ?>
|
||||
<li><?php echo JText::_('COM_INSTALLER_MSG_DATABASE_FILTER_ERROR'); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (!(strncmp($this->schemaVersion, JVERSION, 5) === 0)) : ?>
|
||||
<li><?php echo JText::sprintf('COM_INSTALLER_MSG_DATABASE_SCHEMA_ERROR', $this->schemaVersion, JVERSION); ?></li>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (($this->updateVersion != JVERSION)) : ?>
|
||||
<li><?php echo JText::sprintf('COM_INSTALLER_MSG_DATABASE_UPDATEVERSION_ERROR', $this->updateVersion, JVERSION); ?></li>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php foreach ($this->errors as $line => $error) : ?>
|
||||
<?php $key = 'COM_INSTALLER_MSG_DATABASE_' . $error->queryType;
|
||||
$msgs = $error->msgElements;
|
||||
$file = basename($error->file);
|
||||
$msg0 = (isset($msgs[0])) ? $msgs[0] : ' ';
|
||||
$msg1 = (isset($msgs[1])) ? $msgs[1] : ' ';
|
||||
$msg2 = (isset($msgs[2])) ? $msgs[2] : ' ';
|
||||
$message = JText::sprintf($key, $file, $msg0, $msg1, $msg2); ?>
|
||||
<li><?php echo $message; ?></li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php echo JHtml::_('sliders.panel', JText::_('COM_INSTALLER_MSG_DATABASE_INFO'), 'furtherinfo-pane'); ?>
|
||||
<fieldset class="panelform">
|
||||
<ul>
|
||||
<li><?php echo JText::sprintf('COM_INSTALLER_MSG_DATABASE_SCHEMA_VERSION', $this->schemaVersion); ?></li>
|
||||
<li><?php echo JText::sprintf('COM_INSTALLER_MSG_DATABASE_UPDATE_VERSION', $this->updateVersion); ?></li>
|
||||
<li><?php echo JText::sprintf('COM_INSTALLER_MSG_DATABASE_DRIVER', JFactory::getDbo()->name); ?></li>
|
||||
<li><?php echo JText::sprintf('COM_INSTALLER_MSG_DATABASE_CHECKED_OK', count($this->results['ok'])); ?></li>
|
||||
<li><?php echo JText::sprintf('COM_INSTALLER_MSG_DATABASE_SKIPPED', count($this->results['skipped'])); ?></li>
|
||||
</ul>
|
||||
</fieldset>
|
||||
<?php echo JHtml::_('sliders.end'); ?>
|
||||
|
||||
<div class="clr"> </div>
|
||||
<div>
|
||||
<input type="hidden" name="task" value="" />
|
||||
<input type="hidden" name="boxchecked" value="0" />
|
||||
<?php echo JHtml::_('form.token'); ?>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
||||
@ -0,0 +1,29 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
?>
|
||||
<fieldset class="adminform" title="<?php echo JText::_('COM_INSTALLER_MSG_DESCFTPTITLE'); ?>">
|
||||
<legend><?php echo JText::_('COM_INSTALLER_MSG_DESCFTPTITLE'); ?></legend>
|
||||
|
||||
<?php echo JText::_('COM_INSTALLER_MSG_DESCFTP'); ?>
|
||||
|
||||
<?php if ($this->ftp instanceof Exception) : ?>
|
||||
<p><?php echo JText::_($this->ftp->getMessage()); ?></p>
|
||||
<?php endif; ?>
|
||||
|
||||
<ul class="adminformlist">
|
||||
<li><label for="username"><?php echo JText::_('JGLOBAL_USERNAME'); ?></label>
|
||||
<input type="text" id="username" name="username" class="inputbox" value="" /></li>
|
||||
|
||||
<li><label for="password"><?php echo JText::_('JGLOBAL_PASSWORD'); ?></label>
|
||||
<input type="password" id="password" name="password" class="input_box" value="" /></li>
|
||||
</ul>
|
||||
|
||||
</fieldset>
|
||||
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
||||
@ -0,0 +1,90 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
JHtml::_('bootstrap.tooltip');
|
||||
JHtml::_('behavior.multiselect');
|
||||
|
||||
$listOrder = $this->escape($this->state->get('list.ordering'));
|
||||
$listDirn = $this->escape($this->state->get('list.direction'));
|
||||
?>
|
||||
<div id="installer-discover">
|
||||
<form action="<?php echo JRoute::_('index.php?option=com_installer&view=discover');?>" method="post" name="adminForm" id="adminForm">
|
||||
<?php if (!empty( $this->sidebar)) : ?>
|
||||
<div id="j-sidebar-container" class="span2">
|
||||
<?php echo $this->sidebar; ?>
|
||||
</div>
|
||||
<div id="j-main-container" class="span10">
|
||||
<?php else : ?>
|
||||
<div id="j-main-container">
|
||||
<?php endif;?>
|
||||
<?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">
|
||||
<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 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 center"><?php echo JText::_('JDATE'); ?></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-15 center"><?php echo JText::_('JAUTHOR'); ?></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;?>">
|
||||
<td><?php echo JHtml::_('grid.id', $i, $item->extension_id); ?></td>
|
||||
<td><span class="bold hasTooltip" title="<?php echo JHtml::tooltipText($item->name, $item->description, 0); ?>"><?php echo $item->name; ?></span></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"><?php echo @$item->folder != '' ? $item->folder : JText::_('COM_INSTALLER_TYPE_NONAPPLICABLE'); ?></td>
|
||||
<td class="center"><?php echo $item->client; ?></td>
|
||||
<td class="center">
|
||||
<span class="editlinktip hasTooltip" title="<?php echo JHtml::tooltipText(JText::_('COM_INSTALLER_AUTHOR_INFORMATION'), $item->author_info, 0); ?>">
|
||||
<?php echo @$item->author != '' ? $item->author : ' '; ?>
|
||||
</span>
|
||||
</td>
|
||||
<td><?php echo $item->extension_id ?></td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php echo $this->pagination->getListFooter(); ?>
|
||||
<?php echo JText::_('COM_INSTALLER_MSG_DISCOVER_DESCRIPTION'); ?>
|
||||
<?php else : ?>
|
||||
<p class="nowarning">
|
||||
<?php echo JText::_('COM_INSTALLER_MSG_DISCOVER_DESCRIPTION'); ?>
|
||||
</p>
|
||||
<p class="nowarning">
|
||||
<?php echo JText::_('COM_INSTALLER_MSG_DISCOVER_NOEXTENSION'); ?>
|
||||
</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'); ?>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
||||
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
||||
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_installer
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
?>
|
||||
<?php if ($this->showMessage) : ?>
|
||||
<?php echo $this->loadTemplate('message'); ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $this->loadTemplate('form'); ?>
|
||||
@ -0,0 +1,97 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_installer
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
Joomla.submitbutton = function(pressbutton)
|
||||
{
|
||||
var form = document.getElementById('adminForm');
|
||||
|
||||
// do field validation
|
||||
if (form.install_package.value == ""){
|
||||
alert("<?php echo JText::_('COM_INSTALLER_MSG_INSTALL_PLEASE_SELECT_A_PACKAGE', true); ?>");
|
||||
}
|
||||
else
|
||||
{
|
||||
form.installtype.value = 'upload';
|
||||
form.submit();
|
||||
}
|
||||
}
|
||||
|
||||
Joomla.submitbutton3 = function(pressbutton)
|
||||
{
|
||||
var form = document.getElementById('adminForm');
|
||||
|
||||
// do field validation
|
||||
if (form.install_directory.value == ""){
|
||||
alert("<?php echo JText::_('COM_INSTALLER_MSG_INSTALL_PLEASE_SELECT_A_DIRECTORY', true); ?>");
|
||||
}
|
||||
else
|
||||
{
|
||||
form.installtype.value = 'folder';
|
||||
form.submit();
|
||||
}
|
||||
}
|
||||
|
||||
Joomla.submitbutton4 = function(pressbutton)
|
||||
{
|
||||
var form = document.getElementById('adminForm');
|
||||
|
||||
// do field validation
|
||||
if (form.install_url.value == "" || form.install_url.value == "http://"){
|
||||
alert("<?php echo JText::_('COM_INSTALLER_MSG_INSTALL_ENTER_A_URL', true); ?>");
|
||||
}
|
||||
else
|
||||
{
|
||||
form.installtype.value = 'url';
|
||||
form.submit();
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<form enctype="multipart/form-data" action="<?php echo JRoute::_('index.php?option=com_installer&view=install');?>" method="post" name="adminForm" id="adminForm">
|
||||
<?php if (!empty( $this->sidebar)) : ?>
|
||||
<div id="j-sidebar-container" class="span2">
|
||||
<?php echo $this->sidebar; ?>
|
||||
</div>
|
||||
<div id="j-main-container" class="span10">
|
||||
<?php else : ?>
|
||||
<div id="j-main-container">
|
||||
<?php endif;?>
|
||||
<?php if ($this->ftp) : ?>
|
||||
<?php echo $this->loadTemplate('ftp'); ?>
|
||||
<?php endif; ?>
|
||||
<div class="width-70 fltlft">
|
||||
<fieldset class="uploadform">
|
||||
<legend><?php echo JText::_('COM_INSTALLER_UPLOAD_PACKAGE_FILE'); ?></legend>
|
||||
<label for="install_package"><?php echo JText::_('COM_INSTALLER_PACKAGE_FILE'); ?></label>
|
||||
<input class="input_box" id="install_package" name="install_package" type="file" size="57" />
|
||||
<input class="button" type="button" value="<?php echo JText::_('COM_INSTALLER_UPLOAD_AND_INSTALL'); ?>" onclick="Joomla.submitbutton()" />
|
||||
</fieldset>
|
||||
<div class="clr"></div>
|
||||
<fieldset class="uploadform">
|
||||
<legend><?php echo JText::_('COM_INSTALLER_INSTALL_FROM_DIRECTORY'); ?></legend>
|
||||
<label for="install_directory"><?php echo JText::_('COM_INSTALLER_INSTALL_DIRECTORY'); ?></label>
|
||||
<input type="text" id="install_directory" name="install_directory" class="input_box" size="70" value="<?php echo $this->state->get('install.directory'); ?>" /> <input type="button" class="button" value="<?php echo JText::_('COM_INSTALLER_INSTALL_BUTTON'); ?>" onclick="Joomla.submitbutton3()" />
|
||||
</fieldset>
|
||||
<div class="clr"></div>
|
||||
<fieldset class="uploadform">
|
||||
<legend><?php echo JText::_('COM_INSTALLER_INSTALL_FROM_URL'); ?></legend>
|
||||
<label for="install_url"><?php echo JText::_('COM_INSTALLER_INSTALL_URL'); ?></label>
|
||||
<input type="text" id="install_url" name="install_url" class="input_box" size="70" value="http://" />
|
||||
<input type="button" class="button" value="<?php echo JText::_('COM_INSTALLER_INSTALL_BUTTON'); ?>" onclick="Joomla.submitbutton4()" />
|
||||
</fieldset>
|
||||
<input type="hidden" name="type" value="" />
|
||||
<input type="hidden" name="installtype" value="upload" />
|
||||
<input type="hidden" name="task" value="install.install" />
|
||||
<?php echo JHtml::_('form.token'); ?>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
||||
@ -0,0 +1,101 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_installer
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
JHtml::_('behavior.multiselect');
|
||||
JHtml::_('bootstrap.tooltip');
|
||||
|
||||
$listOrder = $this->escape($this->state->get('list.ordering'));
|
||||
$listDirn = $this->escape($this->state->get('list.direction'));
|
||||
|
||||
$version = new JVersion;
|
||||
|
||||
?>
|
||||
|
||||
<div id="installer-languages">
|
||||
<form action="<?php echo JRoute::_('index.php?option=com_installer&view=languages');?>" method="post" name="adminForm" id="adminForm">
|
||||
<?php if (!empty( $this->sidebar)) : ?>
|
||||
<div id="j-sidebar-container" class="span2">
|
||||
<?php echo $this->sidebar; ?>
|
||||
</div>
|
||||
<div id="j-main-container" class="span10">
|
||||
<?php else : ?>
|
||||
<div id="j-main-container">
|
||||
<?php endif;?>
|
||||
|
||||
<?php if (count($this->items) || $this->escape($this->state->get('filter.search'))) : ?>
|
||||
<?php echo $this->loadTemplate('filter'); ?>
|
||||
<table class="adminlist">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="20" class="nowrap hidden-phone">
|
||||
<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 width="10%" class="center">
|
||||
<?php echo JText::_('JVERSION'); ?>
|
||||
</th>
|
||||
<th class="center nowrap hidden-phone">
|
||||
<?php echo JText::_('COM_INSTALLER_HEADING_TYPE'); ?>
|
||||
</th>
|
||||
<th width="35%" class="nowrap hidden-phone">
|
||||
<?php echo JText::_('COM_INSTALLER_HEADING_DETAILS_URL'); ?>
|
||||
</th>
|
||||
<th width="30" class="nowrap hidden-phone">
|
||||
<?php echo JHtml::_('grid.sort', 'COM_INSTALLER_HEADING_ID', 'update_id', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ($this->items as $i => $language) : ?>
|
||||
<tr class="row<?php echo $i % 2; ?>">
|
||||
<td class="hidden-phone">
|
||||
<?php echo JHtml::_('grid.id', $i, $language->update_id, false, 'cid'); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo $language->name; ?>
|
||||
|
||||
<?php // Display a Note if language pack version is not equal to Joomla version ?>
|
||||
<?php if (substr($language->version, 0, 3) != $version->RELEASE
|
||||
|| substr($language->version, 0, 5) != $version->RELEASE . "." . $version->DEV_LEVEL) : ?>
|
||||
<div class="small"><?php echo JText::_('JGLOBAL_LANGUAGE_VERSION_NOT_PLATFORM'); ?></div>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php echo $language->version; ?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php echo JText::_('COM_INSTALLER_TYPE_' . strtoupper($language->type)); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo $language->detailsurl; ?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php echo $language->update_id; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php echo $this->pagination->getListFooter(); ?>
|
||||
<?php else : ?>
|
||||
<div class="alert"><?php echo JText::_('COM_INSTALLER_MSG_LANGUAGES_NOLANGUAGES'); ?></div>
|
||||
<?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'); ?>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
@ -0,0 +1,21 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_installer
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
?>
|
||||
<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_INSTALLER_LANGUAGES_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>
|
||||
</fieldset>
|
||||
<div class="clr"></div>
|
||||
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user