Last change
on this file since 471 was
79,
checked in by guille, 16 years ago
|
|
-
Property svn:executable set to
*
|
File size:
1.5 KB
|
Rev | Line | |
---|
[79] | 1 | <?php |
---|
| 2 | |
---|
| 3 | function arty_ajouterHeaderPrive($flux){ |
---|
| 4 | $liste=array("arty","theme","gabarit","menu"); |
---|
| 5 | if (in_array($_GET['exec'], $liste)) { |
---|
| 6 | $flux.="<!-- ici css privee-->\n"; |
---|
| 7 | $flux.= "<link rel=\"stylesheet\" type=\"text/css\" href=\""._DIR_PLUGIN_ARTY."/css/privee.css\" />\n"; |
---|
| 8 | $flux.= "<link rel=\"stylesheet\" type=\"text/css\" href=\""._DIR_PLUGIN_ARTY."/css/selecteur_priv.css\" />\n"; |
---|
| 9 | $flux.= "<link rel=\"stylesheet\" type=\"text/css\" href=\""._DIR_PLUGIN_ARTY."/css/gabarits.css\" />\n"; |
---|
| 10 | $flux.= "<link rel=\"stylesheet\" type=\"text/css\" href=\""._DIR_PLUGIN_ARTY."/css/menu.css\" />\n"; |
---|
| 11 | $flux.= "<script type=\"text/javascript\" src=\""._DIR_PLUGIN_ARTY."/javascript/selecteur_priv.js\"></script>\n"; |
---|
| 12 | $flux.= "<script type=\"text/javascript\" src=\""._DIR_PLUGIN_ARTY."/javascript/interface.js\"></script>\n"; |
---|
| 13 | $flux.= "<script type=\"text/javascript\" src=\""._DIR_PLUGIN_ARTY."/javascript/manip_gabarit.js\"></script>\n"; |
---|
| 14 | $flux.= "<!--[if lt IE 7.]><script defer type=\"text/javascript\" src=\""._DIR_PLUGIN_ARTY."/javascript/pngfix.js\"></script><![endif]-->\n"; |
---|
| 15 | if ($_GET['exec'] == 'menu') { |
---|
| 16 | $flux.= "<script type=\"text/javascript\" src=\""._DIR_PLUGIN_ARTY."/javascript/manip_menu.js\"></script>\n"; |
---|
| 17 | $flux.= "<script type=\"text/javascript\" src=\""._DIR_PLUGIN_ARTY."/javascript/inestedsortable.js\"></script>\n"; |
---|
| 18 | } |
---|
| 19 | |
---|
| 20 | if ($_GET['exec'] == 'theme') { |
---|
| 21 | $flux.= "<script type=\"text/javascript\" src=\""._DIR_PLUGIN_ARTY."/javascript/theme.js\"></script>\n"; |
---|
| 22 | } |
---|
| 23 | |
---|
| 24 | } |
---|
| 25 | |
---|
| 26 | return $flux; |
---|
| 27 | |
---|
| 28 | } |
---|
| 29 | |
---|
| 30 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.