[geeklog-cvs] geeklog: Make plugins sortable by status (enabled/disabled).
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Sun Jan 23 04:08:02 EST 2011
changeset 8067:924f427aa9fd
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/924f427aa9fd
user: Rouslan Placella <rouslan at placella.com>
date: Mon Jan 17 15:29:39 2011 +0000
description:
Make plugins sortable by status (enabled/disabled).
diffstat:
public_html/admin/plugins.php | 2 +-
system/lib-admin.php | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diffs (24 lines):
diff -r 8a43ffb9c852 -r 924f427aa9fd public_html/admin/plugins.php
--- a/public_html/admin/plugins.php Sun Jan 23 09:26:05 2011 +0100
+++ b/public_html/admin/plugins.php Mon Jan 17 15:29:39 2011 +0000
@@ -469,7 +469,7 @@
array('text' => $LANG32[16], 'field' => 'pi_name', 'sort' => true),
array('text' => $LANG32[17], 'field' => 'pi_version', 'sort' => true),
array('text' => $LANG32[18], 'field' => 'pi_gl_version', 'sort' => true),
- array('text' => $LANG_ADMIN['enabled'], 'field' => 'enabled', 'sort' => false)
+ array('text' => $LANG_ADMIN['enabled'], 'field' => 'pi_enabled', 'sort' => true)
);
$defsort_arr = array('field' => 'pi_name', 'direction' => 'asc');
diff -r 8a43ffb9c852 -r 924f427aa9fd system/lib-admin.php
--- a/system/lib-admin.php Sun Jan 23 09:26:05 2011 +0100
+++ b/system/lib-admin.php Mon Jan 17 15:29:39 2011 +0000
@@ -1131,7 +1131,7 @@
}
break;
- case 'enabled':
+ case 'pi_enabled':
$not_present = false;
if ($A['pi_enabled'] == 1) {
$switch = ' checked="checked"';
More information about the geeklog-cvs
mailing list