Subversion Repositories Applications.papyrus

Rev

Rev 1688 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1688 Rev 1714
Line 17... Line 17...
17
// |                                                                                                      |
17
// |                                                                                                      |
18
// | You should have received a copy of the GNU Lesser General Public                                     |
18
// | You should have received a copy of the GNU Lesser General Public                                     |
19
// | License along with this library; if not, write to the Free Software                                  |
19
// | License along with this library; if not, write to the Free Software                                  |
20
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
20
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
21
// +------------------------------------------------------------------------------------------------------+
21
// +------------------------------------------------------------------------------------------------------+
22
// CVS : $Id: bazar.fonct.cal.php,v 1.24 2007-09-18 07:36:32 alexandre_tb Exp $
22
// CVS : $Id: bazar.fonct.cal.php,v 1.24.2.1 2007-11-20 10:26:38 alexandre_tb Exp $
23
/**
23
/**
24
*
24
*
25
* Fonctions calendrier du module bazar
25
* Fonctions calendrier du module bazar
26
*
26
*
27
*@package bazar
27
*@package bazar
28
//Auteur original :
28
//Auteur original :
29
*@author        David Delon <david.delon@clapas.net>
29
*@author        David Delon <david.delon@clapas.net>
30
//Autres auteurs :
30
//Autres auteurs :
31
*@copyright     Tela-Botanica 2000-2004
31
*@copyright     Tela-Botanica 2000-2004
32
*@version       $Revision: 1.24 $ $Date: 2007-09-18 07:36:32 $
32
*@version       $Revision: 1.24.2.1 $ $Date: 2007-11-20 10:26:38 $
33
// +------------------------------------------------------------------------------------------------------+
33
// +------------------------------------------------------------------------------------------------------+
34
*/
34
*/
Line 35... Line 35...
35
 
35
 
36
// +------------------------------------------------------------------------------------------------------+
36
// +------------------------------------------------------------------------------------------------------+
Line 69... Line 69...
69
function GestionAffichageCalendrier($arguments = array(), $type = 'calendrier') {
69
function GestionAffichageCalendrier($arguments = array(), $type = 'calendrier') {
70
	$script = '';
70
	$script = '';
71
	// recuperation des arguments de l applette
71
	// recuperation des arguments de l applette
72
	$balise = isset ($arguments[0]) ? $arguments[0] : '';
72
	$balise = isset ($arguments[0]) ? $arguments[0] : '';
73
    $tab_arguments = $arguments;
73
    $tab_arguments = $arguments;
-
 
74
	if (is_string ($tab_arguments)) {
-
 
75
		$tab_arguments = substr($tab_arguments, 1);
-
 
76
	} else {
74
	unset($tab_arguments[0]);
77
		unset($tab_arguments[0]);	
-
 
78
	}
75
	if (is_array($tab_arguments)) {
79
	if (is_array($tab_arguments)) {
76
	    foreach($tab_arguments as $argument) {
80
	    foreach($tab_arguments as $argument) {
77
	    	if ($argument != '') {
81
	    	if ($argument != '') {
78
		    	$tab_parametres = explode('=', $argument, 2);
82
		    	$tab_parametres = explode('=', $argument, 2);
79
		    	if (is_array($tab_parametres)) {
83
		    	if (is_array($tab_parametres)) {