Changeset 1786:577ff24d19ae
- Timestamp:
- 09/10/13 20:05:24 (11 years ago)
- Branch:
- default
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/preferences.php
r1773 r1786 415 415 416 416 echo 417 '<h3 class="hidden-if-js">'.__('My profile').'</h3>'.417 '<h3>'.__('My profile').'</h3>'. 418 418 '<form action="preferences.php" method="post" id="user-form">'. 419 419 … … 443 443 { 444 444 echo 445 '<h4 class="vertical-separator ">'.__('Change my password').'</h4>'.445 '<h4 class="vertical-separator pretty-title">'.__('Change my password').'</h4>'. 446 446 447 447 '<div class="pw-table">'. … … 477 477 echo 478 478 '<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 481 echo 482 '<div class="fieldset">'. 485 483 '<h4>'.__('Interface').'</h4>'. 486 484 487 485 '<p><label for="user_ui_enhanceduploader" class="classic">'. 488 486 form::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">'. 490 form::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>'; 490 493 491 494 if ($core->auth->isSuperAdmin()) { … … 493 496 '<p><label for="user_ui_hide_std_favicon" class="classic">'. 494 497 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>'. 497 500 '</p>';//Opera sucks; 498 501 } 499 502 500 503 echo 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 506 echo 507 '<div class="fieldset">'. 508 '<h4>'.__('Edition').'</h4>'. 509 510 '<p class="field"><label for="user_post_format">'.__('Preferred format:').'</label>'. 513 511 form::combo('user_post_format',$formaters_combo,$user_options['post_format']).'</p>'. 514 512 515 '<p ><label for="user_post_status">'.__('Default entry status:').'</label>'.513 '<p class="field"><label for="user_post_status">'.__('Default entry status:').'</label>'. 516 514 form::combo('user_post_status',$status_combo,$user_post_status).'</p>'. 517 515 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>'. 519 517 form::field('user_edit_size',5,4,(integer) $user_options['edit_size']).'</p>'. 520 518 521 519 '<p><label for="user_wysiwyg" class="classic">'. 522 520 form::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 525 echo 526 '<h4 class="pretty-title">'.__('Other options').'</h4>'; 527 527 528 528 # --BEHAVIOR-- adminPreferencesForm … … 530 530 531 531 echo 532 '</div>'; 533 534 echo 535 '</div>'; 536 537 echo 538 '<p class="clear">'. 532 '<p class="clear vertical-separator">'. 539 533 $core->formNonce(). 540 534 '<input type="submit" accesskey="s" value="'.__('Save my options').'" /></p>'. … … 546 540 echo '<div class="multi-part" id="user-favorites" title="'.__('My dashboard').'">'; 547 541 $ws = $core->auth->user_prefs->addWorkspace('favorites'); 548 echo '<h3 class="hidden-if-js">'.__('Mon tableau de bord').'</h3>';542 echo '<h3>'.__('Mon tableau de bord').'</h3>'; 549 543 550 544 echo '<form action="preferences.php" method="post" id="favs-form" class="two-boxes">'; … … 585 579 586 580 ($core->auth->isSuperAdmin() ? 587 '<hr />'.588 581 '<div class="info">'. 589 582 '<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>'. … … 613 606 echo '<div class="fieldset" id="available-favs">'; 614 607 # Available favorites 615 echo '<h5 >'.__('Available favorites').'</h5>';608 echo '<h5 class="pretty-title">'.__('Other available favorites').'</h5>'; 616 609 $count = 0; 617 610 $array = $_fav; … … 634 627 form::checkbox(array('append[]','fak-'.$fav[0]),$k). 635 628 __($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>' : ''). 637 630 '</li>'; 638 631 } … … 652 645 653 646 '<div class="fieldset">'. 654 '<h4 class="smart-title">'.__('Menu').'</h4>'.647 '<h4>'.__('Menu').'</h4>'. 655 648 '<p><label for="user_ui_nofavmenu" class="classic">'. 656 649 form::checkbox('user_ui_nofavmenu',1,!$user_ui_nofavmenu).' '. … … 660 653 echo 661 654 '<div class="fieldset">'. 662 '<h4 class="smart-title">'.__('Dashboard icons').'</h4>'.655 '<h4>'.__('Dashboard icons').'</h4>'. 663 656 '<p><label for="user_ui_iconset" class="classic">'.__('Iconset:').'</label> '. 664 657 form::combo('user_ui_iconset',$iconsets_combo,$user_ui_iconset).'</p>'. … … 670 663 echo 671 664 '<div class="fieldset">'. 672 '<h4 class="smart-title">'.__('Dashboard modules').'</h4>'.665 '<h4>'.__('Dashboard modules').'</h4>'. 673 666 674 667 '<p><label for="user_dm_doclinks" class="classic">'. -
admin/style/default.css
r1768 r1786 276 276 color: #676e78; 277 277 } 278 .smart-title, .box h3, .fieldset h3, .fieldset h4 { /* pour les h3 ou les h4 titres de boîtes */ 278 .fieldset h3, .fieldset h4, .pretty-title { 279 color: #D33800; 280 font-size: 12px; 281 font-size: 1.2rem; 282 font-weight: bold; 283 } 284 .smart-title { /* vairiante */ 279 285 font-size: 1em; 280 286 text-transform: uppercase; … … 575 581 } 576 582 /* suppression, reset, "neutres" */ 577 input[type=reset], input[type=delete], input[type=submit].delete, input[type= button],583 input[type=reset], input[type=delete], input[type=submit].delete, input[type=submit].reset, input[type=button], 578 584 input.delete, input.reset, input.button, 579 585 a.delete, a.reset, a.button { … … 676 682 background: #D9EDF7 url(msg-info.png) no-repeat .3em .3em; 677 683 border: 1px solid #BCE8F1; 684 } 685 span.warn, span.warning, span.info { 686 padding-top: 1px; 687 padding-bottom: 1px; 688 background-position: .3em .2em; 678 689 } 679 690 .error, .message, .static-msg, .success, .warning-msg { … … 1663 1674 /* ---------------------------------------------------------- preferences.php */ 1664 1675 .fav-list { 1665 border-top: 1px solid #eee;1666 1676 list-style-type: none; 1667 1677 margin-left: 0; 1668 1678 padding-left: 0; 1669 1679 } 1680 #my-favs .fav-list { 1681 border-top: 1px solid #eee; 1682 } 1670 1683 .fav-list li { 1671 line-height: 2;1672 1684 margin-left: 0; 1673 1685 padding-left: 0; 1674 border-bottom: 1px solid #eee;1675 1686 padding-top: 3px; 1676 1687 padding-bottom: 3px; 1677 1688 position: relative; 1678 1689 } 1679 .fav-list img { 1680 vertical-align: middle; 1681 margin-right: .2em; 1682 } 1683 .fav-list li span.zoom { 1684 display: none; 1685 } 1686 .fav-list li:hover span.zoom { 1687 display: block; 1688 position: absolute; 1689 bottom: 0; 1690 left: 10em; 1691 background-color: #f7f7f7; 1692 border: 1px solid #ddd; 1693 padding: .2em; 1694 border-radius: .5em; 1695 } 1690 #my-favs .fav-list li { 1691 line-height: 2; 1692 border-bottom: 1px solid #eee; 1693 padding-top: 3px; 1694 padding-bottom: 3px; 1695 position: relative; 1696 } 1697 .fav-list img { 1698 vertical-align: middle; 1699 margin-right: .2em; 1700 } 1701 .fav-list li span.zoom { 1702 display: none; 1703 } 1704 .fav-list li:hover span.zoom { 1705 display: block; 1706 position: absolute; 1707 bottom: 0; 1708 left: 10em; 1709 background-color: #f7f7f7; 1710 border: 1px solid #ddd; 1711 padding: .2em; 1712 border-radius: .5em; 1713 } 1696 1714 #my-favs { 1697 1715 border-color: #A8DC26; 1698 1716 } 1699 #my-favs input.position {1700 margin: 0 0 .4em .2em;1701 }1717 #my-favs input.position { 1718 margin: 0 0 .4em .2em; 1719 } 1702 1720 #available-favs input, #available-favs label, #available-favs label span { 1703 1721 white-space: normal; … … 1981 1999 display: block; 1982 2000 } 2001 2002 2003 /* 2004 tests dashboard 2005 2006 #content {width: auto;float:none !important; margin: 0;} 2007 #main {width: auto; display:inline-block; vertical-align: top; margin: 0;float: none !important} 2008 #main-menu {clear:both; width: auto} 2009 #main-menu {margin-top: 8em} 2010 #favorites-menu {display:none;} 2011 #plugins-menu, #blog-menu, #system-menu, #dashboard-items {display: inline-block;vertical-align: top; min-width: 17em; margin: 0; clear: none;} 2012 2013 */ 2014 2015 1983 2016 /* ------------------------------------------------------------------------------------ 1984 2017 UN POIL DE MEDIA QUERIES … … 2053 2086 #info-box1 p.nomobile, label.nomobile { display: none; } 2054 2087 } 2088 } 2089 -
locales/fr/main.po
r1763 r1786 3269 3269 3270 3270 msgid "If checked, numeric fields will allow to type the elements' ordering number." 3271 msgstr "Si cette option est cochée, des champs numérique permettront l'ordonnancementdes éléments."3271 msgstr "Si cette option est cochée, des champs numériques permettront d'indiquer la position des éléments." 3272 3272 3273 3273 msgid "Save my options"
Note: See TracChangeset
for help on using the changeset viewer.