[pLog-svn] r5131 - in plugins/branches/lifetype-1.2: akismet hiddeninput recentcomments tagcloud

oscar at devel.lifetype.net oscar at devel.lifetype.net
Sun Mar 18 14:22:23 EDT 2007


Author: oscar
Date: 2007-03-18 14:22:23 -0400 (Sun, 18 Mar 2007)
New Revision: 5131

Modified:
   plugins/branches/lifetype-1.2/akismet/pluginakismet.class.php
   plugins/branches/lifetype-1.2/hiddeninput/pluginhiddeninput.class.php
   plugins/branches/lifetype-1.2/recentcomments/pluginrecentcomments.class.php
   plugins/branches/lifetype-1.2/tagcloud/plugintagcloud.class.php
Log:
added allowEmpty to some plugins


Modified: plugins/branches/lifetype-1.2/akismet/pluginakismet.class.php
===================================================================
--- plugins/branches/lifetype-1.2/akismet/pluginakismet.class.php	2007-03-18 18:18:48 UTC (rev 5130)
+++ plugins/branches/lifetype-1.2/akismet/pluginakismet.class.php	2007-03-18 18:22:23 UTC (rev 5131)
@@ -77,7 +77,7 @@
 			
 			return( Array(
 				Array( "name" => "plugin_akismet_enabled", "type" => "boolean" ),
-				Array( "name" => "plugin_akismet_api_key", "validator" => new StringValidator(), "type" => "string" ),
+				Array( "name" => "plugin_akismet_api_key", "validator" => new StringValidator(), "type" => "string", "allowEmpty" => true ),
 			));
 		}
 

Modified: plugins/branches/lifetype-1.2/hiddeninput/pluginhiddeninput.class.php
===================================================================
--- plugins/branches/lifetype-1.2/hiddeninput/pluginhiddeninput.class.php	2007-03-18 18:18:48 UTC (rev 5130)
+++ plugins/branches/lifetype-1.2/hiddeninput/pluginhiddeninput.class.php	2007-03-18 18:22:23 UTC (rev 5131)
@@ -92,10 +92,10 @@
                               "type" => "boolean"),
                         Array("name" => "plugin_hiddeninput_hiddenfields",
                               "validator" => new StringValidator(),
-                              "type" => "string"),
+                              "type" => "string", "allowEmpty" => true ),
                         Array("name" => "plugin_hiddeninput_emptyfields",
                               "validator" => new StringValidator(),
-                              "type" => "string"),
+                              "type" => "string", "allowEmpty" => true ),
                         ));
         }
     }

Modified: plugins/branches/lifetype-1.2/recentcomments/pluginrecentcomments.class.php
===================================================================
--- plugins/branches/lifetype-1.2/recentcomments/pluginrecentcomments.class.php	2007-03-18 18:18:48 UTC (rev 5130)
+++ plugins/branches/lifetype-1.2/recentcomments/pluginrecentcomments.class.php	2007-03-18 18:22:23 UTC (rev 5131)
@@ -126,7 +126,7 @@
                               "type" => "boolean"),
                         Array("name" => "plugin_recentcomments_maxcomments",
                               "validator" => new IntegerValidator(),
-                              "type" => "integer"),
+                              "type" => "integer", "allowEmpty" => true ),
                         ));
         }
         

Modified: plugins/branches/lifetype-1.2/tagcloud/plugintagcloud.class.php
===================================================================
--- plugins/branches/lifetype-1.2/tagcloud/plugintagcloud.class.php	2007-03-18 18:18:48 UTC (rev 5130)
+++ plugins/branches/lifetype-1.2/tagcloud/plugintagcloud.class.php	2007-03-18 18:22:23 UTC (rev 5131)
@@ -245,21 +245,21 @@
         return( Array(
                     Array( "name" => "plugin_tagcloud_enabled", "type" => "boolean" ),
                     Array( "name" => "plugin_tagcloud_max_articles",
-                           "validator" => new IntegerValidator(), "type" => "integer" ),
+                           "validator" => new IntegerValidator(), "type" => "integer", "allowEmpty" => true ),
                     Array( "name" => "plugin_tagcloud_max_keywords",
-                           "validator" => new IntegerValidator(), "type" => "integer" ),
+                           "validator" => new IntegerValidator(), "type" => "integer", "allowEmpty" => true ),
                     Array( "name" => "plugin_tagcloud_min_size",
-                           "validator" => new FloatValidator(), "type" => "integer" ),
+                           "validator" => new FloatValidator(), "type" => "integer", "allowEmpty" => true ),
                     Array( "name" => "plugin_tagcloud_max_size",
-                           "validator" => new FloatValidator(), "type" => "integer" ),
+                           "validator" => new FloatValidator(), "type" => "integer", "allowEmpty" => true ),
                     Array( "name" => "plugin_tagcloud_min_weight",
-                           "validator" => new IntegerValidator(), "type" => "integer" ),
+                           "validator" => new IntegerValidator(), "type" => "integer", "allowEmpty" => true ),
                     Array( "name" => "plugin_tagcloud_max_weight",
-                           "validator" => new IntegerValidator(), "type" => "integer" ),
+                           "validator" => new IntegerValidator(), "type" => "integer", "allowEmpty" => true ),
                     Array( "name" => "plugin_tagcloud_min_word_length",
-                           "validator" => new IntegerValidator(), "type" => "integer" ),
+                           "validator" => new IntegerValidator(), "type" => "integer", "allowEmpty" => true ),
                     Array( "name" => "plugin_tagcloud_banned_keywords",
-                           "validator" => new StringValidator(), "type" => "string" ),
+                           "validator" => new StringValidator(), "type" => "string", "allowEmpty" => true ),
                     ));
     }
 



More information about the pLog-svn mailing list