[pLog-svn] r4844 - in plugins/branches/lifetype-1.2: . sociable unported
pwestbro at devel.lifetype.net
pwestbro at devel.lifetype.net
Thu Feb 22 19:24:39 EST 2007
Author: pwestbro
Date: 2007-02-22 19:24:39 -0500 (Thu, 22 Feb 2007)
New Revision: 4844
Added:
plugins/branches/lifetype-1.2/sociable/
Removed:
plugins/branches/lifetype-1.2/unported/sociable/
Modified:
plugins/branches/lifetype-1.2/sociable/pluginsociable.class.php
Log:
Ported the sociable plugin
Copied: plugins/branches/lifetype-1.2/sociable (from rev 4843, plugins/branches/lifetype-1.2/unported/sociable)
Modified: plugins/branches/lifetype-1.2/sociable/pluginsociable.class.php
===================================================================
--- plugins/branches/lifetype-1.2/unported/sociable/pluginsociable.class.php 2007-02-22 22:44:30 UTC (rev 4843)
+++ plugins/branches/lifetype-1.2/sociable/pluginsociable.class.php 2007-02-23 00:24:39 UTC (rev 4844)
@@ -34,9 +34,9 @@
var $pluginEnabled;
- function PluginSociable()
+ function PluginSociable( $source = "" )
{
- $this->PluginBase();
+ $this->PluginBase($source);
$this->id = "sociable";
$this->author = "Paul Westbrook";
@@ -44,10 +44,11 @@
$this->locales = Array( "en_UK");
- $this->init();
+ if( $source == "admin" )
+ $this->initAdmin();
}
-
- function init()
+
+ function initAdmin()
{
$this->registerAdminAction( "sociableConfig", "PluginSociableConfigAction" );
$this->registerAdminAction( "updateSociableConfig", "PluginSociableUpdateConfigAction" );
More information about the pLog-svn
mailing list