source: trunk/spip/esqueleto-redcta/plugins/magusine/arty_onglets.php @ 79

Last change on this file since 79 was 79, checked in by guille, 15 years ago
  • Property svn:executable set to *
File size: 967 bytes
Line 
1<?php
2function arty_ajouter_onglets($flux){
3        $page=array('arty', 'theme');
4  if(in_array($flux['args'],$page)){
5    $flux['data']['theme']= new Bouton(_DIR_PLUGIN_ARTY."/images/themechoisi.png", _T('arty:onglet_themes'), generer_url_ecrire("theme"));
6    $flux['data']['menu']= new Bouton(_DIR_PLUGIN_ARTY."/images/menu.png", _T('arty:onglet_menu'), generer_url_ecrire("menu"));
7          $flux['data']['base']= new Bouton(_DIR_PLUGIN_ARTY."/images/options.png", _T('arty:onglet_base'), generer_url_ecrire("arty"));
8    $flux['data']['avance']= new Bouton(_DIR_PLUGIN_ARTY."/images/blocs_libres_2.png", _T('arty:onglet_avance'), generer_url_ecrire("avance"));
9    $flux['data']['gabarit']= new Bouton(_DIR_PLUGIN_ARTY."/images/agencement.png", _T('arty:onglet_gabarit'), generer_url_ecrire("gabarit"));
10    $flux['data']['about']= new Bouton(_DIR_PLUGIN_ARTY."/images/bouton-arty.png", _T('arty:onglet_a_propos'), generer_url_ecrire("about"));
11  }                       
12  return $flux;
13}
14?>
Note: See TracBrowser for help on using the repository browser.