Changes in [3796:2a5df3ef4475:3804:7e5f79b790af]
- Files:
-
- 1 added
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
CHANGELOG
r3782 r3802 1 Dotclear 2.14.1 - 2018-mm-dd 2 =========================================================== 3 * 🐘 PHP 5.6+ is required - PHP 5.5 is buggy with the 2.14 release 4 * Fix: smallest admin font size was set when saving user prefs 5 * Fix: minifying JS scripts may cause problems with regular expressions 6 * Fix: empty JS var was set for syntax coloration if disabled 7 1 8 Dotclear 2.14 - 2018-08-13 2 9 =========================================================== -
admin/preferences.php
r3770 r3800 110 110 __('Largest') => '87,5%' 111 111 ); 112 # Ensure Font size is set to default is empty 113 if ($user_ui_htmlfontsize == '') { 114 $user_ui_htmlfontsize = '62.5%'; 115 } 112 116 113 117 # Language codes -
build-tools/min-js.php
r3731 r3801 17 17 } 18 18 19 require dirname(__FILE__) . '/ jsmin-1.1.1.php';19 require dirname(__FILE__) . '/Minifier.php'; 20 20 21 21 $content = file_get_contents($js); 22 $res = JSMin::minify($content);22 $res = \JShrink\Minifier::minify($content, array('flaggedComments' => false)); 23 23 24 24 if (($fp = fopen($js, 'wb')) === false) { -
plugins/themeEditor/index.php
r3731 r3799 70 70 'dotclear.msg.document_saved' => __("Document saved"), 71 71 'dotclear.msg.error_occurred' => __("An error occurred:"), 72 'dotclear.msg.confirm_reset_file' => __("Are you sure you want to reset this file?"), 73 'dotclear.colorsyntax' => $user_ui_colorsyntax 72 'dotclear.msg.confirm_reset_file' => __("Are you sure you want to reset this file?") 74 73 )) . 75 74 dcPage::jsConfirmClose('file-form') . 76 75 dcPage::jsLoad(dcPage::getPF('themeEditor/js/script.js')); 77 76 if ($user_ui_colorsyntax) { 77 echo dcPage::jsVar('dotclear.colorsyntax', $user_ui_colorsyntax); 78 78 echo dcPage::jsLoadCodeMirror($user_ui_colorsyntax_theme); 79 79 }
Note: See TracChangeset
for help on using the changeset viewer.