From: Pascal Corpet Date: Fri, 28 May 2010 22:34:01 +0000 (+0200) Subject: More HTML fixes X-Git-Tag: xorg/1.0.0~232 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=0d66652e6e401991864fd180bc18d07ecb066656;p=platal.git More HTML fixes --- diff --git a/plugins/function.display_education.php b/plugins/function.display_education.php index da0ea96..bbf4208 100644 --- a/plugins/function.display_education.php +++ b/plugins/function.display_education.php @@ -62,7 +62,9 @@ function display_education($name, $url, $degree, $grad_year, $field, $program, $ $txt .= $name; } } - $txt .= ""; + if ($grad_year || $field || $program) { + $txt .= ""; + } return $txt; } diff --git a/templates/carnet/mescontacts.tpl b/templates/carnet/mescontacts.tpl index 64a068c..167bdcc 100644 --- a/templates/carnet/mescontacts.tpl +++ b/templates/carnet/mescontacts.tpl @@ -26,25 +26,23 @@ Ma liste personnelle de contacts -

+

- {xsrf_token_field} -
- -
-
+

Ajouter à tes contacts :

+

Sur la page de résultats d'une recherche, tu peux ajouter un contact en cliquant sur {icon name=add}.

@@ -75,18 +73,16 @@ -

+

- -
{icon name=cross title='Annuler la recherche'} -
-
+ +

Rechercher dans tes contacts :

diff --git a/templates/emails/alias.tpl b/templates/emails/alias.tpl index a6253ee..14e6cf6 100644 --- a/templates/emails/alias.tpl +++ b/templates/emails/alias.tpl @@ -103,7 +103,7 @@ -