X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fadmin%2Fvalider.tpl;h=ce018fe989e7a4ac403addfdf9c9e682d12c0bd7;hb=a292484d6d19447f6cc3c10d573338b3275fbc74;hp=3f226f3af2d175f7c89a0dec816a94172ff9518f;hpb=ebd515f95f03f8a87f9b846d65e179b39a535222;p=platal.git diff --git a/templates/admin/valider.tpl b/templates/admin/valider.tpl index 3f226f3..ce018fe 100644 --- a/templates/admin/valider.tpl +++ b/templates/admin/valider.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2008 Polytechnique.org *} +{* Copyright (C) 2003-2010 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -20,12 +20,10 @@ {* *} {**************************************************************************} -{javascript name="jquery"} @@ -48,8 +46,8 @@ function activateField(name, id, obj) { Demandeur : - - {$valid->prenom} {$valid->nom} (X{$valid->promo}) + + {$valid->user->fullName()} (X{$valid->user->promo()}) @@ -61,36 +59,37 @@ function activateField(name, id, obj) { {include file=$valid->formu()} {if $valid->editor()} - + - {if $preview_id neq $valid->id()} + {if $preview_id neq $valid->id()}
- {icon name="add"} + {icon name="add"}
{/if} - Editer + Éditer id()}style="display: none"{/if} id="edit_{$valid->id()}">
+ {xsrf_token_field}
{include file=$valid->editor()} - +
- +
{/if} - + {if $valid->comments|@count eq 0}
- {icon name="add"} + {icon name="add"}
{/if} Commentaires @@ -107,8 +106,9 @@ function activateField(name, id, obj) { comments|@count eq 0}style="display: none"{/if} id="comment_{$valid->id()}">
+ {xsrf_token_field}
- + @@ -119,10 +119,20 @@ function activateField(name, id, obj) { - Réponse + + + {if $preview_id neq $valid->id()} +
+ {icon name="null"} +
+ {/if} + Réponse + + ruleText()}>
+ {xsrf_token_field}
Réponse préremplie : - {icon name="page_edit" title="Editer les réponses automatiques"} + {icon name="page_edit" title="Éditer les réponses automatiques"}
Ajouté dans l'email :

- +