CoreFiles by mySites.guru
default.php66 lines, 1,780 bytes, from Joomla_3.4.0-Stable-Full_Package.zip
Raw History Compare with 3.3.6
md5
a15c1d7d348eb4fdc97f0684e1fb67e3
sha1
8839ae629ba37e3ee457a6699b1750bf08adde3c
sha256
2641a0c96ceec336030ebc37f37858ebe0cd7e5b2297b5833b12d7dfc4255b25
<?php
/**
 * @package     Joomla.Site
 * @subpackage  com_config
 *
 * @copyright   Copyright (C) 2005 - 2015 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-fluid">

		<!-- Begin Content -->
		<div class="span12">

			<div class="btn-toolbar">
				<div class="btn-group">
					<button type="button" class="btn btn-primary" onclick="Joomla.submitbutton('config.save.templates.apply')">
						<i class="icon-ok"></i> <?php echo JText::_('JSAVE') ?>
					</button>
				</div>
				<div class="btn-group">
					<button type="button" class="btn" onclick="Joomla.submitbutton('config.cancel')">
						<i class="icon-cancel"></i> <?php echo JText::_('JCANCEL') ?>
					</button>
				</div>
			</div>

	<hr class="hr-condensed" />

	<div id="page-site" class="tab-pane active">
				<div class="row-fluid">
					<div class="span6">
						<?php // Get the menu parameters that are automatically set but may be modified.
					echo $this->loadTemplate('options'); ?>

					</div>
				</div>
	</div>

	<input type="hidden" name="task" value="" />
	<?php echo JHtml::_('form.token'); ?>

	</div>
		<!-- End Content -->
	</div>

</form>

The same content is in 5 releases, Joomla 3.4.0-beta1 to 3.4.0. See them all, or every version of this file.