[pLog-svn] r4836 - plugins/branches/lifetype-1.2/atom
oscar at devel.lifetype.net
oscar at devel.lifetype.net
Thu Feb 22 16:51:10 EST 2007
Author: oscar
Date: 2007-02-22 16:51:09 -0500 (Thu, 22 Feb 2007)
New Revision: 4836
Modified:
plugins/branches/lifetype-1.2/atom/pluginatom.class.php
Log:
implemented support for the $source parameter
Modified: plugins/branches/lifetype-1.2/atom/pluginatom.class.php
===================================================================
--- plugins/branches/lifetype-1.2/atom/pluginatom.class.php 2007-02-22 21:43:58 UTC (rev 4835)
+++ plugins/branches/lifetype-1.2/atom/pluginatom.class.php 2007-02-22 21:51:09 UTC (rev 4836)
@@ -8,16 +8,17 @@
class PluginAtom extends PluginBase
{
- function PluginAtom()
+ function PluginAtom( $source = "" )
{
- $this->PluginBase();
+ $this->PluginBase( $source );
$this->id = "atom";
$this->desc = "Provides Atom access to your blog.";
$this->author = "The LifeType Project";
$this->locales = Array( "en_UK" );
- $this->init();
+ if( $source == "admin" );
+ $this->init();
}
/**
More information about the pLog-svn
mailing list