CoreFiles by mySites.guru
default.php58 lines, 1,676 bytes, from Joomla_4.0.0-alpha2-Alpha-Full_Package.zip
Raw History Compare with 3.10.0-alpha9
md5
3c9faea5ca3c5b66538e652c6e96fba7
sha1
aab76fc9a3e21c1231cd9b187e7d5c5468becfd7
sha256
1cd87edcc4b7d97a669db55cc69a0970f6ed613808f252ee81f7283595a0cc06
<?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.