Dotclear

Changeset 2078:0619de6f0565 for plugins


Ignore:
Timestamp:
09/25/13 05:50:55 (12 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
default
Message:

Menu simple, tableau sans drag & drop sur l'ajout d'un item ; réduction de la largeur déclenchant le scroll horizontal du tableau.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/simpleMenu/index.php

    r2002 r2078  
    476476          '</tr>'. 
    477477          '</thead>'. 
    478           '<tbody id="menuitemslist">'; 
     478          '<tbody '.(!$step ? 'id="menuitemslist"' : '>'); 
    479479     $count = 0; 
    480480     foreach ($menu as $i => $m) { 
     
    485485                    form::hidden(array('dynorder[]','dynorder-'.$i),$i).'</td>'; 
    486486               echo '<td class="minimal">'.form::checkbox(array('items_selected[]','ims-'.$i),$i).'</td>'; 
    487                echo '<td class="nowrap" scope="row">'.form::field(array('items_label[]','iml-'.$i),20,255,__($m['label'])).'</td>'; 
    488                echo '<td class="nowrap">'.form::field(array('items_descr[]','imd-'.$i),30,255,__($m['descr'])).'</td>'; 
    489                echo '<td class="nowrap">'.form::field(array('items_url[]','imu-'.$i),40,255,$m['url']).'</td>'; 
     487               echo '<td class="nowrap" scope="row">'.form::field(array('items_label[]','iml-'.$i),'',255,__($m['label'])).'</td>'; 
     488               echo '<td class="nowrap">'.form::field(array('items_descr[]','imd-'.$i),'30',255,__($m['descr'])).'</td>'; 
     489               echo '<td class="nowrap">'.form::field(array('items_url[]','imu-'.$i),'30',255,$m['url']).'</td>'; 
    490490          } else { 
    491491               echo '<td class="nowrap" scope="row">'.__($m['label']).'</td>'; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map