[pLog-svn] r5047 - plugins/branches/lifetype-1.2/blogtimes

reto at devel.lifetype.net reto at devel.lifetype.net
Sat Mar 10 19:27:23 EST 2007


Author: reto
Date: 2007-03-10 19:27:23 -0500 (Sat, 10 Mar 2007)
New Revision: 5047

Modified:
   plugins/branches/lifetype-1.2/blogtimes/pluginblogtimes.class.php
Log:
make the enable/disable switch available to global settings.
TODO: make other config options available, too.


Modified: plugins/branches/lifetype-1.2/blogtimes/pluginblogtimes.class.php
===================================================================
--- plugins/branches/lifetype-1.2/blogtimes/pluginblogtimes.class.php	2007-03-11 00:26:25 UTC (rev 5046)
+++ plugins/branches/lifetype-1.2/blogtimes/pluginblogtimes.class.php	2007-03-11 00:27:23 UTC (rev 5047)
@@ -92,8 +92,15 @@
         function isEnabled()
         {
             return $this->pluginEnabled;
-        }        
-
+        }      
+          
+		function getPluginConfigurationKeys()
+		{
+			return( Array(
+				Array( "name" => "plugin_blogtimes_enabled", "type" => "boolean" )
+			));
+		}
+		
         /**
          * process the events that we have registered
          *
@@ -292,4 +299,4 @@
             return $color;
         }
     }
-?>
\ No newline at end of file
+?>



More information about the pLog-svn mailing list