X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fadmin%2Fvalider.tpl;h=67ad5721d2e4d702c11bdb82a29b631dc117ceb8;hb=16594a1ac8d7cbff8a51e422a6a6d9e575129d9c;hp=d98d67dac8619f4dc5d5b6b0d9ea9df86311113b;hpb=e654517d5e6106ae4056ff4068437358a68f7268;p=platal.git diff --git a/templates/admin/valider.tpl b/templates/admin/valider.tpl index d98d67d..67ad572 100644 --- a/templates/admin/valider.tpl +++ b/templates/admin/valider.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2007 Polytechnique.org *} +{* Copyright (C) 2003-2008 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -15,13 +15,22 @@ {* *} {* You should have received a copy of the GNU General Public License *} {* along with this program; if not, write to the Free Software *} -{* Foundation, Inc., *} + {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *} {* *} {**************************************************************************} +{javascript name="jquery"} + +

Validation

- + {if $vit->total()} @@ -39,7 +48,7 @@ Demandeur : - {$valid->prenom|utf8_encode} {$valid->nom|utf8_encode} (X{$valid->promo}) + {$valid->prenom} {$valid->nom} (X{$valid->promo}) @@ -51,28 +60,42 @@ {include file=$valid->formu()} {if $valid->editor()} - + + + {if $preview_id neq $valid->id()} +
+ {icon name="add"} +
+ {/if} + Éditer + + + id()}style="display: none"{/if} id="edit_{$valid->id()}"> - {if $preview_id == $valid->id()} -
+ + {xsrf_token_field}
{include file=$valid->editor()}
- +
- {else} - - {icon name=page_edit}Editer cette demande avant validation - - {/if} {/if} - Commentaires + + + {if $valid->comments|@count eq 0} +
+ {icon name="add"} +
+ {/if} + Commentaires + + {foreach from=$valid->comments item=c} @@ -81,9 +104,10 @@ {$c[1]|nl2br} {/foreach} - + comments|@count eq 0}style="display: none"{/if} id="comment_{$valid->id()}">
+ {xsrf_token_field}
@@ -96,22 +120,32 @@ - Réponse - rules}> + + {if $preview_id neq $valid->id()} +
+ {icon name="null"} +
+ {/if} + Réponse + + + + ruleText()}>
+ {xsrf_token_field}
- Réponse préremplie : + 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 :
+ Ajouté dans l'email :

@@ -141,7 +175,7 @@ {/if}

- Afficher seulement les validation suivantes : + Afficher seulement les validation suivantes :