[pLog-svn] r4924 - plugins/branches/lifetype-1.2/sociable

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Fri Mar 2 11:35:11 EST 2007


Author: jondaley
Date: 2007-03-02 11:35:11 -0500 (Fri, 02 Mar 2007)
New Revision: 4924

Modified:
   plugins/branches/lifetype-1.2/sociable/pluginsociable.class.php
Log:
updated some includes.  I don't know this plugin well enough to modify it further

Modified: plugins/branches/lifetype-1.2/sociable/pluginsociable.class.php
===================================================================
--- plugins/branches/lifetype-1.2/sociable/pluginsociable.class.php	2007-03-02 16:31:04 UTC (rev 4923)
+++ plugins/branches/lifetype-1.2/sociable/pluginsociable.class.php	2007-03-02 16:35:11 UTC (rev 4924)
@@ -22,11 +22,10 @@
 
 
 
-	include_once( PLOG_CLASS_PATH."class/plugin/pluginbase.class.php" );
-	include_once( PLOG_CLASS_PATH."class/plugin/pluginmanager.class.php" );
-	include_once( PLOG_CLASS_PATH."plugins/sociable/class/sociable/sociable.php" );
-	include_once( PLOG_CLASS_PATH."plugins/sociable/class/extra/pluginsociableextrasites.inc.php" );
-	include_once( PLOG_CLASS_PATH."class/template/menu/menu.class.php" );
+	lt_include( PLOG_CLASS_PATH."class/plugin/pluginbase.class.php" );
+	lt_include( PLOG_CLASS_PATH."class/plugin/pluginmanager.class.php" );
+	lt_include( PLOG_CLASS_PATH."plugins/sociable/class/sociable/sociable.php" );
+	lt_include( PLOG_CLASS_PATH."plugins/sociable/class/extra/pluginsociableextrasites.inc.php" );
 
 
 	class PluginSociable extends PluginBase
@@ -40,7 +39,7 @@
 
 			$this->id      = "sociable";
 			$this->author  = "Paul Westbrook";
-			$this->desc    = "The Sociable plugin appends links for your readers to use those sites to the end of each of your blogÕs posts, increasing your potential audience.";
+			$this->desc    = "The Sociable plugin appends links for your readers to use those sites to the end of each of your blog's posts, increasing your potential audience.";
             $this->version = "20070226";
 
 			$this->locales = Array( "en_UK");
@@ -51,6 +50,7 @@
 		
 		function initAdmin()
 		{
+            lt_include( PLOG_CLASS_PATH."class/template/menu/menu.class.php" );
             $this->registerAdminAction( "sociableConfig", "PluginSociableConfigAction" );
 			$this->registerAdminAction( "updateSociableConfig", "PluginSociableUpdateConfigAction" );
 			



More information about the pLog-svn mailing list