diff --git a/preferences/acl_preferences.php b/preferences/acl_preferences.php index 07fd6f6a65..011d38c6f8 100644 --- a/preferences/acl_preferences.php +++ b/preferences/acl_preferences.php @@ -46,8 +46,8 @@ $rights = $acl->get_rights($id,$phpgw_info['flags']['currentapp']); check_acl($label,$id,'read',$rights,PHPGW_ACL_READ); - check_acl($label,$id,'add',$rights,PHPGW_ACL_ADD); - check_acl($label,$id,'edit',$rights,PHPGW_ACL_EDIT); + check_acl($label,$id,'add',$rights,PHPGW_ACL_ADD); + check_acl($label,$id,'edit',$rights,PHPGW_ACL_EDIT); check_acl($label,$id,'delete',$rights,PHPGW_ACL_DELETE); check_acl($label,$id,'private',$rights,PHPGW_ACL_PRIVATE); @@ -159,29 +159,28 @@ $p = CreateObject('phpgwapi.Template',$phpgw_info['server']['app_tpl']); $templates = Array ( - 'preferences' => 'preference_acl.tpl', - 'row_colspan' => 'preference_colspan.tpl', - 'acl_row' => 'preference_acl_row.tpl' + 'preferences' => 'preference_acl.tpl', + 'row_colspan' => 'preference_colspan.tpl', + 'acl_row' => 'preference_acl_row.tpl' ); $p->set_file($templates); -// $p->set_var('errors','

This does nothing at this time!
Strictly as a template for use!
'); $common_hidden_vars = ' '."\n" - . ' '."\n" - . ' '."\n" - . ' '."\n" - . ' '."\n" - . ' '."\n" - . ' '."\n"; + . ' '."\n" + . ' '."\n" + . ' '."\n" + . ' '."\n" + . ' '."\n" + . ' '."\n"; $var = Array( - 'errors' => '', - 'title' => '

'.lang($phpgw_info['flags']['currentapp'].' preferences').' - '.lang('acl').':


', - 'action_url' => $phpgw->link('/preferences/acl_preferences.php','acl_app=' . $acl_app), - 'bg_color' => $phpgw_info['theme']['th_bg'], - 'submit_lang' => lang('submit'), - 'common_hidden_vars_form' => $common_hidden_vars + 'errors' => '', + 'title' => '

'.lang($phpgw_info['flags']['currentapp'].' preferences').' - '.lang('acl').':


', + 'action_url' => $phpgw->link('/preferences/acl_preferences.php','acl_app=' . $acl_app), + 'bg_color' => $phpgw_info['theme']['th_bg'], + 'submit_lang' => lang('submit'), + 'common_hidden_vars_form' => $common_hidden_vars ); $p->set_var($var); @@ -194,10 +193,10 @@ $p->set_var('common_hidden_vars',$common_hidden_vars); $var = Array( - 'read_lang' => lang('Read'), - 'add_lang' => lang('Add'), - 'edit_lang' => lang('Edit'), - 'delete_lang' => lang('Delete') + 'read_lang' => lang('Read'), + 'add_lang' => lang('Add'), + 'edit_lang' => lang('Edit'), + 'delete_lang' => lang('Delete') ); $p->set_var($var); @@ -276,11 +275,11 @@ $extra_parms = '&s_users='.$s_users.'&s_groups='.$s_groups.'&maxm='.$maxm.'&totalentries='.$totalentries.'&total='.($start + $total).'&owner='.$owner; $var = Array( - 'nml' => $phpgw->nextmatchs->left('',$start,$totalentries,$extra_parms), - 'nmr' => $phpgw->nextmatchs->right('',$start,$totalentries,$extra_parms), - 'search_value' => (isset($query) && $query?$query:''), - 'search' => lang('search'), - 'processed' => urlencode(serialize($processed)) + 'nml' => $phpgw->nextmatchs->left('',$start,$totalentries,$extra_parms), + 'nmr' => $phpgw->nextmatchs->right('',$start,$totalentries,$extra_parms), + 'search_value' => (isset($query) && $query?$query:''), + 'search' => lang('search'), + 'processed' => urlencode(serialize($processed)) ); $p->set_var($var);