Changeset 3999:c0171c8cb7d2
- Timestamp:
- 06/30/19 17:42:45 (6 years ago)
- Branch:
- default
- Location:
- plugins/blowupConfig
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/blowupConfig/index.php
r3874 r3999 204 204 <title><?php echo __('Blowup configuration'); ?></title> 205 205 <?php 206 $js = [ 207 'blowup_public_url' => blowupConfig::imagesURL(), 208 'msg' => [ 209 'predefined_styles' => __('Predefined styles'), 210 'apply_code' => __('Apply code'), 211 'predefined_style_title' => __('Choose a predefined style') 212 ] 213 ]; 214 echo dcPage::jsJson('blowup', $js); 206 215 echo dcPage::jsLoad(dcPage::getPF('blowupConfig/js/config.js')); 207 echo dcPage::jsVars([208 'dotclear.blowup_public_url' => blowupConfig::imagesURL(),209 'dotclear.msg.predefined_styles' => __('Predefined styles'),210 'dotclear.msg.apply_code' => __('Apply code'),211 'dotclear.msg.predefined_style_title' => __('Choose a predefined style')212 ]);213 216 ?> 214 217 </head> -
plugins/blowupConfig/js/config.js
r3880 r3999 1 /*global $, dotclear */1 /*global $, dotclear, mergeDeep, getData */ 2 2 'use strict'; 3 3 4 4 $(function() { 5 6 mergeDeep(dotclear, getData('blowup')); 7 5 8 // Hide main title 6 9 if ($('#blog_title_hide').prop('checked')) {
Note: See TracChangeset
for help on using the changeset viewer.