Dotclear


Ignore:
Timestamp:
05/02/11 19:50:44 (14 years ago)
Author:
Franck <carnet.franck.paul@…>
Branch:
userprefs
Parents:
113:b17c0c598f26 (diff), 114:56287c01e99f (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

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • admin/preferences.php

    r110 r115  
    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 { 
     
    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 
  • admin/preferences.php

    r114 r115  
    460460} 
    461461if ($count > 0) echo '</ul>'; 
    462  
    463462if ($count > 0) { 
    464463     echo 
Note: See TracChangeset for help on using the changeset viewer.

Sites map