CoreFiles by mySites.guru
default.php71 lines, 2,236 bytes, from Joomla_3.2.1-Stable-Full_Package.zip
Raw History Compare with 3.2.0
md5
217a64b57ba2aab5d024188a98ad54cb
sha1
055d5368292002c73b20404155d9930963a32efd
sha256
fc272f0f388c33de5b42726c2f9a8aca96bd9426b1910d9603ab2e1a9560d3c6
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_messages
 *
 * @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 HTML helpers.
JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');

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>

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