Beispiel #1
0
function printLoginPageWithSkin($authtype, $servertimeout = 0)
{
    global $authMechs, $HTMLheader, $skin, $printedHTMLheader;
    $skin = getAffiliationTheme($authMechs[$authtype]['affiliationid']);
    require_once "themes/{$skin}/page.php";
    $HTMLheader = getHeader(0);
    printHTMLHeader();
    print $HTMLheader;
    $printedHTMLheader = 1;
    printLoginPage($servertimeout);
}
Beispiel #2
0
function printLoginPageWithSkin($authtype)
{
    global $authMechs, $HTMLheader, $skin, $printedHTMLheader;
    switch (getAffiliationName($authMechs[$authtype]['affiliationid'])) {
        case 'EXAMPLE1':
            $skin = 'example1';
            break;
        case 'EXAMPLE2':
            $skin = 'example2';
            break;
        default:
            $skin = 'default';
            break;
    }
    require_once "themes/{$skin}/page.php";
    $HTMLheader = getHeader(0);
    printHTMLHeader();
    print $HTMLheader;
    $printedHTMLheader = 1;
    printLoginPage();
}