1 | <?php |
---|
2 | /***************************************************************************\ |
---|
3 | Plugin : magusine |
---|
4 | Licence : GPL |
---|
5 | Auteurs : Stéphane Noël, Philippe Vanderlinden |
---|
6 | Infos : http://www.spip-contrib.net/Le-plugin-Magusine |
---|
7 | http://www.magunews.net/spip.php?rubrique645 |
---|
8 | |
---|
9 | $LastChangedRevision: 12345 $ |
---|
10 | $LastChangedBy: bubu $ |
---|
11 | $LastChangedDate: 2008-03-21 15:50:47 +0100 (ven, 21 mar 2008) $ |
---|
12 | \***************************************************************************/ |
---|
13 | |
---|
14 | function arty_ajouter_onglets($flux){ |
---|
15 | $page=array('arty', 'theme'); |
---|
16 | if(in_array($flux['args'],$page)){ |
---|
17 | $flux['data']['theme']= new Bouton(_DIR_PLUGIN_ARTY."/images/themechoisi.png", _T('arty:onglet_themes'), generer_url_ecrire("theme")); |
---|
18 | $flux['data']['menu']= new Bouton(_DIR_PLUGIN_ARTY."/images/menu.png", _T('arty:onglet_menu'), generer_url_ecrire("menu")); |
---|
19 | $flux['data']['base']= new Bouton(_DIR_PLUGIN_ARTY."/images/options.png", _T('arty:onglet_base'), generer_url_ecrire("arty")); |
---|
20 | $flux['data']['avance']= new Bouton(_DIR_PLUGIN_ARTY."/images/blocs_libres_2.png", _T('arty:onglet_avance'), generer_url_ecrire("avance")); |
---|
21 | $flux['data']['gabarit']= new Bouton(_DIR_PLUGIN_ARTY."/images/agencement.png", _T('arty:onglet_gabarit'), generer_url_ecrire("gabarit")); |
---|
22 | $flux['data']['about']= new Bouton(_DIR_PLUGIN_ARTY."/images/bouton-arty.png", _T('arty:onglet_a_propos'), generer_url_ecrire("about")); |
---|
23 | } |
---|
24 | return $flux; |
---|
25 | } |
---|
26 | ?> |
---|