Differences between version 35 and predecessor to the previous major change of WantedWikiFeatures.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 35 | Last edited on Saturday, June 5, 2004 4:24:39 am | by ReiniUrban | Revert |
Older page: | version 33 | Last edited on Friday, June 4, 2004 11:20:52 pm | by ReiniUrban | Revert |
@@ -76,20 +76,20 @@
I use it like this:
define('FORTUNE_DIR',"/usr/share/fortune");
- if (empty($data['%content'])) {
+ if (empty($data[
['%content'])) {
include_once('lib/InlineParser.php');
// A feature similar to taglines at from http://www.wlug.org.nz/
// http://www.aasted.org/quote/
if (defined('FORTUNE_DIR') and is_dir(FORTUNE_DIR)) {
include_once("lib/fortune.php");
$fortune = new Fortune();
$quote = str_replace("\n<br>","\n", $fortune->quoteFromDir(FORTUNE_DIR));
return sprintf("<verbatim>\n%s</verbatim>\n\n"._("Describe %s here."),
- $quote, "[" . WikiEscape($this->_pagename) . "]");
+ $quote, "[
[" . WikiEscape($this->_pagename) . "]");
}
// Replace empty content with default value.
return sprintf(_("Describe %s here."),
- "[" . WikiEscape($this->_pagename) . "]");
+ "[
[" . WikiEscape($this->_pagename) . "]");
}
--ReiniUrban