From: garvinhicking Date: Fri, 8 Jul 2005 13:29:39 +0000 (+0000) Subject: assign bundled plugin groups X-Git-Tag: 0.9~335 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=6361a05677015d667d2e174c577429f31f10938e;p=s9y.git assign bundled plugin groups --- diff --git a/plugins/serendipity_event_bbcode/serendipity_event_bbcode.php b/plugins/serendipity_event_bbcode/serendipity_event_bbcode.php index f909ea1..8143afa 100644 --- a/plugins/serendipity_event_bbcode/serendipity_event_bbcode.php +++ b/plugins/serendipity_event_bbcode/serendipity_event_bbcode.php @@ -40,6 +40,7 @@ class serendipity_event_bbcode extends serendipity_event )); $propbag->add('cachable_events', array('frontend_display' => true)); $propbag->add('event_hooks', array('frontend_display' => true, 'frontend_comment' => true, 'css' => true)); + $propbag->add('groups', array('MARKUP')); $this->markup_elements = array( array( diff --git a/plugins/serendipity_event_browsercompatibility/serendipity_event_browsercompatibility.php b/plugins/serendipity_event_browsercompatibility/serendipity_event_browsercompatibility.php index a58ba6d..188030b 100644 --- a/plugins/serendipity_event_browsercompatibility/serendipity_event_browsercompatibility.php +++ b/plugins/serendipity_event_browsercompatibility/serendipity_event_browsercompatibility.php @@ -43,6 +43,7 @@ class serendipity_event_browsercompatibility extends serendipity_event 'css_backend' => true, 'external_plugin' => true, )); + $propbag->add('groups', array('BACKEND_TEMPLATES')); } function generate_content(&$title) { diff --git a/plugins/serendipity_event_contentrewrite/serendipity_event_contentrewrite.php b/plugins/serendipity_event_contentrewrite/serendipity_event_contentrewrite.php index 71f34d6..bf3faea 100644 --- a/plugins/serendipity_event_contentrewrite/serendipity_event_contentrewrite.php +++ b/plugins/serendipity_event_contentrewrite/serendipity_event_contentrewrite.php @@ -84,6 +84,8 @@ class serendipity_event_contentrewrite extends serendipity_event 'frontend_display' => true )); + $propbag->add('groups', array('BACKEND_EDITOR')); + if (!empty($_POST['SAVECONF'])) $this->cleanup(); $rows = serendipity_db_query("SELECT name, value FROM {$serendipity['dbPrefix']}config WHERE name LIKE '" . $this->instance . "/%' ORDER BY name"); diff --git a/plugins/serendipity_event_creativecommons/serendipity_event_creativecommons.php b/plugins/serendipity_event_creativecommons/serendipity_event_creativecommons.php index c7d9121..64ad85b 100644 --- a/plugins/serendipity_event_creativecommons/serendipity_event_creativecommons.php +++ b/plugins/serendipity_event_creativecommons/serendipity_event_creativecommons.php @@ -66,6 +66,7 @@ class serendipity_event_creativecommons extends serendipity_event { 'frontend_display:rss-2.0:namespace' => true, 'frontend_display:html:per_entry' => true, 'frontend_display:html_layout' => true)); + $propbag->add('groups', array('FRONTEND_EXTERNAL_SERVICES')); } function introspect_config_item($name, &$propbag) diff --git a/plugins/serendipity_event_emoticate/serendipity_event_emoticate.php b/plugins/serendipity_event_emoticate/serendipity_event_emoticate.php index 8c860af..63d6606 100644 --- a/plugins/serendipity_event_emoticate/serendipity_event_emoticate.php +++ b/plugins/serendipity_event_emoticate/serendipity_event_emoticate.php @@ -39,6 +39,7 @@ class serendipity_event_emoticate extends serendipity_event 'smarty' => '2.6.7', 'php' => '4.1.0' )); + $propbag->add('groups', array('MARKUP')); $propbag->add('cachable_events', array('frontend_display' => true)); $propbag->add('event_hooks', array('frontend_display' => true, 'frontend_comment' => true)); diff --git a/plugins/serendipity_event_entryproperties/serendipity_event_entryproperties.php b/plugins/serendipity_event_entryproperties/serendipity_event_entryproperties.php index e0a7aab..f6ec04b 100644 --- a/plugins/serendipity_event_entryproperties/serendipity_event_entryproperties.php +++ b/plugins/serendipity_event_entryproperties/serendipity_event_entryproperties.php @@ -93,7 +93,7 @@ class serendipity_event_entryproperties extends serendipity_event 'backend_plugins_new_instance' => true, 'frontend_entryproperties_query' => true )); - + $propbag->add('groups', array('BACKEND_EDITOR')); $propbag->add('configuration', array('cache', 'use_groups', 'default_read')); } diff --git a/plugins/serendipity_event_htmlvalidator/serendipity_event_htmlvalidator.php b/plugins/serendipity_event_htmlvalidator/serendipity_event_htmlvalidator.php index 7dc5323..361799f 100644 --- a/plugins/serendipity_event_htmlvalidator/serendipity_event_htmlvalidator.php +++ b/plugins/serendipity_event_htmlvalidator/serendipity_event_htmlvalidator.php @@ -56,7 +56,7 @@ class serendipity_event_htmlvalidator extends serendipity_event )); $propbag->add('configuration', array('charset', 'doctype', 'default_validate')); - + $propbag->add('groups', array('BACKEND_EDITOR')); } function introspect_config_item($name, &$propbag) diff --git a/plugins/serendipity_event_karma/serendipity_event_karma.php b/plugins/serendipity_event_karma/serendipity_event_karma.php index b64a88f..7e8ae46 100644 --- a/plugins/serendipity_event_karma/serendipity_event_karma.php +++ b/plugins/serendipity_event_karma/serendipity_event_karma.php @@ -123,7 +123,7 @@ class serendipity_event_karma extends serendipity_event )); $propbag->add('event_hooks', array('frontend_configure' => true, 'entry_display' => true, 'css' => true, 'event_additional_statistics' => true)); $propbag->add('scrambles_true_content', true); - + $propbag->add('groups', array('STATISTICS')); $propbag->add('configuration', array('karma_active', 'visits_active', 'max_entrytime', 'max_votetime', 'extended_only', 'max_karmatime', 'logging')); } diff --git a/plugins/serendipity_event_livesearch/serendipity_event_livesearch.php b/plugins/serendipity_event_livesearch/serendipity_event_livesearch.php index d33a11c..ba31f9d 100644 --- a/plugins/serendipity_event_livesearch/serendipity_event_livesearch.php +++ b/plugins/serendipity_event_livesearch/serendipity_event_livesearch.php @@ -47,6 +47,7 @@ class serendipity_event_livesearch extends serendipity_event 'css' => true, 'quicksearch_plugin' => true )); + $propbag->add('groups', array('FRONTEND_ENTRY_RELATED')); } function generate_content(&$title) { diff --git a/plugins/serendipity_event_mailer/serendipity_event_mailer.php b/plugins/serendipity_event_mailer/serendipity_event_mailer.php index d353e73..fab2fea 100644 --- a/plugins/serendipity_event_mailer/serendipity_event_mailer.php +++ b/plugins/serendipity_event_mailer/serendipity_event_mailer.php @@ -53,6 +53,7 @@ class serendipity_event_mailer extends serendipity_event $propbag->add('event_hooks', array( 'backend_publish' => true )); + $propbag->add('groups', array('FRONTEND_ENTRY_RELATED')); $propbag->add('configuration', array('mailto', 'includelink', 'striptags')); } diff --git a/plugins/serendipity_event_nl2br/serendipity_event_nl2br.php b/plugins/serendipity_event_nl2br/serendipity_event_nl2br.php index dd3fe27..c59c3c9 100644 --- a/plugins/serendipity_event_nl2br/serendipity_event_nl2br.php +++ b/plugins/serendipity_event_nl2br/serendipity_event_nl2br.php @@ -39,6 +39,7 @@ class serendipity_event_nl2br extends serendipity_event )); $propbag->add('cachable_events', array('frontend_display' => true)); $propbag->add('event_hooks', array('frontend_display' => true)); + $propbag->add('groups', array('MARKUP')); $this->markup_elements = array( array( diff --git a/plugins/serendipity_event_s9ymarkup/serendipity_event_s9ymarkup.php b/plugins/serendipity_event_s9ymarkup/serendipity_event_s9ymarkup.php index 3166981..d6c9c44 100644 --- a/plugins/serendipity_event_s9ymarkup/serendipity_event_s9ymarkup.php +++ b/plugins/serendipity_event_s9ymarkup/serendipity_event_s9ymarkup.php @@ -41,6 +41,7 @@ class serendipity_event_s9ymarkup extends serendipity_event )); $propbag->add('cachable_events', array('frontend_display' => true)); $propbag->add('event_hooks', array('frontend_display' => true, 'frontend_comment' => true)); + $propbag->add('groups', array('MARKUP')); $this->markup_elements = array( array( diff --git a/plugins/serendipity_event_searchhighlight/serendipity_event_searchhighlight.php b/plugins/serendipity_event_searchhighlight/serendipity_event_searchhighlight.php index b5dcdac..9487829 100644 --- a/plugins/serendipity_event_searchhighlight/serendipity_event_searchhighlight.php +++ b/plugins/serendipity_event_searchhighlight/serendipity_event_searchhighlight.php @@ -41,6 +41,7 @@ class serendipity_event_searchhighlight extends serendipity_event 'php' => '4.1.0' )); $propbag->add('event_hooks', array('frontend_display' => true, 'css' => true)); + $propbag->add('groups', array('FRONTEND_EXTERNAL_SERVICES')); $this->markup_elements = array( array( diff --git a/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php b/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php index b237ccc..7b03a76 100644 --- a/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php +++ b/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php @@ -180,6 +180,7 @@ var $filter_defaults; 'fetchcomments' => true )); $propbag->add('configuration', array('killswitch', 'bodyclone', 'ipflood', 'captchas', 'captchas_ttl', 'captcha_color', 'forcemoderation', 'disable_api_comments', 'links_moderate', 'links_reject', 'contentfilter_activate', 'contentfilter_urls', 'contentfilter_authors', 'hide_email', 'logtype', 'logfile')); + $propbag->add('groups', array('ANTISPAM')); $this->filter_defaults = array( 'authors' => 'casino;phentermine;credit;loans;poker', diff --git a/plugins/serendipity_event_statistics/serendipity_event_statistics.php b/plugins/serendipity_event_statistics/serendipity_event_statistics.php index f9ad744..f4f60d1 100644 --- a/plugins/serendipity_event_statistics/serendipity_event_statistics.php +++ b/plugins/serendipity_event_statistics/serendipity_event_statistics.php @@ -135,6 +135,7 @@ class serendipity_event_statistics extends serendipity_event 'smarty' => '2.6.7', 'php' => '4.1.0' )); + $propbag->add('groups', array('STATISTICS')); $propbag->add('event_hooks', array( 'backend_sidebar_entries' => true, 'backend_sidebar_entries_event_display_statistics' => true diff --git a/plugins/serendipity_event_templatechooser/serendipity_event_templatechooser.php b/plugins/serendipity_event_templatechooser/serendipity_event_templatechooser.php index 15c96a2..7a86452 100644 --- a/plugins/serendipity_event_templatechooser/serendipity_event_templatechooser.php +++ b/plugins/serendipity_event_templatechooser/serendipity_event_templatechooser.php @@ -37,6 +37,7 @@ class serendipity_event_templatechooser extends serendipity_event 'smarty' => '2.6.7', 'php' => '4.1.0' )); + $propbag->add('groups', array('BACKEND_TEMPLATES')); $propbag->add('event_hooks', array('frontend_configure' => true)); // Register (multiple) dependencies. KEY is the name of the depending plugin. VALUE is a mode of either 'remove' or 'keep'. diff --git a/plugins/serendipity_event_textile/serendipity_event_textile.php b/plugins/serendipity_event_textile/serendipity_event_textile.php index 8cb88be..d5a7134 100644 --- a/plugins/serendipity_event_textile/serendipity_event_textile.php +++ b/plugins/serendipity_event_textile/serendipity_event_textile.php @@ -43,6 +43,7 @@ class serendipity_event_textile extends serendipity_event )); $propbag->add('cachable_events', array('frontend_display' => true)); $propbag->add('event_hooks', array('frontend_display' => true, 'frontend_comment' => true)); + $propbag->add('groups', array('MARKUP')); $propbag->add('preserve_tags', array( diff --git a/plugins/serendipity_event_textwiki/serendipity_event_textwiki.php b/plugins/serendipity_event_textwiki/serendipity_event_textwiki.php index 3ed700a..1ad70ea 100644 --- a/plugins/serendipity_event_textwiki/serendipity_event_textwiki.php +++ b/plugins/serendipity_event_textwiki/serendipity_event_textwiki.php @@ -483,6 +483,7 @@ class serendipity_event_textwiki extends serendipity_event )); $propbag->add('cachable_events', array('frontend_display' => true)); $propbag->add('event_hooks', array('frontend_display' => true, 'frontend_comment' => true)); + $propbag->add('groups', array('MARKUP')); $this->markup_elements = array( array( diff --git a/plugins/serendipity_event_trackexits/serendipity_event_trackexits.php b/plugins/serendipity_event_trackexits/serendipity_event_trackexits.php index 6f3ad7a..04905b4 100644 --- a/plugins/serendipity_event_trackexits/serendipity_event_trackexits.php +++ b/plugins/serendipity_event_trackexits/serendipity_event_trackexits.php @@ -51,6 +51,7 @@ class serendipity_event_trackexits extends serendipity_event $propbag->add('cachable_events', array('frontend_display' => true)); $propbag->add('event_hooks', array('frontend_display' => true)); $propbag->add('scrambles_true_content', true); + $propbag->add('groups', array('STATISTICS')); $this->markup_elements = array( array( diff --git a/plugins/serendipity_event_weblogping/serendipity_event_weblogping.php b/plugins/serendipity_event_weblogping/serendipity_event_weblogping.php index 363422e..81a4f34 100644 --- a/plugins/serendipity_event_weblogping/serendipity_event_weblogping.php +++ b/plugins/serendipity_event_weblogping/serendipity_event_weblogping.php @@ -60,6 +60,7 @@ class serendipity_event_weblogping extends serendipity_event 'backend_publish' => true, 'backend_draft' => true )); + $propbag->add('groups', array('BACKEND_EDITOR')); $servicesdb = array(); $servicesdb_file = dirname(__FILE__) . '/servicesdb_' . $serendipity['lang'] . '.inc.php'; diff --git a/plugins/serendipity_event_xhtmlcleanup/serendipity_event_xhtmlcleanup.php b/plugins/serendipity_event_xhtmlcleanup/serendipity_event_xhtmlcleanup.php index 93dfc8a..d66bb96 100644 --- a/plugins/serendipity_event_xhtmlcleanup/serendipity_event_xhtmlcleanup.php +++ b/plugins/serendipity_event_xhtmlcleanup/serendipity_event_xhtmlcleanup.php @@ -49,6 +49,7 @@ class serendipity_event_xhtmlcleanup extends serendipity_event 'smarty' => '2.6.7', 'php' => '4.1.0' )); + $propbag->add('groups', array('BACKEND_TEMPLATES')); $propbag->add('cachable_events', array('frontend_display' => true)); $propbag->add('event_hooks', array('frontend_display' => true)); diff --git a/plugins/serendipity_plugin_comments/serendipity_plugin_comments.php b/plugins/serendipity_plugin_comments/serendipity_plugin_comments.php index 1cc8548..5086cf2 100644 --- a/plugins/serendipity_plugin_comments/serendipity_plugin_comments.php +++ b/plugins/serendipity_plugin_comments/serendipity_plugin_comments.php @@ -52,6 +52,7 @@ class serendipity_plugin_comments extends serendipity_plugin 'smarty' => '2.6.7', 'php' => '4.1.0' )); + $propbag->add('groups', array('FRONTEND_VIEWS')); $propbag->add('configuration', array( 'title', 'wordwrap', diff --git a/plugins/serendipity_plugin_creativecommons/serendipity_plugin_creativecommons.php b/plugins/serendipity_plugin_creativecommons/serendipity_plugin_creativecommons.php index e94cfae..dd658fa 100644 --- a/plugins/serendipity_plugin_creativecommons/serendipity_plugin_creativecommons.php +++ b/plugins/serendipity_plugin_creativecommons/serendipity_plugin_creativecommons.php @@ -39,6 +39,7 @@ class serendipity_plugin_creativecommons extends serendipity_plugin { 'php' => '4.1.0' )); $propbag->add('configuration', array('title')); + $propbag->add('groups', array('FRONTEND_EXTERNAL_SERVICES')); $this->dependencies = array('serendipity_event_creativecommons' => 'remove'); } diff --git a/plugins/serendipity_plugin_entrylinks/serendipity_plugin_entrylinks.php b/plugins/serendipity_plugin_entrylinks/serendipity_plugin_entrylinks.php index 45e3fec..4bceb84 100644 --- a/plugins/serendipity_plugin_entrylinks/serendipity_plugin_entrylinks.php +++ b/plugins/serendipity_plugin_entrylinks/serendipity_plugin_entrylinks.php @@ -62,6 +62,7 @@ class serendipity_plugin_entrylinks extends serendipity_plugin 'smarty' => '2.6.7', 'php' => '4.1.0' )); + $propbag->add('groups', array('FRONTEND_ENTRY_RELATED')); $propbag->add('configuration', array('title', 'newwin', 'markup', 'wordwrap', 'show_exits', 'show_referers', 'maxref', 'orderby')); } diff --git a/plugins/serendipity_plugin_eventwrapper/serendipity_plugin_eventwrapper.php b/plugins/serendipity_plugin_eventwrapper/serendipity_plugin_eventwrapper.php index 75bcc82..552916f 100644 --- a/plugins/serendipity_plugin_eventwrapper/serendipity_plugin_eventwrapper.php +++ b/plugins/serendipity_plugin_eventwrapper/serendipity_plugin_eventwrapper.php @@ -45,6 +45,7 @@ var $rewrite_from, $rewrite_to; 'smarty' => '2.6.7', 'php' => '4.1.0' )); + $propbag->add('groups', array('FRONTEND_FEATURES')); $propbag->add('configuration', array('event_plugin', 'title')); } diff --git a/plugins/serendipity_plugin_history/serendipity_plugin_history.php b/plugins/serendipity_plugin_history/serendipity_plugin_history.php index 77ba1e2..804b7b9 100644 --- a/plugins/serendipity_plugin_history/serendipity_plugin_history.php +++ b/plugins/serendipity_plugin_history/serendipity_plugin_history.php @@ -81,6 +81,7 @@ class serendipity_plugin_history extends serendipity_plugin 'smarty' => '2.6.7', 'php' => '4.1.0' )); + $propbag->add('groups', array('FRONTEND_VIEWS')); $propbag->add('configuration', array('title', 'intro', 'outro', diff --git a/plugins/serendipity_plugin_recententries/serendipity_plugin_recententries.php b/plugins/serendipity_plugin_recententries/serendipity_plugin_recententries.php index 265f3ca..9af108f 100644 --- a/plugins/serendipity_plugin_recententries/serendipity_plugin_recententries.php +++ b/plugins/serendipity_plugin_recententries/serendipity_plugin_recententries.php @@ -51,6 +51,7 @@ class serendipity_plugin_recententries extends serendipity_plugin { 'php' => '4.1.0' )); $propbag->add('configuration', array('title', 'number', 'number_from', 'dateformat', 'category')); + $propbag->add('groups', array('FRONTEND_VIEWS')); } function introspect_config_item($name, &$propbag) { diff --git a/plugins/serendipity_plugin_remoterss/serendipity_plugin_remoterss.php b/plugins/serendipity_plugin_remoterss/serendipity_plugin_remoterss.php index 3fcd028..9717678 100644 --- a/plugins/serendipity_plugin_remoterss/serendipity_plugin_remoterss.php +++ b/plugins/serendipity_plugin_remoterss/serendipity_plugin_remoterss.php @@ -299,6 +299,7 @@ class serendipity_plugin_remoterss extends serendipity_plugin { 'php' => '4.1.0' )); $propbag->add('configuration', array('number', 'displaydate', 'dateformat', 'sidebartitle', 'rssuri', 'charset', 'target', 'cachetime', 'feedtype', 'bulletimg', 'markup')); + $propbag->add('groups', array('FRONTEND_EXTERNAL_SERVICES')); } function introspect_config_item($name, &$propbag) { diff --git a/plugins/serendipity_plugin_shoutbox/serendipity_plugin_shoutbox.php b/plugins/serendipity_plugin_shoutbox/serendipity_plugin_shoutbox.php index d5d0d33..b7f911a 100644 --- a/plugins/serendipity_plugin_shoutbox/serendipity_plugin_shoutbox.php +++ b/plugins/serendipity_plugin_shoutbox/serendipity_plugin_shoutbox.php @@ -62,6 +62,7 @@ class serendipity_plugin_shoutbox extends serendipity_plugin 'max_chars', 'max_entries', 'dateformat')); + $propbag->add('groups', array('FRONTEND_FEATURES')); } function introspect_config_item($name, &$propbag) diff --git a/plugins/serendipity_plugin_templatedropdown/serendipity_plugin_templatedropdown.php b/plugins/serendipity_plugin_templatedropdown/serendipity_plugin_templatedropdown.php index aff77a6..bf79e4b 100644 --- a/plugins/serendipity_plugin_templatedropdown/serendipity_plugin_templatedropdown.php +++ b/plugins/serendipity_plugin_templatedropdown/serendipity_plugin_templatedropdown.php @@ -41,6 +41,7 @@ class serendipity_plugin_templatedropdown extends serendipity_plugin { 'php' => '4.1.0' )); $propbag->add('configuration', array('title', 'show_submit')); + $propbag->add('groups', array('FRONTEND_VIEWS')); // Register (multiple) dependencies. KEY is the name of the depending plugin. VALUE is a mode of either 'remove' or 'keep'. // If the mode 'remove' is set, removing the plugin results in a removal of the depending plugin. 'Keep' meens to