array(
'active' => ($tab == 'setup') ? true : false,
'text' => '' .
html_print_image ("images/gm_setup.png", true, array ("title" => __('Options'))) .''),
'offline' => array(
'active' => ($tab == 'offline') ? true : false,
'text' => '' .
html_print_image ("images/box.disabled.png", true, array ("title" => __('Offline update manager'))) .''),
'online' => array(
'active' => ($tab == 'online') ? true : false,
'text' => '' .
html_print_image("images/op_gis.png", true, array ("title" => __('Online update manager'))) .'')
);
switch ($tab) {
case 'setup':
$title = __('Update manager » Setup');
break;
case 'offline':
$title = __('Update manager » Offline');
break;
case 'online':
$title = __('Update manager » Online');
break;
}
ui_print_page_header($title,
"images/gm_setup.png", false, "", true, $buttons);
switch ($tab) {
case 'setup':
require("update_manager.setup.php");
break;
case 'offline':
require("update_manager.offline.php");
break;
case 'online':
default:
require("update_manager.online.php");
break;
}
?>