- md5
- 3c9faea5ca3c5b66538e652c6e96fba7
- sha1
- aab76fc9a3e21c1231cd9b187e7d5c5468becfd7
- sha256
- 1cd87edcc4b7d97a669db55cc69a0970f6ed613808f252ee81f7283595a0cc06
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
<?php
/**
* @package Joomla.Site
* @subpackage com_config
*
* @copyright Copyright (C) 2005 - 2017 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.formvalidator');
JHtml::_('behavior.keepalive');
$user = JFactory::getUser();
JFactory::getDocument()->addScriptDeclaration("
Joomla.submitbutton = function(task)
{
if (task == 'config.cancel' || document.formvalidator.isValid(document.getElementById('templates-form')))
{
Joomla.submitform(task, document.getElementById('templates-form'));
}
}
");
?>
<form action="<?php echo JRoute::_('index.php?option=com_config'); ?>" method="post" name="adminForm" id="templates-form" class="form-validate">
<div class="row">
<div role="toolbar" aria-label="<?php echo JText::_('JTOOLBAR'); ?>">
<div class="btn-group">
<button type="button" class="btn btn-primary" onclick="Joomla.submitbutton('templates.apply')">
<span class="icon-ok"></span>
<?php echo JText::_('JSAVE') ?>
</button>
</div>
<div class="btn-group">
<button type="button" class="btn btn-danger" onclick="Joomla.submitbutton('config.cancel')">
<span class="icon-cancel"></span>
<?php echo JText::_('JCANCEL') ?>
</button>
</div>
</div>
<hr>
<div id="page-site" class="tab-pane active">
<div class="row">
<?php // Get the menu parameters that are automatically set but may be modified.
echo $this->loadTemplate('options'); ?>
</div>
</div>
<input type="hidden" name="task" value="">
<?php echo JHtml::_('form.token'); ?>
</div>
</form>
No other release has this exact content. See every version of this file.