summaryrefslogtreecommitdiff
path: root/inc/html.php
diff options
context:
space:
mode:
authorGerrit Uitslag <klapinklapin@gmail.com>2014-03-06 23:50:05 +0100
committerGerrit Uitslag <klapinklapin@gmail.com>2014-03-06 23:50:05 +0100
commitd1e9181ef12479db0c36d6d93f0ecff84523bf73 (patch)
tree42b013c3054056f889e08ef8ae7a5c16ac54b0b0 /inc/html.php
parent1a043a5b56efd30f7580a1801080f80037dd4789 (diff)
downloadrpg-d1e9181ef12479db0c36d6d93f0ecff84523bf73.tar.gz
rpg-d1e9181ef12479db0c36d6d93f0ecff84523bf73.tar.bz2
removed 'not logged in' text, loginform is shown already
Diffstat (limited to 'inc/html.php')
-rw-r--r--inc/html.php11
1 files changed, 1 insertions, 10 deletions
diff --git a/inc/html.php b/inc/html.php
index 514f961e7..4a355bdaf 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -71,16 +71,7 @@ function html_login(){
* @return string html
*/
function html_denied() {
- global $lang;
- $denied = p_locale_xhtml('denied');
- $notloggedin = isset($_SERVER['REMOTE_USER']) ? '' : $lang['notloggedin'];
-
- $denied = str_replace(
- array('@NOTLOGGEDIN@'),
- array($notloggedin),
- $denied
- );
- print $denied;
+ print p_locale_xhtml('denied');
if(!$_SERVER['REMOTE_USER']){
html_login();