[pLog-svn] r5185 - plugins/branches/lifetype-1.2/unported/gallery
oscar at devel.lifetype.net
oscar at devel.lifetype.net
Sun Mar 25 15:45:14 EDT 2007
Author: oscar
Date: 2007-03-25 15:45:14 -0400 (Sun, 25 Mar 2007)
New Revision: 5185
Modified:
plugins/branches/lifetype-1.2/unported/gallery/plugingallery.class.php
Log:
Gallery2 plugin ported to LT 1.2, thanks to user tommy (http://bugs.lifetype.net/view.php?id=1237)
Modified: plugins/branches/lifetype-1.2/unported/gallery/plugingallery.class.php
===================================================================
--- plugins/branches/lifetype-1.2/unported/gallery/plugingallery.class.php 2007-03-25 16:42:49 UTC (rev 5184)
+++ plugins/branches/lifetype-1.2/unported/gallery/plugingallery.class.php 2007-03-25 19:45:14 UTC (rev 5185)
@@ -23,18 +23,25 @@
* @param None.
* @return None.
*/
- function Plugingallery()
+ function Plugingallery($source = "")
{
- $this->PluginBase();
+ $this->PluginBase($source);
// Setup the plugin information
$this->id = "gallery";
$this->author = "Laurent Vauthrin";
$this->desc = "Integrates gallery into plog.";
+ $this->version = "20070321";
// Setup the locale
$this->locales = Array( "en_UK" );
+
+ if ($source == "admin")
+ $this->initAdmin();
+ }
+ function initAdmin()
+ {
// Register the actions
$this->registerBlogAction( "gallery", "PluginGalleryShowAction" );
$this->registerAdminAction( "gallery", "PluginGalleryConfigAction" );
More information about the pLog-svn
mailing list