Dotclear


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/preferences.php

    r110 r133  
    387387 
    388388echo 
    389 '<form action="preferences.php" method="post" id="user-options">'. 
     389'<form action="preferences.php" method="post" id="opts-forms">'. 
    390390'<fieldset><legend>'.__('My options').'</legend>'. 
    391391 
     
    453453                    '<img src="'.$fav['large-icon'].'" alt="" /> '. 
    454454                    form::field(array('order['.$k.']'),2,3,$count,'position','',false,'title="'.sprintf(__('position of %s'),$fav['title']).'"'). 
    455                     form::hidden('dynorder[]',$k). 
     455                    form::hidden(array('dynorder[]','dynorder-'.$k.''),$k). 
    456456                    '<label for="fuk-'.$k.'">'.form::checkbox(array('remove[]','fuk-'.$k),$k).$fav['title'].'</label>'. 
    457457                    '</li>'; 
     
    466466     $core->formNonce(). 
    467467     '<input type="submit" name="saveorder" value="'.__('Save order').'" /> '. 
    468       
    469      '<input type="submit" class="delete" name="removeaction"'. 
     468 
     469     '<input type="submit" class="delete" name="removeaction" '. 
    470470     'value="'.__('Delete selected favorites').'" '. 
    471471     'onclick="return window.confirm(\''.html::escapeJS( 
     
    473473 
    474474     ($core->auth->isSuperAdmin() ?  
    475      '<hr />'. 
    476      '<p>'.__('If you are a super administrator, you may define this set of favorites to be used by default on all blogs of this installation:').'</p>'. 
    477      '<p><input class="reset" type="submit" name="replace" value="'.__('Define as default favorites').'" />' : '').'</p>'. 
     475          '<hr />'. 
     476          '<p>'.__('If you are a super administrator, you may define this set of favorites to be used by default on all blogs of this installation:').'</p>'. 
     477          '<p><input class="reset" type="submit" name="replace" value="'.__('Define as default favorites').'" />' :  
     478          ''). 
     479          '</p>'. 
    478480     '</div>'; 
    479481} else { 
     
    485487 
    486488echo '<div id="default-favs"><h3>'.__('Default favorites').'</h3>'; 
    487 echo '<p class="form-note clear">'.__('Those favorites are displayed when My Favorites list is empty.').'</p>'; 
     489echo '<p class="form-note info clear">'.__('Those favorites are displayed when My Favorites list is empty.').'</p>'; 
    488490$count = 0; 
    489491foreach ($ws->dumpPrefs() as $k => $v) { 
     
    528530'<p>'. 
    529531$core->formNonce(). 
    530 '<input type="submit" name="appendaction" value="'.__('Add to my favorites').'" /></p>'. 
    531 '</fieldset>'; 
     532'<input type="submit" name="appendaction" value="'.__('Add to my favorites').'" /></p>'; 
     533echo '</fieldset>'; 
    532534echo '</div>'; 
    533535echo '</div>'; # Two-cols 
Note: See TracChangeset for help on using the changeset viewer.

Sites map