Changeset 159:e499eef61f05 for plugins/widgets/_admin.php
- Timestamp:
- 05/05/11 08:01:25 (14 years ago)
- Branch:
- userprefs
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/widgets/_admin.php
r0 r159 12 12 if (!defined('DC_CONTEXT_ADMIN')) { return; } 13 13 14 $core->addBehavior('adminDashboardFavs','widgets_dashboard_favs'); 15 16 function widgets_dashboard_favs($core,$favs) 17 { 18 $favs['widgets'] = new ArrayObject(array('widgets',__('Presentation widgets'),'plugin.php?p=widgets', 19 'index.php?pf=widgets/icon.png','index.php?pf=widgets/icon-big.png', 20 'admin',null,null)); 21 } 22 14 23 $_menu['Blog']->addItem(__('Presentation widgets'),'plugin.php?p=widgets','index.php?pf=widgets/icon.png', 15 24 preg_match('/plugin.php\?p=widgets(&.*)?$/',$_SERVER['REQUEST_URI']),
Note: See TracChangeset
for help on using the changeset viewer.