Changeset 1474:122a77514ce1 for plugins/simpleMenu/index.php
- Timestamp:
- 08/19/13 15:22:41 (11 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/simpleMenu/index.php
r1358 r1474 233 233 234 234 // All done successfully, return to menu items list 235 http::redirect($p_url.'&a dded=1');235 http::redirect($p_url.'&added=1'); 236 236 } else { 237 237 throw new Exception(__('Label and URL of menu item are mandatory.')); … … 268 268 269 269 // All done successfully, return to menu items list 270 http::redirect($p_url.'& removed=1');270 http::redirect($p_url.'&removed=1'); 271 271 } else { 272 272 throw new Exception(__('No menu items selected.')); … … 302 302 303 303 // All done successfully, return to menu items list 304 http::redirect($p_url.'& updated=1');304 http::redirect($p_url.'&updated=1'); 305 305 } 306 306 catch (Exception $e) { … … 339 339 340 340 // All done successfully, return to menu items list 341 http::redirect($p_url.'& neworder=1');341 http::redirect($p_url.'&neworder=1'); 342 342 } 343 343 catch (Exception $e) { … … 402 402 case 1: 403 403 // Selection du type d'item 404 echo '<form id="additem" action="'.$p_url.'&a dd=2" method="post">';404 echo '<form id="additem" action="'.$p_url.'&add=2" method="post">'; 405 405 echo '<fieldset><legend>'.__('Select type').'</legend>'; 406 406 echo '<p class="field"><label for="item_type" class="classic">'.__('Type of item menu:').'</label>'.form::combo('item_type',$items_combo,'').'</p>'; … … 412 412 if ($items[$item_type][1]) { 413 413 // Choix à faire 414 echo '<form id="additem" action="'.$p_url.'&a dd=3" method="post">';414 echo '<form id="additem" action="'.$p_url.'&add=3" method="post">'; 415 415 echo '<fieldset><legend>'.$item_type_label.'</legend>'; 416 416 switch ($item_type) { … … 449 449 case 3: 450 450 // Libellé et description 451 echo '<form id="additem" action="'.$p_url.'&a dd=4" method="post">';451 echo '<form id="additem" action="'.$p_url.'&add=4" method="post">'; 452 452 echo '<fieldset><legend>'.$item_type_label.($item_select_label != '' ? ' ('.$item_select_label.')' : '').'</legend>'; 453 453 echo '<p class="field"><label for="item_label" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '. … … 467 467 // Liste des items 468 468 if (!$step) { 469 echo '<form id="menuitemsappend" action="'.$p_url.'&a dd=1" method="post">';469 echo '<form id="menuitemsappend" action="'.$p_url.'&add=1" method="post">'; 470 470 echo '<p class="top-add">'.$core->formNonce().'<input class="button add" type="submit" name="appendaction" value="'.__('Add an item').'" /></p>'; 471 471 echo '</form>';
Note: See TracChangeset
for help on using the changeset viewer.