Translations of this page:

Customizing "Access Denied" page

When user doesn’t have permission to view a publish page they will be presented with default message

Sorry, you're logged on as xxxx (xxx) and you can't view this page. To log on as another user, click here.

This can be customised by creating a file

/intranet/publish/access_denied_custom.php

Default access_denied.php contains this:

<? global $login_script, $page; ?>Sorry, you're logged on as <?
 echo $_SESSION['SESSION_FIRSTNAME'].' '.$_SESSION['SESSION_SURNAME']." ({$_SESSION['SESSION_username']})";
?> and you can't view this page.<br><br>
To log on as another user, <a href="<?=$login_script?>?ignore_ntlm=1&amp;page=<?=urlencode($page)?>">click here</a>.
 
customisation/publish/access_denied.txt · Last modified: 07/06/2011 04:49 by admin
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki