Dotclear


Ignore:
Timestamp:
11/26/13 19:45:47 (12 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Parents:
2587:71ca17f6d21d (diff), 2580:b8f6b65cfebd (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge bugfixes and other minor changes from 2.6 branch

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • plugins/simpleMenu/index.php

    r2576 r2588  
    347347               echo 
    348348                    dcPage::jsLoad('js/jquery/jquery-ui.custom.js'). 
     349                    dcPage::jsLoad('js/jquery/jquery.ui.touch-punch.js'). 
    349350                    dcPage::jsLoad('index.php?pf=simpleMenu/simplemenu.js'); 
    350351          } 
  • plugins/simpleMenu/index.php

    r2496 r2588  
    498498          if (!$step) { 
    499499               $count++; 
    500                echo '<td class="handle minimal">'.form::field(array('order['.$i.']'),2,3,$count,'position','',false,'title="'.sprintf(__('position of %s'),__($m['label'])).'"'). 
     500               echo '<td class="handle minimal">'. 
     501                    form::field(array('order['.$i.']'),2,3,$count,'position','',false,'title="'.sprintf(__('position of %s'),html::escapeHTML(__($m['label']))).'"'). 
    501502                    form::hidden(array('dynorder[]','dynorder-'.$i),$i).'</td>'; 
    502503               echo '<td class="minimal">'.form::checkbox(array('items_selected[]','ims-'.$i),$i).'</td>'; 
    503                echo '<td class="nowrap" scope="row">'.form::field(array('items_label[]','iml-'.$i),'',255,__($m['label'])).'</td>'; 
    504                echo '<td class="nowrap">'.form::field(array('items_descr[]','imd-'.$i),'30',255,__($m['descr'])).'</td>'; 
    505                echo '<td class="nowrap">'.form::field(array('items_url[]','imu-'.$i),'30',255,$m['url']).'</td>'; 
     504               echo '<td class="nowrap" scope="row">'.form::field(array('items_label[]','iml-'.$i),'',255,html::escapeHTML(__($m['label']))).'</td>'; 
     505               echo '<td class="nowrap">'.form::field(array('items_descr[]','imd-'.$i),'30',255,html::escapeHTML(__($m['descr']))).'</td>'; 
     506               echo '<td class="nowrap">'.form::field(array('items_url[]','imu-'.$i),'30',255,html::escapeHTML($m['url'])).'</td>'; 
    506507          } else { 
    507                echo '<td class="nowrap" scope="row">'.__($m['label']).'</td>'; 
    508                echo '<td class="nowrap">'.__($m['descr']).'</td>'; 
    509                echo '<td class="nowrap">'.$m['url'].'</td>'; 
     508               echo '<td class="nowrap" scope="row">'.html::escapeHTML(__($m['label'])).'</td>'; 
     509               echo '<td class="nowrap">'.html::escapeHTML(__($m['descr'])).'</td>'; 
     510               echo '<td class="nowrap">'.html::escapeHTML($m['url']).'</td>'; 
    510511          } 
    511512          echo '</tr>'; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map