first commit

This commit is contained in:
alazhar
2020-01-02 22:20:31 +07:00
commit 10eb3340ad
5753 changed files with 631345 additions and 0 deletions

View File

@ -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&amp;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>

View File

@ -0,0 +1 @@
<!DOCTYPE html><title></title>

View File

@ -0,0 +1 @@
<!DOCTYPE html><title></title>

View File

@ -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>

View File

@ -0,0 +1 @@
<!DOCTYPE html><title></title>

View File

@ -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>

View File

@ -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">&#160;</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>

View File

@ -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">&#160;</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>

View File

@ -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>

View File

@ -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">&#160;
</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>

View File

@ -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">&#160;
</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>

View File

@ -0,0 +1 @@
<!DOCTYPE html><title></title>