plugin:fortune
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:fortune [2010-10-10 14:51] – downloadurl lupo49 | plugin:fortune [2024-03-01 12:49] (current) – old revision restored (2024-03-01 12:38) Aleksandr | ||
---|---|---|---|
Line 4: | Line 4: | ||
description: | description: | ||
author | author | ||
- | email : oiv-plugins@valjakko.net | + | email : otto@valjakko.net |
type : Syntax | type : Syntax | ||
lastupdate : 2005-08-01 | lastupdate : 2005-08-01 | ||
Line 18: | Line 18: | ||
===== Description ===== | ===== Description ===== | ||
- | This [[plugins|plugin]] Show a Quote of the Day on your page. It should change every time the page is rendered again. | + | This plugin Show a Quote of the Day on your page. It should change every time the page is rendered again. |
The plugin uses code written by Henrik Aasted Sorensen, henrik@aasted.org Read more at http:// | The plugin uses code written by Henrik Aasted Sorensen, henrik@aasted.org Read more at http:// | ||
- | Fortune files can be found e.g. from [[http:// | + | Fortune files can be found e.g. from [[http:// |
===== Usage ===== | ===== Usage ===== | ||
Line 29: | Line 29: | ||
===== Installation ===== | ===== Installation ===== | ||
+ | Search and install the plugin using the [[plugin: | ||
- | Using Plugin Manager from [[http:// | ||
- | > Fixed link to correct archive. | ||
- | or | + | Download: [[http://koti.mbnet.fi/ |
- | + | ||
- | Create a new folder '' | + | |
Create a new folder '' | Create a new folder '' | ||
Line 55: | Line 52: | ||
* @author | * @author | ||
*/ | */ | ||
- | |||
- | if(!defined(' | ||
- | if(!defined(' | ||
- | require_once(DOKU_PLUGIN.' | ||
/** | /** | ||
Line 112: | Line 105: | ||
* Handle the match | * Handle the match | ||
*/ | */ | ||
- | function handle($match, | + | function handle($match, |
return $match; | return $match; | ||
} | } | ||
Line 119: | Line 112: | ||
* Create output | * Create output | ||
*/ | */ | ||
- | function render($mode, | + | function render($mode, |
if($mode == ' | if($mode == ' | ||
Line 328: | Line 321: | ||
} | } | ||
}// End of class | }// End of class | ||
- | ?> | ||
</ | </ | ||
plugin/fortune.1286715075.txt.gz · Last modified: 2010-10-10 14:51 by lupo49