Your IP : 216.73.216.146


Current Path : /home/bourgleram/www/plugins/msc_nivoslider_3.0.4/
Upload File :
Current File : /home/bourgleram/www/plugins/msc_nivoslider_3.0.4/mscnivoslider_pipelines.php

<?php
/*
 * Plugin MSC NivoSlider pour SPIP 3
 * (c) 2014-2015 Jean-Yves Giraud
 */
if (!defined("_ECRIRE_INC_VERSION")) return;

function mscnivoslider_insert_head_css($flux){
	$theme = lire_config('mscnivoslider/theme');
	if ($theme == '')
		$theme = 'default';
	$flux .="\n".'<link rel="stylesheet" href="'._DIR_PLUGIN_MSCNIVOSLIDER.'nivo-slider.css" type="text/css" media="all" />';
	$flux .="\n".'<link rel="stylesheet" href="'._DIR_PLUGIN_MSCNIVOSLIDER.'themes/'.$theme.'/'.$theme.'.css" type="text/css" media="all" />';
	return $flux;
}

function mscnivoslider_insert_head($flux){
	$flux .="\n".'<script type="text/javascript" src="'._DIR_PLUGIN_MSCNIVOSLIDER.'js/jquery.nivo.slider.min.js"></script>';
	return $flux;
}

?>