Support for plugin API configuration validation.
authorgarvinhicking <garvinhicking>
Mon, 12 Sep 2005 09:59:24 +0000 (09:59 +0000)
committergarvinhicking <garvinhicking>
Mon, 12 Sep 2005 09:59:24 +0000 (09:59 +0000)
Documented on http://www.s9y.org/index.php?node=43#A13

57 files changed:
docs/NEWS
include/admin/plugins.inc.php
include/plugin_api.inc.php
lang/UTF-8/serendipity_lang_bg.inc.php
lang/UTF-8/serendipity_lang_cn.inc.php
lang/UTF-8/serendipity_lang_cs.inc.php
lang/UTF-8/serendipity_lang_cz.inc.php
lang/UTF-8/serendipity_lang_da.inc.php
lang/UTF-8/serendipity_lang_de.inc.php
lang/UTF-8/serendipity_lang_en.inc.php
lang/UTF-8/serendipity_lang_es.inc.php
lang/UTF-8/serendipity_lang_fa.inc.php
lang/UTF-8/serendipity_lang_fi.inc.php
lang/UTF-8/serendipity_lang_fr.inc.php
lang/UTF-8/serendipity_lang_hu.inc.php
lang/UTF-8/serendipity_lang_is.inc.php
lang/UTF-8/serendipity_lang_it.inc.php
lang/UTF-8/serendipity_lang_ja.inc.php
lang/UTF-8/serendipity_lang_ko.inc.php
lang/UTF-8/serendipity_lang_nl.inc.php
lang/UTF-8/serendipity_lang_no.inc.php
lang/UTF-8/serendipity_lang_pt.inc.php
lang/UTF-8/serendipity_lang_pt_PT.inc.php
lang/UTF-8/serendipity_lang_ro.inc.php
lang/UTF-8/serendipity_lang_ru.inc.php
lang/UTF-8/serendipity_lang_se.inc.php
lang/UTF-8/serendipity_lang_tn.inc.php
lang/UTF-8/serendipity_lang_tw.inc.php
lang/UTF-8/serendipity_lang_zh.inc.php
lang/addlang.txt
lang/serendipity_lang_bg.inc.php
lang/serendipity_lang_cn.inc.php
lang/serendipity_lang_cs.inc.php
lang/serendipity_lang_cz.inc.php
lang/serendipity_lang_da.inc.php
lang/serendipity_lang_de.inc.php
lang/serendipity_lang_en.inc.php
lang/serendipity_lang_es.inc.php
lang/serendipity_lang_fa.inc.php
lang/serendipity_lang_fi.inc.php
lang/serendipity_lang_fr.inc.php
lang/serendipity_lang_hu.inc.php
lang/serendipity_lang_is.inc.php
lang/serendipity_lang_it.inc.php
lang/serendipity_lang_ja.inc.php
lang/serendipity_lang_ko.inc.php
lang/serendipity_lang_nl.inc.php
lang/serendipity_lang_no.inc.php
lang/serendipity_lang_pt.inc.php
lang/serendipity_lang_pt_PT.inc.php
lang/serendipity_lang_ro.inc.php
lang/serendipity_lang_ru.inc.php
lang/serendipity_lang_se.inc.php
lang/serendipity_lang_tn.inc.php
lang/serendipity_lang_tw.inc.php
lang/serendipity_lang_zh.inc.php
plugins/serendipity_event_spamblock/serendipity_event_spamblock.php

index e91cfbc4a64ba9b198845356f0cc69cca4782aa8..c292c15790ebdca5b1fb7586693b065678d51eaf 100644 (file)
--- a/docs/NEWS
+++ b/docs/NEWS
@@ -3,6 +3,12 @@
 Version 0.9 ()
 ------------------------------------------------------------------------
 
+    * Plugin API now allows to validate config options via a "validate"
+      method, used by the plugin configuration panel. Need to set "validate"
+      and "validate_error" property bag attributes in your custom 
+      introspect_config_item() calls, documented on 
+      http://www.s9y.org/index.php?node=43#A13 (garvinhicking)
+
     * Read/Write permissions for user-groups for specific categories.
       (garvinhicking)
 
index 42e49a7b6dbb6bc4bb78c630e9a455e7a1caed39..6a86233caa98edf738eb0c4ce899e3efd9e4b1e0 100644 (file)
@@ -273,10 +273,20 @@ if (isset($_GET['serendipity']['plugin_to_conf'])) {
     if (isset($_POST['SAVECONF'])) {
         /* enum properties and set their values */
 
+        $save_errors = array();
         foreach ($config_names as $config_item) {
             $cbag = new serendipity_property_bag;
             if ($plugin->introspect_config_item($config_item, $cbag)) {
-                $plugin->set_config($config_item, $_POST['serendipity']['plugin'][$config_item]);
+                $value    = $_POST['serendipity']['plugin'][$config_item];
+                
+                $validate = $plugin->validate($config_item, $cbag, $value);
+                 
+                if ($validate === true) {
+//                    echo $config_item . " validated: $validate<br />\n";
+                    $plugin->set_config($config_item, $value);
+                } else {
+                    $save_errors[] = $validate;
+                }
             }
         }
 
@@ -284,7 +294,18 @@ if (isset($_GET['serendipity']['plugin_to_conf'])) {
     }
 ?>
 
-<?php if ( isset($_POST['SAVECONF']) ) { ?>
+<?php if ( isset($save_errors) && is_array($save_errors) && count($save_errors) > 0 ) { ?>
+    <div class="serendipityAdminMsgError">
+    <?php 
+    echo ERROR . ":<br />\n";
+    echo "<ul>\n";
+    foreach($save_errors AS $save_error) {
+        echo '<li>' . $save_error . "</li>\n";
+    }
+    echo "</ul>\n";
+    ?>
+    </div>
+<?php } elseif ( isset($_POST['SAVECONF']) ) { ?>
     <div class="serendipityAdminMsgSuccess"><?php echo DONE .': '. sprintf(SETTINGS_SAVED_AT, serendipity_strftime('%H:%M:%S')); ?></div>
 <?php } ?>
 
index 323324b7c6c9a2af77dd59fdcbde3e69489285db..2207145dc5f7adf1200e2dcf869cd36d58527c79 100644 (file)
@@ -860,6 +860,72 @@ class serendipity_plugin {
         return false;
     }
 
+    /* Called to validate a plugin option */
+    function validate($config_item, &$cbag, &$value) {
+        static $pattern_mail  = '([\.\-\+~@_0-9a-z]+?)';
+        static $pattern_url   = '([@!=~\?:&;0-9a-z#\.\-_\/]+?)';
+
+        $validate = $cbag->get('validate');
+        $valid    = true;
+
+        if (!empty($validate)) {
+            switch ($validate) {
+                case 'string':
+                    if (!preg_match('@^\w*$@i', $value)) {
+                        $valid = false;
+                    }
+                    break;
+
+                case 'words':
+                    if (!preg_match('@^[\w\s\r\n,\.\-!\?:;&_/=%\$]*$@i', $value)) {
+                        $valid = false;
+                    }
+                    break;
+                
+                case 'number':
+                    if (!preg_match('@^[\d]*$@', $value)) {
+                        $valid = false;
+                    }
+                    break;
+
+                case 'url':
+                    if (!preg_match('§^' . $pattern_url . '$§', $value)) {
+                        $valid = false;
+                    }
+                    break;
+
+                case 'mail':
+                    if (!preg_match('§^' . $pattern_mail . '$§', $value)) {
+                        $valid = false;
+                    }
+                    break;
+
+                case 'path':
+                    if (!preg_match('@^[\w/_.\-~]$§', $value)) {
+                        $valid = false;
+                    }
+                    break;
+
+                default:
+                    if (!preg_match($validate, $value)) {
+                        $valid = false;
+                    }
+                    break;
+            }
+            
+            $error = $cbag->get('validate_error');
+            if ($valid) {
+                return true;
+            } elseif (!empty($error)) {
+                return $error;
+            } else {
+                return sprintf(PLUGIN_API_VALIDATE_ERROR, $config_item, $validate); 
+            }
+        }
+        
+        return true;
+    }
+    
     /* Called by serendipity when it wants your plugin to display itself.
      * You need to set $title to be whatever text you want want to
      * appear in the item caption space.
index 742faee044d4613ad6e8f76034faadb79bbc3bb6..560ff642106dd52b2bd6ca629bab58bfa27e54ac 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_bg.inc.php 385 2005-08-11 09:27:38Z garvinhicking $
+<?php # $Id: serendipity_lang_bg.inc.php 457 2005-09-09 12:09:12Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation (c) 2004 Bogomil Shopov <bogomil@spisanie.com>
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index dfdae15739cd81a02281ece7474a3a0957f9561f..3f949855d999b1abfba4e3b25eb3e51be49f9b83 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_cn.inc.php 385 2005-08-11 09:27:38Z garvinhicking $
+<?php # $Id: serendipity_lang_cn.inc.php 457 2005-09-09 12:09:12Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 /* vim: set sts=4 ts=4 expandtab : */
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index c1e9628a28b70d7ceca4d6615055104f9d9dd748..c260d0c38cb2d33d96bb6c4dfe3ae9e536e2ff65 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_cs.inc.php 385 2005-08-11 09:27:38Z garvinhicking $
+<?php # $Id: serendipity_lang_cs.inc.php 457 2005-09-09 12:09:12Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation (c) 2005 Josef Klimosz <ok2wo@centrum.cz>
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index 32a54f4ccc6dab688950531ac4de096c88310861..5e1bf1e2672e12b6ac8b5989278c2d34afd3f690 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_cz.inc.php 385 2005-08-11 09:27:38Z garvinhicking $
+<?php # $Id: serendipity_lang_cz.inc.php 457 2005-09-09 12:09:12Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation (c) 2004 Josef Klimosz <ok2wo@centrum.cz>
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index 845362a368042b89c095d7a7c50af7b5389ce4f4..e833287fb5aa43689a2b85518b683fef230b14de 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_da.inc.php 385 2005-08-11 09:27:38Z garvinhicking $
+<?php # $Id: serendipity_lang_da.inc.php 457 2005-09-09 12:09:12Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation (c) by Tom Sommer, <ts@dreamcoder.dk>
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index d6c4f408cb82f8fed10181c2eef3dbbcbe68f473..c71570c09ed29a09b0cefbadf1cbcafe1c6cba58 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_de.inc.php 454 2005-09-07 13:22:24Z garvinhicking $
+<?php # $Id: serendipity_lang_de.inc.php 457 2005-09-09 12:09:12Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation (c) Jannis Hermanns, Garvin Hicking and others
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index 61718f6532b0a95471ed86b2c4083279ecc9822a..e8f3386a68137ed8dbee16bcd4dbc4cc1d699545 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_en.inc.php 385 2005-08-11 09:27:38Z garvinhicking $
+<?php # $Id: serendipity_lang_en.inc.php 457 2005-09-09 12:09:12Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 /* vim: set sts=4 ts=4 expandtab : */
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index bf98771e222224978c32d3b0b12d45cf91753980..bbfd489314431865858fce3249ad148c30bd9ecd 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_es.inc.php 388 2005-08-14 19:06:59Z garvinhicking $
+<?php # $Id: serendipity_lang_es.inc.php 457 2005-09-09 12:09:12Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation (c) by Luis Cervantes <LuisCervantes@ono.com>,
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index 47f421d99d116417b53fa8861d1a0f352f5e29ca..59377fcbada81420f982cb67f5f877a1acf08400 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_fa.inc.php 402 2005-08-15 23:09:32Z omidmottaghi $
+<?php # $Id: serendipity_lang_fa.inc.php 458 2005-09-09 22:32:23Z omidmottaghi $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved. See LICENSE file for licensing details
 # this translation, translated by Omid Mottaghi <http://oxygenws.com>
 @define('PERM_DENIED', 'دسترسی وجود ندارد.');
 @define('INSTALL_ACL', 'اعمال کردن دسترسی خواندن برای موضوع ها');
 @define('INSTALL_ACL_DESC', 'در صورت فعال بودن این گزینه, در صورتی که کاربران عضو شده، وارد سیستم شوند، دسترسی کاربران گروه ها اعمال می شود. در صورت غیر فعال بودن، دسترسی خواندن موضوعات اعمال نمی شود، اما کمی سرعت وبلاگ را زیاد می کند. پس اگر به وبلاگ چند کاربره با دسترسی محدود در خواندن نیازی ندارید، این گزینه را غیر فعال کنید.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index 93e7fe7c10eca9e5b3e9ba0a50a03a9381d972d0..9fcdaaed7836a9a2d3dcc985498b2f178b57fbec 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_fi.inc.php 385 2005-08-11 09:27:38Z garvinhicking $
+<?php # $Id: serendipity_lang_fi.inc.php 457 2005-09-09 12:09:12Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 /* vim: set sts=4 ts=4 expandtab : */
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index 1e216d7496e68fb31e61c8d080ced6f7f7a67d2c..4122e2f793535b1960202d61f76ba9695f570e16 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_fr.inc.php 421 2005-08-21 12:37:28Z garvinhicking $
+<?php # $Id: serendipity_lang_fr.inc.php 457 2005-09-09 12:09:12Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation by Sebastian Mordziol <argh@php-tools.net>
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index b02c8d23c0601c311eb2b1f7de510c433b450a18..79b98521d73e521c4db82be727e68cf2136f256e 100644 (file)
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index 058587b1ca397cb07a3c82ac755a5fa0f0b2fca1..a16d24c9e8e2e6fc8434b85be9fbb067861734b8 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_is.inc.php 385 2005-08-11 09:27:38Z garvinhicking $
+<?php # $Id: serendipity_lang_is.inc.php 457 2005-09-09 12:09:12Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 /* vim: set sts=4 ts=4 expandtab : */
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index f4d759cb858b040f80399115b394f88f81533bb9..d6476b3cae333a945cb083f66472d5ff6922ac66 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_it.inc.php 405 2005-08-16 21:37:54Z garvinhicking $
+<?php # $Id: serendipity_lang_it.inc.php 457 2005-09-09 12:09:12Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation (c) by Alessandro Pellizzari <alex@amiran.it>
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index e965f4e8440952e70880ef3d69a4abdf41ac870a..b0e6287f26d87e341134aa7ccf1bf9db17dc3911 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_ja.inc.php 408 2005-08-18 16:03:14Z elf2000 $
+<?php # $Id: serendipity_lang_ja.inc.php 457 2005-09-09 12:09:12Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation (c) Tadashi Jokagi <elf2000@users.sourceforge.net>, 2004-2005.
@@ -783,3 +783,4 @@ Serendipity のアップグレードステージを無視しました。正し
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index 6f5a4c09cfac945635714128711296cdc059facd..2abcfa39675992274e8e4841b2c6aa97d7d603f4 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_ko.inc.php 385 2005-08-11 09:27:38Z garvinhicking $
+<?php # $Id: serendipity_lang_ko.inc.php 457 2005-09-09 12:09:12Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translated by: Wesley Hwang-Chung <wesley96@gmail.com> 
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index 5c7ac19ac66b603222db4002757a98cc1ce71623..66bb99b5924bb07cf0766a6cbad81a769c55e9cc 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_nl.inc.php 389 2005-08-14 19:12:47Z garvinhicking $
+<?php # $Id: serendipity_lang_nl.inc.php 457 2005-09-09 12:09:12Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation (c) by Christiaan Heerze <webmaster@heimp.nl>
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index 5ae7bec544862f2e25c7ef759e5808e5200af91d..1e31d2ce8b002040c7593ef7cc1a734bc43259df 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_no.inc.php 445 2005-09-05 09:30:20Z garvinhicking $
+<?php # $Id: serendipity_lang_no.inc.php 457 2005-09-09 12:09:12Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation (c) by Jo Christian Oterhals <oterhals@gmail.com>
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index e136c30b2683e8a12a331d255a10294ce0ac4c78..ecb2d649132f98a88fc23dd87cdbbab81078beda 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_pt.inc.php 391 2005-08-14 19:19:54Z garvinhicking $
+<?php # $Id: serendipity_lang_pt.inc.php 457 2005-09-09 12:09:12Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation (c) by Agner Olson <agner@agner.net> 
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index 3b7b8b2bcaedd4ff5c6dcaea582f571a1d59b0c3..eed78902e148ffac5b94b999c79f120a48b4aa71 100644 (file)
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index d7c80e0411a55127afc1fed07747127b57846520..7cae57e843a31434360bd657cb3dd55b97a5d1b9 100644 (file)
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index a0f62857aafd220aecae5065d4fdb72b5ec3b0aa..69471370eabd5163332668ca2ddc016b89085a8e 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_ru.inc.php 385 2005-08-11 09:27:38Z garvinhicking $
+<?php # $Id: serendipity_lang_ru.inc.php 457 2005-09-09 12:09:12Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 /* vim: set sts=4 ts=4 expandtab : */
@@ -781,3 +781,4 @@ $i18n_filename_to   = array('_', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index 78955569730c23eeeb80c8a2036276590deff7bf..ac5fd62918bd58dbd719a6f20ce3c81ac9b7f8f8 100644 (file)
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index 5f8e0f98cc89eb43dfcd9320b08bc3d3d6349492..f13134204f4ae1eef3e6cb07fa5f7b3cc8a9be99 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_tn.inc.php 451 2005-09-06 21:51:47Z capriskye $
+<?php # $Id: serendipity_lang_tn.inc.php 457 2005-09-09 12:09:12Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translated by CapriSkye <admin@capriskye.com>
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index 20574cd562f34645675ede5d5ee92e708605fffb..90c988e83cd2a6e61387b21bbf82df1c4568d907 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_tw.inc.php 451 2005-09-06 21:51:47Z capriskye $
+<?php # $Id: serendipity_lang_tw.inc.php 457 2005-09-09 12:09:12Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translated by CapriSkye <admin@capriskye.com>
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index 4872ecf89c91d04a375e76922f8bf7bc821176e9..b4fa8bbda39a75d48efa2c6448ba71b1eb13c375 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_zh.inc.php 385 2005-08-11 09:27:38Z garvinhicking $
+<?php # $Id: serendipity_lang_zh.inc.php 457 2005-09-09 12:09:12Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 /* vim: set sts=4 ts=4 expandtab : */
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index 81ad1428f24662837c03758948d5f765e87d2d7e..b878dba0689a663367343ab6240784d7685ee8cb 100644 (file)
@@ -1,2 +1 @@
-@define('INSTALL_ACL', 'Apply read-permissions for categories');
-@define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index 2d6e2fa6b4f1a3121a794a4e86bf65a0c1054938..8fec5d1d6eea1d3d00821f1c295cc9c77ff5c7ca 100644 (file)
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index dff02e1bf11221d3be524a6bfc70ce41371e3841..ea8af4b9f013c9b1500268b08d29a7aae611364b 100644 (file)
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index 19a23f6edaa43fe084313aff3f50cd1e0646c41b..05a16e4614d679d98d98737c7bbc137355926746 100644 (file)
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index de566de154800a34db80cdbb6a0ec68d94201d37..f466ef8d4a3add8c6d187dad5b45c977a722378d 100644 (file)
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index e23879072b0e9f9c957535e1c84928cad544086e..15821bd60dd21f63fb03eeed53acbd30f216ffc2 100644 (file)
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index 3de2c711c85d7f8d8f0b9c72b2eeb6efc65a04d8..dcf869e33147b23d66375d18871d318529255f3e 100644 (file)
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index 47cf58816d6036caa65d9345e0edfa40a80e3b9a..fc6ae8375290f7027213fb1b2126d359399e1758 100644 (file)
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index 7ca99e8642d0ea3871c527702be83ad76b24de78..88ff10a7cafc3c4848d474d2698bdcd177a2cbf8 100644 (file)
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index e1cc8af503dc8c5f6390505f873019bc0c9e5872..7ec9a8d4a8653b4c3e2fbb9eb4247fee0cb36c42 100644 (file)
 @define('PERM_DENIED', 'دسترسی وجود ندارد.');
 @define('INSTALL_ACL', 'اعمال کردن دسترسی خواندن برای موضوع ها');
 @define('INSTALL_ACL_DESC', 'در صورت فعال بودن این گزینه, در صورتی که کاربران عضو شده، وارد سیستم شوند، دسترسی کاربران گروه ها اعمال می شود. در صورت غیر فعال بودن، دسترسی خواندن موضوعات اعمال نمی شود، اما کمی سرعت وبلاگ را زیاد می کند. پس اگر به وبلاگ چند کاربره با دسترسی محدود در خواندن نیازی ندارید، این گزینه را غیر فعال کنید.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index f57dee4b997a0e4b8b9e13e6e50bb00ef646c439..7c48d80fb9f679589c13b5d9df69f699b61eb199 100644 (file)
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index 898a1f2cf06cba6024a21e0a54f8fab09be9d6c2..a96e2855f11411ea194952c6e78619e716addd35 100644 (file)
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index e6a3b4752b6bf22b9ac38fc0c13935440ddca776..0e89a6281fd49573e84a1bcbab8e16fa1bfc9ef4 100644 (file)
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index f007d05ae1dd21bafea23c74fb4dea4a7d391d72..6cff16cf4bb20de06a291239365b7754a8ed15aa 100644 (file)
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index c03ee79910506b9bbc0ea70d3a828289bf94bc0f..036d8b9af384832fa949845a60ad97d138e8a456 100644 (file)
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index f8fb0654ba7ccd92cf840092660dbbca9d9cdfc5..c6c8d5c7c8c089668ef23ac974a1490b52c05d89 100644 (file)
@@ -783,3 +783,4 @@ Serendipity のアップグレードステージを無視しました。正し
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index c03ccf9532e1e6cda7bf043b56ae3ab2913da18f..75bd0bf1bee568903a8fa519c35ee0b54ca19aa3 100644 (file)
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index a927a4f0233e0abd41255999684ea2e9e022b6a1..29ed182dba38d89f8221d8da8b01247c19d71af2 100644 (file)
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index 1b6cc1730f95f1741a80256508b62b6119da97b2..f8b1cbd189b8d17b7f316b7e8f9d1b85ad4f2262 100644 (file)
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index bef404d06c41cd18e142c80591b82fe65c0f2de0..26a4e60982bafdfbcb73dd5bbdabd845e9231d4f 100644 (file)
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index 6006fc44de8559513ad1def916aa37e6965d4461..b31ad853416269b883225580aca416dced650686 100644 (file)
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index d7c80e0411a55127afc1fed07747127b57846520..7cae57e843a31434360bd657cb3dd55b97a5d1b9 100644 (file)
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index 519c64100089fbd68a4c3b65fe795633901df240..7d8b6650e91a73516b2c961b0a99ab5bf4ebfa02 100644 (file)
@@ -781,3 +781,4 @@ $i18n_filename_to   = array('_', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index 735b52b38432c6e42f1b2ca78cfd050ca00bf39e..575ba0c04be48e1c15f443bd0684bc0dbf48bab2 100644 (file)
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index 12710cc69fb3ee969b82680e44862c36688f13ea..9594d6558a692b48cd6b7e9f551bb89fc723b41a 100644 (file)
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index 162c48cefbf90787cfbfd8dca8ad2e639d9649f5..ce3e6db21d9a17bff45b79783b89c50479fd948c 100644 (file)
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index 70e297bfb3bfa9bc42acab1e1358fd806ff9962c..d759d2d18f63c848aceee93b362470e5463dcb5b 100644 (file)
 @define('PERM_DENIED', 'Permission denied.');
 @define('INSTALL_ACL', 'Apply read-permissions for categories');
 @define('INSTALL_ACL_DESC', 'If enabled, the usergroup permission settings you setup for categories will be applied when logged-in users view your blog. If disabled, the read-permissions of the categories are NOT applied, but the positive effect is a little speedup on your blog. So if you don\'t need multi-user read permissions for your blog, disable this setting.');
+@define('PLUGIN_API_VALIDATE_ERROR', 'Configuration syntax wrong for option "%s". Needs content of type "%s".');
index e6593f16363d9724017feb099c94455d960b4be3..ea80343ac808223fb33b7ac6817daff19ce5fb3d 100644 (file)
@@ -237,6 +237,7 @@ var $filter_defaults;
                 $propbag->add('name', PLUGIN_EVENT_SPAMBLOCK_CAPTCHA_COLOR);
                 $propbag->add('description', PLUGIN_EVENT_SPAMBLOCK_CAPTCHA_COLOR_DESC);
                 $propbag->add('default', '255,255,255');
+                $propbag->add('validate', '@^[0-9]{1,3},[0-9]{1,3},[0-9]{1,3}$@');
                 break;
 
             case 'forcemoderation':