Commit 5ddf3608 authored by mbriand's avatar mbriand
Browse files

bleh ?

parent 1acd3764
......@@ -149,7 +149,7 @@ class userinfo extends stdcontents
}
if ( $user->addresse || $ville->is_valid() )
{
$this->buffer .= "<br><img src=\"".$topdir."images/icons/16/site.png\" width=\"14\" height=\"14\" style=\"margin-right:0.5em;\">";
$this->buffer .= "<br><img src=\"".$topdir."images/icons/16/batiment.png\" width=\"14\" height=\"14\" style=\"margin-right:0.5em;\">";
$this->buffer .= $user->addresse;
if ( $ville->is_valid() )
......@@ -305,7 +305,7 @@ class userinfo extends stdcontents
$this->buffer .= "<div class=\"adresse_perso\" style=\"float: left; width: 200px; text-align:center;\">";
if ( $user->addresse || $ville->is_valid() )
{
$this->buffer .= "<br><img src=\"".$topdir."images/icons/16/site.png\" width=\"14\" height=\"14\" style=\"margin-right:0.5em;\">";
$this->buffer .= "<br><img src=\"".$topdir."images/icons/16/batiment.png\" width=\"14\" height=\"14\" style=\"margin-right:0.5em;\">";
$this->buffer .= $user->addresse;
if ( $ville->is_valid() )
......@@ -328,29 +328,7 @@ class userinfo extends stdcontents
$this->buffer .= "<br/><img src=\"".$topdir."images/usr_portable.png\" style=\"margin-right: 0.5em;\">".telephone_display($user->tel_portable);
}
$this->buffer .= "</div>";
if ( $user->addresse || $user->is_valid() )
{
$this->buffer .= "<br><img src=\"".$topdir."images/icons/16/site.png\" width=\"14\" height=\"14\" style=\"margin-right:0.5em;\">";
$this->buffer .= $user->addresse;
if ( $ville->is_valid() )
$this->buffer .= "<br/>".$ville->get_html_link()." (".sprintf("%05d", $ville->cpostal).")";
if ( $pays->is_valid() && $pays->id != 1)
$this->buffer .= "<br/>".$pays->get_html_link();
}
if ( $pays->is_valid() && $pays->id != 1)
$this->buffer .= "<br/>".$pays->get_html_link();
if ($user->adresse_parents || $user->cpostal_parents || $user->ville_parents)
{
$this->buffer .= "<div class=\"adresse_parents\" style=\"float: left; text-align:center; border-left: 1px dashed black; width: 200px; height: 110px;\">";
$this->buffer .= "<br><img src=\"".$topdir."images/icons/16/batiment.png\" width=\"14\" height=\"14\" style=\"margin-right:0.5em;\">";
$this->buffer .= $user->adresse_parents . "<br />" . $user->cpostal_parents . " " . $user->ville_parents;
if ($user->tel_parents)
$this->buffer .= "<br/><br/><img src=\"".$topdir."images/usr_fixe.png\" width=\"18\" height=\"16\" style=\"margin-right: 0.5em;\">".telephone_display($user->tel_parents);
$this->buffer .= "</div>";
}
$this->buffer .= "<div class=\"clearboth\"></div>\n";
$this->buffer .= "<br/><br/>";
$this->buffer .= "<div class=\"admin\" style=\"position : relative; float: left;\">";
......
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