From b7b162cd7dffbe8a000b23b9370163ef61b67427 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Thu, 6 Aug 2009 18:44:21 +0200 Subject: [PATCH] Support the list_users setting in Kronolith too. --- kronolith/docs/CHANGES | 2 ++ kronolith/templates/perms/perms.inc | 51 ++++++++++++++++++++++++++++--------- 2 files changed, 41 insertions(+), 12 deletions(-) diff --git a/kronolith/docs/CHANGES b/kronolith/docs/CHANGES index a64d71115..5a3355f3c 100644 --- a/kronolith/docs/CHANGES +++ b/kronolith/docs/CHANGES @@ -23,6 +23,8 @@ v3.0-git v2.3.2-cvs ---------- +[jan] Add configuration whether to show user drop down list or text field in + permissions dialog (requires Horde 3.3.5). [jan] Propagate the 'modified' API method (Request #8274). [cjh] Fix the signature of the kronolith/import API method (rpolli@babel.it, Bug #8309). diff --git a/kronolith/templates/perms/perms.inc b/kronolith/templates/perms/perms.inc index 1907fa72c..c4a42dd9e 100644 --- a/kronolith/templates/perms/perms.inc +++ b/kronolith/templates/perms/perms.inc @@ -210,50 +210,77 @@ foreach ($userperms as $user => $uperm) {   - + + +hasCapability('list') && (!isset($GLOBALS['conf']['auth']['list_users']) || $GLOBALS['conf']['auth']['list_users'] == 'list' || $GLOBALS['conf']['auth']['list_users'] == 'both')): ?> -hasCapability('list')): ?> - - + + + + + + + + + + + + + + + + + + + + + + +hasCapability('list') || !isset($GLOBALS['conf']['auth']['list_users']) || $GLOBALS['conf']['auth']['list_users'] == 'input' || $GLOBALS['conf']['auth']['list_users'] == 'both'): ?> + +hasCapability('list') && isset($GLOBALS['conf']['auth']['list_users']) && $GLOBALS['conf']['auth']['list_users'] == 'both'): ?> + + - + - - + - + - + - + - +   +   -- 2.11.0