summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorAndy Webber <dokuwiki@andywebber.com>2008-10-01 17:29:14 +0200
committerAndy Webber <dokuwiki@andywebber.com>2008-10-01 17:29:14 +0200
commitdc58b6f4952c9a966ba23101144f00d378746a17 (patch)
tree8cb135a4c3ad2979c2e90169932cdb8dab9fcc99 /conf
parent5babd79b8d25882c3af5dccc15157e728e5bda9e (diff)
downloadrpg-dc58b6f4952c9a966ba23101144f00d378746a17.tar.gz
rpg-dc58b6f4952c9a966ba23101144f00d378746a17.tar.bz2
editor_info_patch
At present, DW shows the username on the bottom left under "logged in as", and the login name for "last modified", "locked by" and under revisions/recent changes. In a corporate environment, particularly when integrated with a Single Sign-On system, the login name may be somewhat unfriendly. This patch makes the "logged in as" the same as the value used elsewhere and also allows an admin to decide whether it should be the login name, username or e-mail address that is displayed. The e-mail address may also, optionally, be a mailto: link. E-mail addresses are obfuscated according to the 'mailguard' setting. The default behaviour is to show the login name which is no change from previous behaviour for the "last modified"/"locked by"/revisions/"recent changes", but is a change for the "logged in as". darcs-hash:20081001152914-6ad63-9cd7174068ac55de381f1318a4401f8c51de5b0c.gz
Diffstat (limited to 'conf')
-rw-r--r--conf/dokuwiki.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/conf/dokuwiki.php b/conf/dokuwiki.php
index f1290ddd7..5e25c4456 100644
--- a/conf/dokuwiki.php
+++ b/conf/dokuwiki.php
@@ -43,6 +43,10 @@ $conf['deaccent'] = 1; //deaccented chars in pagenames (1) or
$conf['useheading'] = 0; //use the first heading in a page as its name
$conf['refcheck'] = 1; //check for references before deleting media files
$conf['refshow'] = 0; //how many references should be shown, 5 is a good value
+$conf['showuseras'] = 'loginname'; // 'loginname' users login name
+ // 'username' users full name
+ // 'email' e-mail address (will be obfuscated as per mailguard)
+ // 'email_link' e-mail address as a mailto: link (obfuscated)
/* Antispam Features */