Changeset 2276:0d01a74ae371 for plugins/simpleMenu/_admin.php
- Timestamp:
- 10/05/13 10:21:10 (12 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/simpleMenu/_admin.php
r1292 r2276 13 13 14 14 $core->addBehavior('adminDashboardIcons','simpleMenu_dashboard'); 15 $core->addBehavior('adminDashboardFav s','simpleMenu_dashboard_favs');15 $core->addBehavior('adminDashboardFavorites','simpleMenu_dashboard_favs'); 16 16 function simpleMenu_dashboard($core,$icons) 17 17 { … … 20 20 function simpleMenu_dashboard_favs($core,$favs) 21 21 { 22 $favs['simpleMenu'] = new ArrayObject(array('simpleMenu','Simple menu','plugin.php?p=simpleMenu', 23 'index.php?pf=simpleMenu/icon-small.png','index.php?pf=simpleMenu/icon.png', 24 'usage,contentadmin',null,null)); 22 $favs->register('simpleMenu', array( 23 'title' => __('Simple menu'), 24 'url' => 'plugin.php?p=simpleMenu', 25 'small-icon' => 'index.php?pf=simpleMenu/icon-small.png', 26 'large-icon' => 'index.php?pf=simpleMenu/icon.png', 27 'permissions' => 'usage,contentadmin' 28 )); 25 29 } 26 30
Note: See TracChangeset
for help on using the changeset viewer.