CoreFiles by mySites.guru
default.php70 lines, 2,263 bytes, from Joomla_3.0.2-Stable-Full_Package.zip
Raw History Compare with 3.0.1
md5
7f4c01af9e9b1e9b041f05f39f8b298e
sha1
cdc5fdc40d19ad7c28f234b34ee6e6a18555a319
sha256
2792b9eda2837ec7163d74228b22b9006e4af64ba7942bc9dd4ee9f6de8e50e9
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_messages
 *
 * @copyright   Copyright (C) 2005 - 2012 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 HTML helpers.
JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
JHtml::_('behavior.tooltip');
JHtml::_('behavior.formvalidation');
JHtml::_('behavior.keepalive');
JHtml::_('behavior.modal');
?>
<script type="text/javascript">
	Joomla.submitbutton = function(task)
	{
		if (task == 'config.cancel' || document.formvalidator.isValid(document.id('config-form'))) {
			Joomla.submitform(task, document.getElementById('config-form'));
		}
	}
</script>
<form action="<?php echo JRoute::_('index.php?option=com_messages'); ?>" method="post" name="adminForm" id="message-form" class="form-validate form-horizontal">
	<fieldset>
		<div>
			<div class="modal-header">
				<h3><?php echo JText::_('COM_MESSAGES_MY_SETTINGS');?></h3>
			</div>
			<div class="modal-body">
				<button class="btn btn-primary" type="submit" onclick="Joomla.submitform('config.save', this.form);window.top.setTimeout('window.parent.SqueezeBox.close()', 700);">
					<?php echo JText::_('JSAVE');?></button>
				<button class="btn" type="button" onclick="window.parent.SqueezeBox.close();">
					<?php echo JText::_('JCANCEL');?></button>
				<hr />
				<div class="control-group">
					<div class="control-label">
						<?php echo $this->form->getLabel('lock'); ?>
					</div>
					<div class="controls">
						<?php echo $this->form->getInput('lock'); ?>
					</div>
				</div>
				<div class="control-group">
					<div class="control-label">
						<?php echo $this->form->getLabel('mail_on_new'); ?>
					</div>
					<div class="controls">
						<?php echo $this->form->getInput('mail_on_new'); ?>
					</div>
				</div>
				<div class="control-group">
					<div class="control-label">
						<?php echo $this->form->getLabel('auto_purge'); ?>
					</div>
					<div class="controls">
						<?php echo $this->form->getInput('auto_purge'); ?>
					</div>
				</div>

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

</form>

No other release has this exact content. See every version of this file.