| [ Index ] |
PHP Cross Reference of Joomla 1.5.26 DE |
[Summary view] [Print] [Text view]
1 <?php defined('_JEXEC') or die('Restricted access'); ?> 2 3 <script language="javascript" type="text/javascript"> 4 <!-- 5 function submitbutton(pressbutton) { 6 if (pressbutton == 'doCopyMenu') { 7 if ( document.adminForm.menu_name.value == '' ) { 8 alert( "<?php echo JText::_( 'Please enter a name for the copy of the Menu', true ); ?>" ); 9 return; 10 } else if ( document.adminForm.module_name.value == '' ) { 11 alert( "<?php echo JText::_( 'Please enter a name for the new Module', true ); ?>" ); 12 return; 13 } else { 14 submitform( 'doCopyMenu' ); 15 } 16 } else { 17 submitform( pressbutton ); 18 } 19 } 20 //--> 21 </script> 22 <form action="index.php" method="post" name="adminForm"> 23 <table class="adminform"> 24 <tr> 25 <td width="3%"></td> 26 <td valign="top" width="30%"> 27 <strong><?php echo JText::_( 'New Menu Name' ); ?>:</strong> 28 <br /> 29 <input class="inputbox" type="text" name="menu_name" size="30" value="" /> 30 <br /><br /><br /> 31 <strong><?php echo JText::_( 'New Module Name' ); ?>:</strong> 32 <br /> 33 <input class="inputbox" type="text" name="module_name" size="30" value="" /> 34 <br /><br /> 35 </td> 36 <td valign="top" width="25%"> 37 <strong><?php echo JText::_( 'Menu being copied' ); ?>:</strong> 38 <br /> 39 <font color="#000066"><strong><?php echo $this->table->menutype; ?></strong></font> 40 <br /><br /> 41 <strong><?php echo JText::_( 'Menu Items being copied' ); ?>:</strong> 42 <br /> 43 <ol> 44 <?php foreach ($this->items as $item) : ?> 45 <li> 46 <font color="#000066"><?php echo $item->name; ?></font> 47 </li> 48 <input type="hidden" name="mids[]" value="<?php echo $item->id; ?>" /> 49 <?php endforeach; ?> 50 </ol> 51 </td> 52 <td valign="top"></td> 53 </tr> 54 <tr> 55 <td> </td> 56 </tr> 57 </table> 58 59 <input type="hidden" name="option" value="com_menus" /> 60 <input type="hidden" name="task" value="" /> 61 <input type="hidden" name="type" value="<?php echo htmlspecialchars($this->table->menutype); ?>" /> 62 <?php echo JHTML::_( 'form.token' ); ?> 63 </form>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Wed Mar 28 15:54:07 2012 | Cross-referenced by PHPXref 0.7.1 |