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
plugin:nstoc [2019-03-07 12:00] tkesselsplugin:nstoc [2023-10-30 22:52] (current) Klap-in
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 : 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.1551956416.txt.gz · Last modified: 2019-03-07 12:00 by tkessels

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