Commit:    91c9da0d51a0a1fdaba820805e309fcda4c608ae
Author:    Hannes Magnusson <[email protected]>         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,),


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to