Mercurial > hg > fapweb
comparison print.php @ 1120:b2bca5f6d0ff default tip
Cosmetic cleanup: remove trailing whitespace.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 13 Dec 2020 13:47:13 +0200 |
parents | ebb0afda63c5 |
children |
comparison
equal
deleted
inserted
replaced
1119:a4daa7ea7479 | 1120:b2bca5f6d0ff |
---|---|
18 if (!stCheckHTTPS() || !stAdmSessionAuth(TRUE)) | 18 if (!stCheckHTTPS() || !stAdmSessionAuth(TRUE)) |
19 { | 19 { |
20 stSetupCacheControl(); | 20 stSetupCacheControl(); |
21 stSessionEnd(SESS_ADMIN); | 21 stSessionEnd(SESS_ADMIN); |
22 stSetStatus(404, "Not Found"); | 22 stSetStatus(404, "Not Found"); |
23 | 23 |
24 cmPrintPageHeader("Error"); | 24 cmPrintPageHeader("Error"); |
25 echo | 25 echo |
26 "<h1>Permission denied</h1>\n". | 26 "<h1>Permission denied</h1>\n". |
27 "<p>You need to be logged in as administrator to access this data.</p>\n". | 27 "<p>You need to be logged in as administrator to access this data.</p>\n". |
28 "<p><a href=\"admin.php\">Click here for login form</a></p>\n"; | 28 "<p><a href=\"admin.php\">Click here for login form</a></p>\n"; |