Commit 13560e10 authored by Feu's avatar Feu
Browse files

aecms compatible promo

parent 2819d971
......@@ -30,12 +30,12 @@ $site->start_page ( CMS_PREFIX."contact", "Contact" );
$cts = new contents("Contact");
if ( !is_null($site->asso->id_asso_parent) )
if ( !is_null($site->asso->id_parent) )
$cts->add_paragraph(htmlentities($site->asso->nom,ENT_NOQUOTES,"UTF-8")." est une activitée de l'association des étudiants de l'université de technologie de belfort montbéliard");
$cts->add_title(2,"Adresses");
if ( !is_null($site->asso->id_asso_parent) )
if ( !is_null($site->asso->id_parent) )
$cts->add_paragraph(
"université de technologie de belfort-montébliard<br/>".
"association des étudiants<br/>".
......@@ -44,7 +44,7 @@ if ( !is_null($site->asso->id_asso_parent) )
else
$cts->add_paragraph(
htmlentities($site->asso->nom,ENT_NOQUOTES,"UTF-8")."<br/>".
nl2br(htmlentities($this->adresse_postale,ENT_NOQUOTES,"UTF-8")));
nl2br(htmlentities($site->asso->adresse_postale,ENT_NOQUOTES,"UTF-8")));
if ( $site->asso->email )
$cts->add_paragraph("e-mail: ".htmlentities($site->asso->email,ENT_NOQUOTES,"UTF-8"));
......
......@@ -389,7 +389,7 @@ class aecms extends site
echo "<p class=\"footer\">\n";
if ( !is_null($this->asso->id_asso_parent) )
if ( !is_null($this->asso->id_parent) )
{
echo "<a href=\"/\">association des etudiants de l'utbm</a>";
echo " - <a href=\"index.php?name=:legals\">informations légales</a>";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment