1,5 → 1,5 |
<?php |
/*vim: set expandtab tabstop=4 shiftwidth=4: */ |
/*vim: set expandtab tabstop=4 shiftwidth=4: */ |
// +------------------------------------------------------------------------------------------------------+ |
// | PHP version 4.1 | |
// +------------------------------------------------------------------------------------------------------+ |
19,9 → 19,9 |
// | 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: adwi_HTML_formulaireWikini.class.php,v 1.5 2005-11-14 13:07:11 ddelon Exp $ |
// CVS : $Id: adwi_HTML_formulaireWikini.class.php,v 1.4 2005-09-09 09:37:17 ddelon Exp $ |
/** |
* |
* |
* Admin Wikini |
* |
* Classe affichage gestion des Wikini de Papyrus |
32,7 → 32,7 |
//Autres auteurs : |
*@author Aucun |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.5 $ |
*@version $Revision: 1.4 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
95,29 → 95,29 |
*/ |
function construitFormulaire($url_retour) |
{ |
|
|
$this->addElement ('text', 'code_alpha_wikini', ADWI_NOM_WIKINI, array ('size' => 60)) ; |
$this->addRule ('code_alpha_wikini', ADWI_NOM_WIKINI_ALERTE, 'required', '', 'client') ; |
|
|
// Défault : PagePrincipale |
$this->addElement ('text', 'page', ADWI_PAGE, array ('size' => 60)) ; |
|
|
$this->addElement ('static', '', 'Configuration avancée : ') ; |
|
|
$this->addElement ('text', 'bdd_hote', ADWI_BDD_HOTE, array ('size' => 60)) ; |
$this->addElement ('text', 'bdd_nom', ADWI_BDD_NOM, array ('size' => 60)) ; |
$this->addElement ('text', 'bdd_utilisateur', ADWI_BDD_UTILISATEUR, array ('size' => 60)) ; |
$this->addElement ('password', 'bdd_mdp', ADWI_BDD_MDP, array ('size' => 60)) ; |
$this->addElement ('text', 'bdd_mdp', ADWI_BDD_MDP, array ('size' => 60)) ; |
$this->addElement ('text', 'table_prefix', ADWI_TABLE_PREFIX, array ('size' => 60)) ; |
$this->addElement ('text', 'chemin', ADWI_CHEMIN, array ('size' => 60)) ; |
|
$this->setRequiredNote('<span style="color: #ff0000">*</span>'.ADWI_CHAMPS_REQUIS) ; |
|
|
// on fait un groupe avec les boutons pour les mettres sur la même ligne |
$buttons[] = &HTML_QuickForm::createElement('button', 'annuler', ADWI_ANNULER, array ("onclick" => "javascript:document.location.href='".str_replace ('&', '&', $url_retour->getURL())."'")); |
$buttons[] = &HTML_QuickForm::createElement('submit', 'valider', ADWI_VALIDER); |
$this->addGroup($buttons, null, null, ' '); |
|
|
} // end of member function _construitFormulaire |
} // end of HTML_formulaireProjet |
?> |