Skip to content

Commit

Permalink
Update serendipity_event_textwiki.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ophian committed Oct 14, 2013
1 parent 9d34a52 commit a72b8ce
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -21,7 +21,7 @@
@define('PLUGIN_EVENT_TEXTWIKI_RULE_DESC_TABLE', 'Allows you to create tables. Only used for complete lines. Syntax: "|| Cell 1 || Cell 2 || Cell 3 ||". Default is on.');
@define('PLUGIN_EVENT_TEXTWIKI_RULE_DESC_EMBED', 'Allows you to include and run PHP code with the syntax [[embed /path/to/script.php]]. Resulting output is not parsed by markup rules. Beware, security risk! If you use this, switch off markup for comments! Default is off. Not recommended to switch on.');
@define('PLUGIN_EVENT_TEXTWIKI_RULE_EMBED_DESC_BASE', 'The base directory to your scripts. Default for this is set to "/path/to/scripts/". If you leave this blank and switch embed on you can only use absolute paths.');
@define('PLUGIN_EVENT_TEXTWIKI_RULE_DESC_IMAGE', 'Enables the inclusion of images. ([[image /path/to/image.ext [HTML attributes] ]] or [[image path/to/image.ext [link="PageName"] [HTML attributes] ]] for linked images). Por omissão ligado.');
@define('PLUGIN_EVENT_TEXTWIKI_RULE_DESC_IMAGE', 'Enables the inclusion of images. ([[image /path/to/image.ext [HTML attributes] ]] or [[image path/to/image.ext [link="PageName"] [HTML attributes] ]] for linked images). Por omiss�o ligado.');
@define('PLUGIN_EVENT_TEXTWIKI_RULE_IMAGE_DESC_BASE', 'Base directory to your images. Default for this is set to "/path/to/images". If you leave this blank you can only use absolute paths or URLs.');
@define('PLUGIN_EVENT_TEXTWIKI_RULE_DESC_PHPLOOKUP', 'Creates lookup links to the PHP manual with [[php function-name]]. Default is on.');
@define('PLUGIN_EVENT_TEXTWIKI_RULE_DESC_TOC', 'Generates a table of contents over all used headlines with [[toc]]. Default is on.');
Expand Down Expand Up @@ -618,8 +618,8 @@ function _init_wiki(&$bag) {
if (serendipity_db_bool($this->get_config($name, $rule['flag']))) {
$this->_add_wiki_rule($bag, $name, $rule);
} else {
$this->_remove_wiki_rule($bag, $name);
}
$this->_remove_wiki_rule($bag, $name);
}
}
return true;
}
Expand All @@ -641,7 +641,7 @@ function _add_wiki_rule(&$bag, $name, $rule) {
}
}
$this->wiki->enableRule($name);
$this->wiki->setRenderConf("Xhtml", $name, $rule_info);
$this->wiki->setRenderConf("Xhtml", $name, $rule_info);
return true;
}

Expand Down

2 comments on commit a72b8ce

@ophian
Copy link
Member Author

@ophian ophian commented on a72b8ce Oct 14, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops.
I edited this manually via github edit and that changed something in that portuguese Note, which I did not touch.
I can't say how to revert, reset or fix this properly, since I don't want to have again a revert mismatch of branches, like I once had using revert, since this is already in public history. So I leave this.

Still funny why we need to have a portuguese lang note in that english constant though.

@ophian
Copy link
Member Author

@ophian ophian commented on a72b8ce Oct 14, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 8f373be

Please sign in to comment.