Dotclear


Ignore:
Timestamp:
09/10/13 20:05:24 (12 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
default
Message:

User Preferences, on approche de la fin.
Une typo au passage.
Et un petit cadeau pour mirovinben et jcDenis.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/preferences.php

    r1773 r1786  
    415415 
    416416echo 
    417 '<h3 class="hidden-if-js">'.__('My profile').'</h3>'. 
     417'<h3>'.__('My profile').'</h3>'. 
    418418'<form action="preferences.php" method="post" id="user-form">'. 
    419419 
     
    443443{ 
    444444     echo 
    445      '<h4 class="vertical-separator">'.__('Change my password').'</h4>'. 
     445     '<h4 class="vertical-separator pretty-title">'.__('Change my password').'</h4>'. 
    446446      
    447447     '<div class="pw-table">'. 
     
    477477echo 
    478478'<form action="preferences.php" method="post" id="opts-forms">'. 
    479 '<h3 class="hidden-if-js">'.__('My options').'</h3>'; 
    480  
    481 echo 
    482 '<div class="two-cols">'. 
    483  
    484 '<div class="col">'. 
     479'<h3>'.__('My options').'</h3>'; 
     480 
     481echo 
     482'<div class="fieldset">'. 
    485483'<h4>'.__('Interface').'</h4>'. 
    486484 
    487485'<p><label for="user_ui_enhanceduploader" class="classic">'. 
    488486form::checkbox('user_ui_enhanceduploader',1,$user_ui_enhanceduploader).' '. 
    489 __('Activate enhanced uploader in media manager').'</label></p>'; 
     487__('Activate enhanced uploader in media manager').'</label></p>'. 
     488 
     489'<p><label for="user_acc_nodragdrop" class="classic">'. 
     490form::checkbox('user_acc_nodragdrop',1,$user_acc_nodragdrop).' '. 
     491__('Disable javascript powered drag and drop for ordering items').'</label></p>'. 
     492'<p class="clear form-note">'.__('If checked, numeric fields will allow to type the elements\' ordering number.').'</p>'; 
    490493 
    491494if ($core->auth->isSuperAdmin()) { 
     
    493496     '<p><label for="user_ui_hide_std_favicon" class="classic">'. 
    494497     form::checkbox('user_ui_hide_std_favicon',1,$user_ui_hide_std_favicon).' '. 
    495      __('Do not use standard favicon').'</label></p>'. 
    496      '<p class="clear form-note warn">'.__('This will be applied for all users').'.'. 
     498     __('Do not use standard favicon').'</label> '. 
     499     '<span class="clear form-note warn">'.__('This will be applied for all users').'.</span>'. 
    497500     '</p>';//Opera sucks; 
    498501} 
    499502 
    500503echo 
    501 '<h5>'.__('Accessibility').'</h5>'. 
    502  
    503 '<p><label for="user_acc_nodragdrop" class="classic">'. 
    504 form::checkbox('user_acc_nodragdrop',1,$user_acc_nodragdrop).' '. 
    505 __('Disable javascript powered drag and drop for ordering items').'</label></p>'. 
    506  
    507 '<p class="clear form-note">'.__('If checked, numeric fields will allow to type the elements\' ordering number.').'</p>'; 
    508  
    509 echo 
    510 '<h4 class="border-top">'.__('Edition').'</h4>'. 
    511  
    512 '<p><label for="user_post_format">'.__('Preferred format:').'</label>'. 
     504'</div>'; 
     505 
     506echo 
     507'<div class="fieldset">'. 
     508'<h4>'.__('Edition').'</h4>'. 
     509 
     510'<p class="field"><label for="user_post_format">'.__('Preferred format:').'</label>'. 
    513511form::combo('user_post_format',$formaters_combo,$user_options['post_format']).'</p>'. 
    514512 
    515 '<p><label for="user_post_status">'.__('Default entry status:').'</label>'. 
     513'<p class="field"><label for="user_post_status">'.__('Default entry status:').'</label>'. 
    516514form::combo('user_post_status',$status_combo,$user_post_status).'</p>'. 
    517515 
    518 '<p><label for="user_edit_size">'.__('Entry edit field height:').'</label>'. 
     516'<p class="field"><label for="user_edit_size">'.__('Entry edit field height:').'</label>'. 
    519517form::field('user_edit_size',5,4,(integer) $user_options['edit_size']).'</p>'. 
    520518 
    521519'<p><label for="user_wysiwyg" class="classic">'. 
    522520form::checkbox('user_wysiwyg',1,$user_options['enable_wysiwyg']).' '. 
    523 __('Enable WYSIWYG mode').'</label></p>'; 
    524  
    525 echo 
    526 '<h4 class="border-top">'.__('Other options').'</h4>'; 
     521__('Enable WYSIWYG mode').'</label></p>'. 
     522 
     523'</div>'; 
     524 
     525echo 
     526'<h4 class="pretty-title">'.__('Other options').'</h4>'; 
    527527 
    528528# --BEHAVIOR-- adminPreferencesForm 
     
    530530 
    531531echo 
    532 '</div>'; 
    533  
    534 echo 
    535 '</div>'; 
    536  
    537 echo 
    538 '<p class="clear">'. 
     532'<p class="clear vertical-separator">'. 
    539533$core->formNonce(). 
    540534'<input type="submit" accesskey="s" value="'.__('Save my options').'" /></p>'. 
     
    546540echo '<div class="multi-part" id="user-favorites" title="'.__('My dashboard').'">'; 
    547541$ws = $core->auth->user_prefs->addWorkspace('favorites'); 
    548 echo '<h3 class="hidden-if-js">'.__('Mon tableau de bord').'</h3>'; 
     542echo '<h3>'.__('Mon tableau de bord').'</h3>'; 
    549543 
    550544echo '<form action="preferences.php" method="post" id="favs-form" class="two-boxes">'; 
     
    585579 
    586580     ($core->auth->isSuperAdmin() ?  
    587           '<hr />'. 
    588581          '<div class="info">'. 
    589582          '<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>'. 
     
    613606echo '<div class="fieldset" id="available-favs">'; 
    614607# Available favorites 
    615 echo '<h5>'.__('Available favorites').'</h5>'; 
     608echo '<h5 class="pretty-title">'.__('Other available favorites').'</h5>'; 
    616609$count = 0; 
    617610$array = $_fav; 
     
    634627                    form::checkbox(array('append[]','fak-'.$fav[0]),$k). 
    635628                    __($fav[1]).'</label>'. 
    636                     (in_array($fav[0], $default_fav) ? ' <span class="default-fav">'.__('(default favorite)').'</span>' : ''). 
     629                    (in_array($fav[0], $default_fav) ? ' <span class="default-fav"><img src="images/selected.png" alt="'.__('(default favorite)').'" /></span>' : ''). 
    637630                    '</li>'; 
    638631          } 
     
    652645 
    653646'<div class="fieldset">'. 
    654 '<h4 class="smart-title">'.__('Menu').'</h4>'. 
     647'<h4>'.__('Menu').'</h4>'. 
    655648'<p><label for="user_ui_nofavmenu" class="classic">'. 
    656649form::checkbox('user_ui_nofavmenu',1,!$user_ui_nofavmenu).' '. 
     
    660653     echo  
    661654          '<div class="fieldset">'. 
    662           '<h4 class="smart-title">'.__('Dashboard icons').'</h4>'. 
     655          '<h4>'.__('Dashboard icons').'</h4>'. 
    663656          '<p><label for="user_ui_iconset" class="classic">'.__('Iconset:').'</label> '. 
    664657          form::combo('user_ui_iconset',$iconsets_combo,$user_ui_iconset).'</p>'. 
     
    670663echo 
    671664'<div class="fieldset">'. 
    672 '<h4 class="smart-title">'.__('Dashboard modules').'</h4>'. 
     665'<h4>'.__('Dashboard modules').'</h4>'. 
    673666 
    674667'<p><label for="user_dm_doclinks" class="classic">'. 
Note: See TracChangeset for help on using the changeset viewer.

Sites map