aboutsummaryrefslogtreecommitdiffstats
path: root/admin/template
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2009-12-19 20:49:03 +0000
committerplegall <plg@piwigo.org>2009-12-19 20:49:03 +0000
commitb1e62225963f1e3f22d7a64f845f9436a40e44ab (patch)
tree9fcb51f2793c4edafc2f108b191634e427402418 /admin/template
parentd6e113952819905b66161a1ec09b5a88c84fd6d0 (diff)
bug 1328: implements check_pwg_token at site management level.
git-svn-id: http://piwigo.org/svn/branches/2.0@4531 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/template')
-rw-r--r--admin/template/goto/site_manager.tpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/admin/template/goto/site_manager.tpl b/admin/template/goto/site_manager.tpl
index 61c0157cf..570b0a15c 100644
--- a/admin/template/goto/site_manager.tpl
+++ b/admin/template/goto/site_manager.tpl
@@ -17,6 +17,7 @@
{'remote_site_local_found'|@translate} {$local_listing.URL}
{if isset($local_listing.CREATE)}
<form action="{$F_ACTION}" method="post">
+ <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}" />
<p>
{'remote_site_local_create'|@translate}:
<input type="hidden" name="no_check" value="1"/>
@@ -64,6 +65,7 @@
{/if}
<form action="{$F_ACTION}" method="post">
+ <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}" />
<p>
<label for="galleries_url" >{'site_create'|@translate}</label>
<input type="text" name="galleries_url" id="galleries_url" />