Dotclear


Ignore:
Files:
16 edited

Legend:

Unmodified
Added
Removed
  • admin/js/_post.js

    r1562 r1606  
    115115          // Confirm post deletion 
    116116          $('input[name="delete"]').click(function() { 
    117                     return window.confirm(dotclear.msg.confirm_delete_post); 
     117               return window.confirm(dotclear.msg.confirm_delete_post); 
    118118          }); 
    119119 
     
    121121          $('#notes-area label').toggleWithLegend($('#notes-area').children().not('label'),{ 
    122122               cookie: 'dcx_post_notes', 
     123               legend_click:true, 
    123124               hide: $('#post_notes').val() == '' 
    124125          }); 
    125           $('#create_cat').toggleWithLegend( 
    126                $('#create_cat').parent().children().not('#create_cat'), 
    127                {} // no cookie on new category as we don't use this every day 
    128           ); 
    129           $('#post_lang').parent().toggleWithLegend($('#post_lang'),{ 
    130                cookie: 'dcx_post_lang' 
    131           }); 
    132           $('#post_password').parent().toggleWithLegend($('#post_password'),{ 
     126          $('#create_cat').toggleWithLegend($('#create_cat').parent().children().not('#create_cat'),{ 
     127               // no cookie on new category as we don't use this every day 
     128               legend_click: true 
     129          }); 
     130          $('#post_lang').parent().children('label').toggleWithLegend($('#post_lang'),{ 
     131               cookie: 'dcx_post_lang', 
     132               legend_click: true 
     133          }); 
     134          $('#post_password').parent().children('label').toggleWithLegend($('#post_password'),{ 
    133135               cookie: 'dcx_post_password', 
     136               legend_click: true, 
    134137               hide: $('#post_password').val() == '' 
    135138          }); 
    136           $('#post_status').parent().toggleWithLegend($('#post_status'),{ 
    137                cookie: 'dcx_post_status' 
    138           }); 
    139           $('#post_dt').parent().toggleWithLegend($('#post_dt').parent().children().not('label'),{ 
    140                cookie: 'dcx_post_dt' 
    141           }); 
    142           $('#post_format').parent().toggleWithLegend($('#post_format').parent().children().not('label').add($('#post_format').parents('p').next()),{ 
    143                cookie: 'dcx_post_format' 
    144           }); 
    145           $('#cat_id').parent().toggleWithLegend($('#cat_id'),{ 
    146                cookie: 'cat_id' 
    147           }); 
    148           $('#post_url').parent().toggleWithLegend($('#post_url').parent().children().not('label'),{ 
    149                cookie: 'post_url' 
     139          $('#post_status').parent().children('label').toggleWithLegend($('#post_status'),{ 
     140               cookie: 'dcx_post_status', 
     141               legend_click: true 
     142          }); 
     143          $('#post_dt').parent().children('label').toggleWithLegend($('#post_dt').parent().children().not('label'),{ 
     144               cookie: 'dcx_post_dt', 
     145               legend_click: true 
     146          }); 
     147          $('#post_format').parent().children('label').toggleWithLegend($('#post_format'),{ 
     148               cookie: 'dcx_post_format', 
     149               legend_click: true 
     150          }); 
     151          $('#cat_id').parent().children('label').toggleWithLegend($('#cat_id'),{ 
     152               cookie: 'cat_id', 
     153               legend_click: true 
     154          }); 
     155          $('#post_url').parent().children('label').toggleWithLegend($('#post_url').parent().children().not('label'),{ 
     156               cookie: 'post_url', 
     157               legend_click: true 
    150158          }); 
    151159          // We load toolbar on excerpt only when it's ready 
  • admin/media.php

    r1553 r1605  
    293293 
    294294if ($post_id) { 
    295      echo '<p><strong>'.sprintf(__('Choose a file to attach to entry %s by clicking on %s.'), 
     295     echo '<p class="form-note info">'.sprintf(__('Choose a file to attach to entry %s by clicking on %s.'), 
    296296          '<a href="'.$core->getPostAdminURL($post_type,$post_id).'">'.html::escapeHTML($post_title).'</a>', 
    297           '<img src="images/plus.png" alt="'.__('Attach this file to entry').'" />').'</strong></p>'; 
     297          '<img src="images/plus.png" alt="'.__('Attach this file to entry').'" />').'</p>'; 
    298298} 
    299299if ($popup) { 
    300      echo '<p><strong>'.sprintf(__('Choose a file to insert into entry by clicking on %s.'), 
    301           '<img src="images/plus.png" alt="'.__('Attach this file to entry').'" />').'</strong></p>'; 
     300     echo '<p class="form-note info">'.sprintf(__('Choose a file to insert into entry by clicking on %s.'), 
     301          '<img src="images/plus.png" alt="'.__('Attach this file to entry').'" />').'</p>'; 
    302302} 
    303303 
  • admin/media_item.php

    r1553 r1605  
    333333     echo 
    334334     '<p><a id="media-insert-cancel" class="button" href="#">'.__('Cancel').'</a> - '. 
    335      '<strong><a id="media-insert-ok" class="button" href="#">'.__('Insert').'</a></strong>'. 
     335     '<a id="media-insert-ok" class="button" href="#">'.__('Insert').'</a>'. 
    336336     form::hidden(array('type'),html::escapeHTML($media_type)). 
    337337     form::hidden(array('title'),html::escapeHTML($file->media_title)). 
     
    401401{ 
    402402     echo 
    403      '<p><strong><a class="button" href="'.html::escapeHTML($page_url).'&amp;id='.$id.'&amp;find_posts=1&amp;tab=media-details-tab">'. 
    404      __('Show entries containing this media').'</a></strong></p>'; 
     403     '<p><a class="button" href="'.html::escapeHTML($page_url).'&amp;id='.$id.'&amp;find_posts=1&amp;tab=media-details-tab">'. 
     404     __('Show entries containing this media').'</a></p>'; 
    405405} 
    406406else 
  • admin/plugins.php

    r1553 r1605  
    373373     '<p class="field"><label for="your_pwd2" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Your password:').'</label> '. 
    374374     form::password(array('your_pwd','your_pwd2'),20,255).'</p>'. 
    375      '<input type="submit" name="fetch_pkg" value="'.__('Download plugin').'" />'. 
     375     '<p><input type="submit" name="fetch_pkg" value="'.__('Download plugin').'" />'. 
    376376     $core->formNonce(). 
    377377     '</fieldset>'. 
  • admin/preferences.php

    r1553 r1607  
    416416'<div class="col">'. 
    417417 
    418 '<p><label for="user_lang">'.__('User language:').'</label>'. 
     418'<p><label for="user_lang">'.__('Language for my interface:').'</label>'. 
    419419form::combo('user_lang',$lang_combo,$user_lang,'l10n').'</p>'. 
    420420 
    421 '<p><label for="user_tz">'.__('User timezone:').'</label>'. 
     421'<p><label for="user_tz">'.__('My timezone:').'</label>'. 
    422422form::combo('user_tz',dt::getZones(true,true),$user_tz).'</p>'. 
    423423 
     
    430430     echo 
    431431     '<fieldset>'. 
    432      '<legend>'.__('Change your password').'</legend>'. 
     432     '<legend>'.__('Change my password').'</legend>'. 
    433433      
    434434     '<div class="pw-table">'. 
     
    445445     '</fieldset>'. 
    446446      
    447      '<p>'.__('If you have changed this user email or password you must provide your current password to save these modifications.').'</p>'. 
     447     '<div class="fieldset">'. 
     448     '<p class="form-note warn">'.__('If you have changed your email or password you must provide your current password to save these modifications.').'</p>'. 
    448449     '<p><label for="cur_pwd">'.__('Your password:').'</label>'. 
    449      form::password('cur_pwd',20,255).'</p>'; 
     450     form::password('cur_pwd',20,255).'</p>'. 
     451     '</div>'; 
    450452} 
    451453 
     
    465467'<fieldset><legend>'.__('My options').'</legend>'. 
    466468 
    467 '<p><label for="user_post_format">'.__('Preferred format:').'</label>'. 
     469'<p><label class="ib" for="user_post_format">'.__('Preferred format:').'</label>'. 
    468470form::combo('user_post_format',$formaters_combo,$user_options['post_format']).'</p>'. 
    469471 
    470 '<p><label for="user_post_status">'.__('Default entry status:').'</label>'. 
     472'<p><label class="ib" for="user_post_status">'.__('Default entry status:').'</label>'. 
    471473form::combo('user_post_status',$status_combo,$user_post_status).'</p>'. 
    472474 
    473 '<p><label for="user_edit_size">'.__('Entry edit field height:').'</label>'. 
     475'<p><label class="ib" for="user_edit_size">'.__('Entry edit field height:').'</label>'. 
    474476form::field('user_edit_size',5,4,(integer) $user_options['edit_size']).'</p>'. 
    475477 
     
    488490if (count($iconsets_combo) > 1) { 
    489491     echo  
    490           '<p><label for="user_ui_iconset">'.__('Iconset:').'</label>'. 
     492          '<p><label class="ib" for="user_ui_iconset">'.__('Iconset:').'</label>'. 
    491493          form::combo('user_ui_iconset',$iconsets_combo,$user_ui_iconset).'</p>'; 
    492494} else { 
     
    551553echo '<div class="two-cols">'; 
    552554echo '<div class="col70">'; 
    553 echo '<fieldset id="my-favs"><legend>'.__('My favorites').'</legend>'; 
     555echo '<div id="my-favs" class="fieldset"><h3>'.__('My favorites').'</h3>'; 
    554556 
    555557$count = 0; 
     
    595597} 
    596598 
    597 echo '</fieldset>'; 
     599echo '</div>'; 
    598600 
    599601echo '<div id="default-favs"><h3>'.__('Default favorites').'</h3>'; 
     
    615617echo '</div>'; 
    616618echo '</div>'; 
    617 echo '<div class="col30" id="available-favs">'; 
     619echo '<div class="col30 fieldset" id="available-favs">'; 
    618620# Available favorites 
    619 echo '<fieldset><legend>'.__('Available favorites').'</legend>'; 
     621echo '<h3>'.__('Available favorites').'</h3>'; 
    620622$count = 0; 
    621623$array = $_fav; 
     
    643645$core->formNonce(). 
    644646'<input type="submit" name="appendaction" value="'.__('Add to my favorites').'" /></p>'; 
    645 echo '</fieldset>'; 
    646647echo '</div>'; 
    647648echo '</div>'; # Two-cols 
  • admin/style/default.css

    r1601 r1608  
    8585     color: #333; 
    8686} 
    87 .entry-status label img { 
     87.entry-status img.img_select_option { 
    8888     padding-left: 4px; 
    8989     vertical-align: text-top; 
     
    781781} 
    782782/* ------------------------------------------------------------------ preferences */ 
     783#my-favs { 
     784     border: 2px solid #A8DC26; 
     785     padding: 1em 2em 
     786} 
    783787#my-favs ul { 
    784788     list-style-type: none; 
     
    837841     padding: .2em; 
    838842     border-radius: .5em; 
     843} 
     844#user-options label.ib { 
     845     display: inline-block; 
     846     width: 14em; 
     847     padding-right: 1em; 
    839848} 
    840849/* -------------------------------------------------------------------- Themes */ 
  • admin/user.php

    r1554 r1605  
    203203'<div class="two-cols">'. 
    204204'<div class="col">'. 
    205 '<p><label for="user_id" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Username:').'</label> '. 
     205'<p><label for="user_id" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('User ID:').'</label> '. 
    206206form::field('user_id',20,255,html::escapeHTML($user_id)). 
    207207'</p>'. 
  • inc/admin/prepend.php

    r1337 r1604  
    261261          'images/menu/users.png','images/menu/users-b.png', 
    262262          null,null,null)); 
    263      $_fav['plugins'] = new ArrayObject(array('plugins','Plugins','plugins.php', 
     263     $_fav['plugins'] = new ArrayObject(array('plugins','Plugins management','plugins.php', 
    264264          'images/menu/plugins.png','images/menu/plugins-b.png', 
    265265          null,null,null)); 
     
    328328          preg_match('/langs.php(\?.*)?$/',$_SERVER['REQUEST_URI']), 
    329329          $core->auth->isSuperAdmin()); 
    330      $_menu['System']->prependItem(__('Plugins'),'plugins.php','images/menu/plugins.png', 
     330     $_menu['System']->prependItem(__('Plugins management'),'plugins.php','images/menu/plugins.png', 
    331331          preg_match('/plugins.php(\?.*)?$/',$_SERVER['REQUEST_URI']), 
    332332          $core->auth->isSuperAdmin()); 
  • locales/fr/help/core_user.html

    r1573 r1605  
    88<h4>Informations utilisateur</h4> 
    99<dl> 
    10   <dt>Nom d'utilisateur</dt> 
     10  <dt>Identifiant (login)</dt> 
    1111  <dd>Il doit être composé d'au moins 2 caractères (lettres non accentuées, chiffres ou symboles, pas d'espace). Ce champ est obligatoire.</dd> 
    1212 
     
    1818  <dt>Nom, Prénom</dt> 
    1919  <dd>Si le pseudonyme n'est pas renseigné, le nom de l'auteur qui sera affiché 
    20   sera composé des noms et prénoms renseignés dans ces champs.</dd> 
     20  sera composé des nom et prénom renseignés dans ces champs.</dd> 
    2121 
    2222  <dt>Pseudonyme</dt> 
    23   <dd>Vous pouvez choisir ici le nom sous lequel vos billets seront signés. S'il est renseigné, le pseudonyme se substitue au nom et au prénom.</dd> 
     23  <dd>Vous pouvez choisir ici le pseudonyme sous lequel vos billets seront signés. S'il est renseigné, le pseudonyme se substitue au nom et au prénom.</dd> 
    2424 
    2525  <dt>Email</dt> 
     
    5959 
    6060  <dt>Changement de mot de passe requis pour la connexion</dt> 
    61   <dd>Cocher cette case permettra au nouvel utilisateur de choisir par lui-même son mot de passe de connexion.</dd> 
     61  <dd>Cocher cette case permettra au nouvel utilisateur de choisir par lui-même son mot de passe à sa première connexion.</dd> 
    6262 
    6363  <dt>Super administrateur</dt> 
     
    6565</dl> 
    6666 
    67 <h4>Tags</h4> 
     67<h4>Mots-clés</h4> 
    6868<dl> 
    69   <dt>Format de la liste des tags</dt> 
    70   <dd>Ce choix permet, dans la page d'édition d'un billet, d'afficher tous les tags 
     69  <dt>Format de la liste des mots-clés</dt> 
     70  <dd>Ce choix permet, dans la page d'édition d'un billet, d'afficher tous les mots-clés 
    7171  disponibles ou seulement les plus utilisés.</dd> 
    7272</dl> 
  • locales/fr/main.po

    r1600 r1607  
    8282msgstr "Changer votre mot de passe" 
    8383 
     84msgid "Change my password" 
     85msgstr "Changer mon mot de passe" 
     86 
    8487msgid "New password:" 
    8588msgstr "Nouveau mot de passe :" 
     
    18031806msgstr "Défaut" 
    18041807 
    1805 msgid "If you want to change your email or password you must provide your current password." 
    1806 msgstr "Si vous voulez changer votre adresse email ou votre mot de passe, vous devez indiquer votre mot de passe actuel." 
     1808msgid "If you have changed your email or password you must provide your current password to save these modifications." 
     1809msgstr "Si vous avez modifié votre adresse email ou votre mot de passe, vous devez indiquer votre mot de passe actuel pour enregistrer ces modifications." 
    18071810 
    18081811msgid "No favorite selected" 
     
    18361839msgstr "Langue de l'utilisateur :" 
    18371840 
     1841msgid "Language for my interface:" 
     1842msgstr "Langue de mon interface :" 
     1843 
    18381844msgid "User timezone:" 
    18391845msgstr "Fuseau horaire de l'utilisateur :" 
     1846 
     1847msgid "My timezone:" 
     1848msgstr "Mon fuseau horaire :" 
    18401849 
    18411850msgid "If you have changed this user email or password you must provide your current password to save these modifications." 
     
    31313140 
    31323141msgid "Confirm new password:" 
    3133 msgstr "Confirmez le nouveau mot de passe :" 
     3142msgstr "Confirmer le nouveau mot de passe :" 
    31343143 
    31353144msgid "Not selected" 
     
    32213230msgid "Click here to unlock the field" 
    32223231msgstr "Cliquez ici pour déverrouiller ce champ" 
     3232 
     3233msgid "User ID" 
     3234msgstr "Identifiant (login)" 
  • locales/fr/plugins.po

    r1572 r1605  
    269269 
    270270msgid "Filters configuration has been successfully saved." 
    271 msgstr "La configurations des filtres a été enregistrée avec succès." 
     271msgstr "La configuration des filtres a été enregistrée avec succès." 
    272272 
    273273msgid "Available spam filters" 
  • plugins/attachments/js/post.js

    r1393 r1606  
    11$(function() { 
    22     $('h5.s-attachments').toggleWithLegend($('.s-attachments').not('h5'),{ 
    3           cookie: 'dcx_attachments' 
     3          cookie: 'dcx_attachments', 
     4          legend_click: true 
    45     }); 
    56}); 
  • plugins/maintenance/locales/fr/help/maintenance.html

    r1573 r1605  
    88<dl> 
    99  <dt>Optimiser l'espace de la base de données</dt> 
    10   <dd>Au fur at à mesure des suppressions ou modifications dans vos billets, les tables de la  
     10  <dd>Au fur et à mesure des suppressions ou modifications dans vos billets, les tables de la  
    1111  base de données se fragmentent. L'opération d'optimisation permet de compacter celles-ci.<br /> 
    1212  Cette opération n'a aucun impact sur l'intégrité de vos données.<br /> 
    13   Il est fortement conseillé d'optimiser la base de données avant tout export de blog</dd> 
     13  Il est fortement conseillé d'optimiser la base de données avant tout export de blog.</dd> 
    1414   
    1515  <dt>Compteurs</dt> 
  • plugins/pings/post.js

    r1365 r1606  
    1313          } 
    1414          $('h5.ping-services').toggleWithLegend($('p.ping-services'),{ 
    15                cookie: 'dcx_ping_services' 
     15               cookie: 'dcx_ping_services', 
     16               legend_click: true 
    1617          }); 
    1718     }); 
  • plugins/tags/js/post.js

    r1392 r1606  
    5353                    ')</em>'; 
    5454               }, 
    55                formatResult: function(tag) {  
    56                     return tag.result;  
     55               formatResult: function(tag) { 
     56                    return tag.result; 
    5757               } 
    5858          }); 
    5959     }); 
    60                 
     60 
    6161     $('h5 .s-tags').toggleWithLegend($('.s-tags').not('label'),{ 
    62                cookie: 'post_tags' 
     62          cookie: 'post_tags', 
     63          legend_clik: true 
    6364     }); 
    6465 
  • tests/functional/spec/toggle_with_legend.js

    r1602 r1606  
    3232    it("Chick target must not hide target, when legend_click is true", function() { 
    3333     loadFixtures('menu.html'); 
    34      $('#post_status').parent().toggleWithLegend($('#post_status'),{'legend_click':true}); 
     34     var $label = $('#post_status').parent().children('label'); 
     35     $label.toggleWithLegend($('#post_status'),{'legend_click':true, a_container:false}); 
    3536 
    36      $('#post_status').click(); 
     37     $label.click(); 
     38     expect($('#post_status')).toBeVisible(); 
     39 
     40     var $arrow = $('#post_status').parent().find('img'); 
     41     $arrow.click(); 
    3742     expect($('#post_status')).toBeVisible(); 
    3843 
Note: See TracChangeset for help on using the changeset viewer.

Sites map