Just for testing (as I don´t want to keep up with regular changes of the module)
Use at own risk...
1. Copy ui subfolder to ui2
2. in virtualizor.php change
PHP Code $var['theme'] = $modules_url.'/virtualizor/ui/';
$var['theme_path'] = dirname(__FILE__).'/ui/';
into
PHP Code if ($_SESSION['adminid']<>""){
$var['theme'] = $modules_url.'/virtualizor/ui2/';
$var['theme_path'] = dirname(__FILE__).'/ui2/';
}else{
//enduserui
$var['theme'] = $modules_url.'/virtualizor/ui/';
$var['theme_path'] = dirname(__FILE__).'/ui/';
}
3. in ui2/js2/virtualizor.js remove all occurance of
PHP Code && empty(N['info']['vps']['admin_managed'])
EXACT this string. It´s part of a longer command and occurs 17 times.
|