Example #1
0
        $goto = trim(strtolower(mosGetParam($_REQUEST, 'link')));
        if ($goto == "null") {
            mosRedirect("index2.php?option=com_admin&task=listcomponents", $adminLanguage->A_COMP_ALERT_NO_LINK);
            exit;
        }
        $goto = str_replace("'", '', $goto);
        mosRedirect($goto);
        break;
    case "listcomponents":
        HTML_admin_misc::ListComponents();
        break;
    case 'sysinfo':
        HTML_admin_misc::system_info($version, $option);
        break;
    case 'help':
        HTML_admin_misc::help();
        break;
    case 'preview':
        HTML_admin_misc::preview();
        break;
    case 'preview2':
        HTML_admin_misc::preview(1);
        break;
    case 'credits':
        HTML_admin_misc::credits($version);
        break;
    case 'cpanel':
    default:
        HTML_admin_misc::controlPanel();
        break;
}