Dotclear


Ignore:
Timestamp:
05/05/11 08:01:25 (14 years ago)
Author:
Franck <carnet.franck.paul@…>
Branch:
userprefs
Message:

Ajout des widgets en potentiel favori

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/widgets/_admin.php

    r0 r159  
    1212if (!defined('DC_CONTEXT_ADMIN')) { return; } 
    1313 
     14$core->addBehavior('adminDashboardFavs','widgets_dashboard_favs'); 
     15 
     16function 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 
    1423$_menu['Blog']->addItem(__('Presentation widgets'),'plugin.php?p=widgets','index.php?pf=widgets/icon.png', 
    1524          preg_match('/plugin.php\?p=widgets(&.*)?$/',$_SERVER['REQUEST_URI']), 
Note: See TracChangeset for help on using the changeset viewer.

Sites map