joomla /administrator/components/com_redirect/views/link/tmpl/edit.php

Language PHP Lines 65
MD5 Hash c541cab9552e6a84fd2b14d8ee6ca549
Repository https://github.com/joebushi/joomla.git View Raw File View Project SPDX
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?php
/**
 * @version		$Id$
 * @package		Joomla.Administrator
 * @subpackage	com_redirect
 * @copyright	Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

// No direct access.
defined('_JEXEC') or die;

// Include the HTML helpers.
JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
JHtml::_('behavior.tooltip');
JHtml::_('behavior.formvalidation');
JHtml::_('behavior.keepalive');

?>
<script type="text/javascript">
<!--
	function submitbutton(task)
	{
		if (task == 'link.cancel' || document.formvalidator.isValid(document.id('link-form'))) {
			submitform(task);
		}
	}
// -->
</script>

<form action="<?php echo JRoute::_('index.php?option=com_redirect'); ?>" method="post" name="adminForm" id="link-form" class="form-validate">
	<div class="width-60 fltlft">
		<fieldset class="adminform">
			<legend><?php echo empty($this->item->id) ? JText::_('Redir_New_Link') : JText::sprintf('Redir_Edit_Link', $this->item->id); ?></legend>

			<?php echo $this->form->getLabel('old_url'); ?>
			<?php echo $this->form->getInput('old_url'); ?>

			<?php echo $this->form->getLabel('new_url'); ?>
			<?php echo $this->form->getInput('new_url'); ?>

			<?php echo $this->form->getLabel('comment'); ?>
			<?php echo $this->form->getInput('comment'); ?>
		</fieldset>
	</div>

	<div class="width-40 fltrt">
		<fieldset class="adminform">
			<legend><?php echo JText::_('Details'); ?></legend>

				<?php echo $this->form->getLabel('published'); ?>
				<?php echo $this->form->getInput('published'); ?>

				<?php echo $this->form->getLabel('created_date'); ?>
				<?php echo $this->form->getInput('created_date'); ?>

				<?php echo $this->form->getLabel('updated_date'); ?>
				<?php echo $this->form->getInput('updated_date'); ?>
		</fieldset>
	</div>
	<div class="clr"></div>
	<input type="hidden" name="task" value="" />
	<?php echo JHtml::_('form.token'); ?>
</form>
Back to Top