DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:nstoc

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
Last revisionBoth sides next revision
plugin:nstoc [2018-06-04 23:42] – [Installation] Klap-inplugin:nstoc [2022-07-06 16:34] – old revision restored (2022-01-29 20:56) glreschke
Line 1: Line 1:
-[[plugin:nstoc:deutsch]]+[[de:plugin:nstoc|deutsch]]
 ====== NsToC Syntax Plugin ====== ====== NsToC Syntax Plugin ======
  
Line 8: Line 8:
 type       : syntax type       : syntax
 lastupdate : 2010-02-18 lastupdate : 2010-02-18
-compatible : 2005-07-13++compatible : 2005-07-13+, 2005, Frusterick Manners, !Hogfather
 depends    : depends    :
 conflicts  : conflicts  :
 similar    : tocselect similar    : tocselect
-tags       : navigation, menu, listing, namespace+tags       : navigation, menu, listing, namespace, !broken
  
 downloadurl: http://dev.mwat.de/dw/syntax_plugin_nstoc.zip downloadurl: http://dev.mwat.de/dw/syntax_plugin_nstoc.zip
Line 48: Line 48:
  {{nstoc chapter3 1}}  {{nstoc chapter3 1}}
 Here only the H1 head­lines of the pages in "''chapter3''" will be shown. Here only the H1 head­lines of the pages in "''chapter3''" will be shown.
 +
 +==== Compatibility ====
 +
 +This plugin is also compatible with 2005-07-13 and was made for that version. It's compatible with 2017 Frusterick Manners but not Hogfather.
 +
  
 ==== Hints ==== ==== Hints ====
Line 210: Line 215:
 <?php <?php
 if (! class_exists('syntax_plugin_nstoc')) { if (! class_exists('syntax_plugin_nstoc')) {
-if (! defined('DOKU_PLUGIN')) { 
-  if (! defined('DOKU_INC')) { 
-    define('DOKU_INC', realpath(dirname(__FILE__) . '/../../') . '/'); 
-  } // if 
-  define('DOKU_PLUGIN', DOKU_INC . 'lib/plugins/'); 
-} // if 
-// Include parent class: 
-require_once(DOKU_PLUGIN . 'syntax.php'); 
-// library providing the global 'auth_aclcheck()' function: 
-require_once(DOKU_INC . 'inc/auth.php'); 
-// library providing the global 'wl()' function: 
-require_once(DOKU_INC . 'inc/common.php'); 
-// library providing the global 'search()' function: 
-require_once(DOKU_INC . 'inc/search.php'); 
-// library providing the global 'cleanID()'/'getID()'/'wikiFN()' functions: 
-require_once(DOKU_INC . 'inc/pageutils.php'); 
  
 /** /**
plugin/nstoc.txt · Last modified: 2023-10-30 22:52 by Klap-in

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