com web/wiki: Include a "edit this page" button when logged in: dokuwiki/lib/tpl/phpnet/main.php
| From: | Hannes Magnusson | Date: | Wed, 18 Dec 2013 22:54:59 +0000 |
| Subject: | com web/wiki: Include a "edit this page" button when logged in: dokuwiki/lib/tpl/phpnet/main.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-17729@lists.php.net to get a copy of this message | ||
Commit: 91c9da0d51a0a1fdaba820805e309fcda4c608ae
Author: Hannes Magnusson <bjori@mongodb.com> Wed, 18 Dec 2013 14:54:59 -0800
Parents: c229fd3edf1f61651b199ca98011ccd08b7c527b
Branches: master
Link: http://git.php.net/?p=web/wiki.git;a=commitdiff;h=91c9da0d51a0a1fdaba820805e309fcda4c608ae
Log:
Include a "edit this page" button when logged in
Changed paths:
M dokuwiki/lib/tpl/phpnet/main.php
Diff:
diff --git a/dokuwiki/lib/tpl/phpnet/main.php b/dokuwiki/lib/tpl/phpnet/main.php
index 681e369..9bd7772 100644
--- a/dokuwiki/lib/tpl/phpnet/main.php
+++ b/dokuwiki/lib/tpl/phpnet/main.php
@@ -31,6 +31,7 @@ if (empty($_SERVER['REMOTE_USER'])) {
} else {
$name = hsc($INFO['userinfo']['name']).'
('.hsc($_SERVER['REMOTE_USER']). ')';
$LINKS = array(
+ array("href" => "?do=edit", "text" => "Edit
this page",),
array("href" => "?do=admin", "text" =>
"Admin",),
array("href" => "?do=logout", "text" =>
"Logout",),
array("href" => "?do=profile", "text" => $name,),