Project

General

Profile

« Previous | Next » 

Revision 2100

Added by darkviper over 10 years ago

  1. fixes from rev.2098/99

View differences:

user_list.php
29 29
        $oReg = WbAdaptor::getInstance();
30 30
		$oDb = WbDatabase::getInstance();
31 31
		$oTrans = Translate::getInstance();
32
        $oTrans->enableAddon('admin\\users');
32 33

  
33 34
        $iUserStatus = (($admin->get_get('status') == 1) ? 0 : 1);
34 35
        unset($_GET);
......
179 180

  
180 181
        $oTpl->set_block('main_block', 'show_add_loginname_block', 'show_add_loginname');
181 182
		$oTpl->set_block('main_block', 'show_change_group_list_block', 'show_change_group_list');
182
        $oTpl->se_var($oTrans->getLangArray());
183
        $oTpl->set_var($oTrans->getLangArray());
183 184
		$oTpl->parse('show_change_group_list', '');
184 185
//		$oTpl->parse('show_change_group_list', 'show_change_group_list_block', true);
185 186

  
......
261 262
        }
262 263

  
263 264
        // Include the WB functions file
264
        if(!function_exists('directory_list')) { require($oReg->AppUrl.'framework/functions.php'); }
265
        if(!function_exists('directory_list')) { require($oReg->AppPath.'framework/functions.php'); }
265 266

  
266 267
        // Add media folders to home folder list
267 268
        $oTpl->set_block('main_block', 'folder_list_block', 'folder_list');

Also available in: Unified diff