summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();