plugin:tabtables
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:tabtables [2010-10-04 11:01] – [Todo] 77.167.120.32 | plugin:tabtables [2023-10-30 22:17] (current) – Klap-in | ||
---|---|---|---|
Line 6: | Line 6: | ||
email : pomax@nihongoresources.com | email : pomax@nihongoresources.com | ||
type : Action | type : Action | ||
- | lastupdate : 2009-09-29 | + | lastupdate : 2010-10-04 |
- | compatible : 2009-02-14b (not tested on earlier versions) | + | compatible : !Hogfather, Lemming |
tags : tables | tags : tables | ||
- | downloadurl: | + | downloadurl: |
---- | ---- | ||
===== Download and Installation ===== | ===== Download and Installation ===== | ||
- | Download | + | Search |
- | * [[http://pomax.nihongoresources.com/ | + | * [[http://projects.nihongoresources.com/ |
- | To install the plugin manually, download the source to your plugin folder, '' | ||
===== Details ===== | ===== Details ===== | ||
Line 95: | Line 94: | ||
===== This is an action plugin, not a syntax plugin ===== | ===== This is an action plugin, not a syntax plugin ===== | ||
- | Despite the function of this plugin being syntactical, | + | Despite the function of this plugin being syntactical, |
+ | |||
+ | This means that the action is performed before the standard wiki syntax translation (including all syntax plugins) take effect. A consequence of this is that lines that start with tabs are translated to wikisymbols. Since processing is per line, the plugin will not convert anything that's in %%< | ||
===== Todo ===== | ===== Todo ===== | ||
Line 105: | Line 106: | ||
One option is to prepare your table data in a text editor with tabs, the other is to copy a tab into your clipboard and instead of typing " | One option is to prepare your table data in a text editor with tabs, the other is to copy a tab into your clipboard and instead of typing " | ||
- | This plugin will covert tabs in %%< | + | This plugin will covert tabs in %%< |
===== Bugs ===== | ===== Bugs ===== | ||
+ | ==== PHP 7.0 compatibility ==== | ||
+ | This plugin uses the //split// function that is not available in PHP7.0. To fix you must replace line 165 in action.php (that contains //split//) with: | ||
+ | $cells = count(preg_split('/ | ||
==== 2009-10-02 ==== | ==== 2009-10-02 ==== | ||
Line 179: | Line 183: | ||
* Preprocesses the user's written data, by hooking into the text parser at the preprocessing point | * Preprocesses the user's written data, by hooking into the text parser at the preprocessing point | ||
*/ | */ | ||
- | function register(&$controller) { | + | function register(Doku_Event_Handler |
$controller-> | $controller-> | ||
$controller-> | $controller-> | ||
Line 214: | Line 218: | ||
if(strpos($line,"< | if(strpos($line,"< | ||
// block clearing? | // block clearing? | ||
- | if(strpos($line," | + | if(strpos($line," |
- | if(strpos($line," | + | if(strpos($line," |
- | if(strpos($line," | + | if(strpos($line," |
// if blocked, immediately continue on to the next line | // if blocked, immediately continue on to the next line | ||
if($code_blocked || $file_blocked | if($code_blocked || $file_blocked |
plugin/tabtables.1286182916.txt.gz · Last modified: 2010-10-04 11:01 by 77.167.120.32