[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Librefm-commits] [1314] disable group mods again
From: |
Clint Adams |
Subject: |
[Librefm-commits] [1314] disable group mods again |
Date: |
Fri, 08 May 2009 01:28:52 +0000 |
Revision: 1314
http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1314
Author: clint
Date: 2009-05-08 01:28:52 +0000 (Fri, 08 May 2009)
Log Message:
-----------
disable group mods again
Modified Paths:
--------------
trunk/nixtape/edit_group.php
trunk/nixtape/group.php
Modified: trunk/nixtape/edit_group.php
===================================================================
--- trunk/nixtape/edit_group.php 2009-05-08 01:23:49 UTC (rev 1313)
+++ trunk/nixtape/edit_group.php 2009-05-08 01:28:52 UTC (rev 1314)
@@ -31,6 +31,11 @@
$smarty->assign('details', 'Not logged in! You shouldn\'t be here!');
$smarty->display('error.tpl');
die();
+} else {
+ $smarty->assign('error', 'Error!');
+ $smarty->assign('details', 'Group modifications are temporarily
disabled.');
+ $smarty->display('error.tpl');
+ die();
}
if ($_REQUEST['group']=='new')
Modified: trunk/nixtape/group.php
===================================================================
--- trunk/nixtape/group.php 2009-05-08 01:23:49 UTC (rev 1313)
+++ trunk/nixtape/group.php 2009-05-08 01:28:52 UTC (rev 1314)
@@ -49,11 +49,11 @@
if ($_GET['action'] && isset($this_user))
{
- if ($_GET['action'] == 'join')
- $group->memberJoin($this_user);
- elseif ($_GET['action'] == 'leave')
- $group->memberLeave($this_user);
-
+// if ($_GET['action'] == 'join')
+// $group->memberJoin($this_user);
+// elseif ($_GET['action'] == 'leave')
+// $group->memberLeave($this_user);
+//
header("Location: " . $group->getURL());
exit;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Librefm-commits] [1314] disable group mods again,
Clint Adams <=