Subversion Repositories oidplus

Rev

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

Rev 227 Rev 360
Line 28... Line 28...
28
if (!OIDplus::authUtils()::isAdminLoggedIn()) {
28
if (!OIDplus::authUtils()::isAdminLoggedIn()) {
29
        if (php_sapi_name() == 'cli') {
29
        if (php_sapi_name() == 'cli') {
30
                #echo "You need to log in as administrator.\n";
30
                #echo "You need to log in as administrator.\n";
31
                #die();
31
                #die();
32
        } else {
32
        } else {
33
                echo '<p>You need to <a href="'.OIDplus::getSystemUrl().'?goto=oidplus:login">log in</a> as administrator.</p>';
33
                echo '<p>'._L('You need to <a %1>log in</a> as administrator.','href="'.OIDplus::getSystemUrl().'?goto=oidplus:login"').'</p>';
34
                die();
34
                die();
35
        }
35
        }
36
}
36
}
37
 
37
 
38
header('Content-Type:text/xml');
38
header('Content-Type:text/xml');
39
 
39
 
40
OIDplusPageAdminOIDInfoExport::outputXML(isset($_GET['online']) && $_GET['online']);
40
OIDplusPageAdminOIDInfoExport::outputXML(isset($_GET['online']) && $_GET['online']);
41
 
-