Line 19... |
Line 19... |
19 |
// | |
|
19 |
// | |
|
20 |
// | You should have received a copy of the GNU General Public License |
|
20 |
// | You should have received a copy of the GNU General Public License |
|
21 |
// | along with Foobar; if not, write to the Free Software |
|
21 |
// | along with Foobar; if not, write to the Free Software |
|
22 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
22 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
23 |
// +------------------------------------------------------------------------------------------------------+
|
23 |
// +------------------------------------------------------------------------------------------------------+
|
24 |
// CVS : $Id: adme_menu_commun.fonct.php,v 1.27 2006-10-16 15:49:07 ddelon Exp $
|
24 |
// CVS : $Id: adme_menu_commun.fonct.php,v 1.28 2007-10-24 14:43:02 ddelon Exp $
|
25 |
/**
|
25 |
/**
|
26 |
* Application de gestion des menus communs
|
26 |
* Application de gestion des menus communs
|
27 |
*
|
27 |
*
|
28 |
* Permet de lister, d'ajouter, de modifier, et de déplacer des menus communs.
|
28 |
* Permet de lister, d'ajouter, de modifier, et de déplacer des menus communs.
|
29 |
* Par menus communs, nous entendons tous les menus devant paraitre sur l'ensemble des pages de plusieurs site,
|
29 |
* Par menus communs, nous entendons tous les menus devant paraitre sur l'ensemble des pages de plusieurs site,
|
Line 36... |
Line 36... |
36 |
//Autres auteurs :
|
36 |
//Autres auteurs :
|
37 |
*@author Alexandre GRANIER <alexandre@tela-botanica.org>
|
37 |
*@author Alexandre GRANIER <alexandre@tela-botanica.org>
|
38 |
*@author David Delon <david.delon@clapas.net>
|
38 |
*@author David Delon <david.delon@clapas.net>
|
39 |
*@author Laurent COUDOUNEAU <lc@gsite.org>
|
39 |
*@author Laurent COUDOUNEAU <lc@gsite.org>
|
40 |
*@copyright Tela-Botanica 2000-2004
|
40 |
*@copyright Tela-Botanica 2000-2004
|
41 |
*@version $Revision: 1.27 $ $Date: 2006-10-16 15:49:07 $
|
41 |
*@version $Revision: 1.28 $ $Date: 2007-10-24 14:43:02 $
|
42 |
// +------------------------------------------------------------------------------------------------------+
|
42 |
// +------------------------------------------------------------------------------------------------------+
|
43 |
*/
|
43 |
*/
|
Line 44... |
Line 44... |
44 |
|
44 |
|
45 |
// +------------------------------------------------------------------------------------------------------+
|
45 |
// +------------------------------------------------------------------------------------------------------+
|
Line 279... |
Line 279... |
279 |
if (!$est_traduction) {
|
279 |
if (!$est_traduction) {
|
280 |
$url->addQueryString('adme_action',ADME_LG_ACTION_COMMUN_TRADUIRE);
|
280 |
$url->addQueryString('adme_action',ADME_LG_ACTION_COMMUN_TRADUIRE);
|
281 |
$xhtml_action .= '<a href="'.$url->getURL().'" title="'.ADME_LG_ACTION_COMMUN_TRADUIRE_TITLE.'">'.
|
281 |
$xhtml_action .= '<a href="'.$url->getURL().'" title="'.ADME_LG_ACTION_COMMUN_TRADUIRE_TITLE.'">'.
|
282 |
ADME_LG_ACTION_COMMUN_TRADUIRE_ALT.
|
282 |
ADME_LG_ACTION_COMMUN_TRADUIRE_ALT.
|
283 |
'</a> '."\n";
|
283 |
'</a> '."\n";
|
- |
|
284 |
|
284 |
}
|
285 |
}
|
285 |
else {
|
286 |
else {
|
286 |
if ($menu_traduction_defaut==$adme_menu_id) {
|
287 |
if ($menu_traduction_defaut==$adme_menu_id) {
|
287 |
$xhtml_action .= '<img class="'.ADME_CLASS_IMG_ICONE.'" src="'.ADME_IMAGE_TRADUCTION_DEFAUT_AFFICHAGE.'" alt="'.ADME_LG_ACTION_COMMUN_TRADUCTION_DEFAUT_ALT.'" />'.
|
288 |
$xhtml_action .= '<img class="'.ADME_CLASS_IMG_ICONE.'" src="'.ADME_IMAGE_TRADUCTION_DEFAUT_AFFICHAGE.'" alt="'.ADME_LG_ACTION_COMMUN_TRADUCTION_DEFAUT_ALT.'" />'.
|
288 |
' '."\n";
|
289 |
' '."\n";
|
289 |
}
|
290 |
}
|
Line 656... |
Line 657... |
656 |
$label = '<label for="'.$id.'">'.'Langue : '.'</label>';
|
657 |
$label = '<label for="'.$id.'">'.'Langue : '.'</label>';
|
657 |
$form->addElement('select', $id, $label, $aso_options, $aso_attributs);
|
658 |
$form->addElement('select', $id, $label, $aso_options, $aso_attributs);
|
658 |
}
|
659 |
}
|
Line 659... |
Line -... |
659 |
|
- |
|
660 |
|
- |
|
661 |
|
- |
|
662 |
|
660 |
|
663 |
|
661 |
|
664 |
$id = 'gm_application_arguments';
|
662 |
$id = 'gm_application_arguments';
|
665 |
$aso_attributs = array('id'=> $id, 'tabindex' => $tab_index++, 'size' => 45, 'maxlength' => 255);
|
663 |
$aso_attributs = array('id'=> $id, 'tabindex' => $tab_index++, 'size' => 45, 'maxlength' => 255);
|
Line 1548... |
Line 1546... |
1548 |
|
1546 |
|
1549 |
|
1547 |
|
1550 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
1548 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
- |
|
1549 |
*
|
- |
|
1550 |
* $Log: not supported by cvs2svn $
|
- |
|
1551 |
* Revision 1.27 2006-10-16 15:49:07 ddelon
|
1551 |
*
|
1552 |
* Refactorisation code mulitlinguisme et gestion menu invisibles
|
1552 |
* $Log: not supported by cvs2svn $
|
1553 |
*
|
1553 |
* Revision 1.26 2006/10/06 13:38:45 florian
|
1554 |
* Revision 1.26 2006/10/06 13:38:45 florian
|
1554 |
* ergonomie amélioree
|
1555 |
* ergonomie amélioree
|
1555 |
*
|
1556 |
*
|