projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor improvement of keynote skin
[platal.git]
/
templates
/
admin
/
deces_promo.tpl
diff --git
a/templates/admin/deces_promo.tpl
b/templates/admin/deces_promo.tpl
index
240bcd5
..
8b6cf4c
100644
(file)
--- a/
templates/admin/deces_promo.tpl
+++ b/
templates/admin/deces_promo.tpl
@@
-1,6
+1,6
@@
{**************************************************************************}
{* *}
{**************************************************************************}
{* *}
-{* Copyright (C) 2003-200
4
Polytechnique.org *}
+{* Copyright (C) 2003-200
7
Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
@@
-22,10
+22,17
@@
-<form action="{$smarty.server.PHP_SELF}" method="get">
+{foreach from=$new_deces item=i}
+<p class="erreur">Ajout du décès de {$i.name} le {$i.date}.</p>
+{/foreach}
+
+<form action="admin/deaths" method="post">
<table class="tinybicol">
<tr>
<table class="tinybicol">
<tr>
- <td><input type="submit" value="<<" name="sub10" /></td>
+ <td>
+ <input type="submit" value="GO" style="visibility: hidden" />
+ <input type="submit" value="<<" name="sub10" />
+ </td>
<td><input type="submit" value="<" name="sub01" /></td>
<td>
Promotion :
<td><input type="submit" value="<" name="sub01" /></td>
<td>
Promotion :
@@
-33,16
+40,19
@@
<input type="submit" value="GO" />
</td>
<td><input type="submit" value=">" name="add01" /></td>
<input type="submit" value="GO" />
</td>
<td><input type="submit" value=">" name="add01" /></td>
- <td><input type="submit" value=">>" name="add10" /></td>
+ <td>
+ <input type="submit" value=">>" name="add10" />
+ <input type="submit" value="GO" style="visibility: hidden" />
+ </td>
</tr>
</table>
</form>
</tr>
</table>
</form>
-<form action="
{$smarty.server.REQUEST_URI}
" method="post">
- <table class="bicol" summary="liste des dates de d
écè
s">
+<form action="
admin/deaths/{$promo}/validate
" method="post">
+ <table class="bicol" summary="liste des dates de d
écè
s">
<tr>
<th>Nom</th>
<tr>
<th>Nom</th>
- <th>Date de d
écè
s</th>
+ <th>Date de d
écè
s</th>
</tr>
{iterate item=x from=$decedes}
<tr class="{cycle values="impair,pair"}">
</tr>
{iterate item=x from=$decedes}
<tr class="{cycle values="impair,pair"}">
@@
-54,11
+64,10
@@
{/iterate}
<tr>
<td class="center" colspan="2">
{/iterate}
<tr>
<td class="center" colspan="2">
- <input type="hidden" name="promo" value="{$promo}" />
- <input type="submit" name="valider" value="Valider" />
+ <input type="submit" value="Valider" />
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
</form>
-{* vim:set et sw=2 sts=2 sws=2: *}
+{* vim:set et sw=2 sts=2 sws=2
enc=utf-8
: *}