Changeset 3982:2e148694914d
- Timestamp:
- 06/26/19 16:01:19 (6 years ago)
- Branch:
- default
- Location:
- admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/blog_pref.php
r3958 r3982 316 316 317 317 dcPage::open(__('Blog settings'), 318 '<script type="text/javascript">' . "\n" . 319 dcPage::jsVar('dotclear.msg.warning_path_info', 320 __('Warning: except for special configurations, it is generally advised to have a trailing "/" in your blog URL in PATH_INFO mode.')) . "\n" . 321 dcPage::jsVar('dotclear.msg.warning_query_string', 322 __('Warning: except for special configurations, it is generally advised to have a trailing "?" in your blog URL in QUERY_STRING mode.')) . "\n" . 323 "</script>" . 318 dcPage::jsJson('blog_pref', [ 319 'warning_path_info' => __('Warning: except for special configurations, it is generally advised to have a trailing "/" in your blog URL in PATH_INFO mode.'), 320 'warning_query_string' => __('Warning: except for special configurations, it is generally advised to have a trailing "?" in your blog URL in QUERY_STRING mode.') 321 ]) . 324 322 dcPage::jsConfirmClose('blog-form') . 325 323 ($rte_flag ? $core->callBehavior('adminPostEditor', $desc_editor['xhtml'], 'blog_desc', ['#blog_desc'], 'xhtml') : '') . … … 357 355 'default' => html::escapeHTML($blog_name), 358 356 'extra_html' => 'required placeholder="' . __('Blog name') . ' lang="' . $blog_settings->system->lang . 359 357 '" spellcheck="true"' 360 358 ] 361 359 ) . '</p>'; -
admin/js/_blog_pref.js
r3936 r3982 1 /*global $, dotclear, jsToolBar */1 /*global $, dotclear, jsToolBar, getData */ 2 2 'use strict'; 3 4 Object.assign(dotclear.msg, getData('blog_pref')); 3 5 4 6 $(function() {
Note: See TracChangeset
for help on using the changeset viewer.