projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make password checker easily pluggable to any password change prompt.
[platal.git]
/
templates
/
core
/
table-editor.tpl
diff --git
a/templates/core/table-editor.tpl
b/templates/core/table-editor.tpl
index
7bd9a4f
..
df3b459
100644
(file)
--- a/
templates/core/table-editor.tpl
+++ b/
templates/core/table-editor.tpl
@@
-75,7
+75,7
@@
<td class="action">
{if !$readonly}
<a href="{$t->pl}/edit/{$idval}">{icon name=page_edit title='éditer'}</a>
<td class="action">
{if !$readonly}
<a href="{$t->pl}/edit/{$idval}">{icon name=page_edit title='éditer'}</a>
- <a href="{$t->pl}/delete/{$idval}">{icon name=delete title='supprimer'}</a>
+ <a href="{$t->pl}/delete/{$idval}
?token={xsrf_token}
">{icon name=delete title='supprimer'}</a>
{/if}
</td>
{/if}
{/if}
</td>
{/if}
@@
-100,6
+100,7
@@
{else}
<form method="post" action="{$t->pl}/update/{$id}">
{else}
<form method="post" action="{$t->pl}/update/{$id}">
+ {xsrf_token_field}
<table class="bicol">
<tr class="impair">
<th colspan="2">
<table class="bicol">
<tr class="impair">
<th colspan="2">