Changeset 3637:11396143671b
- Timestamp:
- 12/28/17 12:32:21 (6 years ago)
- Branch:
- default
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/js/common.js
r3615 r3637 587 587 if (dotclear.hideMoreInfo) { 588 588 $('.more-info,.form-note:not(.warn,.warning,.info)').addClass('no-more-info'); 589 } 590 591 // Ajax loader activity indicator 592 if (dotclear.showAjaxLoader) { 593 $(document).ajaxStart(function() { 594 $('body').addClass('ajax-loader'); 595 $('div.ajax-loader').show(); 596 }); 597 $(document).ajaxStop(function() { 598 $('body').removeClass('ajax-loader'); 599 $('div.ajax-loader').hide(); 600 }); 589 601 } 590 602 -
admin/preferences.php
r3627 r3637 47 47 $user_ui_hidemoreinfo = $core->auth->user_prefs->interface->hidemoreinfo; 48 48 $user_ui_hidehelpbutton = $core->auth->user_prefs->interface->hidehelpbutton; 49 $user_ui_showajaxloader = $core->auth->user_prefs->interface->showajaxloader; 49 50 $user_ui_htmlfontsize = $core->auth->user_prefs->interface->htmlfontsize; 50 51 $user_ui_dynfontsize = $core->auth->user_prefs->interface->dynfontsize; … … 247 248 $core->auth->user_prefs->interface->put('hidemoreinfo',!empty($_POST['user_ui_hidemoreinfo']),'boolean'); 248 249 $core->auth->user_prefs->interface->put('hidehelpbutton',!empty($_POST['user_ui_hidehelpbutton']),'boolean'); 250 $core->auth->user_prefs->interface->put('showajaxloader',!empty($_POST['user_ui_showajaxloader']),'boolean'); 249 251 $core->auth->user_prefs->interface->put('htmlfontsize',$_POST['user_ui_htmlfontsize'],'string'); 250 252 $core->auth->user_prefs->interface->put('dynfontsize',!empty($_POST['user_ui_dynfontsize']),'boolean'); … … 530 532 __('Hide help button').'</label></p>'. 531 533 534 '<p><label for="user_ui_showajaxloader" class="classic">'. 535 form::checkbox('user_ui_showajaxloader',1,$user_ui_showajaxloader).' '. 536 __('Show asynchronous requests indicator').'</label></p>'. 537 532 538 '<p><label for="user_ui_htmlfontsize" class="classic">'.__('Font size:').'</label>'.' '. 533 539 form::combo('user_ui_htmlfontsize',$htmlfontsize_combo,$user_ui_htmlfontsize).'</p>'. -
admin/style/default.css
r3633 r3637 1551 1551 border-color: #000; 1552 1552 font-weight: bold; } 1553 1554 body.ajax-loader #header { 1555 border-bottom-color: #137bbb; 1556 transition: border-bottom-color .3s ease; } 1557 body.ajax-loader #collapser { 1558 background-color: #137bbb; 1559 transition: background-color .3s ease; } 1553 1560 1554 1561 /** -------------------------------------------------- -
admin/style/scss/partials/_messages.scss
r3615 r3637 147 147 font-weight: bold; 148 148 } 149 150 body.ajax-loader { 151 #header { 152 border-bottom-color: #137bbb; 153 transition: border-bottom-color .3s ease; 154 } 155 #collapser { 156 background-color: #137bbb; 157 transition: background-color .3s ease; 158 } 159 } -
inc/admin/lib.dc.page.php
r3622 r3637 203 203 '<script type="text/javascript">'."\n". 204 204 'dotclear.hideMoreInfo = true;'."\n". 205 "</script>\n"; 206 } 207 if ($core->auth->user_prefs->interface->showajaxloader) { 208 echo 209 '<script type="text/javascript">'."\n". 210 'dotclear.showAjaxLoader = true;'."\n". 205 211 "</script>\n"; 206 212 } … … 407 413 " -->"."\n"; 408 414 409 410 411 415 if (defined('DC_DEV') && DC_DEV === true) { 412 416 echo self::debugInfo(); … … 463 467 '<script type="text/javascript">'."\n". 464 468 'dotclear.hideMoreInfo = true;'."\n". 469 "</script>\n"; 470 } 471 if ($core->auth->user_prefs->interface->showajaxloader) { 472 echo 473 '<script type="text/javascript">'."\n". 474 'dotclear.showAjaxLoader = true;'."\n". 465 475 "</script>\n"; 466 476 } -
locales/fr/main.po
r3628 r3637 2208 2208 msgstr "Cacher le bouton d'aide" 2209 2209 2210 msgid "Show asynchronous requests indicator" 2211 msgstr "Afficher l'indicateur de requête asynchrone" 2212 2210 2213 msgid "Font size:" 2211 2214 msgstr "Taille de police de caractère :"
Note: See TracChangeset
for help on using the changeset viewer.