smartymarkupplugin update 1.10 finished
This commit is contained in:
parent
8f6f198c61
commit
8535da90b9
|
@ -1 +1,5 @@
|
|||
1.10
|
||||
added: configs comment warning and their default to not parse comments
|
||||
|
||||
1.9
|
||||
latest: Smarty3 forward compatibility
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<?php # $Id$
|
||||
|
||||
@define('PLUGIN_EVENT_SMARTYMARKUP_NAME', 'Textformatierung: Smarty Parsing');
|
||||
@define('PLUGIN_EVENT_SMARTYMARKUP_DESC', 'Parst Smarty-Anweisungen im Artikeltext');
|
||||
@define('PLUGIN_EVENT_SMARTYMARKUP_NAME', 'Textformatierung: Smarty Parsing');
|
||||
@define('PLUGIN_EVENT_SMARTYMARKUP_DESC', 'Parst Smarty-Anweisungen im Artikeltext');
|
||||
@define('PLUGIN_EVENT_SMARTYMARKUP_WARN', ' - Warnung: Kommentare sind öffentliche Eingaben. Benutzung nur mit Vorsicht!');
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<?php # $Id$
|
||||
|
||||
@define('PLUGIN_EVENT_SMARTYMARKUP_NAME', 'Textformatierung: Smarty Parsing');
|
||||
@define('PLUGIN_EVENT_SMARTYMARKUP_DESC', 'Parst Smarty-Anweisungen im Artikeltext');
|
||||
@define('PLUGIN_EVENT_SMARTYMARKUP_NAME', 'Textformatierung: Smarty Parsing');
|
||||
@define('PLUGIN_EVENT_SMARTYMARKUP_DESC', 'Parst Smarty-Anweisungen im Artikeltext');
|
||||
@define('PLUGIN_EVENT_SMARTYMARKUP_WARN', ' - Warnung: Kommentare sind öffentliche Eingaben. Benutzung nur mit Vorsicht!');
|
||||
|
|
|
@ -8,5 +8,6 @@
|
|||
|
||||
@define('PLUGIN_EVENT_SMARTYMARKUP_NAME', 'Markup: Smarty Parsing');
|
||||
@define('PLUGIN_EVENT_SMARTYMARKUP_DESC', 'Parses Smarty instructions inside the article text');
|
||||
@define('PLUGIN_EVENT_SMARTYMARKUP_WARN', ' - Warning: comments are public user-space, handle with care!');
|
||||
|
||||
?>
|
||||
|
|
|
@ -106,7 +106,7 @@ class serendipity_event_smartymarkup extends serendipity_event
|
|||
{
|
||||
$propbag->add('type', 'boolean');
|
||||
$propbag->add('name', constant($name));
|
||||
$propbag->add('description', sprintf(APPLY_MARKUP_TO, constant($name)));
|
||||
$propbag->add('description', sprintf(APPLY_MARKUP_TO, constant($name)) . ($name == 'COMMENT' ? PLUGIN_EVENT_SMARTYMARKUP_WARN : ''));
|
||||
$propbag->add('default', ($name == 'COMMENT' ? 'false' : 'true'));
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue