Changeset 1786:577ff24d19ae for admin/preferences.php
- Timestamp:
- 09/10/13 20:05:24 (12 years ago)
- Branch:
- default
- File:
-
- 1 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">'.
Note: See TracChangeset
for help on using the changeset viewer.