| Server IP : 180.180.241.3 / Your IP : 216.73.216.216 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/news/administrator/components/com_menus/views/menus/tmpl/ |
Upload File : |
<?php defined('_JEXEC') or die('Restricted access'); ?>
<script language="javascript" type="text/javascript">
<!--
function submitbutton(pressbutton) {
if (pressbutton == 'doCopyMenu') {
if ( document.adminForm.menu_name.value == '' ) {
alert( "<?php echo JText::_( 'Please enter a name for the copy of the Menu', true ); ?>" );
return;
} else if ( document.adminForm.module_name.value == '' ) {
alert( "<?php echo JText::_( 'Please enter a name for the new Module', true ); ?>" );
return;
} else {
submitform( 'doCopyMenu' );
}
} else {
submitform( pressbutton );
}
}
//-->
</script>
<form action="index.php" method="post" name="adminForm">
<table class="adminform">
<tr>
<td width="3%"></td>
<td valign="top" width="30%">
<strong><?php echo JText::_( 'New Menu Name' ); ?>:</strong>
<br />
<input class="inputbox" type="text" name="menu_name" size="30" value="" />
<br /><br /><br />
<strong><?php echo JText::_( 'New Module Name' ); ?>:</strong>
<br />
<input class="inputbox" type="text" name="module_name" size="30" value="" />
<br /><br />
</td>
<td valign="top" width="25%">
<strong><?php echo JText::_( 'Menu being copied' ); ?>:</strong>
<br />
<font color="#000066"><strong><?php echo $this->table->menutype; ?></strong></font>
<br /><br />
<strong><?php echo JText::_( 'Menu Items being copied' ); ?>:</strong>
<br />
<ol>
<?php foreach ($this->items as $item) : ?>
<li>
<font color="#000066"><?php echo $item->name; ?></font>
</li>
<input type="hidden" name="mids[]" value="<?php echo $item->id; ?>" />
<?php endforeach; ?>
</ol>
</td>
<td valign="top"></td>
</tr>
<tr>
<td> </td>
</tr>
</table>
<input type="hidden" name="option" value="com_menus" />
<input type="hidden" name="task" value="" />
<input type="hidden" name="type" value="<?php echo htmlspecialchars($this->table->menutype); ?>" />
<?php echo JHTML::_( 'form.token' ); ?>
</form>