From 6fb70805cb8e7da955a03a3c07f2ec27043c28fb Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 4 Feb 2014 09:12:43 +0000 Subject: [PATCH] same for list users or groups --- admin/inc/class.uiaccounts.inc.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/admin/inc/class.uiaccounts.inc.php b/admin/inc/class.uiaccounts.inc.php index e694e5fd3b..da7449bd5b 100755 --- a/admin/inc/class.uiaccounts.inc.php +++ b/admin/inc/class.uiaccounts.inc.php @@ -207,7 +207,7 @@ { $var = Array( 'class' => $this->nextmatchs->alternate_row_color('', True), - 'group_name' => (!$account['account_lid']?' ':$account['account_lid']), + 'group_name' => html::htmlspecialchars($account['account_lid']), 'delete_link' => $this->row_action('delete','group',$account['account_id']) ); $p->set_var($var); @@ -467,7 +467,13 @@ $account['account_status'].= '
'.common::show_date($account['account_modified'],$GLOBALS['egw_info']['user']['preferences']['common']['dateformat']); - $p->set_var($account); + $p->set_var(array( + 'account_id' => $account['account_id'], + 'account_lid' => html::htmlspecialchars($account['account_lid']), + 'account_firstname' => html::htmlspecialchars($account['account_firstname']), + 'account_lastname' => html::htmlspecialchars($account['account_lastname']), + 'account_email' => html::htmlspecialchars($account['account_email']), + )); if ($can_edit) {