plugin:progressbar
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:progressbar [2009-08-18 21:47] – Progressbar plugin not installed here so results aren't rendered... Mischa | plugin:progressbar [2024-01-09 02:47] (current) – downloadurl Aleksandr | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Progress | + | ====== Progress |
---- plugin ---- | ---- plugin ---- | ||
Line 10: | Line 10: | ||
depends | depends | ||
conflicts | conflicts | ||
- | similar | + | similar |
- | tags : | + | tags : |
+ | |||
+ | downloadurl : https:// | ||
+ | bugtracker | ||
+ | sourcerepo | ||
+ | donationurl : | ||
+ | |||
+ | screenshot_img : | ||
---- | ---- | ||
===== Introduction ===== | ===== Introduction ===== | ||
+ | |||
The original author of this plugin was [[mmiikkee13@gmail.com|Mike Smith]]. Looking at the comments up to today (2009-03-10) it seems that he has stopped maintaining this plugin. | The original author of this plugin was [[mmiikkee13@gmail.com|Mike Smith]]. Looking at the comments up to today (2009-03-10) it seems that he has stopped maintaining this plugin. | ||
I have taken-over maintaining this plugin to prevent it from being lost... | I have taken-over maintaining this plugin to prevent it from being lost... | ||
===== Syntax ===== | ===== Syntax ===== | ||
+ | |||
Simply put ''< | Simply put ''< | ||
+ | |||
==== Examples ==== | ==== Examples ==== | ||
+ | |||
< | < | ||
will make an empty progress bar. | will make an empty progress bar. | ||
Line 28: | Line 39: | ||
===== Installation ===== | ===== Installation ===== | ||
+ | |||
Download and extract the following archive to ../ | Download and extract the following archive to ../ | ||
* [[http:// | * [[http:// | ||
===== Source ===== | ===== Source ===== | ||
+ | |||
Here's the source code, but you'll still need the images from the above archive.\\ | Here's the source code, but you'll still need the images from the above archive.\\ | ||
==== syntax.php ==== | ==== syntax.php ==== | ||
- | <code php> | + | < |
<?php | <?php | ||
/* DokuWiki Progressbar plugin | /* DokuWiki Progressbar plugin | ||
Line 127: | Line 140: | ||
===== Customization ===== | ===== Customization ===== | ||
+ | |||
You can change the default images in ../ | You can change the default images in ../ | ||
==== Gray ==== | ==== Gray ==== | ||
+ | |||
I personally use images which are using a gray color-scheme and wanted to share them also. Therefore I'll make the set public as a separate imagepack. | I personally use images which are using a gray color-scheme and wanted to share them also. Therefore I'll make the set public as a separate imagepack. | ||
Line 136: | Line 151: | ||
===== History ===== | ===== History ===== | ||
+ | |||
==== 2009-03-09 (1.0.0) ==== | ==== 2009-03-09 (1.0.0) ==== | ||
+ | |||
* Added - Link-elements to the progress-images for tooltips in **all** browsers | * Added - Link-elements to the progress-images for tooltips in **all** browsers | ||
* Changed - Rebrand the plugin after take-over | * Changed - Rebrand the plugin after take-over | ||
Line 143: | Line 160: | ||
==== 2007-11-13 (0.0.0) ==== | ==== 2007-11-13 (0.0.0) ==== | ||
+ | |||
* Fixed - 0%-state bug | * Fixed - 0%-state bug | ||
* Fixed - Added width- and height-elements to the img tag | * Fixed - Added width- and height-elements to the img tag | ||
Line 148: | Line 166: | ||
==== 2006-12-03 ==== | ==== 2006-12-03 ==== | ||
+ | |||
* Initial version by Mike Smith | * Initial version by Mike Smith | ||
===== Modifications ===== | ===== Modifications ===== | ||
+ | |||
In the time this plugin exists several other users have modified the plugin to fit their own specific requirements. These changes are sometimes shared across the community. Below follows a listing of several of these shared modifications. | In the time this plugin exists several other users have modified the plugin to fit their own specific requirements. These changes are sometimes shared across the community. Below follows a listing of several of these shared modifications. | ||
Line 157: | Line 177: | ||
==== Image Free Version ==== | ==== Image Free Version ==== | ||
+ | |||
If you don't want the images to be extremely different you could simply use the variable '' | If you don't want the images to be extremely different you could simply use the variable '' | ||
Line 190: | Line 211: | ||
==== Inline Version ==== | ==== Inline Version ==== | ||
+ | |||
This version creates a progress bar without the images. It will also be inserted inline into your text if you want one that does not wrap to a new line. It's also thinner. | This version creates a progress bar without the images. It will also be inserted inline into your text if you want one that does not wrap to a new line. It's also thinner. | ||
Line 248: | Line 270: | ||
// text-align third div tag | // text-align third div tag | ||
// color of the text third div tag | // color of the text third div tag | ||
+ | // Edited by J. Monin for basic ODT export support, and localization (write only % symbol) | ||
Line 253: | Line 276: | ||
function render($mode, | function render($mode, | ||
{ | { | ||
- | | + | |
- | <div style=" | + | |
- | <div style=" | + | <div style=" |
- | | + | <div style=" |
- | ' | + | <div style=" |
- | | + | |
- | </ | + | </ |
- | </ | + | </ |
+ | </ | ||
+ | } elseif ($mode == ' | ||
+ | $renderer-> | ||
+ | } | ||
+ | |||
| | ||
} | } | ||
</ | </ | ||
- | Code supplied by M. Wolff. | + | Code supplied by M. Wolff, enhanced by J. Monin |
===== Discussion ===== | ===== Discussion ===== | ||
+ | |||
==== Completed ==== | ==== Completed ==== | ||
+ | |||
* The 0 state (0%, empty progress bar) doesn' | * The 0 state (0%, empty progress bar) doesn' | ||
* Hi, just stumbled over your cute little plugin - STRONGLY Suggest to add the width and height tag to the img tag to allow the browser to display the wiki pages without the need to wait for loading the progress bar image --- //eth at gmx punkt at 2007-02-14// | * Hi, just stumbled over your cute little plugin - STRONGLY Suggest to add the width and height tag to the img tag to allow the browser to display the wiki pages without the need to wait for loading the progress bar image --- //eth at gmx punkt at 2007-02-14// | ||
Line 283: | Line 313: | ||
==== Open ==== | ==== Open ==== | ||
+ | |||
* ... | * ... | ||
+ | |||
+ |
plugin/progressbar.1250624823.txt.gz · Last modified: 2009-08-18 21:47 by Mischa