summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2009-04-28 19:17:54 +0000
committerChristian Fowler <spider@viovio.com>2009-04-28 19:17:54 +0000
commit196794cc220608f25ea07353c9da3b39bdeae565 (patch)
tree4290d63745c39a2dbdc85f0a5a5504bde2552505
parent6b821f193967dee3ae2346c7b021522931e008d7 (diff)
downloadliberty-196794cc220608f25ea07353c9da3b39bdeae565.tar.gz
liberty-196794cc220608f25ea07353c9da3b39bdeae565.tar.bz2
liberty-196794cc220608f25ea07353c9da3b39bdeae565.zip
add hidden fields for user_id and sort_mode in restrict listing form
-rw-r--r--templates/list_content_inc.tpl5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/list_content_inc.tpl b/templates/list_content_inc.tpl
index 46f42d4..d51bd07 100644
--- a/templates/list_content_inc.tpl
+++ b/templates/list_content_inc.tpl
@@ -1,6 +1,7 @@
{strip}
-{form legend="Select Content Type"}
- <input type="hidden" name="user_id" value="{$user_id}" />
+{form legend="Select Content Type" action="`$smarty.server.REQUEST_URI`" method="get"}
+ <input type="hidden" name="user_id" value="{$smarty.request.user_id}" />
+ <input type="hidden" name="sort_mode" value="{$smarty.request.sort_mode}" />
<div class="row">
{formlabel label="Restrict listing" for="content_type_guid"}
{forminput}