Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix compatibility with dokuwiki-2010-11-07. Section edit handling has…

… been moved.
  • Loading branch information...
commit f8245071b6ed180f9941686b516d712fa8c0294f 1 parent c3ee224
bmolitor authored December 01, 2010

Showing 1 changed file with 1 addition and 13 deletions. Show diff stats Hide diff stats

  1. 14  syntax/header.php
14  syntax/header.php
@@ -22,7 +22,7 @@ function getInfo() {
22 22
         return array(
23 23
                 'author' => 'Gina Häußge, Michael Klier, Esther Brunner',
24 24
                 'email'  => 'dokuwiki@chimeric.de',
25  
-                'date'   => '2008-02-12',
  25
+                'date'   => '2010-12-01',
26 26
                 'name'   => 'Creole Plugin, header component',
27 27
                 'desc'   => 'Creole style headers',
28 28
                 'url'    => 'http://wiki.splitbrain.org/plugin:creole',
@@ -63,18 +63,6 @@ function handle($match, $state, $pos, &$handler) {
63 63
 
64 64
         if ($handler->status['section']) $handler->_addCall('section_close', array(), $pos);
65 65
 
66  
-        if ($level <= $conf['maxseclevel']) {
67  
-            $handler->_addCall('section_edit', array(
68  
-                        $handler->status['section_edit_start'],
69  
-                        $pos-1,
70  
-                        $handler->status['section_edit_level'],
71  
-                        $handler->status['section_edit_title']
72  
-                        ), $pos);
73  
-            $handler->status['section_edit_start'] = $pos;
74  
-            $handler->status['section_edit_level'] = $level;
75  
-            $handler->status['section_edit_title'] = $title;
76  
-        }
77  
-
78 66
         $handler->_addCall('header', array($title, $level, $pos), $pos);
79 67
 
80 68
         $handler->_addCall('section_open', array($level), $pos);

0 notes on commit f824507

Please sign in to comment.
Something went wrong with that request. Please try again.