From: Vincent Zanotti Date: Sat, 22 Mar 2008 23:44:26 +0000 (+0100) Subject: Fixes the comment/edition box opener in admin/validate, and switches to 'toggle'... X-Git-Tag: xorg/0.9.16~80 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=cbc404da6a6d95a22c19e5f339d33af5dc9c093c;hp=afde0a3a880a0ed092671f3cffebc2885174c9ef;p=platal.git Fixes the comment/edition box opener in admin/validate, and switches to 'toggle' mode. Signed-off-by: Vincent Zanotti --- diff --git a/templates/admin/valider.tpl b/templates/admin/valider.tpl index 3f226f3..5cfc795 100644 --- a/templates/admin/valider.tpl +++ b/templates/admin/valider.tpl @@ -23,9 +23,8 @@ {javascript name="jquery"} @@ -63,9 +62,9 @@ function activateField(name, id, obj) { {if $valid->editor()} - {if $preview_id neq $valid->id()} + {if $preview_id neq $valid->id()}
- {icon name="add"} + {icon name="add"}
{/if} Editer @@ -90,7 +89,7 @@ function activateField(name, id, obj) { {if $valid->comments|@count eq 0}
- {icon name="add"} + {icon name="add"}
{/if} Commentaires