Subversion Repositories oidplus

Rev

Rev 724 | Rev 851 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 724 Rev 801
Line 32... Line 32...
32
if (!OIDplus::authUtils()->isAdminLoggedIn()) {
32
if (!OIDplus::authUtils()->isAdminLoggedIn()) {
33
        if (PHP_SAPI == 'cli') {
33
        if (PHP_SAPI == 'cli') {
34
                #echo "You need to log in as administrator.\n";
34
                #echo "You need to log in as administrator.\n";
35
                #die();
35
                #die();
36
        } else {
36
        } else {
37
                echo '<p>'._L('You need to <a %1>log in</a> as administrator.','href="'.OIDplus::webpath().'?goto=oidplus:login$admin"').'</p>';
37
                echo '<p>'._L('You need to <a %1>log in</a> as administrator.','href="'.OIDplus::webpath(null,OIDplus::PATH_RELATIVE).'?goto=oidplus:login$admin"').'</p>';
38
                die();
38
                die();
39
        }
39
        }
40
}
40
}
41
 
41
 
42
OIDplusPageAdminOIDInfoExport::outputXML(isset($_REQUEST['online']) && $_REQUEST['online']);
42
OIDplusPageAdminOIDInfoExport::outputXML(isset($_REQUEST['online']) && $_REQUEST['online']);