[geeklog-cvs] geeklog: Make sure "Show Admin Groups" checkbox stays selected w...
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Fri Jan 1 15:56:37 EST 2010
changeset 7569:71d23a6a8f11
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/71d23a6a8f11
user: Dirk Haun <dirk at haun-online.de>
date: Fri Jan 01 16:00:21 2010 +0100
description:
Make sure "Show Admin Groups" checkbox stays selected when coming back from creating a new group
diffstat:
public_html/admin/group.php | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 07c5fd64f7ea -r 71d23a6a8f11 public_html/admin/group.php
--- a/public_html/admin/group.php Fri Jan 01 15:39:03 2010 +0100
+++ b/public_html/admin/group.php Fri Jan 01 16:00:21 2010 +0100
@@ -8,7 +8,7 @@
// | |
// | Geeklog group administration page. |
// +---------------------------------------------------------------------------+
-// | Copyright (C) 2000-2009 by the following authors: |
+// | Copyright (C) 2000-2010 by the following authors: |
// | |
// | Authors: Tony Bibbs - tony AT tonybibbs DOT com |
// | Mark Limburg - mlimburg AT users DOT sourceforge DOT net |
@@ -781,12 +781,14 @@
$defsort_arr = array('field' => 'grp_name', 'direction' => 'asc');
$form_url = $_CONF['site_admin_url'] . '/group.php';
+ $edit_url = $_CONF['site_admin_url'] . '/group.php?mode=edit';
if ($show_all_groups) {
$form_url .= '?chk_showall=1';
+ $edit_url .= '&chk_showall=1';
}
$menu_arr = array (
- array('url' => $_CONF['site_admin_url'] . '/group.php?mode=edit',
+ array('url' => $edit_url,
'text' => $LANG_ADMIN['create_new']),
array('url' => $_CONF['site_admin_url'],
'text' => $LANG_ADMIN['admin_home'])
More information about the geeklog-cvs
mailing list