[vhffs-dev] [1316] Fixed tag add/del/request/cancel. |
[ Thread Index |
Date Index
| More vhffs.org/vhffs-dev Archives
]
Revision: 1316
Author: gradator
Date: 2008-12-13 13:24:39 +0100 (Sat, 13 Dec 2008)
Log Message:
-----------
Fixed tag add/del/request/cancel. (regression added by commit #1298)
Modified Paths:
--------------
trunk/vhffs-panel/templates/group/tags.tmpl
Modified: trunk/vhffs-panel/templates/group/tags.tmpl
===================================================================
--- trunk/vhffs-panel/templates/group/tags.tmpl 2008-12-08 08:14:26 UTC (rev 1315)
+++ trunk/vhffs-panel/templates/group/tags.tmpl 2008-12-13 12:24:39 UTC (rev 1316)
@@ -5,7 +5,7 @@
<TMPL_LOOP NAME="CURRENT_TAGS">
<li><TMPL_VAR NAME="LABEL">
<TMPL_LOOP NAME="TAGS">
-<a href="?delete_tag_submit=true&tag_id=<TMPL_VAR NAME="TAG_ID">#tags"><TMPL_VAR NAME="LABEL"></a><TMPL_UNLESS NAME="__LAST__">, </TMPL_UNLESS>
+<a href="?group=<TMPL_VAR ESCAPE=1 NAME="TEXT_PROJECTNAME">&delete_tag_submit=true&tag_id=<TMPL_VAR NAME="TAG_ID">#tags"><TMPL_VAR NAME="LABEL"></a><TMPL_UNLESS NAME="__LAST__">, </TMPL_UNLESS>
</TMPL_LOOP>
;
</TMPL_LOOP>
@@ -16,7 +16,7 @@
<TMPL_LOOP NAME="CATEGORIES">
<li><TMPL_VAR NAME="LABEL">:
<TMPL_LOOP NAME="TAGS">
-<a href="?add_tag_submit=true&tag_id=<TMPL_VAR NAME="TAG_ID">#tags"><TMPL_VAR NAME="LABEL"></a><TMPL_UNLESS NAME="__LAST__">, </TMPL_UNLESS>
+<a href="?group=<TMPL_VAR ESCAPE=1 NAME="TEXT_PROJECTNAME">&add_tag_submit=true&tag_id=<TMPL_VAR NAME="TAG_ID">#tags"><TMPL_VAR NAME="LABEL"></a><TMPL_UNLESS NAME="__LAST__">, </TMPL_UNLESS>
</TMPL_LOOP>
;</li>
</TMPL_LOOP>
@@ -29,6 +29,7 @@
<p><label for="requestTagTag"><TMPL_I18N KEY="Label">:</label>
<input type="text" name="tag" id="requestTagTag"/>
</p>
+<input type="hidden" name="group" value="<TMPL_VAR ESCAPE=1 NAME="TEXT_PROJECTNAME">" />
<p class="button"><input type="submit" name="request_tag_submit" value="<TMPL_I18N KEY="OK">"/></p>
</form>
<TMPL_IF NAME="TAG_REQUESTS">
@@ -37,8 +38,8 @@
<TMPL_LOOP NAME="TAG_REQUESTS">
<li>
<TMPL_VAR NAME="CATEGORY_LABEL">::<TMPL_VAR NAME="TAG_LABEL">
-[<a href="?cancel_tag_request_submit=true&request_id=<TMPL_VAR NAME="REQUEST_ID">"><TMPL_I18N KEY="Cancel"></a>]
+[<a href="?group=<TMPL_VAR ESCAPE=1 NAME="TEXT_PROJECTNAME">&cancel_tag_request_submit=true&request_id=<TMPL_VAR NAME="REQUEST_ID">"><TMPL_I18N KEY="Cancel"></a>]
</li>
</TMPL_LOOP>
</ul>
-</TMPL_IF>
\ No newline at end of file
+</TMPL_IF>