From 0d66652e6e401991864fd180bc18d07ecb066656 Mon Sep 17 00:00:00 2001 From: Pascal Corpet Date: Sat, 29 May 2010 00:34:01 +0200 Subject: [PATCH] More HTML fixes --- plugins/function.display_education.php | 4 +++- templates/carnet/mescontacts.tpl | 20 ++++++++------------ templates/emails/alias.tpl | 2 +- templates/emails/index.tpl | 4 ++-- templates/emails/redirect.tpl | 4 ++-- templates/platal/motdepasse.tpl | 8 +++++--- 6 files changed, 21 insertions(+), 21 deletions(-) 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 @@ -