Changeset 3330:cd9381e6be7b for plugins/widgets/index.php
- Timestamp:
- 08/30/16 16:21:38 (9 years ago)
- Branch:
- default
- File:
-
- 1 edited
-
plugins/widgets/index.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
plugins/widgets/index.php
r3223 r3330 236 236 <?php 237 237 $widget_editor = $core->auth->getOption('editor'); 238 echo $core->callBehavior('adminPostEditor',$widget_editor['xhtml'],'widget',array('#sidebarsWidgets textarea'),'xhtml'); 238 $rte_flag = true; 239 $rte_flags = @$core->auth->user_prefs->interface->rte_flags; 240 if (is_array($rte_flags) && in_array('widgets_text',$rte_flags)) { 241 $rte_flag = $rte_flags['widgets_text']; 242 } 243 if ($rte_flag) { 244 echo $core->callBehavior('adminPostEditor',$widget_editor['xhtml'],'widget',array('#sidebarsWidgets textarea'),'xhtml'); 245 } 239 246 ?> 240 247 <?php echo(dcPage::jsConfirmClose('sidebarsWidgets')); ?>
Note: See TracChangeset
for help on using the changeset viewer.
