DokuWiki

It's better when it's simple

User Tools

Site Tools


namespace_templates

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
namespace_templates [2019-11-09 04:22] Dr-Yukonnamespace_templates [2020-05-11 09:59] – removed feature request -> use issue tracker andi
Line 91: Line 91:
   * [[plugin:Headerfooter]] Plugin adds header text or footer text to pages only when they are displayed.   * [[plugin:Headerfooter]] Plugin adds header text or footer text to pages only when they are displayed.
  
-===== @GROUPS@ support ===== 
  
-It may be interesting to have support for the ''@GROUPS@'' keyword to extend to the group list of the user creating the page (e.g. to specify a set of tags on a user's home page). The following patch implements it. 
- 
-<code unidiff> 
-Index: dokuwiki-2009-02-14/inc/common.php 
-=================================================================== 
---- dokuwiki-2009-02-14.orig/inc/common.php    2009-11-19 11:58:41.000000000 +0100 
-+++ dokuwiki-2009-02-14/inc/common.php 2010-01-05 10:17:35.000000000 +0100 
-@@ -840,6 +840,7 @@ 
-                         '@USER@', 
-                         '@NAME@', 
-                         '@MAIL@', 
-+                        '@GROUPS@', 
-                         '@DATE@', 
-                      ), 
-                      array( 
-@@ -855,6 +856,7 @@ 
-                         $_SERVER['REMOTE_USER'], 
-                         $INFO['userinfo']['name'], 
-                         $INFO['userinfo']['mail'], 
-+                        implode(" ", $INFO['userinfo']['grps']), 
-                         $conf['dformat'], 
-                      ), $tpl); 
-  
- 
-</code> 
- 
- --- //[[shtrom-doku@ssji.net|Olivier Mehani]] 2010/01/05 10:19// 
namespace_templates.txt · Last modified: 2023-08-24 11:25 by 212.201.117.6

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki