X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fadmin%2Fvalider.tpl;h=67ad5721d2e4d702c11bdb82a29b631dc117ceb8;hb=16594a1ac8d7cbff8a51e422a6a6d9e575129d9c;hp=f7ea92fc33db1f14d212d690b7703d293a488acf;hpb=9f94a7d4fefc0ccc2dff7df27721727cc84ae96f;p=platal.git diff --git a/templates/admin/valider.tpl b/templates/admin/valider.tpl index f7ea92f..67ad572 100644 --- a/templates/admin/valider.tpl +++ b/templates/admin/valider.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2006 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,25 +15,34 @@ {* *} {* 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()} {counter print=false start=0 assign=hidden} -{iterate item=valid from=$vit|smarty:nodefaults} +{iterate item=valid from=$vit} {assign var=type value=$valid->type} {if !$hide_requests[$type]}
- + @@ -50,18 +59,55 @@ {include file=$valid->formu()} - + {if $valid->editor()} + + + + id()}style="display: none"{/if} id="edit_{$valid->id()}"> + + + {/if} + + + {foreach from=$valid->comments item=c} - + {/foreach} - + comments|@count eq 0}style="display: none"{/if} id="comment_{$valid->id()}"> - - + + +
{$valid->type}{$valid->type}
Demandeur :
Commentaires
+ {if $preview_id neq $valid->id()} +
+ {icon name="add"} +
+ {/if} + Éditer +
+
+ {xsrf_token_field} +
+ {include file=$valid->editor()} + + + +
+ +
+
+
+ {if $valid->comments|@count eq 0} +
+ {icon name="add"} +
+ {/if} + Commentaires +
{$c[0]} {$c[1]}{$c[1]|nl2br}
+ {xsrf_token_field}
@@ -74,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 :

@@ -109,24 +165,25 @@ {/iterate} {if $hidden} -

{$hidden} validation{if $hidden > 1}s ont été masquées{else} a été masquée{/if}.

+

{$hidden} validation{if $hidden > 1}s ont été masquées{else} a été masquée{/if}.

{/if} {else} -

Rien à valider

+

Rien à valider

{/if}

- Afficher seulement les validation suivantes : - - {foreach from=$categories item=type} -

-
- {/foreach} -
- + Afficher seulement les validation suivantes :

-{* vim:set et sw=2 sts=2 sws=2: *} +
+ {foreach from=$categories item=type} +
+
+ {/foreach} +
+
+ +{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}