[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Librefm-commits] [1064] Hopefully it will work this way.
From: |
Toby Inkster |
Subject: |
[Librefm-commits] [1064] Hopefully it will work this way. |
Date: |
Thu, 30 Apr 2009 15:15:22 +0000 |
Revision: 1064
http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1064
Author: tobyink
Date: 2009-04-30 15:15:22 +0000 (Thu, 30 Apr 2009)
Log Message:
-----------
Hopefully it will work this way.
Modified Paths:
--------------
trunk/nixtape/group.php
trunk/nixtape/themes/librefm/templates/group.tpl
Modified: trunk/nixtape/group.php
===================================================================
--- trunk/nixtape/group.php 2009-04-30 15:12:11 UTC (rev 1063)
+++ trunk/nixtape/group.php 2009-04-30 15:15:22 UTC (rev 1064)
@@ -80,6 +80,7 @@
$smarty->assign('link_join', $group->getURLAction('join'));
$smarty->assign('link_leave', $group->getURLAction('leave'));
$smarty->assign('link_edit',
$base_url.'/edit_group.php?group='.$group->name);
+ $smarty->assign('link', $group->getURL());
$smarty->assign('extra_head_links', array(
array(
Modified: trunk/nixtape/themes/librefm/templates/group.tpl
===================================================================
--- trunk/nixtape/themes/librefm/templates/group.tpl 2009-04-30 15:12:11 UTC
(rev 1063)
+++ trunk/nixtape/themes/librefm/templates/group.tpl 2009-04-30 15:15:22 UTC
(rev 1064)
@@ -14,10 +14,10 @@
{if $isowner}
<a class="edit" href="{$link_edit}">[edit]</a>
{else}
- <form class="edit" action="{$link_leave}"
method="get"><div><input type="submit" value=" leave " /></div></form>
+ <form class="edit" action="{$link}"
method="get"><div><input type="hidden" name="action" value="leave" /><input
type="submit" value=" leave " /></div></form>
{/if}
{else}
- <form class="edit" action="{$link_join}"
method="get"><div><input type="submit" value=" join " /></div></form>
+ <form class="edit" action="{$link}"
method="get"><div><input type="hidden" name="action" value="join" /><input
type="submit" value=" join " /></div></form>
{/if}
{/if}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Librefm-commits] [1064] Hopefully it will work this way.,
Toby Inkster <=