From 0c28c1f9215f3f3de564dcb0051e8dc9ea523c42 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Wed, 10 Sep 2008 12:30:31 +0000 Subject: [PATCH] - LSformElement : Correction des bugs de chargement des fichiers CSS - base.css : min-height sur #main --- trunk/includes/class/class.LSformElement_image.php | 2 +- trunk/includes/class/class.LSformElement_password.php | 2 +- trunk/includes/class/class.LSformElement_select_object.php | 2 +- trunk/includes/class/class.LSformElement_ssh_key.php | 2 +- trunk/templates/css/base.css | 1 + 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/trunk/includes/class/class.LSformElement_image.php b/trunk/includes/class/class.LSformElement_image.php index 13afcb82..5cbe0877 100644 --- a/trunk/includes/class/class.LSformElement_image.php +++ b/trunk/includes/class/class.LSformElement_image.php @@ -43,7 +43,7 @@ class LSformElement_image extends LSformElement { * @retval array */ function getDisplay(){ - $GLOBALS['LSsession'] -> addCssFile('LSformElement_image'); + $GLOBALS['LSsession'] -> addCssFile('LSformElement_image.css'); $return = true; if (!$this -> isFreeze()) { $id=$this -> name.'_'.rand(); diff --git a/trunk/includes/class/class.LSformElement_password.php b/trunk/includes/class/class.LSformElement_password.php index 389ed91b..347072b6 100644 --- a/trunk/includes/class/class.LSformElement_password.php +++ b/trunk/includes/class/class.LSformElement_password.php @@ -65,7 +65,7 @@ class LSformElement_password extends LSformElement { * @retval array */ function getDisplay(){ - $GLOBALS['LSsession'] -> addCssFile('LSformElement_password'); + $GLOBALS['LSsession'] -> addCssFile('LSformElement_password.css'); $return = $this -> getLabelInfos(); if (!$this -> isFreeze()) { $numberId=rand(); diff --git a/trunk/includes/class/class.LSformElement_select_object.php b/trunk/includes/class/class.LSformElement_select_object.php index c09b5af3..40df35ca 100644 --- a/trunk/includes/class/class.LSformElement_select_object.php +++ b/trunk/includes/class/class.LSformElement_select_object.php @@ -40,7 +40,7 @@ class LSformElement_select_object extends LSformElement { * @retval array */ function getDisplay($refresh=NULL){ - $GLOBALS['LSsession'] -> addCssFile('LSformElement_select_object'); + $GLOBALS['LSsession'] -> addCssFile('LSformElement_select_object.css'); if ($refresh) { $this -> values = $this -> attr_html -> getValuesFromSession(); } diff --git a/trunk/includes/class/class.LSformElement_ssh_key.php b/trunk/includes/class/class.LSformElement_ssh_key.php index 434ac5fb..b3b1bf4a 100644 --- a/trunk/includes/class/class.LSformElement_ssh_key.php +++ b/trunk/includes/class/class.LSformElement_ssh_key.php @@ -40,7 +40,7 @@ class LSformElement_ssh_key extends LSformElement { * @retval array */ function getDisplay(){ - $GLOBALS['LSsession'] -> addCssFile('LSformElement_ssh_key'); + $GLOBALS['LSsession'] -> addCssFile('LSformElement_ssh_key.css'); $return = $this -> getLabelInfos(); // value $return['html'] = "