| 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: adsi_site.fonct.php,v 1.30 2006-07-19 13:57:35 ddelon Exp $
|
22 |
// CVS : $Id: adsi_site.fonct.php,v 1.31 2006-09-12 09:54:02 ddelon Exp $
|
| 23 |
/**
|
23 |
/**
|
| 24 |
* Bibliothèque de fonctions d'admininistration des projets
|
24 |
* Bibliothèque de fonctions d'admininistration des projets
|
| 25 |
*
|
25 |
*
|
| 26 |
* Contient un ensemble de fonctions permettant à l'application Administrateur de Papyrus, de modifier des informations
|
26 |
* Contient un ensemble de fonctions permettant à l'application Administrateur de Papyrus, de modifier des informations
|
| 27 |
* sur les projets (=sites gérés par Papyrus).
|
27 |
* sur les projets (=sites gérés par Papyrus).
|
| Line 32... |
Line 32... |
| 32 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
32 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
| 33 |
//Autres auteurs :
|
33 |
//Autres auteurs :
|
| 34 |
*@author Alexandre GRANIER <alexandre@tela-botanica.org>
|
34 |
*@author Alexandre GRANIER <alexandre@tela-botanica.org>
|
| 35 |
*@author Laurent COUDOUNEAU <lc@gsite.org>
|
35 |
*@author Laurent COUDOUNEAU <lc@gsite.org>
|
| 36 |
*@copyright Tela-Botanica 2000-2004
|
36 |
*@copyright Tela-Botanica 2000-2004
|
| 37 |
*@version $Revision: 1.30 $ $Date: 2006-07-19 13:57:35 $
|
37 |
*@version $Revision: 1.31 $ $Date: 2006-09-12 09:54:02 $
|
| 38 |
// +------------------------------------------------------------------------------------------------------+
|
38 |
// +------------------------------------------------------------------------------------------------------+
|
| 39 |
*/
|
39 |
*/
|
| Line 40... |
Line 40... |
| 40 |
|
40 |
|
| 41 |
// +------------------------------------------------------------------------------------------------------+
|
41 |
// +------------------------------------------------------------------------------------------------------+
|
| Line 471... |
Line 471... |
| 471 |
$type = 'LDAP';
|
471 |
$type = 'LDAP';
|
| 472 |
}
|
472 |
}
|
| 473 |
$aso_options[$ligne->gsa_id_auth] = $ligne->gsa_nom.' ('.$type.')';
|
473 |
$aso_options[$ligne->gsa_id_auth] = $ligne->gsa_nom.' ('.$type.')';
|
| 474 |
}
|
474 |
}
|
| 475 |
$resultat->free();
|
475 |
$resultat->free();
|
| - |
|
476 |
|
| - |
|
477 |
|
| 476 |
$id = 'gs_ce_auth';
|
478 |
$id = 'gs_ce_auth';
|
| 477 |
$aso_attributs = array('id'=> $id, 'tabindex' => $tab_index++);
|
479 |
$aso_attributs = array('id'=> $id, 'tabindex' => $tab_index++);
|
| 478 |
$label = '<label for="'.$id.'">'.'Identification : '.'</label>';
|
480 |
$label = '<label for="'.$id.'">'.'Identification : '.'</label>';
|
| 479 |
$s = &$form->createElement('select', $id , $label, "", $aso_attributs);
|
- |
|
| 480 |
if (isset($aso_valeurs['gs_ce_auth'])) {
|
481 |
if (isset($aso_valeurs['gs_ce_auth'])) {
|
| - |
|
482 |
$s = &$form->createElement('select', $id , $label, "", $aso_attributs);
|
| 481 |
$s->loadArray($aso_options,$aso_valeurs['gs_ce_auth']);
|
483 |
$s->loadArray($aso_options,$aso_valeurs['gs_ce_auth']);
|
| 482 |
$form->addElement($s);
|
484 |
$form->addElement($s);
|
| 483 |
}
|
485 |
}
|
| - |
|
486 |
else {
|
| - |
|
487 |
$form->addElement('select', $id, $label, $aso_options, $aso_attributs);
|
| 484 |
|
488 |
}
|
| Line 485... |
Line 489... |
| 485 |
|
489 |
|
| 486 |
// En modification nous affichons la liste des squelettes disponibles dans
|
490 |
// En modification nous affichons la liste des squelettes disponibles dans
|
| 487 |
// le dossier du site.
|
491 |
// le dossier du site.
|
| 488 |
if ($aso_valeurs['modification'] || $aso_valeurs['traduction']) {
|
492 |
if ($aso_valeurs['modification'] || $aso_valeurs['traduction']) {
|
| Line 1790... |
Line 1794... |
| 1790 |
}
|
1794 |
}
|
| Line 1791... |
Line 1795... |
| 1791 |
|
1795 |
|
| 1792 |
// +- Fin du code source --------------------------------------------------------------------------------+
|
1796 |
// +- Fin du code source --------------------------------------------------------------------------------+
|
| 1793 |
/*
|
1797 |
/*
|
| - |
|
1798 |
* $Log: not supported by cvs2svn $
|
| - |
|
1799 |
* Revision 1.30 2006/07/19 13:57:35 ddelon
|
| - |
|
1800 |
* Bug suppression de site
|
| 1794 |
* $Log: not supported by cvs2svn $
|
1801 |
*
|
| 1795 |
* Revision 1.29 2006/03/23 20:24:58 ddelon
|
1802 |
* Revision 1.29 2006/03/23 20:24:58 ddelon
|
| 1796 |
* *** empty log message ***
|
1803 |
* *** empty log message ***
|
| 1797 |
*
|
1804 |
*
|
| 1798 |
* Revision 1.28 2006/03/15 23:44:19 ddelon
|
1805 |
* Revision 1.28 2006/03/15 23:44:19 ddelon
|