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: plan.php,v 1.6 2006-10-06 10:03:14 florian Exp $ |
// CVS : $Id: plan.php,v 1.7 2006-10-11 18:05:15 jp_milcent Exp $ |
/** |
* Application réalisant le plan d'un site web géré par Papyrus. |
* |
33,7 → 33,7 |
//Autres auteurs : |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org> |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.6 $ $Date: 2006-10-06 10:03:14 $ |
*@version $Revision: 1.7 $ $Date: 2006-10-11 18:05:15 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
100,7 → 100,10 |
} else { |
$titre = $site['gs_nom']; |
} |
$retour .= '<h2>'.$titre.'</h2>'."\n"; |
$url_site =& new Pap_URL(); |
$url_site->setUrlType('SITE'); |
$url_site->setId($site['gs_id_site']); |
$retour .= '<h2><a href="'.$url_site->getUrl().'">'.htmlentities($titre).'</a></h2>'."\n"; |
} |
$retour .= '<ul class="plan_site_'.$site['gs_nom'].'" >'."\n"; |
$aso_menus = GEN_retournerTableauMenusSiteCodeAlpha($bdd, $site['gs_code_alpha']); |
130,13 → 133,13 |
// Construction de l'attribut title |
$title = ''; |
if (!empty($menu_valeur['gm_titre'])) { |
$title = ' title="'.$menu_valeur['gm_titre'].'"'; |
$title = ' title="'.htmlentities($menu_valeur['gm_titre']).'"'; |
} elseif (!empty($menu_valeur['gm_titre_alternatif'])) { |
$title = ' title="'.$menu_valeur['gm_titre_alternatif'].'"'; |
$title = ' title="'.htmlentities($menu_valeur['gm_titre_alternatif']).'"'; |
} |
|
// Construction du lien |
$retour .= '<a href="'.$une_url->getURL().'"'.$title.'>'.$menu_valeur['gm_nom'].'</a>'; |
$retour .= '<a href="'.$une_url->getURL().'"'.$title.'>'.htmlentities($menu_valeur['gm_nom']).'</a>'; |
|
// Nous affichons ou pas le permalien |
if ($permalien) { |
164,6 → 167,9 |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* Revision 1.6 2006/10/06 10:03:14 florian |
* amelioration: affichage du plan des menus d'administration, dans le monde administration |
* |
* Revision 1.5 2006/03/02 10:49:49 ddelon |
* Fusion branche multilinguisme dans branche principale |
* |