summaryrefslogtreecommitdiff
path: root/inc/common.php
diff options
context:
space:
mode:
authorAdrian Lang <lang@cosmocode.de>2010-02-03 13:08:25 +0100
committerAdrian Lang <lang@cosmocode.de>2010-02-03 13:09:51 +0100
commitb856f7dff0fe4c6a9f2fe04fd26c1ccde0aa233c (patch)
treebf53c3177db442642cb5ef7fb62f7bd6732dfeaf /inc/common.php
parent2b1223ecf0894dc5856744e7aa266b2ab89fca20 (diff)
downloadrpg-b856f7dff0fe4c6a9f2fe04fd26c1ccde0aa233c.tar.gz
rpg-b856f7dff0fe4c6a9f2fe04fd26c1ccde0aa233c.tar.bz2
USERINFO instead of INFO['userinfo'] in tpl parsing
Diffstat (limited to 'inc/common.php')
-rw-r--r--inc/common.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/inc/common.php b/inc/common.php
index a8ac6f7de..64c1b0a41 100644
--- a/inc/common.php
+++ b/inc/common.php
@@ -833,7 +833,7 @@ function pageTemplate($data){
* @author Andreas Gohr <andi@splitbrain.org>
*/
function parsePageTemplate($tpl, $id) {
- global $INFO;
+ global $USERINFO;
// replace placeholders
$file = noNS($id);
@@ -865,8 +865,8 @@ function parsePageTemplate($tpl, $id) {
utf8_ucwords($page),
utf8_strtoupper($page),
$_SERVER['REMOTE_USER'],
- $INFO['userinfo']['name'],
- $INFO['userinfo']['mail'],
+ $USERINFO['name'],
+ $USERINFO['mail'],
$conf['dformat'],
), $tpl);