Changeset 1771:8764fa2fdf5d for inc
- Timestamp:
- 09/10/13 10:54:36 (12 years ago)
- Branch:
- default
- Children:
- 1773:1f2fd319f35e, 1774:147afd09394c
- Location:
- inc/admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/admin/lib.dc.page.php
r1741 r1771 474 474 public static function jsCommon() 475 475 { 476 $mute_or_no = ''; 477 if ($GLOBALS['core']->blog->settings->system->jquery_migrate_mute) { 478 $mute_or_no .= 479 '<script type="text/javascript">'."\n". 480 "//<![CDATA[\n". 481 'jQuery.migrateMute = true;'. 482 "\n//]]>\n". 483 "</script>\n"; 484 } 485 476 486 return 477 487 self::jsLoad('js/jquery/jquery.js'). 488 $mute_or_no. 489 self::jsLoad('js/jquery/jquery-migrate-1.2.1.js'). 478 490 self::jsLoad('js/jquery/jquery.biscuit.js'). 479 491 self::jsLoad('js/jquery/jquery.bgFade.js'). … … 484 496 "//<![CDATA[\n". 485 497 self::jsVar('dotclear.nonce',$GLOBALS['core']->getNonce()). 486 487 498 self::jsVar('dotclear.img_plus_src','images/expand.png'). 488 499 self::jsVar('dotclear.img_plus_alt',__('uncover')). -
inc/admin/prepend.php
r1620 r1771 374 374 } 375 375 } 376 377 if (empty($core->blog->settings->system->jquery_migrate_mute)) { 378 $core->blog->settings->system->put('jquery_migrate_mute', true, 'boolean', 'Mute warnings for jquery migrate plugin ?', false); 379 } 376 380 } 377 381 ?>
Note: See TracChangeset
for help on using the changeset viewer.