Dotclear


Ignore:
Timestamp:
08/19/13 15:22:41 (11 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
default
Message:

Fixes typo and other html mistakes. Thanks to brol.
Fixes #1477
Fixes #1479
Fixes #1480
Fixes #1481

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/simpleMenu/index.php

    r1358 r1474  
    233233                     
    234234                         // All done successfully, return to menu items list 
    235                          http::redirect($p_url.'&added=1'); 
     235                         http::redirect($p_url.'&amp;added=1'); 
    236236                    } else { 
    237237                         throw new Exception(__('Label and URL of menu item are mandatory.')); 
     
    268268                     
    269269                    // All done successfully, return to menu items list 
    270                     http::redirect($p_url.'&removed=1'); 
     270                    http::redirect($p_url.'&amp;removed=1'); 
    271271               } else { 
    272272                    throw new Exception(__('No menu items selected.')); 
     
    302302 
    303303               // All done successfully, return to menu items list 
    304                http::redirect($p_url.'&updated=1'); 
     304               http::redirect($p_url.'&amp;updated=1'); 
    305305          } 
    306306          catch (Exception $e) { 
     
    339339 
    340340               // All done successfully, return to menu items list 
    341                http::redirect($p_url.'&neworder=1'); 
     341               http::redirect($p_url.'&amp;neworder=1'); 
    342342          }  
    343343          catch (Exception $e) { 
     
    402402          case 1: 
    403403               // Selection du type d'item 
    404                echo '<form id="additem" action="'.$p_url.'&add=2" method="post">'; 
     404               echo '<form id="additem" action="'.$p_url.'&amp;add=2" method="post">'; 
    405405               echo '<fieldset><legend>'.__('Select type').'</legend>'; 
    406406               echo '<p class="field"><label for="item_type" class="classic">'.__('Type of item menu:').'</label>'.form::combo('item_type',$items_combo,'').'</p>'; 
     
    412412               if ($items[$item_type][1]) { 
    413413                    // Choix à faire 
    414                     echo '<form id="additem" action="'.$p_url.'&add=3" method="post">'; 
     414                    echo '<form id="additem" action="'.$p_url.'&amp;add=3" method="post">'; 
    415415                    echo '<fieldset><legend>'.$item_type_label.'</legend>'; 
    416416                    switch ($item_type) { 
     
    449449          case 3: 
    450450               // Libellé et description 
    451                echo '<form id="additem" action="'.$p_url.'&add=4" method="post">'; 
     451               echo '<form id="additem" action="'.$p_url.'&amp;add=4" method="post">'; 
    452452               echo '<fieldset><legend>'.$item_type_label.($item_select_label != '' ? ' ('.$item_select_label.')' : '').'</legend>'; 
    453453               echo '<p class="field"><label for="item_label" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '. 
     
    467467// Liste des items 
    468468if (!$step) { 
    469      echo '<form id="menuitemsappend" action="'.$p_url.'&add=1" method="post">'; 
     469     echo '<form id="menuitemsappend" action="'.$p_url.'&amp;add=1" method="post">'; 
    470470     echo '<p class="top-add">'.$core->formNonce().'<input class="button add" type="submit" name="appendaction" value="'.__('Add an item').'" /></p>'; 
    471471     echo '</form>'; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map