[pLog-svn] r4010 - in plugins/branches/lifetype-1.1: . secret

oscar at devel.lifetype.net oscar at devel.lifetype.net
Thu Sep 21 21:09:35 GMT 2006


Author: oscar
Date: 2006-09-21 21:09:35 +0000 (Thu, 21 Sep 2006)
New Revision: 4010

Added:
   plugins/branches/lifetype-1.1/secret/
   plugins/branches/lifetype-1.1/secret/class/
   plugins/branches/lifetype-1.1/secret/locale/
   plugins/branches/lifetype-1.1/secret/pluginsecret.class.php
   plugins/branches/lifetype-1.1/secret/readme.txt
   plugins/branches/lifetype-1.1/secret/templates/
Removed:
   plugins/branches/lifetype-1.1/secret/class/
   plugins/branches/lifetype-1.1/secret/locale/
   plugins/branches/lifetype-1.1/secret/pluginsecret.class.php
   plugins/branches/lifetype-1.1/secret/readme.txt
   plugins/branches/lifetype-1.1/secret/templates/
Log:
'secret' plugin ready to be released


Copied: plugins/branches/lifetype-1.1/secret (from rev 4002, plugins/branches/lifetype-1.1/unported/secret)

Copied: plugins/branches/lifetype-1.1/secret/class (from rev 4008, plugins/branches/lifetype-1.1/unported/secret/class)

Copied: plugins/branches/lifetype-1.1/secret/locale (from rev 4008, plugins/branches/lifetype-1.1/unported/secret/locale)

Deleted: plugins/branches/lifetype-1.1/secret/pluginsecret.class.php
===================================================================
--- plugins/branches/lifetype-1.1/unported/secret/pluginsecret.class.php	2006-09-20 21:57:08 UTC (rev 4002)
+++ plugins/branches/lifetype-1.1/secret/pluginsecret.class.php	2006-09-21 21:09:35 UTC (rev 4010)
@@ -1,56 +0,0 @@
-<?php
-
-    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/secret/class/security/secretitemfilter.class.php" );
-    
-    /**
-     * implements secret posts and categories
-     */
-    class PluginSecret extends PluginBase
-    {
-        var $pluginEnabled;
-        
-        function PluginSecret()
-        {
-            $this->PluginBase();
-            
-            $this->id = "secret";
-            $this->desc = "This plugin offers the password protect to specific articles, unless user provide the right password or they can not see the articles.";
-            $this->locales = Array( "en_UK" , "zh_TW" , "zh_CN" );
-            $this->author = "The LifeType Project";
-            
-            $this->init();
-        }
-                
-        /**
-         * registers all the filters and actions that we're going to use
-         */
-        function init()
-        {
-            // we only need to register a filter
-            $this->registerFilter( "SecretItemFilter" );
-
-			// register our action and menu entry
-			$this->registerAdminAction( "pluginSecretSettings", "AdminSecretPluginSettingsAction" );
-			$this->registerAdminAction( "pluginSecretUpdateSettings", "AdminSecretPluginUpdateSettingsAction" );			  
-              
-            // register our action and menu entry
-            $menu =& Menu::getMenu();
-            if( !$menu->entryExists( "/menu/controlCenter/manageSecurityPlugins" ))                     
-                $this->addMenuEntry( "/menu/controlCenter", "manageSecurityPlugins", "", "", true, false );
-            $this->addMenuEntry( "/menu/controlCenter/manageSecurityPlugins", "pluginSecretSettings", "admin.php?op=pluginSecretSettings", "", true, false );
-        }
-
-		function register()
-		{
-		    $blogSettings = $this->blogInfo->getSettings();
-			$this->pluginEnabled = $blogSettings->getValue( "plugin_secret_enabled" );
-		}
-
-	    function isEnabled()
-	    {
-	        return $this->pluginEnabled;
-	    }        
-    }  
-?>
\ No newline at end of file

Copied: plugins/branches/lifetype-1.1/secret/pluginsecret.class.php (from rev 4008, plugins/branches/lifetype-1.1/unported/secret/pluginsecret.class.php)

Deleted: plugins/branches/lifetype-1.1/secret/readme.txt
===================================================================
--- plugins/branches/lifetype-1.1/unported/secret/readme.txt	2006-09-20 21:57:08 UTC (rev 4002)
+++ plugins/branches/lifetype-1.1/secret/readme.txt	2006-09-21 21:09:35 UTC (rev 4010)
@@ -1,9 +0,0 @@
-Plugin: Secret
-Author: LifeType Team
-Release Date: 2005/01/23
-Version: 1.0
-
-This plugin offers the password protect to specific articles, unless user provide the right password or they can not see the articles.
-
-Install:
-1. Configurate your Secret plugin in your LifeType control center
\ No newline at end of file

Copied: plugins/branches/lifetype-1.1/secret/readme.txt (from rev 4008, plugins/branches/lifetype-1.1/unported/secret/readme.txt)

Copied: plugins/branches/lifetype-1.1/secret/templates (from rev 4008, plugins/branches/lifetype-1.1/unported/secret/templates)



More information about the pLog-svn mailing list