- md5
- 742b12da7c3b02544f73a15973aed3a3
- sha1
- 44d169cd903ee731d0c124d4ad56427d295bb1af
- sha256
- 4a4300f118214104daf70b01ec95dbe6dbb492ccc57f475b7846d7c787a03d9b
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
<?php
/**
* @package Joomla.Administrator
* @subpackage com_users
*
* @copyright (C) 2015 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
JHtml::_('behavior.formvalidator');
JFactory::getDocument()->addScriptDeclaration('
jQuery(document).ready(function() {
Joomla.submitbutton = function(task)
{
if (task == "note.cancel" || document.formvalidator.isValid(document.getElementById("note-form")))
{
' . $this->form->getField('body')->save() . '
Joomla.submitform(task, document.getElementById("note-form"));
}
}
});');
?>
<form action="<?php echo JRoute::_('index.php?option=com_users&view=note&id=' . (int) $this->item->id);?>" method="post" name="adminForm" id="note-form" class="form-validate">
<div class="col main-section">
<fieldset class="adminform">
<legend><?php echo empty($this->item->id) ? JText::_('COM_USERS_NEW_NOTE') : JText::sprintf('COM_USERS_EDIT_NOTE', $this->item->id); ?></legend>
<ul class="adminformlist">
<li>
<?php echo $this->form->getLabel('subject'); ?>
<?php echo $this->form->getInput('subject'); ?>
</li>
<li>
<div class="clr"></div>
<?php echo $this->form->getLabel('user_id'); ?>
<?php echo $this->form->getInput('user_id'); ?>
</li>
<li>
<?php echo $this->form->getLabel('catid'); ?>
<?php echo $this->form->getInput('catid'); ?>
</li>
<li>
<?php echo $this->form->getLabel('state'); ?>
<?php echo $this->form->getInput('state'); ?>
</li>
<li>
<?php echo $this->form->getLabel('review_time'); ?>
<?php echo $this->form->getInput('review_time'); ?>
</li>
<li>
<?php echo $this->form->getLabel('version_note'); ?>
<?php echo $this->form->getInput('version_note'); ?>
</li>
</ul>
<div class="clr"></div>
<?php echo $this->form->getLabel('body'); ?>
<div class="clr"></div>
<div class="editor">
<?php echo $this->form->getInput('body'); ?>
</div>
<input type="hidden" name="task" value="" />
<?php echo JHtml::_('form.token'); ?>
</fieldset>
</form>
The same content is in 25 releases, Joomla 3.10.0-alpha2 to 3.10.12. See them all, or every version of this file.