logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

admin/inc class.uiaccounts.inc.php,1.43.2.8,1.43.2.9: msg#00510

Subject: admin/inc class.uiaccounts.inc.php,1.43.2.8,1.43.2.9
Update of /cvsroot/egroupware/admin/inc
In directory sc8-pr-cvs1:/tmp/cvs-serv1989

Modified Files:
      Tag: acl
        class.uiaccounts.inc.php 
Log Message:
Starting rework for account manager, currently can view and see edit page.  
Functions are being consolidated where possible.



Index: class.uiaccounts.inc.php
===================================================================
RCS file: /cvsroot/egroupware/admin/inc/class.uiaccounts.inc.php,v
retrieving revision 1.43.2.8
retrieving revision 1.43.2.9
diff -C2 -d -r1.43.2.8 -r1.43.2.9
*** class.uiaccounts.inc.php    23 Nov 2003 16:33:41 -0000      1.43.2.8
--- class.uiaccounts.inc.php    30 Nov 2003 00:32:40 -0000      1.43.2.9
***************
*** 15,28 ****
        {
                var $public_functions = array(
!                       'list_groups'    => True,
!                       'list_users'     => True,
!                       'add_group'      => True,
!                       'add_user'       => True,
!                       'delete_group'   => True,
!                       'delete_user'    => True,
!                       'edit_user'      => True,
                        'edit_user_hook' => True,
[...1894 lines suppressed...]
!                       {
!                               $str .= '<option 
value='.$users[$i]['account_id'].'>'.$GLOBALS['phpgw']->common->display_fullname($users[$i]['account_lid'],$users[$i]['account_firstname'],$users[$i]['account_lastname']).'</option>'."\n";
!                       }
!                       $var['lang_new_owner'] = lang('Who would you like to 
transfer ALL records owned by the deleted user to?');
!                       $var['new_owner_select'] = '<select name="new_owner" 
size="5">'."\n".'<option value=0 selected>'.lang('Delete All 
Records').'</option>'."\n".$str.'</select>'."\n";
!                       $var['cancel'] = lang('cancel');
!                       $var['delete'] = lang('delete');
                        $GLOBALS['phpgw']->template->set_var($var);
+                       $GLOBALS['phpgw']->template->fp('out','form');
+               }
  
!               function row_action($action,$type,$account_id,$account_type)
!               {
!                       return '<a 
href="'.$GLOBALS['phpgw']->link('/index.php',Array(
!                               'menuaction'   => 
'admin.uiaccounts.'.$action.'_'.$type,
!                               'account_id'   => (int)$account_id,
!                               'account_type' => $account_type
!                       )).'"> '.lang($action).' </a>';
                }
        }




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/


<Prev in Thread] Current Thread [Next in Thread>