Changes in [1652:5ecf6159ccc5:1653:87fa91414ca4]
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/js/_post.js
r1562 r1606 115 115 // Confirm post deletion 116 116 $('input[name="delete"]').click(function() { 117 117 return window.confirm(dotclear.msg.confirm_delete_post); 118 118 }); 119 119 … … 121 121 $('#notes-area label').toggleWithLegend($('#notes-area').children().not('label'),{ 122 122 cookie: 'dcx_post_notes', 123 legend_click:true, 123 124 hide: $('#post_notes').val() == '' 124 125 }); 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'),{ 133 135 cookie: 'dcx_post_password', 136 legend_click: true, 134 137 hide: $('#post_password').val() == '' 135 138 }); 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 150 158 }); 151 159 // We load toolbar on excerpt only when it's ready -
admin/media.php
r1553 r1605 293 293 294 294 if ($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.'), 296 296 '<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>'; 298 298 } 299 299 if ($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>'; 302 302 } 303 303 -
admin/media_item.php
r1553 r1605 333 333 echo 334 334 '<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>'. 336 336 form::hidden(array('type'),html::escapeHTML($media_type)). 337 337 form::hidden(array('title'),html::escapeHTML($file->media_title)). … … 401 401 { 402 402 echo 403 '<p>< strong><a class="button" href="'.html::escapeHTML($page_url).'&id='.$id.'&find_posts=1&tab=media-details-tab">'.404 __('Show entries containing this media').'</a></ strong></p>';403 '<p><a class="button" href="'.html::escapeHTML($page_url).'&id='.$id.'&find_posts=1&tab=media-details-tab">'. 404 __('Show entries containing this media').'</a></p>'; 405 405 } 406 406 else -
admin/plugins.php
r1553 r1605 373 373 '<p class="field"><label for="your_pwd2" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Your password:').'</label> '. 374 374 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').'" />'. 376 376 $core->formNonce(). 377 377 '</fieldset>'. -
admin/preferences.php
r1553 r1607 416 416 '<div class="col">'. 417 417 418 '<p><label for="user_lang">'.__(' User language:').'</label>'.418 '<p><label for="user_lang">'.__('Language for my interface:').'</label>'. 419 419 form::combo('user_lang',$lang_combo,$user_lang,'l10n').'</p>'. 420 420 421 '<p><label for="user_tz">'.__(' Usertimezone:').'</label>'.421 '<p><label for="user_tz">'.__('My timezone:').'</label>'. 422 422 form::combo('user_tz',dt::getZones(true,true),$user_tz).'</p>'. 423 423 … … 430 430 echo 431 431 '<fieldset>'. 432 '<legend>'.__('Change yourpassword').'</legend>'.432 '<legend>'.__('Change my password').'</legend>'. 433 433 434 434 '<div class="pw-table">'. … … 445 445 '</fieldset>'. 446 446 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>'. 448 449 '<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>'; 450 452 } 451 453 … … 465 467 '<fieldset><legend>'.__('My options').'</legend>'. 466 468 467 '<p><label for="user_post_format">'.__('Preferred format:').'</label>'.469 '<p><label class="ib" for="user_post_format">'.__('Preferred format:').'</label>'. 468 470 form::combo('user_post_format',$formaters_combo,$user_options['post_format']).'</p>'. 469 471 470 '<p><label for="user_post_status">'.__('Default entry status:').'</label>'.472 '<p><label class="ib" for="user_post_status">'.__('Default entry status:').'</label>'. 471 473 form::combo('user_post_status',$status_combo,$user_post_status).'</p>'. 472 474 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>'. 474 476 form::field('user_edit_size',5,4,(integer) $user_options['edit_size']).'</p>'. 475 477 … … 488 490 if (count($iconsets_combo) > 1) { 489 491 echo 490 '<p><label for="user_ui_iconset">'.__('Iconset:').'</label>'.492 '<p><label class="ib" for="user_ui_iconset">'.__('Iconset:').'</label>'. 491 493 form::combo('user_ui_iconset',$iconsets_combo,$user_ui_iconset).'</p>'; 492 494 } else { … … 551 553 echo '<div class="two-cols">'; 552 554 echo '<div class="col70">'; 553 echo '< fieldset id="my-favs"><legend>'.__('My favorites').'</legend>';555 echo '<div id="my-favs" class="fieldset"><h3>'.__('My favorites').'</h3>'; 554 556 555 557 $count = 0; … … 595 597 } 596 598 597 echo '</ fieldset>';599 echo '</div>'; 598 600 599 601 echo '<div id="default-favs"><h3>'.__('Default favorites').'</h3>'; … … 615 617 echo '</div>'; 616 618 echo '</div>'; 617 echo '<div class="col30 " id="available-favs">';619 echo '<div class="col30 fieldset" id="available-favs">'; 618 620 # Available favorites 619 echo '< fieldset><legend>'.__('Available favorites').'</legend>';621 echo '<h3>'.__('Available favorites').'</h3>'; 620 622 $count = 0; 621 623 $array = $_fav; … … 643 645 $core->formNonce(). 644 646 '<input type="submit" name="appendaction" value="'.__('Add to my favorites').'" /></p>'; 645 echo '</fieldset>';646 647 echo '</div>'; 647 648 echo '</div>'; # Two-cols -
admin/style/default.css
r1601 r1608 85 85 color: #333; 86 86 } 87 .entry-status label img{87 .entry-status img.img_select_option { 88 88 padding-left: 4px; 89 89 vertical-align: text-top; … … 781 781 } 782 782 /* ------------------------------------------------------------------ preferences */ 783 #my-favs { 784 border: 2px solid #A8DC26; 785 padding: 1em 2em 786 } 783 787 #my-favs ul { 784 788 list-style-type: none; … … 837 841 padding: .2em; 838 842 border-radius: .5em; 843 } 844 #user-options label.ib { 845 display: inline-block; 846 width: 14em; 847 padding-right: 1em; 839 848 } 840 849 /* -------------------------------------------------------------------- Themes */ -
admin/user.php
r1554 r1605 203 203 '<div class="two-cols">'. 204 204 '<div class="col">'. 205 '<p><label for="user_id" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('User name:').'</label> '.205 '<p><label for="user_id" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('User ID:').'</label> '. 206 206 form::field('user_id',20,255,html::escapeHTML($user_id)). 207 207 '</p>'. -
inc/admin/prepend.php
r1337 r1604 261 261 'images/menu/users.png','images/menu/users-b.png', 262 262 null,null,null)); 263 $_fav['plugins'] = new ArrayObject(array('plugins','Plugins ','plugins.php',263 $_fav['plugins'] = new ArrayObject(array('plugins','Plugins management','plugins.php', 264 264 'images/menu/plugins.png','images/menu/plugins-b.png', 265 265 null,null,null)); … … 328 328 preg_match('/langs.php(\?.*)?$/',$_SERVER['REQUEST_URI']), 329 329 $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', 331 331 preg_match('/plugins.php(\?.*)?$/',$_SERVER['REQUEST_URI']), 332 332 $core->auth->isSuperAdmin()); -
locales/fr/help/core_user.html
r1573 r1605 8 8 <h4>Informations utilisateur</h4> 9 9 <dl> 10 <dt> Nom d'utilisateur</dt>10 <dt>Identifiant (login)</dt> 11 11 <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> 12 12 … … 18 18 <dt>Nom, Prénom</dt> 19 19 <dd>Si le pseudonyme n'est pas renseigné, le nom de l'auteur qui sera affiché 20 sera composé des nom s et prénomsrenseignés dans ces champs.</dd>20 sera composé des nom et prénom renseignés dans ces champs.</dd> 21 21 22 22 <dt>Pseudonyme</dt> 23 <dd>Vous pouvez choisir ici le nomsous 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> 24 24 25 25 <dt>Email</dt> … … 59 59 60 60 <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> 62 62 63 63 <dt>Super administrateur</dt> … … 65 65 </dl> 66 66 67 <h4> Tags</h4>67 <h4>Mots-clés</h4> 68 68 <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 tags69 <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 71 71 disponibles ou seulement les plus utilisés.</dd> 72 72 </dl> -
locales/fr/main.po
r1600 r1607 82 82 msgstr "Changer votre mot de passe" 83 83 84 msgid "Change my password" 85 msgstr "Changer mon mot de passe" 86 84 87 msgid "New password:" 85 88 msgstr "Nouveau mot de passe :" … … 1803 1806 msgstr "Défaut" 1804 1807 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."1808 msgid "If you have changed your email or password you must provide your current password to save these modifications." 1809 msgstr "Si vous avez modifié votre adresse email ou votre mot de passe, vous devez indiquer votre mot de passe actuel pour enregistrer ces modifications." 1807 1810 1808 1811 msgid "No favorite selected" … … 1836 1839 msgstr "Langue de l'utilisateur :" 1837 1840 1841 msgid "Language for my interface:" 1842 msgstr "Langue de mon interface :" 1843 1838 1844 msgid "User timezone:" 1839 1845 msgstr "Fuseau horaire de l'utilisateur :" 1846 1847 msgid "My timezone:" 1848 msgstr "Mon fuseau horaire :" 1840 1849 1841 1850 msgid "If you have changed this user email or password you must provide your current password to save these modifications." … … 3131 3140 3132 3141 msgid "Confirm new password:" 3133 msgstr "Confirme zle nouveau mot de passe :"3142 msgstr "Confirmer le nouveau mot de passe :" 3134 3143 3135 3144 msgid "Not selected" … … 3221 3230 msgid "Click here to unlock the field" 3222 3231 msgstr "Cliquez ici pour déverrouiller ce champ" 3232 3233 msgid "User ID" 3234 msgstr "Identifiant (login)" -
locales/fr/plugins.po
r1572 r1605 269 269 270 270 msgid "Filters configuration has been successfully saved." 271 msgstr "La configuration sdes filtres a été enregistrée avec succès."271 msgstr "La configuration des filtres a été enregistrée avec succès." 272 272 273 273 msgid "Available spam filters" -
plugins/attachments/js/post.js
r1393 r1606 1 1 $(function() { 2 2 $('h5.s-attachments').toggleWithLegend($('.s-attachments').not('h5'),{ 3 cookie: 'dcx_attachments' 3 cookie: 'dcx_attachments', 4 legend_click: true 4 5 }); 5 6 }); -
plugins/maintenance/locales/fr/help/maintenance.html
r1573 r1605 8 8 <dl> 9 9 <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 la10 <dd>Au fur et à mesure des suppressions ou modifications dans vos billets, les tables de la 11 11 base de données se fragmentent. L'opération d'optimisation permet de compacter celles-ci.<br /> 12 12 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> 14 14 15 15 <dt>Compteurs</dt> -
plugins/pings/post.js
r1365 r1606 13 13 } 14 14 $('h5.ping-services').toggleWithLegend($('p.ping-services'),{ 15 cookie: 'dcx_ping_services' 15 cookie: 'dcx_ping_services', 16 legend_click: true 16 17 }); 17 18 }); -
plugins/tags/js/post.js
r1392 r1606 53 53 ')</em>'; 54 54 }, 55 formatResult: function(tag) { 56 return tag.result; 55 formatResult: function(tag) { 56 return tag.result; 57 57 } 58 58 }); 59 59 }); 60 60 61 61 $('h5 .s-tags').toggleWithLegend($('.s-tags').not('label'),{ 62 cookie: 'post_tags' 62 cookie: 'post_tags', 63 legend_clik: true 63 64 }); 64 65 -
tests/functional/spec/toggle_with_legend.js
r1602 r1606 32 32 it("Chick target must not hide target, when legend_click is true", function() { 33 33 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}); 35 36 36 $('#post_status').click(); 37 $label.click(); 38 expect($('#post_status')).toBeVisible(); 39 40 var $arrow = $('#post_status').parent().find('img'); 41 $arrow.click(); 37 42 expect($('#post_status')).toBeVisible(); 38 43
Note: See TracChangeset
for help on using the changeset viewer.