Ignore:
Timestamp:
Jul 31, 2009, 2:46:57 PM (11 years ago)
Author:
cedric@…
Message:

init on load

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/liens_sortants_ouvrants/liens_sortants_ouvrants_pipelines.php

    r30314 r30367  
    22
    33function liens_sortants_ouvrants_insert_head($flux) {
    4         $flux .= '<script  src="'._DIR_PLUGIN_LIENS_SORTANTS_OUVRANTS.'liens_sortants_ouvrants.js" type="text/javascript"></script>';
    5         $flux .= '<link rel="stylesheet" href="'._DIR_PLUGIN_LIENS_SORTANTS_OUVRANTS.'liens_sortants_ouvrants.css" type="text/css" media="all" />';
     4        $flux .= '<script type="text/javascript">var liens_sortants_site = \''.$GLOBALS['meta']['adresse_site'].'\';</script>';
     5        $flux .= '<script  src="'.find_in_path('liens_sortants_ouvrants.js').'" type="text/javascript"></script>';
     6        $flux .= '<link rel="stylesheet" href="'.find_in_path('liens_sortants_ouvrants.css').'" type="text/css" media="all" />';
    67        return $flux;
    78}
Note: See TracChangeset for help on using the changeset viewer.