Changeset 48614 in spip-zone
- Timestamp:
- Jun 8, 2011, 9:24:14 PM (10 years ago)
- Location:
- _plugins_/links
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/links/links_pipelines.php
r48310 r48614 1 1 <?php 2 3 function links_insert_head_css($flux) { 4 $flux .= '<link rel="stylesheet" href="'.find_in_path('css/links.css').'" type="text/css" media="all" />'; 5 return $flux; 6 } 2 7 3 8 function links_insert_head($flux) { 4 9 $flux .= '<script type="text/javascript">var links_site = \''.$GLOBALS['meta']['adresse_site'].'\';</script>'; 5 10 $flux .= '<script src="'.find_in_path('links.js').'" type="text/javascript"></script>'; 6 $flux .= '<link rel="stylesheet" href="'.find_in_path('css/links.css').'" type="text/css" media="all" />';7 11 return $flux; 8 12 } -
_plugins_/links/plugin.xml
r48441 r48614 6 6 <auteur>[romy.tetue.net->http://romy.tetue.net] et Cédric Morin</auteur> 7 7 <licence>(c) GPL 2011</licence> 8 <version>2.2. 1</version>8 <version>2.2.2</version> 9 9 <etat>test</etat> 10 10 <prefix>links</prefix> … … 12 12 <necessite id='SPIP' version='[2.0.0;]' /> 13 13 <necessite id="spip_bonux" version="[2.2.13;]" /> 14 <pipeline> 15 <nom>insert_head_css</nom> 16 <inclure>links_pipelines.php</inclure> 17 </pipeline> 14 18 <pipeline> 15 19 <nom>insert_head</nom> … … 36 40 <pipeline> 37 41 <nom>insert_head_css</nom> 38 <action>insert_head</action> 42 <inclure>links_pipelines.php</inclure> 43 </pipeline> 44 <pipeline> 45 <nom>insert_head</nom> 39 46 <inclure>links_pipelines.php</inclure> 40 47 </pipeline>
Note: See TracChangeset
for help on using the changeset viewer.