19,7 → 19,7 |
// | License along with this library; if not, write to the Free Software | |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
// +------------------------------------------------------------------------------------------------------+ |
// CVS : $Id: adsi_site.fonct.php,v 1.23 2005-09-20 17:01:22 ddelon Exp $ |
// CVS : $Id: adsi_site.fonct.php,v 1.24 2005-09-23 14:32:54 florian Exp $ |
/** |
* Bibliothèque de fonctions d'admininistration des projets |
* |
34,7 → 34,7 |
*@author Alexandre GRANIER <alexandre@tela-botanica.org> |
*@author Laurent COUDOUNEAU <lc@gsite.org> |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.23 $ $Date: 2005-09-20 17:01:22 $ |
*@version $Revision: 1.24 $ $Date: 2005-09-23 14:32:54 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
215,7 → 215,7 |
//$GLOBALS['_DEBOGAGE_'] .= '<pre>'.print_r($aso_valeurs, true).'</pre>'; |
//------------------------------------------------------------------------------------------------------------------- |
// Information précédent le formulaire (en modification) |
if (isset($aso_valeurs['modification'])) { |
if (isset($aso_valeurs['modification'])&&isset($aso_valeurs['gs_id_site'])) { |
$sortie .= '<p>'.'Identifiant de ce site : '.'<span id="adsi_site_id">'.$aso_valeurs['gs_id_site'].'</span></p>'."\n"; |
} |
//------------------------------------------------------------------------------------------------------------------- |
380,19 → 380,17 |
foreach ($tab_type as $cle => $val) { |
$aso_options[$val['id']] = $val['intitule']; |
} |
|
$id = 'type_site_externe'; |
$aso_attributs = array('id'=> $id, 'tabindex' => $tab_index++); |
$label = 'type : '; |
$groupe[] =& HTML_QuickForm::createElement('select', $id, $label, $aso_options, $aso_attributs); |
$label = '<label>'.'Type de site externe : '.'</label>'; |
$form->addElement('select', $id, $label, $aso_options, $aso_attributs); |
|
$id = 'gs_url'; |
$aso_attributs = array('id' => $id, 'tabindex' => $tab_index++,'size' => 45, 'maxlength' => 255, 'value' => 'http://'); |
$label = 'url : ';// Les navigateurs gères mal les labels au sein d'un même <li> |
$groupe[] =& HTML_QuickForm::createElement('text', $id, $label, $aso_attributs); |
$label = '<label>'.'URL du site externe : '.'</label>'; |
$form->addElement('text', $id, $label, $aso_attributs); |
|
$label = '<label>'.'Site externe : '.'</label>'; |
$form->addGroup($groupe, 'double', $label, '', false); |
|
$partie_site_fin = '</ul>'."\n".'</fieldset>'."\n"; |
$form->addElement('html', $partie_site_fin); |
|
1166,6 → 1164,9 |
// +- Fin du code source --------------------------------------------------------------------------------+ |
/* |
* $Log: not supported by cvs2svn $ |
* Revision 1.23 2005/09/20 17:01:22 ddelon |
* php5 et bugs divers |
* |
* Revision 1.22 2005/05/27 16:06:16 jpm |
* Gestion des infos sur l'admin modifiant les infos. |
* |