[pLog-svn] r4490 - in plugins/trunk: . unported unported/adrotate unported/akismet unported/apod unported/atom unported/badbehavior unported/blogtimes unported/categorybrowser unported/clickablecomments unported/cocomment unported/delicious unported/digestview unported/dnsantispam unported/feedreader unported/galleryimages unported/googleanalytics unported/gravatar unported/helloworld unported/hostblock unported/jupload unported/karma unported/linktracker unported/mailcentre unported/mobile unported/moblog unported/moderate unported/nestedcomments unported/nofollow unported/plogeshi unported/print unported/recentcomments unported/reflection unported/sitemap unported/smileys unported/sociable unported/submissions unported/tagcloud unported/templateeditor unported/textparser unported/validatetrackback

oscar at devel.lifetype.net oscar at devel.lifetype.net
Thu Jan 4 19:41:40 GMT 2007


Author: oscar
Date: 2007-01-04 19:41:38 +0000 (Thu, 04 Jan 2007)
New Revision: 4490

Added:
   plugins/trunk/unported/adrotate/
   plugins/trunk/unported/adrotate/.pluginadrotate.class.php.swp
   plugins/trunk/unported/adrotate/LICENSE
   plugins/trunk/unported/adrotate/README
   plugins/trunk/unported/adrotate/class/
   plugins/trunk/unported/adrotate/pluginadrotate.class.php
   plugins/trunk/unported/adrotate/templates/
   plugins/trunk/unported/akismet/
   plugins/trunk/unported/akismet/class/
   plugins/trunk/unported/akismet/locale/
   plugins/trunk/unported/akismet/pluginakismet.class.php
   plugins/trunk/unported/akismet/readme.txt
   plugins/trunk/unported/akismet/templates/
   plugins/trunk/unported/apod/
   plugins/trunk/unported/apod/class/
   plugins/trunk/unported/apod/locale/
   plugins/trunk/unported/apod/pluginapod.class.php
   plugins/trunk/unported/apod/readme.txt
   plugins/trunk/unported/apod/templates/
   plugins/trunk/unported/atom.php
   plugins/trunk/unported/atom/
   plugins/trunk/unported/atom/class/
   plugins/trunk/unported/atom/locale/
   plugins/trunk/unported/atom/pluginatom.class.php
   plugins/trunk/unported/atom/templates/
   plugins/trunk/unported/ayearago/
   plugins/trunk/unported/badbehavior/
   plugins/trunk/unported/badbehavior/bad-behavior/
   plugins/trunk/unported/badbehavior/index.inc.php
   plugins/trunk/unported/badbehavior/locale/
   plugins/trunk/unported/badbehavior/pluginbadbehavior.class.php
   plugins/trunk/unported/badbehavior/readme.txt
   plugins/trunk/unported/blogtimes/
   plugins/trunk/unported/blogtimes/class/
   plugins/trunk/unported/blogtimes/js/
   plugins/trunk/unported/blogtimes/locale/
   plugins/trunk/unported/blogtimes/pluginblogtimes.class.php
   plugins/trunk/unported/blogtimes/readme.txt
   plugins/trunk/unported/blogtimes/templates/
   plugins/trunk/unported/categorybrowser/
   plugins/trunk/unported/categorybrowser/README.txt
   plugins/trunk/unported/categorybrowser/locale/
   plugins/trunk/unported/categorybrowser/plugincategorybrowser.class.php
   plugins/trunk/unported/categorycloud/
   plugins/trunk/unported/clickablecomments/
   plugins/trunk/unported/clickablecomments/pluginclickablecomments.class.php
   plugins/trunk/unported/cocomment/
   plugins/trunk/unported/cocomment/README.txt
   plugins/trunk/unported/cocomment/class/
   plugins/trunk/unported/cocomment/locale/
   plugins/trunk/unported/cocomment/plugincocomment.class.php
   plugins/trunk/unported/cocomment/template/
   plugins/trunk/unported/cocomment/templates/
   plugins/trunk/unported/delicious/
   plugins/trunk/unported/delicious/class/
   plugins/trunk/unported/delicious/install/
   plugins/trunk/unported/delicious/locale/
   plugins/trunk/unported/delicious/plugindelicious.class.php
   plugins/trunk/unported/delicious/readme.txt
   plugins/trunk/unported/delicious/templates/
   plugins/trunk/unported/digestview/
   plugins/trunk/unported/digestview/LICENSE
   plugins/trunk/unported/digestview/README
   plugins/trunk/unported/digestview/plugindigestview.class.php
   plugins/trunk/unported/dnsantispam/
   plugins/trunk/unported/dnsantispam/class/
   plugins/trunk/unported/dnsantispam/locale/
   plugins/trunk/unported/dnsantispam/plugindnsantispam.class.php
   plugins/trunk/unported/dnsantispam/readme.txt
   plugins/trunk/unported/dnsantispam/templates/
   plugins/trunk/unported/ectocustom/
   plugins/trunk/unported/editcomments/
   plugins/trunk/unported/feedreader/
   plugins/trunk/unported/feedreader/class/
   plugins/trunk/unported/feedreader/imgs/
   plugins/trunk/unported/feedreader/locale/
   plugins/trunk/unported/feedreader/pluginfeedreader.class.php
   plugins/trunk/unported/feedreader/readme.txt
   plugins/trunk/unported/feedreader/templates/
   plugins/trunk/unported/gallery/
   plugins/trunk/unported/galleryimages/
   plugins/trunk/unported/galleryimages/plugingalleryimages.class.php
   plugins/trunk/unported/googleanalytics/
   plugins/trunk/unported/googleanalytics/class/
   plugins/trunk/unported/googleanalytics/locale/
   plugins/trunk/unported/googleanalytics/plugingoogleanalytics.class.php
   plugins/trunk/unported/googleanalytics/readme-zh_TW.txt
   plugins/trunk/unported/googleanalytics/readme.txt
   plugins/trunk/unported/googleanalytics/templates/
   plugins/trunk/unported/gravatar/
   plugins/trunk/unported/gravatar/avatars/
   plugins/trunk/unported/gravatar/class/
   plugins/trunk/unported/gravatar/locale/
   plugins/trunk/unported/gravatar/plugingravatar.class.php
   plugins/trunk/unported/gravatar/readme.txt
   plugins/trunk/unported/gravatar/templates/
   plugins/trunk/unported/helloworld/
   plugins/trunk/unported/helloworld/pluginhelloworld.class.php
   plugins/trunk/unported/hostblock/
   plugins/trunk/unported/hostblock/class/
   plugins/trunk/unported/hostblock/locale/
   plugins/trunk/unported/hostblock/pluginhostblock.class.php
   plugins/trunk/unported/hostblock/readme.txt
   plugins/trunk/unported/hostblock/templates/
   plugins/trunk/unported/hotlinkprevention/
   plugins/trunk/unported/jupload/
   plugins/trunk/unported/jupload/class/
   plugins/trunk/unported/jupload/jupload/
   plugins/trunk/unported/jupload/locale/
   plugins/trunk/unported/jupload/pluginjupload.class.php
   plugins/trunk/unported/jupload/readme.txt
   plugins/trunk/unported/jupload/templates/
   plugins/trunk/unported/karma.php
   plugins/trunk/unported/karma/
   plugins/trunk/unported/karma/class/
   plugins/trunk/unported/karma/locale/
   plugins/trunk/unported/karma/pluginkarma.class.php
   plugins/trunk/unported/karma/readme.txt
   plugins/trunk/unported/karma/templates/
   plugins/trunk/unported/linkcounter/
   plugins/trunk/unported/linktracker/
   plugins/trunk/unported/linktracker/class/
   plugins/trunk/unported/linktracker/locale/
   plugins/trunk/unported/linktracker/pluginlinktracker.class.php
   plugins/trunk/unported/linktracker/templates/
   plugins/trunk/unported/mailcentre/
   plugins/trunk/unported/mailcentre/class/
   plugins/trunk/unported/mailcentre/locale/
   plugins/trunk/unported/mailcentre/pluginmailcentre.class.php
   plugins/trunk/unported/mailcentre/templates/
   plugins/trunk/unported/mobile.php
   plugins/trunk/unported/mobile/
   plugins/trunk/unported/mobile/class/
   plugins/trunk/unported/mobile/config/
   plugins/trunk/unported/mobile/pluginmobile.class.php
   plugins/trunk/unported/mobile/templates/
   plugins/trunk/unported/moblog.php
   plugins/trunk/unported/moblog/
   plugins/trunk/unported/moblog/class/
   plugins/trunk/unported/moblog/locale/
   plugins/trunk/unported/moblog/pluginmoblog.class.php
   plugins/trunk/unported/moblog/templates/
   plugins/trunk/unported/moblogbatch.php
   plugins/trunk/unported/moderate/
   plugins/trunk/unported/moderate/class/
   plugins/trunk/unported/moderate/locale/
   plugins/trunk/unported/moderate/pluginmoderate.class.php
   plugins/trunk/unported/moderate/readme.txt
   plugins/trunk/unported/moderate/templates/
   plugins/trunk/unported/movabletype/
   plugins/trunk/unported/nestedcomments/
   plugins/trunk/unported/nestedcomments/pluginnestedcomments.class.php
   plugins/trunk/unported/nofollow/
   plugins/trunk/unported/nofollow/class/
   plugins/trunk/unported/nofollow/locale/
   plugins/trunk/unported/nofollow/pluginnofollow.class.php
   plugins/trunk/unported/nofollow/readme.txt
   plugins/trunk/unported/nofollow/templates/
   plugins/trunk/unported/openid/
   plugins/trunk/unported/plogeshi/
   plugins/trunk/unported/plogeshi/class/
   plugins/trunk/unported/plogeshi/inc/
   plugins/trunk/unported/plogeshi/leeme.txt
   plugins/trunk/unported/plogeshi/locale/
   plugins/trunk/unported/plogeshi/pluginplogeshi.class.php
   plugins/trunk/unported/plogeshi/readme.txt
   plugins/trunk/unported/plogeshi/styles/
   plugins/trunk/unported/plogeshi/templates/
   plugins/trunk/unported/plogpoll/
   plugins/trunk/unported/print/
   plugins/trunk/unported/print/class/
   plugins/trunk/unported/print/locale/
   plugins/trunk/unported/print/pluginprint.class.php
   plugins/trunk/unported/print/templates/
   plugins/trunk/unported/randomimage/
   plugins/trunk/unported/recentcomments/
   plugins/trunk/unported/recentcomments/class/
   plugins/trunk/unported/recentcomments/locale/
   plugins/trunk/unported/recentcomments/pluginrecentcomments.class.php
   plugins/trunk/unported/recentcomments/readme.txt
   plugins/trunk/unported/recentcomments/templates/
   plugins/trunk/unported/recommended/
   plugins/trunk/unported/reflection/
   plugins/trunk/unported/reflection/README.txt
   plugins/trunk/unported/reflection/class/
   plugins/trunk/unported/reflection/locale/
   plugins/trunk/unported/reflection/pluginreflection.class.php
   plugins/trunk/unported/reflection/templates/
   plugins/trunk/unported/remembercommentdata/
   plugins/trunk/unported/secret/
   plugins/trunk/unported/secretblog/
   plugins/trunk/unported/shoutbox/
   plugins/trunk/unported/sitemap/
   plugins/trunk/unported/sitemap/class/
   plugins/trunk/unported/sitemap/locale/
   plugins/trunk/unported/sitemap/pluginsitemap.class.php
   plugins/trunk/unported/sitemap/readme.txt
   plugins/trunk/unported/sitemap/templates/
   plugins/trunk/unported/smileys/
   plugins/trunk/unported/smileys/class/
   plugins/trunk/unported/smileys/icons/
   plugins/trunk/unported/smileys/js/
   plugins/trunk/unported/smileys/locale/
   plugins/trunk/unported/smileys/pluginsmileys.class.php
   plugins/trunk/unported/smileys/readme.txt
   plugins/trunk/unported/smileys/templates/
   plugins/trunk/unported/sociable/
   plugins/trunk/unported/sociable/README.txt
   plugins/trunk/unported/sociable/class/
   plugins/trunk/unported/sociable/locale/
   plugins/trunk/unported/sociable/pluginsociable.class.php
   plugins/trunk/unported/sociable/templates/
   plugins/trunk/unported/stickyposts/
   plugins/trunk/unported/submissions/
   plugins/trunk/unported/submissions/class/
   plugins/trunk/unported/submissions/js/
   plugins/trunk/unported/submissions/locale/
   plugins/trunk/unported/submissions/pluginsubmissions.class.php
   plugins/trunk/unported/submissions/readme.txt
   plugins/trunk/unported/submissions/templates/
   plugins/trunk/unported/tagcloud/
   plugins/trunk/unported/tagcloud/Readme.txt
   plugins/trunk/unported/tagcloud/class/
   plugins/trunk/unported/tagcloud/locale/
   plugins/trunk/unported/tagcloud/plugintagcloud.class.php
   plugins/trunk/unported/tagcloud/templates/
   plugins/trunk/unported/technorati/
   plugins/trunk/unported/templateeditor/
   plugins/trunk/unported/templateeditor/class/
   plugins/trunk/unported/templateeditor/js/
   plugins/trunk/unported/templateeditor/locale/
   plugins/trunk/unported/templateeditor/plugintemplateeditor.class.php
   plugins/trunk/unported/templateeditor/readme.txt
   plugins/trunk/unported/templateeditor/templates/
   plugins/trunk/unported/templatefilter/
   plugins/trunk/unported/textparser/
   plugins/trunk/unported/textparser/class/
   plugins/trunk/unported/textparser/locale/
   plugins/trunk/unported/textparser/plugintextparser.class.php
   plugins/trunk/unported/textparser/readme.txt
   plugins/trunk/unported/textparser/templates/
   plugins/trunk/unported/topcommentposts/
   plugins/trunk/unported/topcommentvisitors/
   plugins/trunk/unported/topreadposts/
   plugins/trunk/unported/toptrackbackposts/
   plugins/trunk/unported/validatetrackback/
   plugins/trunk/unported/validatetrackback/class/
   plugins/trunk/unported/validatetrackback/locale/
   plugins/trunk/unported/validatetrackback/pluginvalidatetrackback.class.php
   plugins/trunk/unported/validatetrackback/readme.txt
   plugins/trunk/unported/validatetrackback/templates/
Removed:
   plugins/trunk/adrotate/
   plugins/trunk/akismet/
   plugins/trunk/apod/
   plugins/trunk/atom.php
   plugins/trunk/atom/
   plugins/trunk/ayearago/
   plugins/trunk/badbehavior/
   plugins/trunk/blogtimes/
   plugins/trunk/categorybrowser/
   plugins/trunk/categorycloud/
   plugins/trunk/clickablecomments/
   plugins/trunk/cocomment/
   plugins/trunk/delicious/
   plugins/trunk/digestview/
   plugins/trunk/dnsantispam/
   plugins/trunk/ectocustom/
   plugins/trunk/editcomments/
   plugins/trunk/feedreader/
   plugins/trunk/gallery/
   plugins/trunk/galleryimages/
   plugins/trunk/googleanalytics/
   plugins/trunk/gravatar/
   plugins/trunk/helloworld/
   plugins/trunk/hostblock/
   plugins/trunk/hotlinkprevention/
   plugins/trunk/jupload/
   plugins/trunk/karma.php
   plugins/trunk/karma/
   plugins/trunk/linkcounter/
   plugins/trunk/linktracker/
   plugins/trunk/mailcentre/
   plugins/trunk/mobile.php
   plugins/trunk/mobile/
   plugins/trunk/moblog.php
   plugins/trunk/moblog/
   plugins/trunk/moblogbatch.php
   plugins/trunk/moderate/
   plugins/trunk/movabletype/
   plugins/trunk/nestedcomments/
   plugins/trunk/nofollow/
   plugins/trunk/openid/
   plugins/trunk/plogeshi/
   plugins/trunk/plogpoll/
   plugins/trunk/print/
   plugins/trunk/randomimage/
   plugins/trunk/recentcomments/
   plugins/trunk/recommended/
   plugins/trunk/reflection/
   plugins/trunk/remembercommentdata/
   plugins/trunk/secret/
   plugins/trunk/secretblog/
   plugins/trunk/shoutbox/
   plugins/trunk/sitemap/
   plugins/trunk/smileys/
   plugins/trunk/sociable/
   plugins/trunk/stickyposts/
   plugins/trunk/submissions/
   plugins/trunk/tagcloud/
   plugins/trunk/technorati/
   plugins/trunk/templateeditor/
   plugins/trunk/templatefilter/
   plugins/trunk/textparser/
   plugins/trunk/topcommentposts/
   plugins/trunk/topcommentvisitors/
   plugins/trunk/topreadposts/
   plugins/trunk/toptrackbackposts/
   plugins/trunk/unported/adrotate/.pluginadrotate.class.php.swp
   plugins/trunk/unported/adrotate/LICENSE
   plugins/trunk/unported/adrotate/README
   plugins/trunk/unported/adrotate/class/
   plugins/trunk/unported/adrotate/pluginadrotate.class.php
   plugins/trunk/unported/adrotate/templates/
   plugins/trunk/unported/akismet/class/
   plugins/trunk/unported/akismet/locale/
   plugins/trunk/unported/akismet/pluginakismet.class.php
   plugins/trunk/unported/akismet/readme.txt
   plugins/trunk/unported/akismet/templates/
   plugins/trunk/unported/apod/class/
   plugins/trunk/unported/apod/locale/
   plugins/trunk/unported/apod/pluginapod.class.php
   plugins/trunk/unported/apod/readme.txt
   plugins/trunk/unported/apod/templates/
   plugins/trunk/unported/atom/class/
   plugins/trunk/unported/atom/locale/
   plugins/trunk/unported/atom/pluginatom.class.php
   plugins/trunk/unported/atom/templates/
   plugins/trunk/unported/badbehavior/bad-behavior/
   plugins/trunk/unported/badbehavior/index.inc.php
   plugins/trunk/unported/badbehavior/locale/
   plugins/trunk/unported/badbehavior/pluginbadbehavior.class.php
   plugins/trunk/unported/badbehavior/readme.txt
   plugins/trunk/unported/blogtimes/class/
   plugins/trunk/unported/blogtimes/js/
   plugins/trunk/unported/blogtimes/locale/
   plugins/trunk/unported/blogtimes/pluginblogtimes.class.php
   plugins/trunk/unported/blogtimes/readme.txt
   plugins/trunk/unported/blogtimes/templates/
   plugins/trunk/unported/categorybrowser/README.txt
   plugins/trunk/unported/categorybrowser/locale/
   plugins/trunk/unported/categorybrowser/plugincategorybrowser.class.php
   plugins/trunk/unported/clickablecomments/pluginclickablecomments.class.php
   plugins/trunk/unported/cocomment/README.txt
   plugins/trunk/unported/cocomment/class/
   plugins/trunk/unported/cocomment/locale/
   plugins/trunk/unported/cocomment/plugincocomment.class.php
   plugins/trunk/unported/cocomment/template/
   plugins/trunk/unported/cocomment/templates/
   plugins/trunk/unported/delicious/class/
   plugins/trunk/unported/delicious/install/
   plugins/trunk/unported/delicious/locale/
   plugins/trunk/unported/delicious/plugindelicious.class.php
   plugins/trunk/unported/delicious/readme.txt
   plugins/trunk/unported/delicious/templates/
   plugins/trunk/unported/digestview/LICENSE
   plugins/trunk/unported/digestview/README
   plugins/trunk/unported/digestview/plugindigestview.class.php
   plugins/trunk/unported/dnsantispam/class/
   plugins/trunk/unported/dnsantispam/locale/
   plugins/trunk/unported/dnsantispam/plugindnsantispam.class.php
   plugins/trunk/unported/dnsantispam/readme.txt
   plugins/trunk/unported/dnsantispam/templates/
   plugins/trunk/unported/feedreader/class/
   plugins/trunk/unported/feedreader/imgs/
   plugins/trunk/unported/feedreader/locale/
   plugins/trunk/unported/feedreader/pluginfeedreader.class.php
   plugins/trunk/unported/feedreader/readme.txt
   plugins/trunk/unported/feedreader/templates/
   plugins/trunk/unported/galleryimages/plugingalleryimages.class.php
   plugins/trunk/unported/googleanalytics/class/
   plugins/trunk/unported/googleanalytics/locale/
   plugins/trunk/unported/googleanalytics/plugingoogleanalytics.class.php
   plugins/trunk/unported/googleanalytics/readme-zh_TW.txt
   plugins/trunk/unported/googleanalytics/readme.txt
   plugins/trunk/unported/googleanalytics/templates/
   plugins/trunk/unported/gravatar/avatars/
   plugins/trunk/unported/gravatar/class/
   plugins/trunk/unported/gravatar/locale/
   plugins/trunk/unported/gravatar/plugingravatar.class.php
   plugins/trunk/unported/gravatar/readme.txt
   plugins/trunk/unported/gravatar/templates/
   plugins/trunk/unported/helloworld/pluginhelloworld.class.php
   plugins/trunk/unported/hostblock/class/
   plugins/trunk/unported/hostblock/locale/
   plugins/trunk/unported/hostblock/pluginhostblock.class.php
   plugins/trunk/unported/hostblock/readme.txt
   plugins/trunk/unported/hostblock/templates/
   plugins/trunk/unported/jupload/class/
   plugins/trunk/unported/jupload/jupload/
   plugins/trunk/unported/jupload/locale/
   plugins/trunk/unported/jupload/pluginjupload.class.php
   plugins/trunk/unported/jupload/readme.txt
   plugins/trunk/unported/jupload/templates/
   plugins/trunk/unported/karma/class/
   plugins/trunk/unported/karma/locale/
   plugins/trunk/unported/karma/pluginkarma.class.php
   plugins/trunk/unported/karma/readme.txt
   plugins/trunk/unported/karma/templates/
   plugins/trunk/unported/linktracker/class/
   plugins/trunk/unported/linktracker/locale/
   plugins/trunk/unported/linktracker/pluginlinktracker.class.php
   plugins/trunk/unported/linktracker/templates/
   plugins/trunk/unported/mailcentre/class/
   plugins/trunk/unported/mailcentre/locale/
   plugins/trunk/unported/mailcentre/pluginmailcentre.class.php
   plugins/trunk/unported/mailcentre/templates/
   plugins/trunk/unported/mobile/class/
   plugins/trunk/unported/mobile/config/
   plugins/trunk/unported/mobile/pluginmobile.class.php
   plugins/trunk/unported/mobile/templates/
   plugins/trunk/unported/moblog/class/
   plugins/trunk/unported/moblog/locale/
   plugins/trunk/unported/moblog/pluginmoblog.class.php
   plugins/trunk/unported/moblog/templates/
   plugins/trunk/unported/moderate/class/
   plugins/trunk/unported/moderate/locale/
   plugins/trunk/unported/moderate/pluginmoderate.class.php
   plugins/trunk/unported/moderate/readme.txt
   plugins/trunk/unported/moderate/templates/
   plugins/trunk/unported/nestedcomments/pluginnestedcomments.class.php
   plugins/trunk/unported/nofollow/class/
   plugins/trunk/unported/nofollow/locale/
   plugins/trunk/unported/nofollow/pluginnofollow.class.php
   plugins/trunk/unported/nofollow/readme.txt
   plugins/trunk/unported/nofollow/templates/
   plugins/trunk/unported/plogeshi/class/
   plugins/trunk/unported/plogeshi/inc/
   plugins/trunk/unported/plogeshi/leeme.txt
   plugins/trunk/unported/plogeshi/locale/
   plugins/trunk/unported/plogeshi/pluginplogeshi.class.php
   plugins/trunk/unported/plogeshi/readme.txt
   plugins/trunk/unported/plogeshi/styles/
   plugins/trunk/unported/plogeshi/templates/
   plugins/trunk/unported/print/class/
   plugins/trunk/unported/print/locale/
   plugins/trunk/unported/print/pluginprint.class.php
   plugins/trunk/unported/print/templates/
   plugins/trunk/unported/recentcomments/class/
   plugins/trunk/unported/recentcomments/locale/
   plugins/trunk/unported/recentcomments/pluginrecentcomments.class.php
   plugins/trunk/unported/recentcomments/readme.txt
   plugins/trunk/unported/recentcomments/templates/
   plugins/trunk/unported/reflection/README.txt
   plugins/trunk/unported/reflection/class/
   plugins/trunk/unported/reflection/locale/
   plugins/trunk/unported/reflection/pluginreflection.class.php
   plugins/trunk/unported/reflection/templates/
   plugins/trunk/unported/sitemap/class/
   plugins/trunk/unported/sitemap/locale/
   plugins/trunk/unported/sitemap/pluginsitemap.class.php
   plugins/trunk/unported/sitemap/readme.txt
   plugins/trunk/unported/sitemap/templates/
   plugins/trunk/unported/smileys/class/
   plugins/trunk/unported/smileys/icons/
   plugins/trunk/unported/smileys/js/
   plugins/trunk/unported/smileys/locale/
   plugins/trunk/unported/smileys/pluginsmileys.class.php
   plugins/trunk/unported/smileys/readme.txt
   plugins/trunk/unported/smileys/templates/
   plugins/trunk/unported/sociable/README.txt
   plugins/trunk/unported/sociable/class/
   plugins/trunk/unported/sociable/locale/
   plugins/trunk/unported/sociable/pluginsociable.class.php
   plugins/trunk/unported/sociable/templates/
   plugins/trunk/unported/submissions/class/
   plugins/trunk/unported/submissions/js/
   plugins/trunk/unported/submissions/locale/
   plugins/trunk/unported/submissions/pluginsubmissions.class.php
   plugins/trunk/unported/submissions/readme.txt
   plugins/trunk/unported/submissions/templates/
   plugins/trunk/unported/tagcloud/Readme.txt
   plugins/trunk/unported/tagcloud/class/
   plugins/trunk/unported/tagcloud/locale/
   plugins/trunk/unported/tagcloud/plugintagcloud.class.php
   plugins/trunk/unported/tagcloud/templates/
   plugins/trunk/unported/templateeditor/class/
   plugins/trunk/unported/templateeditor/js/
   plugins/trunk/unported/templateeditor/locale/
   plugins/trunk/unported/templateeditor/plugintemplateeditor.class.php
   plugins/trunk/unported/templateeditor/readme.txt
   plugins/trunk/unported/templateeditor/templates/
   plugins/trunk/unported/textparser/class/
   plugins/trunk/unported/textparser/locale/
   plugins/trunk/unported/textparser/plugintextparser.class.php
   plugins/trunk/unported/textparser/readme.txt
   plugins/trunk/unported/textparser/templates/
   plugins/trunk/unported/validatetrackback/class/
   plugins/trunk/unported/validatetrackback/locale/
   plugins/trunk/unported/validatetrackback/pluginvalidatetrackback.class.php
   plugins/trunk/unported/validatetrackback/readme.txt
   plugins/trunk/unported/validatetrackback/templates/
   plugins/trunk/validatetrackback/
Log:
unported plugins


Deleted: plugins/trunk/atom.php
===================================================================
--- plugins/trunk/atom.php	2007-01-04 19:39:53 UTC (rev 4489)
+++ plugins/trunk/atom.php	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,52 +0,0 @@
-<?php
-
-	/**
-	 * atom entry point for plog
-	 */
-	 
-    if (!defined( "PLOG_CLASS_PATH" )) {
-        define( "PLOG_CLASS_PATH", dirname(__FILE__)."/");
-    }
-    	 
-	include_once( PLOG_CLASS_PATH."plugins/atom/class/xml/atom/atomserver.class.php" );
-	include_once( PLOG_CLASS_PATH."plugins/atom/class/logger/atomlogger.class.php" );
-    include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
-
-	
-	// some of our settings are in the configuration
-	$config =& Config::getConfig();	
-	
-	AtomLogger::Log( "** Starting **" );
-	AtomLogger::Log( "   Request URI: ".$_SERVER["REQUEST_URI"] );
-	
-	// process the incoming request
-	$server = new AtomServer();
-	$server->processRequest( new AtomRequest());
-	
-	// get the response and send it back to the client
-	$response = $server->getResponse();
-	
-	// this is not good so let's at least show something
-	if( $response == null ) {
-	   // sent the headers only if we are configured to do so
-	   if( !$config->getValue( "atom_dont_set_headers" ))
-		  header( "HTTP 500 Internal Server Error" );
-		  
-		die("Unexpected Atom exception");
-	}
-	
-    // some servers don't like us messing around with headers so let's make it optional
-	if( !$config->getValue( "atom_dont_set_headers" )) {
-	// first send the headers and then the text of the response	
-	   foreach( $response->getHeaders() as $header )
-	       header( $header );
-	       
-	   // send the content type header
-	   header( "Content-Type: ".$response->getContentType());
-	}
-	
-	print( $response->getOutput());
-
-	AtomLogger::Log( "   Response sent: ".$response->getOutput());
-	AtomLogger::Log( "** End **" );
-?>
\ No newline at end of file

Deleted: plugins/trunk/karma.php
===================================================================
--- plugins/trunk/karma.php	2007-01-04 19:39:53 UTC (rev 4489)
+++ plugins/trunk/karma.php	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,14 +0,0 @@
-<?php
-
-    if (!defined( "PLOG_CLASS_PATH" )) {
-        define( "PLOG_CLASS_PATH", dirname(__FILE__)."/");
-    }
-    
-    /**
-     * this file is not really necessary but it can help when creating files
-     * like robots.txt to prevent bots from visiting the karma links and 
-     * increasing/decreasing the karma scores of each one of them. 
-     */ 
-    
-    include_once( PLOG_CLASS_PATH."index.php" );
-?>

Deleted: plugins/trunk/mobile.php
===================================================================
--- plugins/trunk/mobile.php	2007-01-04 19:39:53 UTC (rev 4489)
+++ plugins/trunk/mobile.php	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,28 +0,0 @@
-<?php
-    // please enable the line below if you are having memory issues
-    //ini_set('memory_limit', "16M");
-
-    if (!defined( "PLOG_CLASS_PATH" )) {
-        define( "PLOG_CLASS_PATH", dirname(__FILE__)."/");
-    }
-    if( !defined( "MOBILE_PLOG_CLASS_PATH" )) {
-        define( "MOBILE_PLOG_CLASS_PATH", PLOG_CLASS_PATH."plugins/mobile/" );
-    }
-
-    include_once( MOBILE_PLOG_CLASS_PATH."class/controller/mobilecontroller.class.php" );
-    include_once( PLOG_CLASS_PATH."class/net/http/httpvars.class.php" );
-
-    ini_set("arg_seperator.output", "&amp;");
-    ini_set("magic_quotes_runtime", 0 );
-    
-    //
-    // a few more constants, please change them if needed
-    // 
-    define( "MOBILE_PLOG_NUM_COMMENTS_PER_PAGE", 5 );
-    define( "MOBILE_PLOG_NUM_POSTS_PER_PAGE", 5 );    
-
-    $controller = new MobileController();
-
-    // give control to the, ehem, controller :)
-    $controller->process( HttpVars::getRequest());
-?>

Deleted: plugins/trunk/moblog.php
===================================================================
--- plugins/trunk/moblog.php	2007-01-04 19:39:53 UTC (rev 4489)
+++ plugins/trunk/moblog.php	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,307 +0,0 @@
-<?php
-
-    // define the entry point
-    if (!defined( "PLOG_CLASS_PATH" )) {
-    	define( "PLOG_CLASS_PATH", dirname(__FILE__)."/");
-    }
-    
-    //
-    // comment this out if you don't want this script to log
-    // its steps
-    //
-    define( "MOBLOG_DEBUG", true );
-    
-    // bring in some code that we need
-    include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
-    include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
-    include_once( PLOG_CLASS_PATH."class/file/file.class.php" );
-    include_once( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
-    include_once( PLOG_CLASS_PATH."class/net/http/httpvars.class.php" );
-    include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
-    include_once( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
-    include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
-    include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresources.class.php" );
-    include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
-    include_once( PLOG_CLASS_PATH."plugins/moblog/class/log/mobloglogger.class.php" );
-    include_once( PLOG_CLASS_PATH."plugins/moblog/class/moblog/moblogrequest.class.php" );
-    include_once( PLOG_CLASS_PATH."plugins/moblog/class/moblog/moblogresponse.class.php" );
-	include_once( PLOG_CLASS_PATH."plugins/moblog/class/moblog/moblogconstants.properties.php" );
-	include_once( PLOG_CLASS_PATH."class/template/cachecontrol.class.php" ); 
-	include_once( PLOG_CLASS_PATH."class/dao/userpermissions.class.php" );
-	include_once( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
-	include_once( PLOG_CLASS_PATH."class/dao/articlenotifications.class.php" );	
-	include_once( PLOG_CLASS_PATH."class/file/fileupload.class.php" );
-    
-    // initialize the logging system
-    MoblogLogger::log( "-- Initialized");
-    
-    // get the request
-    $request = HttpVars::getRequest();
-    $message = $request["message"];    
-    if( $message == "" ) {
-        MoblogLogger::log( "There was no message!" );
-        die();
-    }
-    
-    // check if we need to remove any quotes..
-    if( get_magic_quotes_gpc()) {
-        $message = stripslashes( $message );
-    }
-    
-    MoblogLogger::log("-- message --");
-    MoblogLogger::log($message);
-    MoblogLogger::log("-- end --");
-    
-    // parse the message
-    $request = new MoblogRequest( $request );
-    
-    // let's see what we get...    
-    MoblogLogger::log( "user = '".$request->getUser()."'");
-    // uncomment the following if you want to see passwords... :)
-    //MoblogLogger::log( "pass = ".$request->getPassword()."'");
-    MoblogLogger::log( "blog id = ".$request->getBlogId());
-    MoblogLogger::log( "topic = ".$request->getTopic());
-    MoblogLogger::log( "reply to = ".$request->getReplyTo());
-    MoblogLogger::log( "body = ".$request->getBody());
-    
-    //
-    // start processing the message...
-    //
-    
-    //
-    // first, try to authenticate the user
-    //
-    $users = new Users();
-    if( $users->authenticateUser( $request->getUser(), $request->getPassword())) {
-		$userInfo = $users->getUserInfoFromUsername( $request->getUser());
-	}
-    else {
-        $response = new MoblogResponse( $request->getReplyTo(),
-                                  "LifeType Moblog: Error",
-                                  "User or password are not correct."
-                                 );
-        MoblogLogger::log( "User ".$request->getUser()." did not authenticate correctly." );
-        $response->send();         
-        return false;
-    }
-    
-    //
-    // if user was authenticated, then proceed... and the first thing we should do
-    // is see if the blog id is correct and if the user has permissions in that
-    // blog
-    //
-    $blogs = new Blogs();
-    if( $request->getBlogId() == "" ) {
-        // user gave a blog name instead of a blog id
-        $allBlogs = $blogs->getAllBlogs( BLOG_STATUS_ACTIVE, ALL_BLOG_CATEGORIES );
-        if( $allBlogs ) {
-            $found = false;
-            $blogName = stripslashes($request->getBlogName());
-            while( !$found && !empty($allBlogs)) {
-                $blogInfo = array_pop( $allBlogs );
-                if( strcasecmp($blogInfo->getBlog(), $blogName) == 0 ) {
-                    $found = true;
-                    MoblogLogger::log( "Blog '".$blogInfo->getBlog()."' found with id = '".$blogInfo->getId()."'");
-                }
-            }
-            
-            if( !$found ) {
-                $response = new MoblogResponse( $request->getReplyTo(),
-                                          "LifeType Moblog: Error",
-                                          "Incorrect blog."
-                                         );
-                MoblogLogger::log( "Blog ".$request->getBlogId()." does not exist." );
-                $response->send();         
-                return false;                
-            }
-        }
-    }
-    else {
-        $blogInfo = $blogs->getBlogInfo( $request->getBlogId());
-        if( !$blogInfo ) {
-            $response = new MoblogResponse( $request->getReplyTo(),
-                                      "LifeType Moblog: Error",
-                                      "Incorrect blog identifier."
-                                     );
-            MoblogLogger::log( "Blog ".$request->getBlogId()." is not valid." );
-            $response->send();         
-            return false;    
-        }
-    }
-    
-    //
-    // check if the plugin has been enabled for this blog
-    //
-    $blogSettings = $blogInfo->getSettings();
-    $pluginEnabled = $blogSettings->getValue( "plugin_moblog_enabled" );
-    if( !$pluginEnabled ) {
-        $response = new MoblogResponse( $request->getReplyTo(),
-                                  "LifeType Moblog: Error",
-                                  "The plugin has not been enabled for this blog."
-                                 );
-        MoblogLogger::log( "Plugin not enabled for blog ".$request->getBlogId());
-        $response->send();         
-        return false;
-    }
-    
-    //
-    // now check if the user has permissions over the blog
-    //
-$userPermissions = new UserPermissions();
-    $userPerm = $userPermissions->getUserPermissions( $userInfo->getId(), $blogInfo->getId());
-    if( !$userPerm ) {
-        $response = new MoblogResponse( $request->getReplyTo(),
-                                  "LifeType Moblog: Error",
-                                  "You have no permissions in the given blog."
-                                 );
-        MoblogLogger::log( "User '".$request->getUser()."' has no permissions in blog ".$request->getBlogId());
-        $response->send();         
-        return false;
-    }
-    
-    //
-    // if everything's correct, then we can proceed to find if the category 
-    // chosen by the user exists. Since there is no way to fetch a category by its name,
-    // we'll have to fetch them all and loop through them
-    //
-    $articleCategories = new ArticleCategories();    
-    // load the category as defined in the plugin settings page
-    $categoryId = $blogSettings->getValue( "plugin_moblog_article_category_id" );
-    $category = $articleCategories->getCategory( $categoryId, $blogInfo->getId());
-    // if there was no such category, we should send an error and to make it more useful, send
-    // as part of the error message the list of available categories
-    if( !$category ) {
-        $response = new MoblogResponse( $request->getReplyTo(),
-                                  "LifeType Moblog: Error",
-                                  "The category does not exist."
-                                );
-        MoblogLogger::log( "User '".$request->getUser()."' tried to use category '".$categoryId.
-                     "' which does not exist.");
-        $response->send(); 
-        return false;                
-    }
-    
-    //
-    // finally, add the resources to the database
-    //
-    
-    // first, create a new album to hold these attachments
-    $albums = new GalleryAlbums();
-    $userAlbums = $albums->getUserAlbums( $blogInfo->getId());
-    $t = new Timestamp();    
-    $albumId = $blogSettings->getValue( "plugin_moblog_gallery_resource_album_id" );
-    $album = $albums->getAlbum( $albumId, $blogInfo->getId());
-    // check if the album was loaded
-    if( !$album ) {
-        $response = new MoblogResponse( $request->getReplyTo(),
-                                  "LifeType Moblog: Error",
-                                  "The album does not exist."
-                                );
-        MoblogLogger::log( "User '".$request->getUser()."' tried to use album '".$albumId.
-                     "' which does not exist.");
-        $response->send(); 
-        return false;                
-    }
-    MoblogLogger::log( "Adding resources to album ".$album->getName());    
-    
-    $attachments = $request->getAttachments();
-    $res = new GalleryResources();
-    $resourceIds = Array();
-    foreach( $attachments as $attachment ) {
-        MoblogLogger::log( "-- Processing attachment ".$attachment->getFileName());
-        $result = $res->addResource( $blogInfo->getId(), $albumId, $attachment->getFileName(), $attachment );
-        MoblogLogger::log( "   Completed: result = $result" );
-        if( $result ) {
-            // keep this for later
-            array_push( $resourceIds, $result );
-        }
-    }
-    
-    //
-    // if everything went fine, we can now proceed and publish the post, finally!!!! :)
-    //
-    
-    // before adding the article, we need to add some additional markup 
-    // with links to the attachments that were sent
-    $rg = $blogInfo->getBlogRequestGenerator();
-    $postBody = $request->getBody()."<br/>";
-    $numItems = count($resourceIds);
-    $curItem = 0;
-    foreach( $resourceIds as $resId ) {
-        $resource = $res->getResource( $resId );
-        $markup = "<a id=\"res_".$resId."\" href=\"".$rg->resourceLink( $resource )."\">";        
-        if( $resource->isImage()) {
-            $previewType = $blogSettings->getValue( "plugin_moblog_resource_preview_type" );
-            if( $previewType == MOBLOG_EMBED_MEDIUM_PREVIEW ) {
-                $link = $rg->resourceMediumSizePreviewLink( $resource );
-                $cssClass = "res_image_medium";
-            }
-            elseif( $previewType == MOBLOG_EMBED_FULL_SIZE_VIEW ) {
-                $link = $rg->resourceDownloadLink( $resource );
-                $cssClass = "res_image";
-            }
-            else {
-                $link = $rg->resourcePreviewLink( $resource );          
-                $cssClass = "res_image_small";
-            }
-                
-            $markup .= "<img class=\"$cssClass\" src=\"$link\" alt=\"".$resource->getDescription()."\" />";
-        }
-        else {
-            $markup .= $resource->getDescription();
-        }
-        $markup .= "</a>";
-        $curItem++;
-        if( $curItem < $numItems ) 
-            $markup .= "<br/><br/>";        
-        MoblogLogger::log( "Adding markup $markup" );
-        $postBody .= $markup;
-        $postBody = TextFilter::autoP( trim( $postBody ));
-        $resNames .= $resource->getDescription();        
-    }
-    
-    // add the article
-    $articles = new Articles();
-    $article = new Article( $request->getTopic(),
-                            $postBody,
-                            Array( $category->getId()),
-                            $userInfo->getId(),
-                            $blogInfo->getId(),
-                            POST_STATUS_PUBLISHED,
-                            0
-                            );
-    $article->setDateObject( new Timestamp());
-    // enable or disable comments by default depending on the current config
-    $commentsEnabled = $blogSettings->getValue( "comments_enabled" );
-    $article->setCommentsEnabled( $commentsEnabled );
-    
-    $result = $articles->addArticle( $article );
-    
-    // add an article notification
-    $notifications = new ArticleNotifications();
-    $notifications->addNotification( $result, $blogInfo->getId(), $userInfo->getId());
-    
-    // reset the cache in case it is enabled
-    CacheControl::resetBlogCache( $blogInfo->getId());    
-    
-    if( !$result ) {
-        $response = new MoblogResponse( $request->getReplyTo(),
-                                  "LifeType Moblog: Error",
-                                  "There was an error adding the post to the database."
-                                 );
-        MoblogLogger::log( "There was an error adding the post to the database.");
-    }
-    else {
-        $responseBody = "Post was successfully added to the database with topic '".$request->getTopic()."\n\n";
-        if( count($request->getAttachments()) > 0 ) {
-            $responseBody .= "The following attachments have been added:\n\n";
-            $responseBody .= $resNames;
-        }
-        $response = new MoblogResponse( $request->getReplyTo(), "pLog Moblog: Success", $responseBody ); 
-        MoblogLogger::log( "Post was successfully added to the database." );
-    }
-    $response->send();
-    
-    // end of it...
-    MoblogLogger::log( "-- End");    
-?>

Deleted: plugins/trunk/moblogbatch.php
===================================================================
--- plugins/trunk/moblogbatch.php	2007-01-04 19:39:53 UTC (rev 4489)
+++ plugins/trunk/moblogbatch.php	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,65 +0,0 @@
-<?php
-
-    // define the entry point
-    if (!defined( "PLOG_CLASS_PATH" )) {
-    	define( "PLOG_CLASS_PATH", dirname(__FILE__)."/");
-    }
-    
-    // bring in some code that we need
-    include_once( PLOG_CLASS_PATH."plugins/moblog/class/PEAR/Net/POP3.php" );
-    include_once( PLOG_CLASS_PATH."plugins/moblog/class/PEAR/HTTP/Request.php");
-    include_once( PLOG_CLASS_PATH."class/net/baserequestgenerator.class.php" ); 
-    include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
-
-    $config =& Config::getConfig();
-
-	$mailServer = $config->getValue('plugin_moblog_mailserver');
-	$port = $config->getValue('plugin_moblog_port');
-	$userName = $config->getValue('plugin_moblog_username');
-	$password = $config->getValue('plugin_moblog_password');
-
-    // pop3 connection and log-in
-    $pop3 =& new Net_POP3();
-
-	if(PEAR::isError( $ret= $pop3->connect($mailServer , $port ) )) {
-    	echo "ERROR: " . $ret->getMessage() . "\n";
-    	exit();
-	}
-
-	if(PEAR::isError( $ret= $pop3->login($userName , $password, 'USER' ) )){
-	    echo "ERROR: " . $ret->getMessage() . "\n";
-	    exit();
-	}
-   
-	$messageNumber = $pop3->numMsg();
-	
-	if ($messageNumber == 0) {
-	    $pop3->disconnect();
-	    die();
-    } else {  
-        // get message list
-        $messageList = $pop3->getListing();
-        $messages = Array();
-		         
-        for ($cnt = 0; $cnt < count($messageList); $cnt++) {
-            $messages[$cnt] = $pop3->getMsg($messageList[$cnt]['msg_id']);
-            $pop3->deleteMsg($messageList[$cnt]['msg_id']);
-        }
-		
-        // pop3 disconnect
-      	$pop3->disconnect();
-
-	    $config->setValue( "plugin_moblog_lastupdate", time() );
-        $config->save();
-        
-        $url = &new BaseRequestGenerator();
-
-	    for ($cnt = 0; $cnt < count($messages); $cnt++) {
-			$req = &new HTTP_Request($url->getBaseUrl(false)."/moblog.php");
-			$req->setMethod(HTTP_REQUEST_METHOD_POST);
-			$req->addPostData('message', $messages[$cnt]);
-			$req->sendRequest();
-			$response = $req->getResponseBody();
-		}
-    }
-?>
\ No newline at end of file

Copied: plugins/trunk/unported/adrotate (from rev 4487, plugins/trunk/adrotate)

Deleted: plugins/trunk/unported/adrotate/.pluginadrotate.class.php.swp
===================================================================
(Binary files differ)

Copied: plugins/trunk/unported/adrotate/.pluginadrotate.class.php.swp (from rev 4488, plugins/trunk/adrotate/.pluginadrotate.class.php.swp)

Deleted: plugins/trunk/unported/adrotate/LICENSE
===================================================================
--- plugins/trunk/adrotate/LICENSE	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/adrotate/LICENSE	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,142 +0,0 @@
-Version 2.1, February 1999
-
-    Copyright (C) 1991, 1999 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
-
-    [This is the first released version of the Lesser GPL. It also counts as the successor of the GNU Library Public License, version 2, hence the version number 2.1.]
-
-Preamble
-
-The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public Licenses are intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users.
-
-This license, the Lesser General Public License, applies to some specially designated software packages--typically libraries--of the Free Software Foundation and other authors who decide to use it. You can use it too, but we suggest you first think carefully about whether this license or the ordinary General Public License is the better strategy to use in any particular case, based on the explanations below.
-
-When we speak of free software, we are referring to freedom of use, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish); that you receive source code or can get it if you want it; that you can change the software and use pieces of it in new free programs; and that you are informed that you can do these things.
-
-To protect your rights, we need to make restrictions that forbid distributors to deny you these rights or to ask you to surrender these rights. These restrictions translate to certain responsibilities for you if you distribute copies of the library or if you modify it.
-
-For example, if you distribute copies of the library, whether gratis or for a fee, you must give the recipients all the rights that we gave you. You must make sure that they, too, receive or can get the source code. If you link other code with the library, you must provide complete object files to the recipients, so that they can relink them with the library after making changes to the library and recompiling it. And you must show them these terms so they know their rights.
-
-We protect your rights with a two-step method: (1) we copyright the library, and (2) we offer you this license, which gives you legal permission to copy, distribute and/or modify the library.
-
-To protect each distributor, we want to make it very clear that there is no warranty for the free library. Also, if the library is modified by someone else and passed on, the recipients should know that what they have is not the original version, so that the original author's reputation will not be affected by problems that might be introduced by others.
-
-Finally, software patents pose a constant threat to the existence of any free program. We wish to make sure that a company cannot effectively restrict the users of a free program by obtaining a restrictive license from a patent holder. Therefore, we insist that any patent license obtained for a version of the library must be consistent with the full freedom of use specified in this license.
-
-Most GNU software, including some libraries, is covered by the ordinary GNU General Public License. This license, the GNU Lesser General Public License, applies to certain designated libraries, and is quite different from the ordinary General Public License. We use this license for certain libraries in order to permit linking those libraries into non-free programs.
-
-When a program is linked with a library, whether statically or using a shared library, the combination of the two is legally speaking a combined work, a derivative of the original library. The ordinary General Public License therefore permits such linking only if the entire combination fits its criteria of freedom. The Lesser General Public License permits more lax criteria for linking other code with the library.
-
-We call this license the "Lesser" General Public License because it does Less to protect the user's freedom than the ordinary General Public License. It also provides other free software developers Less of an advantage over competing non-free programs. These disadvantages are the reason we use the ordinary General Public License for many libraries. However, the Lesser license provides advantages in certain special circumstances.
-
-For example, on rare occasions, there may be a special need to encourage the widest possible use of a certain library, so that it becomes a de-facto standard. To achieve this, non-free programs must be allowed to use the library. A more frequent case is that a free library does the same job as widely used non-free libraries. In this case, there is little to gain by limiting the free library to free software only, so we use the Lesser General Public License.
-
-In other cases, permission to use a particular library in non-free programs enables a greater number of people to use a large body of free software. For example, permission to use the GNU C Library in non-free programs enables many more people to use the whole GNU operating system, as well as its variant, the GNU/Linux operating system.
-
-Although the Lesser General Public License is Less protective of the users' freedom, it does ensure that the user of a program that is linked with the Library has the freedom and the wherewithal to run that program using a modified version of the Library.
-
-The precise terms and conditions for copying, distribution and modification follow. Pay close attention to the difference between a "work based on the library" and a "work that uses the library". The former contains code derived from the library, whereas the latter must be combined with the library in order to run.
-TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
-0. This License Agreement applies to any software library or other program which contains a notice placed by the copyright holder or other authorized party saying it may be distributed under the terms of this Lesser General Public License (also called "this License"). Each licensee is addressed as "you".
-
-A "library" means a collection of software functions and/or data prepared so as to be conveniently linked with application programs (which use some of those functions and data) to form executables.
-
-The "Library", below, refers to any such software library or work which has been distributed under these terms. A "work based on the Library" means either the Library or any derivative work under copyright law: that is to say, a work containing the Library or a portion of it, either verbatim or with modifications and/or translated straightforwardly into another language. (Hereinafter, translation is included without limitation in the term "modification".)
-
-"Source code" for a work means the preferred form of the work for making modifications to it. For a library, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the library.
-
-Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running a program using the Library is not restricted, and output from such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does.
-
-1. You may copy and distribute verbatim copies of the Library's complete source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and distribute a copy of this License along with the Library.
-
-You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.
-
-2. You may modify your copy or copies of the Library or any portion of it, thus forming a work based on the Library, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:
-
-    a) The modified work must itself be a software library.
-
-    b) You must cause the files modified to carry prominent notices stating that you changed the files and the date of any change.
-
-    c) You must cause the whole of the work to be licensed at no charge to all third parties under the terms of this License.
-
-    d) If a facility in the modified Library refers to a function or a table of data to be supplied by an application program that uses the facility, other than as an argument passed when the facility is invoked, then you must make a good faith effort to ensure that, in the event an application does not supply such function or table, the facility still operates, and performs whatever part of its purpose remains meaningful.
-
-    (For example, a function in a library to compute square roots has a purpose that is entirely well-defined independent of the application. Therefore, Subsection 2d requires that any application-supplied function or table used by this function must be optional: if the application does not supply it, the square root function must still compute square roots.)
-
-    These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Library, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Library, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.
-
-    Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Library.
-
-    In addition, mere aggregation of another work not based on the Library with the Library (or with a work based on the Library) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 
-
-3. You may opt to apply the terms of the ordinary GNU General Public License instead of this License to a given copy of the Library. To do this, you must alter all the notices that refer to this License, so that they refer to the ordinary GNU General Public License, version 2, instead of to this License. (If a newer version than version 2 of the ordinary GNU General Public License has appeared, then you can specify that version instead if you wish.) Do not make any other change in these notices.
-
-Once this change is made in a given copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy.
-
-This option is useful when you wish to copy part of the code of the Library into a program that is not a library.
-
-4. You may copy and distribute the Library (or a portion or derivative of it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange.
-
-If distribution of object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place satisfies the requirement to distribute the source code, even though third parties are not compelled to copy the source along with the object code.
-
-5. A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a work, in isolation, is not a derivative work of the Library, and therefore falls outside the scope of this License.
-
-However, linking a "work that uses the Library" with the Library creates an executable that is a derivative of the Library (because it contains portions of the Library), rather than a "work that uses the library". The executable is therefore covered by this License. Section 6 states terms for distribution of such executables.
-
-When a "work that uses the Library" uses material from a header file that is part of the Library, the object code for the work may be a derivative work of the Library even though the source code is not. Whether this is true is especially significant if the work can be linked without the Library, or if the work is itself a library. The threshold for this to be true is not precisely defined by law.
-
-If such an object file uses only numerical parameters, data structure layouts and accessors, and small macros and small inline functions (ten lines or less in length), then the use of the object file is unrestricted, regardless of whether it is legally a derivative work. (Executables containing this object code plus portions of the Library will still fall under Section 6.)
-
-Otherwise, if the work is a derivative of the Library, you may distribute the object code for the work under the terms of Section 6. Any executables containing that work also fall under Section 6, whether or not they are linked directly with the Library itself.
-
-6. As an exception to the Sections above, you may also combine or link a "work that uses the Library" with the Library to produce a work containing portions of the Library, and distribute that work under terms of your choice, provided that the terms permit modification of the work for the customer's own use and reverse engineering for debugging such modifications.
-
-You must give prominent notice with each copy of the work that the Library is used in it and that the Library and its use are covered by this License. You must supply a copy of this License. If the work during execution displays copyright notices, you must include the copyright notice for the Library among them, as well as a reference directing the user to the copy of this License. Also, you must do one of these things:
-
-    a) Accompany the work with the complete corresponding machine-readable source code for the Library including whatever changes were used in the work (which must be distributed under Sections 1 and 2 above); and, if the work is an executable linked with the Library, with the complete machine-readable "work that uses the Library", as object code and/or source code, so that the user can modify the Library and then relink to produce a modified executable containing the modified Library. (It is understood that the user who changes the contents of definitions files in the Library will not necessarily be able to recompile the application to use the modified definitions.)
-
-    b) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (1) uses at run time a copy of the library already present on the user's computer system, rather than copying library functions into the executable, and (2) will operate properly with a modified version of the library, if the user installs one, as long as the modified version is interface-compatible with the version that the work was made with.
-
-    c) Accompany the work with a written offer, valid for at least three years, to give the same user the materials specified in Subsection 6a, above, for a charge no more than the cost of performing this distribution.
-
-    d) If distribution of the work is made by offering access to copy from a designated place, offer equivalent access to copy the above specified materials from the same place.
-
-    e) Verify that the user has already received a copy of these materials or that you have already sent this user a copy.
-
-For an executable, the required form of the "work that uses the Library" must include any data and utility programs needed for reproducing the executable from it. However, as a special exception, the materials to be distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.
-
-It may happen that this requirement contradicts the license restrictions of other proprietary libraries that do not normally accompany the operating system. Such a contradiction means you cannot use both them and the Library together in an executable that you distribute.
-
-7. You may place library facilities that are a work based on the Library side-by-side in a single library together with other library facilities not covered by this License, and distribute such a combined library, provided that the separate distribution of the work based on the Library and of the other library facilities is otherwise permitted, and provided that you do these two things:
-
-    a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities. This must be distributed under the terms of the Sections above.
-
-    b) Give prominent notice with the combined library of the fact that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work.
-
-8. You may not copy, modify, sublicense, link with, or distribute the Library except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, link with, or distribute the Library is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.
-
-9. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Library or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Library (or any work based on the Library), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Library or works based on it.
-
-10. Each time you redistribute the Library (or any work based on the Library), the recipient automatically receives a license from the original licensor to copy, distribute, link with or modify the Library subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties with this License.
-
-11. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Library at all. For example, if a patent license would not permit royalty-free redistribution of the Library by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Library.
-
-If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply, and the section as a whole is intended to apply in other circumstances.
-
-It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice.
-
-This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.
-
-12. If the distribution and/or use of the Library is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Library under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License.
-
-13. The Free Software Foundation may publish revised and/or new versions of the Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
-
-Each version is given a distinguishing version number. If the Library specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Library does not specify a license version number, you may choose any version ever published by the Free Software Foundation.
-
-14. If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.
-
-NO WARRANTY
-
-15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
-
-16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 

Copied: plugins/trunk/unported/adrotate/LICENSE (from rev 4488, plugins/trunk/adrotate/LICENSE)

Deleted: plugins/trunk/unported/adrotate/README
===================================================================
--- plugins/trunk/adrotate/README	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/adrotate/README	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,25 +0,0 @@
-
-pLog AdRotate v0.1 README
-
-  AdRotate is a simple pLog plugin that will display a random ad within its
-database whenever generateAdLink is called. It currently only supports banner
-ads and does not allow specification of the properties of the banner ads.
-  With its limitations, it is still fully supported in the pLog Admin Interface
-and designed with security (XSS) as the upmost priority. This plugin will keep
-track of impressions of each specific ad, and will also keep track of the click
-through rate.
-
-This can be inserted into your smarty templates very simply. The following
-code is the code I use to insert it into pLog.
-
---
-<!-- AdRotate Plugin -->
-{assign var="currentAd" value=$adrotate->generateAdLink()}
-<a class="plain"
-  href="{$url->getBaseUrl()}/?op=adrotateRedirect&redir={$currentAd->getClickMD5()}"
-  target="_blank">
-  <img class="plain" src="{$currentAd->getImageUrl()}"
-       alt="{$currentAd->getAltText()}"/>
-</a>
-<!-- End AdRotate Plugin -->
---

Copied: plugins/trunk/unported/adrotate/README (from rev 4488, plugins/trunk/adrotate/README)

Copied: plugins/trunk/unported/adrotate/class (from rev 4488, plugins/trunk/adrotate/class)

Deleted: plugins/trunk/unported/adrotate/pluginadrotate.class.php
===================================================================
--- plugins/trunk/adrotate/pluginadrotate.class.php	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/adrotate/pluginadrotate.class.php	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,87 +0,0 @@
-<?php
-/*
-PluginAdRotate
-Copyright (C) 2005 Matthew Wood
-
-This library is free software; you can redistribute it and/or modify it 
-under the terms of the GNU Lesser General Public License as published by 
-the Free Software Foundation; either version 2.1 of the License, or 
-(at your option) any later version.
-*/
-
-include_once( PLOG_CLASS_PATH."class/plugin/pluginbase.class.php");
-include_once(PLOG_CLASS_PATH.
-    "plugins/adrotate/class/dao/adrotateadsstats.class.php");
-include_once(PLOG_CLASS_PATH.
-    "plugins/adrotate/class/dao/adrotateadstats.class.php");
-	
-	class PluginAdRotate extends PluginBase
-	{
-		function PluginAdRotate()
-		{
-			$this->PluginBase();		
-		
-      /*setup basic information */
-			$this->id = "adrotate";
-			$this->desc = "Allows site admins to display and maintain simple ad campaigns on their pLog site";
-			$this->author = "woodzy";
-			$this->locale = Array();				
-			
-			/*register menu entries*/
-			$this->addMenuEntry( "/menu/Manage", "AdRotate", "", "" );	
-			$this->addMenuEntry( "/menu/Manage/AdRotate", "ViewAdList", "?op=adrotateViewStats" );
-			
-			/* register needed actions */
-			$this->registerAdminAction( "adrotateViewStats", "AdminAdRotateViewStats" );
-			$this->registerAdminAction( "adrotateAddAd", "AdminAdRotateAddAdAction" );			
-			$this->registerAdminAction( "adrotateRemoveAd", "AdminAdRotateRemoveAdAction" );
-            $this->registerBlogAction( "adrotateRedirect", "AdRotateRedirectAction" );
-		}
-		
-		/**
-		 * @private
-		 */
-		function install()
-		{
-		  include_once( PLOG_CLASS_PATH."class/database/db.class.php" );
-			/** 
-       * create the table that will keep track of current banner campaigns
-       * and usage statistics for the administrator
-       */
-      $fields = "
-            id I(10) NOTNULL PRIMARY AUTOINCREMENT,
-						impressions I(10) NOTNULL,
-						clicks I(10) NOTNULL,
-						imageurl TEXT NOTNULL,
-						redirecturl TEXT NOTNULL,
-						clickmd5 C(34) NOTNULL KEY,
-						alttext TEXT NOTNULL,
-						type I(10) NOTNULL,
-						dateadded I(11) NOTNULL";
-
-				  
-			$db =& Db::getDb();				  
-			$dbPrefix = Db::getPrefix();
-			$tableName = $dbPrefix."adrotate_statistics";
-
-      /*lifted from other plugins*/
-			// create the data dictionary and create the table if necessary
-      $dict = NewPDbDataDictionary( $db );
-      $sqlArray = $dict->ChangeTableSQL( $tableName, $fields );
-      $result = $dict->ExecuteSQLArray( $sqlArray );
-      if( !$result )
-        die( "There was an error creating the plugin tables!" );			
-      /*endlift*/
-		}			
-    function generateAdLink()
-    {
-      $aras = new AdRotateAdsStats();
-      $ad = $aras->getRandomAd();
-      $aras->incImpressions($ad->getId());
-
-			return $ad;
-    }
-	}
-/* vim:ts=2:sw=2:cin:ai:expandtab:
-*/ 
-?>

Copied: plugins/trunk/unported/adrotate/pluginadrotate.class.php (from rev 4488, plugins/trunk/adrotate/pluginadrotate.class.php)

Copied: plugins/trunk/unported/adrotate/templates (from rev 4488, plugins/trunk/adrotate/templates)

Copied: plugins/trunk/unported/akismet (from rev 4487, plugins/trunk/akismet)

Copied: plugins/trunk/unported/akismet/class (from rev 4488, plugins/trunk/akismet/class)

Copied: plugins/trunk/unported/akismet/locale (from rev 4488, plugins/trunk/akismet/locale)

Deleted: plugins/trunk/unported/akismet/pluginakismet.class.php
===================================================================
--- plugins/trunk/akismet/pluginakismet.class.php	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/akismet/pluginakismet.class.php	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,67 +0,0 @@
-<?php
-
-    /*
-    Copyright 2006 Paul Westbrook (paul at westbrooks.org)
-    
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-    
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-    
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-    */
-
-	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/akismet/class/security/akismetfilter.class.php" );
-
-	class PluginAkismet extends PluginBase
-	{
-		var $pluginEnabled;
-		
-		function PluginAkismet()
-		{
-			$this->PluginBase();
-
-			$this->id      = "akismet";
-			$this->desc    = "Akismet checks your comments against the Akismet web serivce to see if they look like spam or not.";
-			$this->author  = "Paul Westbrook (Akismet php library provided by <a href=\"http://miphp.net/blog/view/php4_akismet_class\">Bret Kuhns</a>)";
-			$this->locales = Array( "en_UK" );
-
-			$this->init();
-		}
-
-		function init()
-		{
-            $this->registerFilter( "AkismetFilter" );
-
-            $this->registerAdminAction( "akismet", "PluginAkismetConfigAction" );
-			$this->registerAdminAction( "updateAkismetConfig", "PluginAkismetUpdateConfigAction" );
-			
-		    include_once( PLOG_CLASS_PATH."class/template/menu/menu.class.php" );
-
-			$menu =& Menu::getMenu();
-			if( !$menu->entryExists( "/menu/controlCenter/manageAntiSpamPlugins" ))						
-				$this->addMenuEntry( "/menu/controlCenter", "manageAntiSpamPlugins", "", "", true, false );			
-            $this->addMenuEntry( "/menu/controlCenter/manageAntiSpamPlugins", "akismet", "?op=akismet", "" );            
-		}
-
-		function register()
-		{
-		    $blogSettings = $this->blogInfo->getSettings();
-			$this->pluginEnabled = $blogSettings->getValue( "plugin_akismet_enabled" );
-		}
-
-	    function isEnabled()
-	    {
-	        return $this->pluginEnabled;
-	    }
-	}
-?>
\ No newline at end of file

Copied: plugins/trunk/unported/akismet/pluginakismet.class.php (from rev 4488, plugins/trunk/akismet/pluginakismet.class.php)

Deleted: plugins/trunk/unported/akismet/readme.txt
===================================================================
--- plugins/trunk/akismet/readme.txt	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/akismet/readme.txt	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,11 +0,0 @@
-Plugin: Akismet
-Author: Paul Westbrook
-Release Date: 08/27/2006
-Version: 1.0
-
-Akismet checks your comments against the Akismet web serivce to see if they look like spam or not.
-
-This plugin requires a WordPress API key.  To obtain go to: http://wordpress.com/api-keys/
-
-Install:
-1. Configurate your Akismet plugin in your LifeType control center
\ No newline at end of file

Copied: plugins/trunk/unported/akismet/readme.txt (from rev 4488, plugins/trunk/akismet/readme.txt)

Copied: plugins/trunk/unported/akismet/templates (from rev 4488, plugins/trunk/akismet/templates)

Copied: plugins/trunk/unported/apod (from rev 4487, plugins/trunk/apod)

Copied: plugins/trunk/unported/apod/class (from rev 4488, plugins/trunk/apod/class)

Copied: plugins/trunk/unported/apod/locale (from rev 4488, plugins/trunk/apod/locale)

Deleted: plugins/trunk/unported/apod/pluginapod.class.php
===================================================================
--- plugins/trunk/apod/pluginapod.class.php	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/apod/pluginapod.class.php	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,97 +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."class/dao/articles.class.php" );
-    include_once( PLOG_CLASS_PATH."class/data/Date.class.php" );
-    
-    /**
-	* Plugin that offers features to get all articles from specific article cateogries 
-	* as announcements and sticky articles.
-	*/
-    class Pluginapod extends PluginBase
-    {
-        var $pluginEnabled;
-        
-        var $width, $height;			
-
-
-        function Pluginapod()
-        {
-			$this->PluginBase();
-			
-            $this->id = "apod";
-            $this->author = "Jase Chen";
-            $this->desc = "";
-  
-            $this->locales = Array( "en_UK" , "zh_TW" );
-            
-            $this->init();
-        }
-
-		function init()
-		{
-			$this->registerAdminAction( "apod", "PluginapodConfigAction" );
-			$this->registerAdminAction( "updateapod", "PluginapodUpdateConfigAction" );			
-            $this->addMenuEntry( "/menu/controlCenter/manageSettings", "apod", "?op=apod");
-		}
-
-		function register()
-		{
-		    $blogSettings = $this->blogInfo->getSettings();
-		    $this->pluginEnabled = $blogSettings->getValue( "plugin_apod_enabled" );
-
-		    $this->width = $blogSettings->getValue( "plugin_apod_width" );
-		    $this->height = $blogSettings->getValue( "plugin_apod_height" );
-
-   		}
-	    
-  	    function isEnabled()
-    	{
-        	return $this->pluginEnabled;
-    	}
-
-        /**
-		* Returns the stickyposts articles object of current blog
-		*/
-        function getPic($web_url)
-        {
-        	
-
-          if ($fp = @fopen($web_url, "r")) {
-            while (!feof($fp)) $data .= fgets($fp, 128);
-            fclose($fp);
-          }
-
-          $item_pic_regexp = "%<IMG SRC=\"(.+?)\"%";
-          preg_match_all($item_pic_regexp, $data, $item_pic_items);
-          $img = "http://antwrp.gsfc.nasa.gov/apod/".$item_pic_items[1][0]; 
-  	      return $img;
-        }
-
-        function getTitle($web_url)
-        {
-        	
-          if ($fp = @fopen($web_url, "r")) {
-            while (!feof($fp)) $data .= fgets($fp, 128);
-            fclose($fp);
-          }
-
-          $item_title_regexp = "%<b>(.+?)</b> <br>%";
-          preg_match_all($item_title_regexp, $data, $item_title_items);
-          $title = $item_title_items[1][0]; 
-  	      return $title;
-        }
-
-        function width()
-        {
-          return $this->width;
-        }                
-
-        function height()
-        {
-          return $this->height;
-        }                
-
-    }
-?>

Copied: plugins/trunk/unported/apod/pluginapod.class.php (from rev 4488, plugins/trunk/apod/pluginapod.class.php)

Deleted: plugins/trunk/unported/apod/readme.txt
===================================================================
--- plugins/trunk/apod/readme.txt	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/apod/readme.txt	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,41 +0,0 @@
-Plugin: APOD
-Author: Jase Chen
-E-Mail: jase.chen at gmail.com
-Release Date: 2005/12/01
-Version: 1.0
-License: GPL
-
-
-Description:
-  This plugin offer the Chart from Astronomy Picture of the Day (APOD, http://antwrp.gsfc.nasa.gov/apod/astropix.html). 
-You can change the height and width.
-
-
-Configuration:
-¡EIn ControlCenter
-  - configure this plugin in controlcetner
-  - you can setup the size with width and height. the default value is 130 x 183 pixel.
-¡EIn Template File (for example, the 'main_right.template' with the 'dabu' template)
-  - copy the bellow code into the 'main_right.template'
-
-/* CODE BEGIN */
- {if $apod->isEnabled()}
-<div class="Sidetitle"> 
- <h4> {$locale->tr("apod")} </h4>
-</div>  
-<p> <center>
-<a target='_blank' href='http://antwrp.gsfc.nasa.gov/apod/astropix.html'>
-<script language="javascript">
-document.write("<img src='{$apod->getPic('http://antwrp.gsfc.nasa.gov/apod/astropix.html')}' width='{$apod->width()}' height='{$apod->height()}' border='0'><br>{$apod->getTitle('http://antwrp.gsfc.nasa.gov/apod/astropix.html')}");
-</script>
-</a>
-</center>
-</p>
- {/if}
-/* CODE END */
-
-Bugs:
-¡E it has a realtime problem, maybe.
-
-History:
-1.0 - APOD LifeType plugin release
\ No newline at end of file

Copied: plugins/trunk/unported/apod/readme.txt (from rev 4488, plugins/trunk/apod/readme.txt)

Copied: plugins/trunk/unported/apod/templates (from rev 4488, plugins/trunk/apod/templates)

Copied: plugins/trunk/unported/atom (from rev 4487, plugins/trunk/atom)

Copied: plugins/trunk/unported/atom/class (from rev 4488, plugins/trunk/atom/class)

Copied: plugins/trunk/unported/atom/locale (from rev 4488, plugins/trunk/atom/locale)

Deleted: plugins/trunk/unported/atom/pluginatom.class.php
===================================================================
--- plugins/trunk/atom/pluginatom.class.php	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/atom/pluginatom.class.php	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,59 +0,0 @@
-<?php
-
-	include_once( PLOG_CLASS_PATH."class/plugin/pluginbase.class.php" );
-	
-	/**
-	 * plugin registration and stuff like that...
-	 */
-	class PluginAtom extends PluginBase
-	{
-
-		function PluginAtom()
-		{
-			$this->PluginBase();
-
-			$this->id = "atom";
-			$this->desc = "Provides Atom access to your blog.";
-			$this->author = "The LifeType Project";
-			$this->locales = Array( "en_UK" );
-
-			$this->init();
-		}
-
-		/**
-		 * set some actions and menu options
-		 * @private
-		 */
-		function init()
-		{
-			// register actions
-			$this->registerAdminAction( "atomSettings", "AdminAtomPluginSettingsAction" );
-			$this->registerAdminAction( "updateAtomSettings", "AdminAtomPluginUpdateSettingsAction" );
-
-			// register menu entries
-			$this->addMenuEntry( "/menu/controlCenter/manageSettings",   // menu path
-                                             "atomSettings",    // menu id
-                                             "admin.php?op=atomSettings",     // url
-                                             "Atom",    // text to show
-                                             true,       // can't...
-                                             false       // ...remember :)
-                                            );
-		}
-
-
-
-            /**
-             * This method is only called when the list of plugins is being refreshed, so it's
-             * a good time to create our tables
-             */
-		function install()
-		{
-			include_once( PLOG_CLASS_PATH."plugins/atom/class/dao/atompasswords.class.php" );
-			$passwords = new AtomPasswords();
-			$passwords->checkTables();
-
-			return( true );
-		}
-
-	}
-?>

Copied: plugins/trunk/unported/atom/pluginatom.class.php (from rev 4488, plugins/trunk/atom/pluginatom.class.php)

Copied: plugins/trunk/unported/atom/templates (from rev 4488, plugins/trunk/atom/templates)

Copied: plugins/trunk/unported/atom.php (from rev 4487, plugins/trunk/atom.php)

Copied: plugins/trunk/unported/ayearago (from rev 4488, plugins/trunk/ayearago)

Copied: plugins/trunk/unported/badbehavior (from rev 4487, plugins/trunk/badbehavior)

Copied: plugins/trunk/unported/badbehavior/bad-behavior (from rev 4488, plugins/trunk/badbehavior/bad-behavior)

Deleted: plugins/trunk/unported/badbehavior/index.inc.php
===================================================================
--- plugins/trunk/badbehavior/index.inc.php	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/badbehavior/index.inc.php	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,161 +0,0 @@
-<?php
-	/*
-	http://blog.markplace.net
-	
-	Bad Behavior - LifeType Plugin
-	Copyright (C) 2006 Mark Wu http://blog.markplace.net
-	
-	This program is free software; you can redistribute it and/or modify
-	it under the terms of the GNU General Public License as published by
-	the Free Software Foundation; either version 2 of the License, or
-	(at your option) any later version.
-	
-	This program is distributed in the hope that it will be useful,
-	but WITHOUT ANY WARRANTY; without even the implied warranty of
-	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-	GNU General Public License for more details.
-	
-	You should have received a copy of the GNU General Public License
-	along with this program; if not, write to the Free Software
-	Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-	*/
-	
-	// This file is the entry point for Bad Behavior in LifeType.
-
-	if (!defined('PLOG_CLASS_PATH')) die('No cheating!');
-	
-	// Timer start
-	$bb2_mtime = explode(" ", microtime());
-	$bb2_timer_start = $bb2_mtime[1] + $bb2_mtime[0];
-
-	define('BB2_CWD', PLOG_CLASS_PATH . "plugins/badbehavior/" );
-	define('BB2_EMERGENCY_EMAIL', "admin at yourblog.com" );
-	define('BB2_DEFAULT_LOG_TABLE', "bad_behavior" );
-
-	// Bad Behavior callback functions.
-	
-	// Return current time in the format preferred by your database.
-	function bb2_db_date() {
-		return gmdate('Y-m-d H:i:s');
-	}
-	
-	// Return affected rows from most recent query.
-	function bb2_db_affected_rows() {
-		include_once( PLOG_CLASS_PATH."class/database/db.class.php" );
-		$db =& Db::getDb();
-		
-		return $db->Affected_Rows();
-	}
-	
-	// Escape a string for database usage
-	function bb2_db_escape($string) {
-	    include_once( PLOG_CLASS_PATH."class/database/db.class.php" );    
-
-		return Db::qstr($string);
-	}
-	
-	// Return the number of rows in a particular query.
-	function bb2_db_num_rows($result) {
-		return $result->RecordCount();
-	}
-
-	// Run a query and return the results, if any.
-	// Should return FALSE if an error occurred.
-	function bb2_db_query($query) {
-	    include_once( PLOG_CLASS_PATH."class/database/db.class.php" );    
-		$db =& Db::getDb();
-
-	    $result = $db->Execute( $query );
-	
-		if (!$result)
-			return FALSE;
-
-		return $result;
-	}
-
-	// Return all rows in a particular query.
-	// Should contain an array of all rows generated by calling mysql_fetch_assoc()
-	// or equivalent and appending the result of each call to an array.
-	function bb2_db_rows($result) {
-		$rows = array();
-		while( $row = $result->FetchRow()) {
-			$rows[] = $row;
-		}
-
-		return $rows;
-	}
-	
-	// Return emergency contact email address.
-	function bb2_email() {
-		return BB2_EMERGENCY_EMAIL;
-	}
-
-	// retrieve settings from lifetype config
-	function bb2_read_settings() {
-	    include_once( PLOG_CLASS_PATH."class/database/db.class.php" );
-	    include_once( PLOG_CLASS_PATH."class/config/config.class.php" );    
-		$config =& Config::getConfig();
-		$prefix = Db::getPrefix();
-		$logTable = $config->getValue( 'bb2_log_table', BB2_DEFAULT_LOG_TABLE );
-		$displayStats = $config->getValue( 'bb2_display_stats', true );
-		$strict = $config->getValue( 'bb2_strict', false );
-		$verbose = $config->getValue( 'bb2_verbose', false );
-		$isInstalled = $config->getValue( 'bb2_installed', false );
-		
-		return array('log_table' => $prefix . $logTable, 
-					 'display_stats' => $displayStats,
-					 'strict' => $strict,
-					 'verbose' => $verbose,
-					 'is_installed' => $isInstalled );
-	}
-	
-	// write settings to lifetype config
-	function bb2_write_settings($settings) {
-	    include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
-		$config =& Config::getConfig();
-		$config->setValue( 'bb2_log_table', BB2_DEFAULT_LOG_TABLE );
-		$config->setValue( 'bb2_display_stats', $settings['display_stats'] );
-		$config->setValue( 'bb2_strict', $settings['strict'] );
-		$config->setValue( 'bb2_verbose', $settings['verbose'] );
-		$config->setValue( 'bb2_installed', $settings['is_installed'] );
-		$config->save();
-	}
-		
-	// installation
-	function bb2_install() {
-		$settings = bb2_read_settings();
-		if( $settings['is_installed'] == false )
-		{
-			bb2_db_query(bb2_table_structure($settings['log_table']));
-			$settings['is_installed'] = true;
-			bb2_write_settings( $settings );
-		}
-	}
-	
-	// Return the top-level relative path of wherever we are (for cookies)
-	function bb2_relative_path() {
-	    include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
-		$config =& Config::getConfig();
-		
-		$url = parse_url( $config->getValue( 'base_url' ) );
-		if( empty($url['path']) )
-			return '/';
-		else {
-			if( substr( $url['path'], -1, 1 ) == '/' )
-				return $url['path'];
-			else
-				return $url['path'] . '/';
-		}
-	}
-	
-	// Load Bad Behavior Core
-	require_once(BB2_CWD . "bad-behavior/core.inc.php");
-	bb2_install();
-	$settings = bb2_read_settings();
-	bb2_start($settings);
-
-	// Time Stop
-	$bb2_mtime = explode(" ", microtime());
-	$bb2_timer_stop = $bb2_mtime[1] + $bb2_mtime[0];
-	$bb2_timer_total = $bb2_timer_stop - $bb2_timer_start;
-?>
\ No newline at end of file

Copied: plugins/trunk/unported/badbehavior/index.inc.php (from rev 4488, plugins/trunk/badbehavior/index.inc.php)

Copied: plugins/trunk/unported/badbehavior/locale (from rev 4488, plugins/trunk/badbehavior/locale)

Deleted: plugins/trunk/unported/badbehavior/pluginbadbehavior.class.php
===================================================================
--- plugins/trunk/badbehavior/pluginbadbehavior.class.php	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/badbehavior/pluginbadbehavior.class.php	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,77 +0,0 @@
-<?php
-
-	include_once( PLOG_CLASS_PATH."class/plugin/pluginbase.class.php" );
-	include_once( PLOG_CLASS_PATH."class/database/db.class.php" );
-	
-	/**
-	 * makes printable versions of posts
-	 */
-	class PluginBadBehavior extends PluginBase
-	{
-		var $_logTable;
-		var $_diasplyStatus;
-		
-		function PluginBadBehavior()
-		{
-			$this->PluginBase();
-			
-			$this->id = "badbehavior";
-			$this->desc = "Bad Behavior for LifeType";
-			$this->author = "Mark Wu";
-			$this->locales = Array( "en_UK" , "zh_TW" );
-			$this->db =& Db::getDb();
-		
-			$config =& Config::getConfig();
-			$prefix = Db::getPrefix();
-			$this->_logTable = $prefix . $config->getValue( 'bb2_log_table' );
-			$this->_displayStatus = $config->getValue( 'bb2_display_stats' );
-		}
-
-		/**
-		 * show bb2 javascript
-		 *
-		 * @return the bb2 javascript
-		 */
-        function showBB2JavaScript()
-        {
-			global $bb2_javascript;
-			return $bb2_javascript;
-        }
-
-		/**
-		 * show bb2 timer
-		 *
-		 * @return the bb2 timer
-		 */
-        function showBB2Timer()
-        {
-			global $bb2_timer_total;
-			return "<!-- Bad Behavior 2 " . BB2_VERSION . " run time: " . number_format(1000 * $bb2_timer_total, 3) . " ms -->";
-        }
-
-		/**
-		 * show bb2 status
-		 *
-		 * @return the bb2 status
-		 */
-        function showBB2Status()
-        {
-			if( !$this->_displayStatus )
-				return false;
-			
-			$query = "SELECT COUNT(id) as counter FROM " . $this->_logTable . " WHERE `key` NOT LIKE '00000000'";
-        	
-        	$result = $this->db->Execute($query);
-	    	if(!$result || ($result->RecordCount() == 0))
-            	return false;
-
-            // get the information from the article
-        	$row = $result->FetchRow();
-
-			// get current user locale
-			$locale =& $this->blogInfo->getLocale();
-
-			return $locale->pr( 'bb2_status', $row['counter'] );
-        }
-	}
-?>

Copied: plugins/trunk/unported/badbehavior/pluginbadbehavior.class.php (from rev 4488, plugins/trunk/badbehavior/pluginbadbehavior.class.php)

Deleted: plugins/trunk/unported/badbehavior/readme.txt
===================================================================
--- plugins/trunk/badbehavior/readme.txt	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/badbehavior/readme.txt	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,29 +0,0 @@
-Plugin: Bad Behavior Integration
-Author: The LifeType Team
-Release Date: 2006/07/25
-Version: 1.0
-
-This plugin offers anti-spam protection powerd by bad behavior http://error.wordpress.com/
-
-1. Copy the badbehavior folder to your plugins folder
-2. Add the following lines to the top of index.php (try after the
-          other include_once lines)
-
-    // Bad Behavior Check, hope this can stop most spam comments and trackbacks
-    include_once( PLOG_CLASS_PATH."plugins/badbehavior/index.inc.php" );
-
-3. Refresh the plugin center until you see the badbehavior plugin appers.
-4. Add the following scripts to header.template between <head></head>
-
-    {if !empty($badbehavior)}
-      {$badbehavior->showBB2JavaScript()}
-    {/if}
-
-5. That's All
-
-You also can use the followings method to get some useful information:
-1. Use {$badbehavior->showBB2Timer()} to get the badbehavior timer
-2. Use {$badbehavior->showBB2Status()} to get the badbehavior status
-
-To Do:
-1. Add an admin panel to review the blocked spams

Copied: plugins/trunk/unported/badbehavior/readme.txt (from rev 4488, plugins/trunk/badbehavior/readme.txt)

Copied: plugins/trunk/unported/blogtimes (from rev 4487, plugins/trunk/blogtimes)

Copied: plugins/trunk/unported/blogtimes/class (from rev 4488, plugins/trunk/blogtimes/class)

Copied: plugins/trunk/unported/blogtimes/js (from rev 4488, plugins/trunk/blogtimes/js)

Copied: plugins/trunk/unported/blogtimes/locale (from rev 4488, plugins/trunk/blogtimes/locale)

Deleted: plugins/trunk/unported/blogtimes/pluginblogtimes.class.php
===================================================================
--- plugins/trunk/blogtimes/pluginblogtimes.class.php	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/blogtimes/pluginblogtimes.class.php	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,285 +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."class/dao/model.class.php" );
-    include_once( PLOG_CLASS_PATH.'class/data/timestamp.class.php' );
-    include_once( PLOG_CLASS_PATH."class/net/requestgenerator.class.php" );
-
-    /**
-     * Plugin that offers blogtimes for current blog
-     * Original Author: Matt Mullenweg http://photomatt.net
-     */
-    class PluginBlogTimes extends PluginBase
-    {
-
-        var $pluginEnabled;
-        var $prefix;
-        var $backColor;
-        var $boxColor;
-        var $textColor;
-        var $lineColor;
-        var $borderColor;
-        var $tickColor;
-        var $title;
-        var $width;
-        var $height;
-        var $lastDays;
-        var $cacheFolder;
-    
-        function PluginBlogTimes()
-        {
-            $this->PluginBase();
-  
-            $this->id = "blogtimes";
-            $this->author = "Mark Wu";
-            $this->desc = "This plugin offers you to show the blogtimes image in your blog.";
-  
-            // source the neccessary class files
-            include_once( PLOG_CLASS_PATH."class/database/db.class.php" );
-
-            $this->prefix = Db::getPrefix();
-            $this->db =& Db::getDb();
-            
-            $this->locales = Array( "en_UK" , "zh_TW" , "zh_CN" );
-            
-            $this->init();            
-        }
-
-        function init()
-        {
-            // register the events we want
-            $this->registerNotification( EVENT_POST_POST_ADD );
-        
-            $this->registerAdminAction( "blogtimes", "PluginBlogTimesConfigAction" );
-            $this->registerAdminAction( "updateBlogTimesConfig", "PluginBlogTimesUpdateConfigAction" );
-            
-            $menu =& Menu::getMenu();
-            if( !$menu->entryExists( "/menu/controlCenter/manageAppearancePlugins" ))                       
-                $this->addMenuEntry( "/menu/controlCenter", "manageAppearancePlugins", "", "", true, false );           
-            $this->addMenuEntry( "/menu/controlCenter/manageAppearancePlugins", "BlogTimes", "?op=blogtimes", "" );            
-        }
-
-        function register()
-        {
-            $config =& Config::getConfig();
-            $this->cacheFolder = $config->getValue('temp_folder');
-            $this->cacheFolder = $this->cacheFolder.'/blogtimes/'.$this->blogInfo->getId();
-            if( !File::exists( $this->cacheFolder )) {
-                File::createDir( $this->cacheFolder, 0755 );
-            }
-
-            $blogSettings = $this->blogInfo->getSettings();
-            $this->pluginEnabled = $blogSettings->getValue( "plugin_blogtimes_enabled" );
-            $this->backColor = $blogSettings->getValue( "plugin_blogtimes_backcolor" );
-            $this->boxColor = $blogSettings->getValue( "plugin_blogtimes_boxcolor" );
-            $this->textColor = $blogSettings->getValue( "plugin_blogtimes_textcolor" );
-            $this->lineColor = $blogSettings->getValue( "plugin_blogtimes_linecolor" );
-            $this->borderColor = $blogSettings->getValue( "plugin_blogtimes_bordercolor" );
-            $this->tickColor = $blogSettings->getValue( "plugin_blogtimes_tickcolor" );
-            $this->title = $blogSettings->getValue( "plugin_blogtimes_title" );
-            $this->width = $blogSettings->getValue( "plugin_blogtimes_width" );
-            $this->height = $blogSettings->getValue( "plugin_blogtimes_height" );
-            $this->lastDays = $blogSettings->getValue( "plugin_blogtimes_lastdays" );
-        }
-        
-        function isEnabled()
-        {
-            return $this->pluginEnabled;
-        }        
-
-        /**
-         * process the events that we have registered
-         *
-         * @see PluginBase::process
-         * @see PluginManager
-         */
-        function process( $eventType, $params )
-        {
-            // make sure we're processing the right event!
-            if( $eventType != EVENT_POST_POST_ADD ) 
-            {
-                return true;
-            }
-            
-            // Load all of the settings for this blog
-            $this->register();
-            
-            // make sure that the plugin is enabled
-			if( !$this->isEnabled())
-            {
-                return true;
-            }
-                        
-            // Update the Blogtime png
-            $this->updateBlogTimePNG();
-
-            return true;
-        }
-        
-        function show() {
-            $saveFile = $this->cacheFolder."/blogtimes.png";
-            $rg =& RequestGenerator::getRequestGenerator( $this->blogInfo );
-            $blogtimesTag = "<div align=\"center\"><img src=\"".$rg->getUrl("/".$saveFile)."\" /></div>";
-            return $blogtimesTag;                    
-        }
-        
-        function updateBlogTimePNG()
-        {
-            $saveFile = $this->cacheFolder."/blogtimes.png";  
-            
-            // constants defining image
-            $width = $this->width;
-            $height = $this->height;
-            $title = $this->title;
-            $lastDays = $this->lastDays;
-            $fontHeight = imagefontheight(2);
-            $fontWidth  = imagefontwidth(2);
-            $horzPadding = 5;
-            $vertPadding = 5;
-            $footerText = "Last $lastDays days";
-            $unitText = "Hour of Day";
-            
-            // create the basic image
-            $im = @ImageCreate ($width, $height) or die ('Cannot create a new GD image.');
-        
-            // define what color to use where
-            $color = $this->convertToHexRGB($this->backColor);
-            $backColor = ImageColorAllocate($im, $color['R'], $color['G'], $color['B']);
-            $color = $this->convertToHexRGB($this->boxColor);
-            $boxColor  = ImageColorAllocate($im, $color['R'], $color['G'], $color['B']);
-            $color = $this->convertToHexRGB($this->textColor);
-            $textColor = ImageColorAllocate($im, $color['R'], $color['G'], $color['B']);
-            $color = $this->convertToHexRGB($this->lineColor);
-            $lineColor = ImageColorAllocate($im, $color['R'], $color['G'], $color['B']);
-            $color = $this->convertToHexRGB($this->borderColor);
-            $borderColor = ImageColorAllocate($im, $color['R'], $color['G'], $color['B']);
-            $color = $this->convertToHexRGB($this->tickColor);
-            $tickColor = ImageColorAllocate($im, $color['R'], $color['G'], $color['B']);
-
-            # query the db and build the list
-            $postTimes = $this->getPostTimes($lastDays);
-        
-            # calculate how many intervals to show
-            $intervals = floor( ($width / 40) );
-            if ($intervals >= 24) $i_mod = 1;
-            else if ($intervals >= 12) $i_mod = 2;
-            else if ($intervals >= 8) $i_mod = 3;
-            else if ($intervals >= 6) $i_mod = 4;
-            else if ($intervals >= 4) $i_mod = 6;
-            else if ($intervals >= 3) $i_mod = 8;
-            else if ($intervals >= 2) $i_mod = 16;
-            else $i_mod = 24;
-        
-            # fill the image with the background color
-            ImageFill($im, 0, 0, $backColor);
-        
-            # create a filled  rectangle with a solid border
-            $left = $horzPadding; 
-            $right = $width - $horzPadding;
-            $top = $fontHeight + $vertPadding;
-            $bottom = $height - $vertPadding - $fontHeight;
-        
-            // Show Unit of Measure
-            $bottom -= $fontHeight;
-        
-            ImageFilledRectangle($im, $left,$top,$right,$bottom, $boxColor);
-            ImageRectangle($im, $left,$top,$right,$bottom, $borderColor);
-        
-            # write title and monthtext
-            ImageString($im, 2, $left, 0, $title, $textColor);
-            $txtWidth = strlen($footerText) * $fontWidth;
-            ImageString($im, 2, $right - $txtWidth, 0, $footerText, $textColor);
-        
-            # add the legend on the bottom
-            for ($i = 0; $i <= 23; $i=$i+1)
-            {
-                if ($i % $i_mod == 0) {
-                    $curX = $left + ($right - $left)/24 * $i;
-        
-                    if ($i > 9) {$strX = $curX - 5;}
-                    else        {$strX = $curX - 2;}
-        
-                    ImageString($im, 2, $strX , $bottom, $i, $textColor);
-                    // Show Ticks
-                    ImageLine($im, $curX, $bottom, $curX, $bottom - 5, $tickColor);
-                }
-            }
-            ImageString($im, 2, $right - 5, $bottom,  0, $textColor);
-            
-            // Show Unit of Measure
-            $curX = ($right + $left) / 2 - ($fontWidth * strlen($unitText)/2);
-            $curY = $bottom + $fontHeight + 2;
-            ImageString($im, 2, $curX, $curY, $unitText, $textColor);
-        
-            # now we draw the lines for each post
-            # the post times should be in terms of # of minutes since midnight
-            $arrCount = count($postTimes);
-            for ($i = 0; $i < $arrCount; $i++)
-            {
-                # make sure postTime is between 0 and 1439
-                $curPostTime = abs($postTimes[$i]) % 1440; 
-                
-                # calculate the horz pos inside box              
-                $curX = $left + ($right - $left)/1440 * $curPostTime;    # 1440 minutes per day
-        
-                # draw the post line
-                ImageLine($im, $curX, $bottom, $curX, $top, $lineColor);
-            }
-        
-            # save the file to disk in PNG format 
-            ImageColorTransparent($im, $backColor);
-            ImagePNG ($im,$saveFile);
-            File::chMod($saveFile, 0644);
-        }
-        
-        # This function will query the db for all the posts in last x days
-        # and build an array of # of minutes since midnight for each post
-        function getPostTimes($lastDays = 30)
-        {
-            $blogId = $this->blogInfo->getId();
-            
-            //
-            // if there's a time difference applied to all dates, then we'd better
-            // calculate it here!!
-            //
-            $blogSettings = $this->blogInfo->getSettings();
-            $timeDiff = $blogSettings->getValue( 'time_offset' );
-
-
-            $query = "SELECT date FROM ".$this->prefix."articles";
-            $query .= " WHERE blog_id = ".$blogId." AND status = 1";
-            $query .= " AND (TO_DAYS(CURRENT_DATE) - TO_DAYS(date)) <= '$lastDays'";
-            $query .= " ORDER BY date ASC";
-
-            $result = $this->db->Execute( $query );
-
-            if( !$result )
-                return false;
-
-            $postTimes = Array();
-            while( $row = $result->FetchRow()) {
-                // we can use this auxiliary function to help us...
-                $date = new Timestamp( Timestamp::getDateWithOffset( 
-                                           $row['date'], 
-                                           $timeDiff ));
-                
-               array_push( $postTimes, ($date->getHour()*60)+$date->getMinute());
-            }
-            
-            return $postTimes;
-        }
-        
-        function convertToHexRGB( $colorCode )
-        {
-            sscanf($colorCode, "#%2x%2x%2x", $red, $green, $blue);
-            
-            $color = Array();
-            $color['R'] = $red;
-            $color['G'] = $green;
-            $color['B'] = $blue;
-            
-            return $color;
-        }
-    }
-?>
\ No newline at end of file

Copied: plugins/trunk/unported/blogtimes/pluginblogtimes.class.php (from rev 4488, plugins/trunk/blogtimes/pluginblogtimes.class.php)

Deleted: plugins/trunk/unported/blogtimes/readme.txt
===================================================================
--- plugins/trunk/blogtimes/readme.txt	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/blogtimes/readme.txt	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,29 +0,0 @@
-Plugin: Blog Times
-Author: Mark Wu
-Idea From: Matt Mullenweg http://photomatt.net
-Release Date: 2005/01/23
-Version: 1.0
-
-This plugin offers you to get the blog times image. Usage as followed:
-
-You can use:
-1. $blogtimes->isEnabled() to check the plugin is enabled or not. 
-2. $blogtimes->show() to get the blog times image. 
-
-Install:
-1. Add the following code to bottom of main.template:
-{if !empty($blogtimes)}
-{if $blogtimes->isEnabled()}
-{$blogtimes->show()}
-{/if}
-{/if}
-
-2.Change plog/tmp/.htacess to allow blogtimes folder can read by web browser
-<Files "*">
- Order deny,allow
- Deny from all
-</Files>
-
-<Files "blogtimes">
- Allow from all
-</files>
\ No newline at end of file

Copied: plugins/trunk/unported/blogtimes/readme.txt (from rev 4488, plugins/trunk/blogtimes/readme.txt)

Copied: plugins/trunk/unported/blogtimes/templates (from rev 4488, plugins/trunk/blogtimes/templates)

Copied: plugins/trunk/unported/categorybrowser (from rev 4487, plugins/trunk/categorybrowser)

Deleted: plugins/trunk/unported/categorybrowser/README.txt
===================================================================
--- plugins/trunk/categorybrowser/README.txt	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/categorybrowser/README.txt	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,71 +0,0 @@
-Category Browser plugin for LifeType.
-Author: Jon Daley
-URL: http://limedaley.com/
-
-Example URL using this plugin: http://jon.limedaley.com/
-
-The default getNext and getPrev post do not obey category boundaries,
-and you might have readers who are only interested in certain
-categories.
-
-This plugin has four functions to get the first, previous, next, and
-latest posts in any given category.
-
-Here are the available functions:
-{assign var="postInCategoryFirst"
-    value=$categorybrowser->getFirstArticle($categoryId, $blogId)}
-{assign var="postInCategoryPrev"
-    value=$categorybrowser->getPrevArticle($post, $categoryId, $blogId)}
-{assign var="postInCategoryNext"
-    value=$categorybrowser->getNextArticle($post, $categoryId, $blogId)}
-{assign var="postInCategoryLast"
-    value=$categorybrowser->getLastArticle($categoryId, $blogId)}
-
-
-
-Here is the code I use in my template, it might be fancier that you
-want, but I think this looks pretty good.
-
-Category
-  {foreach name=categories from=$post->getCategories()
-           item=postCategory}
-    {assign var=categoryName value=$postCategory->getName()}
-    {assign var="blogId" value=$blog->getId()}
-    {assign var="categoryId" value=$postCategory->getId()}
-    {assign var="postInCategoryFirst"
-          value=$categorybrowser->getFirstArticle($categoryId, $blogId)}
-    {assign var="postInCategoryPrev"
-          value=$categorybrowser->getPrevArticle($post, $categoryId, $blogId)}
-    {assign var="postInCategoryNext"
-          value=$categorybrowser->getNextArticle($post, $categoryId, $blogId)}
-    {assign var="postInCategoryLast"
-          value=$categorybrowser->getLastArticle($categoryId, $blogId)}
-
-    <a href="{$url->categoryLink($postCategory)}">{$categoryName}</a>:
-    <span class="nodisplay">
-      {if $postInCategoryFirst &&
-          ($postInCategoryFirst->getId() != $post->getId())}
-        </span>[<a
-        href="{$url->postPermalink($postInCategoryFirst)}">first</a>]<span
-            class="nodisplay">
-      {/if}
-      {if $postInCategoryPrev &&
-          ($postInCategoryPrev->getId() != $postInCategoryFirst->getId())}
-        </span>[<a
-        href="{$url->postPermalink($postInCategoryPrev)}">previous</a>]<span
-        class="nodisplay">
-      {/if}
-      {if $postInCategoryNext &&
-          ($postInCategoryNext->getId() != $postInCategoryLast->getId())}
-        </span>[<a
-        href="{$url->postPermalink($postInCategoryNext)}">next</a>]<span
-          class="nodisplay">
-      {/if}
-      {if $postInCategoryLast &&
-          ($postInCategoryLast->getId() != $post->getId())}
-        </span>[<a
-        href="{$url->postPermalink($postInCategoryLast)}">newest</a>]<span
-          class="nodisplay">
-      {/if}
-    </span>
-  {/foreach}

Copied: plugins/trunk/unported/categorybrowser/README.txt (from rev 4488, plugins/trunk/categorybrowser/README.txt)

Copied: plugins/trunk/unported/categorybrowser/locale (from rev 4488, plugins/trunk/categorybrowser/locale)

Deleted: plugins/trunk/unported/categorybrowser/plugincategorybrowser.class.php
===================================================================
--- plugins/trunk/categorybrowser/plugincategorybrowser.class.php	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/categorybrowser/plugincategorybrowser.class.php	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,129 +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."class/dao/articles.class.php" );
-include_once( PLOG_CLASS_PATH."class/dao/article.class.php" );
-include_once( PLOG_CLASS_PATH."class/database/db.class.php" );
-    
-    /*
-     * Plugin that offers features to return links to the next and previous articles
-     * within the current category
-     */
-class PluginCategoryBrowser extends PluginBase
-{
-	var $_articles;
-    var $_prefix;
-	
-    function PluginCategoryBrowser(){
-        $this->author = "Jon Daley";
-        $this->desc = "This plugin adds the ability to have next
-	            and previous buttons that stay within the same category as the
-		    current post<br/>Usage:<br/>Functions:<br/>
-		    getPrevArticle(currArticle, blogId)<br/>
-		    getNextArticle(currArticle, blogId)<br/>
-		    getFirstArticle(categoryId, blogId) and<br/>
-		    getLastArticle(categoryId, blogId)<br/>
-		    Given an article the Prev and Next functions will
-		    return the previous and next posts in the same
-		    category as the given article.<br/>
-		    Given a category id, the First and Last functions
-		    will return the first and last posts in the same
-		    category.<br/>
-		    They will return false if it doesn't exist, or an Article
-                    object if it does.<br/>";
-            
-        $this->PluginBase();
-	    $this->db =& Db::getDb();
-	    $this->_prefix =  Db::getPrefix();
-	    $this->id = "categorybrowser";
-	    $this->_articles = new Articles();
-    }
-
-    function getPrevArticle($article, $categoryId, $blogId){
-            // gets the article that is just before this one in
-            // the same category
-        $query = "SELECT id FROM " . $this->_prefix . 
-            "articles, " . $this->_prefix."article_categories_link l" .
-            " WHERE date < '" . $article->getDate() . 
-            "' AND status=1 AND blog_id = " . $blogId . 
-            " AND l.category_id = " . $categoryId . 
-            " and article_id = id" .
-            " ORDER BY date DESC LIMIT 1;";
-
-        $result = $this->db->Execute($query);
-	    if(!$result || ($result->RecordCount() == 0))
-            return false;
-
-            // get the information from the article
-        $row = $result->FetchRow();
-
-            // fetch the article
-	    return $this->_articles->getBlogArticle($row["id"], $blogId);
-    }
-
-    function getNextArticle($article, $categoryId, $blogId){
-            // gets the article that is just after this one in
-            // the same category
-        $query = "SELECT id FROM " . $this->_prefix . 
-            "articles, " . $this->_prefix."article_categories_link l" .
-            " WHERE date > '" . $article->getDate() . 
-            "' AND status=1 AND blog_id = " . $blogId . 
-            " AND l.category_id = " . $categoryId . 
-            " and article_id = id" .
-            " ORDER BY date LIMIT 1;";
-        $result = $this->db->Execute($query);
-	    if(!$result || ($result->RecordCount() == 0)){
-            return false;
-        }
-
-            // get the information from the article
-        $row = $result->FetchRow();
-
-            // fetch the article
-	    return $this->_articles->getBlogArticle($row["id"], $blogId);
-    }
-
-    function getFirstArticle($categoryId, $blogId){
-            // gets the first article in the category
-        $query = "SELECT id FROM " . $this->_prefix . 
-            "articles, " . $this->_prefix."article_categories_link l" .
-            " WHERE status=1 AND blog_id = " . $blogId . 
-            " AND l.category_id = " . $categoryId . 
-            " and article_id = id" .
-            " ORDER BY date LIMIT 1;";
-
-        $result = $this->db->Execute($query);
-	    if(!$result || ($result->RecordCount() == 0))
-            return false;
-
-            // get the information from the article
-        $row = $result->FetchRow();
-
-            // fetch the article
-	    return $this->_articles->getBlogArticle($row["id"], $blogId);
-    }
-
-    function getLastArticle($categoryId, $blogId){
-            // gets the last article in the category
-        $query = "SELECT id FROM " . $this->_prefix . 
-            "articles, " . $this->_prefix."article_categories_link l" .
-            " WHERE status=1 AND blog_id = " . $blogId . 
-            " AND l.category_id = " . $categoryId . 
-            " and article_id = id" .
-            " ORDER BY date DESC LIMIT 1;";
-
-        $result = $this->db->Execute($query);
-	    if(!$result || ($result->RecordCount() == 0))
-            return false;
-
-            // get the information from the article
-        $row = $result->FetchRow();
-
-            // fetch the article
-	    return $this->_articles->getBlogArticle($row["id"], $blogId);
-    }
-}
-        
-        
-?>

Copied: plugins/trunk/unported/categorybrowser/plugincategorybrowser.class.php (from rev 4488, plugins/trunk/categorybrowser/plugincategorybrowser.class.php)

Copied: plugins/trunk/unported/categorycloud (from rev 4488, plugins/trunk/categorycloud)

Copied: plugins/trunk/unported/clickablecomments (from rev 4487, plugins/trunk/clickablecomments)

Deleted: plugins/trunk/unported/clickablecomments/pluginclickablecomments.class.php
===================================================================
--- plugins/trunk/clickablecomments/pluginclickablecomments.class.php	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/clickablecomments/pluginclickablecomments.class.php	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,82 +0,0 @@
-<?php
-
-    include_once( PLOG_CLASS_PATH."class/plugin/pluginbase.class.php" );
-    
-    class PluginClickableComments extends PluginBase
-    {
-    
-        function PluginClickableComments()
-        {
-            $this->PluginBase();
-            
-            $this->id = "clickablecomments";
-            $this->desc = "Converts URLs in comments left by visitors into clickable links";
-            $this->author = "The LifeType Project";            
-            
-            // that's the only event we care for!
-            $this->registerNotification( EVENT_PRE_COMMENT_ADD );            
-        }
-        
-        function process( $eventType, $params )
-        {
-            $comment = $params["comment"];
-            $text = $comment->getText();
-            $comment->setText( $this->linkurl( $text ));
-            $params["comment"] = $comment;
-            
-            return( true );
-        }        
-    
-    /*
-     * @private
-     * Modified from an Smarty plugin
-     * -------------------------------------------------------------
-     * File:     modifier.linkurl.php
-     * Purpose:  links URLs und shortens it to $length
-     *
-     * Author:   Christoph Erdmann <smarty at cerdmann.com>
-     * Internet: http://www.cerdmann.com
-     *
-     * Changelog:
-     * 2004-11-24 New parameter allows truncation without linking the URL
-     * 2004-11-20 In braces enclosed URLs are now better recognized
-     * -------------------------------------------------------------
-     */
-    function linkurl($string, $length=50, $link=true)
-        {
-        if (!function_exists(kuerzen)) {
-        function kuerzen($string,$length)
-            {
-            $returner = $string;
-            if (strlen($returner) > $length)
-                {
-                $url = preg_match("=[^/]/[^/]=",$returner,$treffer,PREG_OFFSET_CAPTURE);
-                $cutpos = $treffer[0][1]+2;
-                $part[0] = substr($returner,0,$cutpos);
-                $part[1] = substr($returner,$cutpos);
-    
-                $strlen1 = $cutpos;
-                if ($strlen1 > $length) return substr($returner,0,$length-3).'...';
-                $strlen2 = strlen($part[1]);
-                $cutpos = $strlen2-($length-3-$strlen1);
-                $returner = $part[0].'...'.substr($part[1],$cutpos);
-                }
-            return $returner;
-            }
-        }
-    
-        if ($link == true)
-            {
-            $pattern = '#(^|[^\"=]{1})(http://|ftp://|mailto:|news:)([^\s<>\)]+)([\s\n<>\)]|$)#sme';
-            $string = preg_replace($pattern,"'$1<a href=\"$2$3\" title=\"$2$3\" target=\"_blank\">'.kuerzen('$2$3',$length).'</a>$4'",$string);
-            }
-        elseif ($link == false)
-            {
-            $pattern = '#(^|[^\"=]{1})(http://|ftp://|mailto:|news:)([^\s<>\)]+)([\s\n<>\)]|$)#sme';
-            $string = preg_replace($pattern,"kuerzen('$2$3',$length)",$string);
-            }
-    
-        return $string;	
-        }       
-    }
-?>
\ No newline at end of file

Copied: plugins/trunk/unported/clickablecomments/pluginclickablecomments.class.php (from rev 4488, plugins/trunk/clickablecomments/pluginclickablecomments.class.php)

Copied: plugins/trunk/unported/cocomment (from rev 4487, plugins/trunk/cocomment)

Deleted: plugins/trunk/unported/cocomment/README.txt
===================================================================
--- plugins/trunk/cocomment/README.txt	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/cocomment/README.txt	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,23 +0,0 @@
-[USAGES]: 
-1. Upload: Upload all the extract files and directorys to $LifeType_Install_Dir/plugin/cocomment 
-2. Modify template: Use $cocomment->show($postId) in template file to enbed coComment toggle-integration script in LiFeType. 
-
-
-[IMPORTANT NOTICE] 
-1. The form must has name and id attribute with value "NewComment", just like 
-Code: 
-<form id="NewComment" name="NewComment" ....> 
-
-2. The submit button must has name and id attribute with value "post", like 
-Code: 
-<input type="submit" name="post" id="post"....> 
-
-
-
-[EXAMPLE]: 
-Add the following code in commentform.template to replace </form>: 
-
-Code: 
-{assign var="postId" value=$post->getId()} 
-{$cocomment->show($postId)} 
-</form> 
\ No newline at end of file

Copied: plugins/trunk/unported/cocomment/README.txt (from rev 4488, plugins/trunk/cocomment/README.txt)

Copied: plugins/trunk/unported/cocomment/class (from rev 4488, plugins/trunk/cocomment/class)

Copied: plugins/trunk/unported/cocomment/locale (from rev 4488, plugins/trunk/cocomment/locale)

Deleted: plugins/trunk/unported/cocomment/plugincocomment.class.php
===================================================================
--- plugins/trunk/cocomment/plugincocomment.class.php	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/cocomment/plugincocomment.class.php	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,78 +0,0 @@
-<?php
-	include_once( PLOG_CLASS_PATH."class/plugin/pluginbase.class.php" );
-	include_once( PLOG_CLASS_PATH."class/plugin/pluginmanager.class.php" );
-
-	class PlugincoComment extends PluginBase
-	{
-		var $pluginEnabled;
-		
-		function PlugincoComment()
-		{
-			$this->PluginBase();
-
-			$this->id      = "cocomment";
-			$this->author  = "James Huang";
-			$this->desc    = "Integrate cocomment into LifeType commentform template.";
-
-			$this->locales = Array( "en_UK" , "zh_TW" );
-
-			$this->init();
-		}
-
-		function init()
-		{
-            $this->registerBlogAction( "coComment", "ShowcoCommentAction" );
-            $this->registerAdminAction( "coCommentConfig", "PlugincoCommentConfigAction" );
-			$this->registerAdminAction( "updatecoCommentConfig", "PlugincoCommentUpdateConfigAction" );
-			
-			$menu =& Menu::getMenu();
-			if( !$menu->entryExists( "/menu/controlCenter/manageAppearancePlugins" ))						
-				$this->addMenuEntry( "/menu/controlCenter", "manageAppearancePlugins", "", "", true, false );			
-            $this->addMenuEntry( "/menu/controlCenter/manageAppearancePlugins", "coComment", "?op=coCommentConfig", "" );
-		}
-
-		function register()
-		{
-		    $blogSettings = $this->blogInfo->getSettings();
-			$this->pluginEnabled = $blogSettings->getValue( "plugin_cocomment_enabled" );
-		}
-
-	    function isEnabled()
-	    {
-	        return $this->pluginEnabled;
-	    }
-	    
-	    function show($postId)
-	    {
-
-			$str = '';
-	    
-            if ($this->isEnabled())
-            {
-            
-                // articles object
-                $articles = new Articles;
-    
-    
-                $rg = $this->blogInfo->getBlogRequestGenerator();
-                $post = $articles->getBlogArticle($postId);
-    
-                $str = '<script type="text/javascript">';
-                $str .= 'var blogTool = "LifeType";';
-                $str .= 'var blogURL = "'.$rg->blogLink().'";';
-                $str .= 'var blogTitle = "'.$this->blogInfo->getBlog().'";';
-                $str .= 'var postURL = "'.$rg->postPermalink($post).'";';
-                $str .= 'var postTitle = "'.$post->getTopic().'";';
-                $str .= 'var commentAuthorFieldName = "userName";';
-                $str .= 'var commentAuthorLoggedIn = false;';
-                $str .='var commentFormID = "NewComment";';
-                $str .='var commentTextFieldName = "commentText";';
-                $str .='var commentButtonName = "Add";';
-    //			$str .='var cocomment_force = false;';
-                $str .='</script>';
-                $str .='<script id="cocomment-fetchlet" src="http://www.cocomment.com/js/enabler.js"></script>';
-            }
-	    	return $str;
-		}
-	}
-?>
\ No newline at end of file

Copied: plugins/trunk/unported/cocomment/plugincocomment.class.php (from rev 4488, plugins/trunk/cocomment/plugincocomment.class.php)

Copied: plugins/trunk/unported/cocomment/template (from rev 4488, plugins/trunk/cocomment/template)

Copied: plugins/trunk/unported/cocomment/templates (from rev 4488, plugins/trunk/cocomment/templates)

Copied: plugins/trunk/unported/delicious (from rev 4487, plugins/trunk/delicious)

Copied: plugins/trunk/unported/delicious/class (from rev 4488, plugins/trunk/delicious/class)

Copied: plugins/trunk/unported/delicious/install (from rev 4488, plugins/trunk/delicious/install)

Copied: plugins/trunk/unported/delicious/locale (from rev 4488, plugins/trunk/delicious/locale)

Deleted: plugins/trunk/unported/delicious/plugindelicious.class.php
===================================================================
--- plugins/trunk/delicious/plugindelicious.class.php	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/delicious/plugindelicious.class.php	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,126 +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."class/net/rawrequestgenerator.class.php" );
-    include_once( PLOG_CLASS_PATH."plugins/delicious/class/delicious/delicious.class.php" );
-	include_once( PLOG_CLASS_PATH."class/template/menu/menu.class.php" );
-
-    //Used as the root for building the bookmark URLs
-    define ('DELICIOUS_ROOT', 'http://del.icio.us/'); 
-    
-    /**
-     * Plugin that offers features to integrate the Del.icio.us Bookmark Service
-     */
-    class PluginDelicious extends PluginBase
-    {
-        var $pluginEnabled;
-        var $userName;              //Your del.icio.us account logon 
-        var $password;              //Your del.icio.u account password
-        var $userRoot;             //Root for links in the output
-        var $errors = array(
-            	1=>'You must enter credentials',
-            	2=>'You have been throttled. Please stop attempting to connect to del.icio.us',
-            	3=>'The del.icio.us service did not return a proper HTTP response',
-            	4=>'Unable to connect to del.icio.us',
-            	5=>'Unable to send data to del.icio.us',
-            	6=>'Unable to parse the XML returned from del.icio.us'
-            );
-
-        function PluginDelicious()
-        {
-            $this->PluginBase();
-            
-            $this->id = "delicious";
-            $this->author = "Mark Wu";
-            $this->desc = 'This plugin let you integrate your Del.icio.us with pLog.';
-
-            $this->locales = Array( "en_UK" , "zh_TW" , "zh_CN" );
-            
-            $this->init();   
-        }
-
-		function init()
-		{
-            $this->registerAdminAction( "delicious", "PluginDeliciousConfigAction" );
-			$this->registerAdminAction( "updateDeliciousConfig", "PluginDeliciousUpdateConfigAction" );
-			$this->registerBlogAction( "DeliciousShow", "PluginDeliciousShowAction" );
-			
-			$menu =& Menu::getMenu();
-			if( !$menu->entryExists( "/menu/controlCenter/manageIntegrationPlugins" ))						
-				$this->addMenuEntry( "/menu/controlCenter", "manageIntegrationPlugins", "", "", true, false );			
-            $this->addMenuEntry( "/menu/controlCenter/manageIntegrationPlugins", "Delicious", "?op=delicious", "" );            
-		}
-
-		function register()
-		{
-		    $blogSettings = $this->blogInfo->getSettings();
-			$this->pluginEnabled = $blogSettings->getValue( "plugin_delicious_enabled" );
-			$this->userName = $blogSettings->getValue( "plugin_delicious_username" );
-            $this->password = $blogSettings->getValue( "plugin_delicious_password" );
-		}
-	    
-	    function isEnabled()
-	    {
-	        return $this->pluginEnabled;
-	    }
-
-        function pluginTemplatePage()
-        {
- 			$rg = new RawRequestGenerator($this->blogInfo);
-            
-        	$rg->addParameter( "op", "DeliciousShow" );
-            $rg->addParameter( "blogId", $this->blogInfo->getId());
-
-            $templatePage = $rg->getIndexUrl().$rg->getRequest();
-
-            return $templatePage;
-        }		
- 
-        /**
-         * Get the photo albums from specific user
-         */
-        function getTagList()
-        {
-            $this->userRoot = $this->pluginTemplatePage();
- 
-            // instanciate delicious object
-            $del = new delicious($this->userName,$this->password);
-            
-            // toggle debugging mode
-            //$del->debug_flag = 1;
-            
-            // PLEASE USE SPARINGLY OR del.icio.us WILL THROTTLE YOU
-            if(!$result = $del->get_tags())
-            {
-            	$message = $this->$errors[ $del->getError() ];
-            }
-            else
-            {
-            	// debugging helpers
-            	//echo $del->htmlvar_dump($result);
-            	//echo $del->request;
-            	//echo $del->response;
-            	
-            	if( count($result) > 0)
-            	{
-            		// loop thru result set, inserting into db
-            		$tags = array();
-            		foreach($result as $properties)
-            		{
-            			$tag['id'] = str_replace(' ',',',$properties['tag']);
-            			$tag['count'] = $properties['count'];
-            			$tag['tagUrl'] = $this->userRoot . "&tag=" . $tag['id'];
-            			$tag['deliciousUrl'] = DELICIOUS_ROOT . $this->userName . '/' . $tag['id'];
-            			array_push( $tags, $tag);
-            		}
-            		return $tags;
-            	}
-            	else
-            	{
-            		$message = $result['code'];
-            	}
-            }
-        }
-    }
-?>

Copied: plugins/trunk/unported/delicious/plugindelicious.class.php (from rev 4488, plugins/trunk/delicious/plugindelicious.class.php)

Deleted: plugins/trunk/unported/delicious/readme.txt
===================================================================
--- plugins/trunk/delicious/readme.txt	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/delicious/readme.txt	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,16 +0,0 @@
-Plugin: Del.icio.us
-Author: Mark Wu
-Release Date: 2005/02/13
-Version: 1.0
-
-This plugin offers you to integrate with Del.icio.us service. 
-
-Install:
-1. Copy the install/templates/delicious.template to your plog template folder.
-2. Configurate your Del.icio.us plugin in your LifeType control center
-3. Use $delicious->pluginTemplatePage() to get delicious template page url
-
-Usage:
-Use the following URL to call your LifeType Delicous Plugin Page
-http://your-plog/index.php?op=DeliciousShow&blogId=1
-

Copied: plugins/trunk/unported/delicious/readme.txt (from rev 4488, plugins/trunk/delicious/readme.txt)

Copied: plugins/trunk/unported/delicious/templates (from rev 4488, plugins/trunk/delicious/templates)

Copied: plugins/trunk/unported/digestview (from rev 4487, plugins/trunk/digestview)

Deleted: plugins/trunk/unported/digestview/LICENSE
===================================================================
--- plugins/trunk/digestview/LICENSE	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/digestview/LICENSE	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,142 +0,0 @@
-Version 2.1, February 1999
-
-    Copyright (C) 1991, 1999 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
-
-    [This is the first released version of the Lesser GPL. It also counts as the successor of the GNU Library Public License, version 2, hence the version number 2.1.]
-
-Preamble
-
-The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public Licenses are intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users.
-
-This license, the Lesser General Public License, applies to some specially designated software packages--typically libraries--of the Free Software Foundation and other authors who decide to use it. You can use it too, but we suggest you first think carefully about whether this license or the ordinary General Public License is the better strategy to use in any particular case, based on the explanations below.
-
-When we speak of free software, we are referring to freedom of use, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish); that you receive source code or can get it if you want it; that you can change the software and use pieces of it in new free programs; and that you are informed that you can do these things.
-
-To protect your rights, we need to make restrictions that forbid distributors to deny you these rights or to ask you to surrender these rights. These restrictions translate to certain responsibilities for you if you distribute copies of the library or if you modify it.
-
-For example, if you distribute copies of the library, whether gratis or for a fee, you must give the recipients all the rights that we gave you. You must make sure that they, too, receive or can get the source code. If you link other code with the library, you must provide complete object files to the recipients, so that they can relink them with the library after making changes to the library and recompiling it. And you must show them these terms so they know their rights.
-
-We protect your rights with a two-step method: (1) we copyright the library, and (2) we offer you this license, which gives you legal permission to copy, distribute and/or modify the library.
-
-To protect each distributor, we want to make it very clear that there is no warranty for the free library. Also, if the library is modified by someone else and passed on, the recipients should know that what they have is not the original version, so that the original author's reputation will not be affected by problems that might be introduced by others.
-
-Finally, software patents pose a constant threat to the existence of any free program. We wish to make sure that a company cannot effectively restrict the users of a free program by obtaining a restrictive license from a patent holder. Therefore, we insist that any patent license obtained for a version of the library must be consistent with the full freedom of use specified in this license.
-
-Most GNU software, including some libraries, is covered by the ordinary GNU General Public License. This license, the GNU Lesser General Public License, applies to certain designated libraries, and is quite different from the ordinary General Public License. We use this license for certain libraries in order to permit linking those libraries into non-free programs.
-
-When a program is linked with a library, whether statically or using a shared library, the combination of the two is legally speaking a combined work, a derivative of the original library. The ordinary General Public License therefore permits such linking only if the entire combination fits its criteria of freedom. The Lesser General Public License permits more lax criteria for linking other code with the library.
-
-We call this license the "Lesser" General Public License because it does Less to protect the user's freedom than the ordinary General Public License. It also provides other free software developers Less of an advantage over competing non-free programs. These disadvantages are the reason we use the ordinary General Public License for many libraries. However, the Lesser license provides advantages in certain special circumstances.
-
-For example, on rare occasions, there may be a special need to encourage the widest possible use of a certain library, so that it becomes a de-facto standard. To achieve this, non-free programs must be allowed to use the library. A more frequent case is that a free library does the same job as widely used non-free libraries. In this case, there is little to gain by limiting the free library to free software only, so we use the Lesser General Public License.
-
-In other cases, permission to use a particular library in non-free programs enables a greater number of people to use a large body of free software. For example, permission to use the GNU C Library in non-free programs enables many more people to use the whole GNU operating system, as well as its variant, the GNU/Linux operating system.
-
-Although the Lesser General Public License is Less protective of the users' freedom, it does ensure that the user of a program that is linked with the Library has the freedom and the wherewithal to run that program using a modified version of the Library.
-
-The precise terms and conditions for copying, distribution and modification follow. Pay close attention to the difference between a "work based on the library" and a "work that uses the library". The former contains code derived from the library, whereas the latter must be combined with the library in order to run.
-TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
-0. This License Agreement applies to any software library or other program which contains a notice placed by the copyright holder or other authorized party saying it may be distributed under the terms of this Lesser General Public License (also called "this License"). Each licensee is addressed as "you".
-
-A "library" means a collection of software functions and/or data prepared so as to be conveniently linked with application programs (which use some of those functions and data) to form executables.
-
-The "Library", below, refers to any such software library or work which has been distributed under these terms. A "work based on the Library" means either the Library or any derivative work under copyright law: that is to say, a work containing the Library or a portion of it, either verbatim or with modifications and/or translated straightforwardly into another language. (Hereinafter, translation is included without limitation in the term "modification".)
-
-"Source code" for a work means the preferred form of the work for making modifications to it. For a library, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the library.
-
-Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running a program using the Library is not restricted, and output from such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does.
-
-1. You may copy and distribute verbatim copies of the Library's complete source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and distribute a copy of this License along with the Library.
-
-You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.
-
-2. You may modify your copy or copies of the Library or any portion of it, thus forming a work based on the Library, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:
-
-    a) The modified work must itself be a software library.
-
-    b) You must cause the files modified to carry prominent notices stating that you changed the files and the date of any change.
-
-    c) You must cause the whole of the work to be licensed at no charge to all third parties under the terms of this License.
-
-    d) If a facility in the modified Library refers to a function or a table of data to be supplied by an application program that uses the facility, other than as an argument passed when the facility is invoked, then you must make a good faith effort to ensure that, in the event an application does not supply such function or table, the facility still operates, and performs whatever part of its purpose remains meaningful.
-
-    (For example, a function in a library to compute square roots has a purpose that is entirely well-defined independent of the application. Therefore, Subsection 2d requires that any application-supplied function or table used by this function must be optional: if the application does not supply it, the square root function must still compute square roots.)
-
-    These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Library, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Library, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.
-
-    Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Library.
-
-    In addition, mere aggregation of another work not based on the Library with the Library (or with a work based on the Library) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 
-
-3. You may opt to apply the terms of the ordinary GNU General Public License instead of this License to a given copy of the Library. To do this, you must alter all the notices that refer to this License, so that they refer to the ordinary GNU General Public License, version 2, instead of to this License. (If a newer version than version 2 of the ordinary GNU General Public License has appeared, then you can specify that version instead if you wish.) Do not make any other change in these notices.
-
-Once this change is made in a given copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy.
-
-This option is useful when you wish to copy part of the code of the Library into a program that is not a library.
-
-4. You may copy and distribute the Library (or a portion or derivative of it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange.
-
-If distribution of object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place satisfies the requirement to distribute the source code, even though third parties are not compelled to copy the source along with the object code.
-
-5. A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a work, in isolation, is not a derivative work of the Library, and therefore falls outside the scope of this License.
-
-However, linking a "work that uses the Library" with the Library creates an executable that is a derivative of the Library (because it contains portions of the Library), rather than a "work that uses the library". The executable is therefore covered by this License. Section 6 states terms for distribution of such executables.
-
-When a "work that uses the Library" uses material from a header file that is part of the Library, the object code for the work may be a derivative work of the Library even though the source code is not. Whether this is true is especially significant if the work can be linked without the Library, or if the work is itself a library. The threshold for this to be true is not precisely defined by law.
-
-If such an object file uses only numerical parameters, data structure layouts and accessors, and small macros and small inline functions (ten lines or less in length), then the use of the object file is unrestricted, regardless of whether it is legally a derivative work. (Executables containing this object code plus portions of the Library will still fall under Section 6.)
-
-Otherwise, if the work is a derivative of the Library, you may distribute the object code for the work under the terms of Section 6. Any executables containing that work also fall under Section 6, whether or not they are linked directly with the Library itself.
-
-6. As an exception to the Sections above, you may also combine or link a "work that uses the Library" with the Library to produce a work containing portions of the Library, and distribute that work under terms of your choice, provided that the terms permit modification of the work for the customer's own use and reverse engineering for debugging such modifications.
-
-You must give prominent notice with each copy of the work that the Library is used in it and that the Library and its use are covered by this License. You must supply a copy of this License. If the work during execution displays copyright notices, you must include the copyright notice for the Library among them, as well as a reference directing the user to the copy of this License. Also, you must do one of these things:
-
-    a) Accompany the work with the complete corresponding machine-readable source code for the Library including whatever changes were used in the work (which must be distributed under Sections 1 and 2 above); and, if the work is an executable linked with the Library, with the complete machine-readable "work that uses the Library", as object code and/or source code, so that the user can modify the Library and then relink to produce a modified executable containing the modified Library. (It is understood that the user who changes the contents of definitions files in the Library will not necessarily be able to recompile the application to use the modified definitions.)
-
-    b) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (1) uses at run time a copy of the library already present on the user's computer system, rather than copying library functions into the executable, and (2) will operate properly with a modified version of the library, if the user installs one, as long as the modified version is interface-compatible with the version that the work was made with.
-
-    c) Accompany the work with a written offer, valid for at least three years, to give the same user the materials specified in Subsection 6a, above, for a charge no more than the cost of performing this distribution.
-
-    d) If distribution of the work is made by offering access to copy from a designated place, offer equivalent access to copy the above specified materials from the same place.
-
-    e) Verify that the user has already received a copy of these materials or that you have already sent this user a copy.
-
-For an executable, the required form of the "work that uses the Library" must include any data and utility programs needed for reproducing the executable from it. However, as a special exception, the materials to be distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.
-
-It may happen that this requirement contradicts the license restrictions of other proprietary libraries that do not normally accompany the operating system. Such a contradiction means you cannot use both them and the Library together in an executable that you distribute.
-
-7. You may place library facilities that are a work based on the Library side-by-side in a single library together with other library facilities not covered by this License, and distribute such a combined library, provided that the separate distribution of the work based on the Library and of the other library facilities is otherwise permitted, and provided that you do these two things:
-
-    a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities. This must be distributed under the terms of the Sections above.
-
-    b) Give prominent notice with the combined library of the fact that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work.
-
-8. You may not copy, modify, sublicense, link with, or distribute the Library except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, link with, or distribute the Library is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.
-
-9. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Library or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Library (or any work based on the Library), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Library or works based on it.
-
-10. Each time you redistribute the Library (or any work based on the Library), the recipient automatically receives a license from the original licensor to copy, distribute, link with or modify the Library subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties with this License.
-
-11. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Library at all. For example, if a patent license would not permit royalty-free redistribution of the Library by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Library.
-
-If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply, and the section as a whole is intended to apply in other circumstances.
-
-It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice.
-
-This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.
-
-12. If the distribution and/or use of the Library is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Library under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License.
-
-13. The Free Software Foundation may publish revised and/or new versions of the Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
-
-Each version is given a distinguishing version number. If the Library specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Library does not specify a license version number, you may choose any version ever published by the Free Software Foundation.
-
-14. If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.
-
-NO WARRANTY
-
-15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
-
-16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 

Copied: plugins/trunk/unported/digestview/LICENSE (from rev 4488, plugins/trunk/digestview/LICENSE)

Deleted: plugins/trunk/unported/digestview/README
===================================================================
--- plugins/trunk/digestview/README	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/digestview/README	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,13 +0,0 @@
-template code...
-
-{$digestview->setResultMax(4)}
-{$digestview->setUserId(1)}
-{foreach from=$digestview->generateDigestByCategory(2) item=post}
-   <a title="{$post->getText()|truncate:50:"..."|escape}" href="{$url->postLink($post)}">
-     {$post->getTopic()}
-   </a>
-   <br/>
-   <div class='indent1'>
-      {$post->getText()|strip_tags:false|truncate:70:"..."}
-   </div>
-{/foreach}

Copied: plugins/trunk/unported/digestview/README (from rev 4488, plugins/trunk/digestview/README)

Deleted: plugins/trunk/unported/digestview/plugindigestview.class.php
===================================================================
--- plugins/trunk/digestview/plugindigestview.class.php	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/digestview/plugindigestview.class.php	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,89 +0,0 @@
-<?php
-/*
-Plog Plugin - DigestView
-Copyright (C) 2005 Matthew Wood
-                                                                                
-This library is free software; you can redistribute it and/or modify it
-under the terms of the GNU Lesser General Public License as published by
-the Free Software Foundation; either version 2.1 of the License, or
-(at your option) any later version.
-*/
-
-include_once(PLOG_CLASS_PATH."class/plugin/pluginbase.class.php");
-include_once(PLOG_CLASS_PATH."class/dao/article.class.php");
-
-
-class PluginDigestView extends PluginBase
-{
-  var $_resMax = -1;
-  var $_userId = 0;
-  function PluginDigestView()
-  {
-    $this->PluginBase();
-
-    $this->id = "digestview";
-    $this->desc = "Allows a template designer to access quick post summaries".
-            " of categories and specific users whenever he/she wants";
-    $this->author = "woodzy";
-    $this->locale = Array();
-  } 
-  function setResultMax($maxReturn)
-  {
-    if (is_numeric($maxReturn))
-      $this->_resMax = $maxReturn;
-  }
-  function setUserId($userId)
-  {
-    if (is_numeric($userId))
-      $this->_userId = $userId;
-  }
-  function generateDigestByCategory($categoryId)
-  {
-    if (!is_numeric($maxReturn))
-      $maxReturn = 4;
-    if ($this->_resMax > 0)
-      $maxReturn = $this->_resMax;
-    
-    /* replicating some code here... but only because its much faster than
-     * instantiating a billion plog classes just to do this... 
-     */
-    $db =& Db::getDb();
-    $prefix = Db::getPrefix();
-    $blogInfo = $this->blogInfo;
-    
-    $sql="select a.id as id, l.category_id as category_id, ".
-            "a.user_id as user_id, a.blog_id as blog_id, t.text as text, ".
-            "t.topic as topic, a.slug as slug ".
-         "from ". $prefix ."articles a, ". 
-            "". $prefix ."article_categories_link l, ". 
-            "". $prefix ."articles_text t ".
-         "where ".
-           "a.blog_id='". Db::qstr($blogInfo->getId()) ."' and ".
-           "a.user_id='". Db::qstr($this->_userId) ."' and ".
-           "l.category_id='". Db::qstr($categoryId) ."' and ".
-           "a.id=l.article_id and a.id=t.id and a.status=1 ".
-         "order by date DESC limit $maxReturn";
-    $res = $db->Execute($sql);
-    $articles = Array();
-    if (!$res){return $articles; }
-    while ($row = $res->FetchRow())
-    {
-      $tmp = new Article( $row['topic'],
-                          $row['text'],
-                          0,
-                          $row['user_id'],
-                          $row['blog_id'],
-                          0,
-                          0,
-                          false,
-                          $row['slug'],
-                          $row['id']);
-      $articles[] = $tmp;
-    }
-    return $articles;
-  }
-}
-
-/* vim:ts=2:cin:expandtab:
-*/
-?>

Copied: plugins/trunk/unported/digestview/plugindigestview.class.php (from rev 4488, plugins/trunk/digestview/plugindigestview.class.php)

Copied: plugins/trunk/unported/dnsantispam (from rev 4487, plugins/trunk/dnsantispam)

Copied: plugins/trunk/unported/dnsantispam/class (from rev 4488, plugins/trunk/dnsantispam/class)

Copied: plugins/trunk/unported/dnsantispam/locale (from rev 4488, plugins/trunk/dnsantispam/locale)

Deleted: plugins/trunk/unported/dnsantispam/plugindnsantispam.class.php
===================================================================
--- plugins/trunk/dnsantispam/plugindnsantispam.class.php	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/dnsantispam/plugindnsantispam.class.php	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,47 +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/dnsantispam/class/security/dnsantispamfilter.class.php" );
-
-	class PluginDNSAntiSpam extends PluginBase
-	{
-		var $pluginEnabled;
-		
-		function PluginDNSAntiSpam()
-		{
-			$this->PluginBase();
-
-			$this->id      = "dnsantispam";
-			$this->author  = 'Original build by <a href="http://weblog.sinteur.com/">John Sinteur</a> for WordPress, Ported to pLog by Mark Wu';
-			$this->desc    = "Check if a comment poster is on an open proxy list, and check if the content contains known spammer domains.";
-
-			$this->locales = Array( "en_UK" , "zh_TW" );
-
-			$this->init();
-		}
-
-		function init()
-		{
-            $this->registerFilter( "DNSAntiSpamFilter" );
-
-            $this->registerAdminAction( "dnsantispam", "PluginDNSAntiSpamConfigAction" );
-			$this->registerAdminAction( "updateDNSAntiSpamConfig", "PluginDNSAntiSpamUpdateConfigAction" );
-			
-			$menu =& Menu::getMenu();
-			if( !$menu->entryExists( "/menu/controlCenter/manageAntiSpamPlugins" ))						
-				$this->addMenuEntry( "/menu/controlCenter", "manageAntiSpamPlugins", "", "", true, false );			
-            $this->addMenuEntry( "/menu/controlCenter/manageAntiSpamPlugins", "DNSAntiSpam", "?op=dnsantispam", "" );            
-		}
-
-		function register()
-		{
-		    $blogSettings = $this->blogInfo->getSettings();
-			$this->pluginEnabled = $blogSettings->getValue( "plugin_dnsantispam_enabled" );
-		}
-
-	    function isEnabled()
-	    {
-	        return $this->pluginEnabled;
-	    }
-	}
-?>
\ No newline at end of file

Copied: plugins/trunk/unported/dnsantispam/plugindnsantispam.class.php (from rev 4488, plugins/trunk/dnsantispam/plugindnsantispam.class.php)

Deleted: plugins/trunk/unported/dnsantispam/readme.txt
===================================================================
--- plugins/trunk/dnsantispam/readme.txt	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/dnsantispam/readme.txt	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,9 +0,0 @@
-Plugin: DNS Anti Spam
-Author: Mark Wu
-Release Date: 2005/01/23
-Version: 1.0
-
-Check if a comment poster is on an open proxy list, and check if the content contains known spammer domains.
-
-Install:
-1. Configurate your DNS Anti Spam plugin in your LifeType control center
\ No newline at end of file

Copied: plugins/trunk/unported/dnsantispam/readme.txt (from rev 4488, plugins/trunk/dnsantispam/readme.txt)

Copied: plugins/trunk/unported/dnsantispam/templates (from rev 4488, plugins/trunk/dnsantispam/templates)

Copied: plugins/trunk/unported/ectocustom (from rev 4488, plugins/trunk/ectocustom)

Copied: plugins/trunk/unported/editcomments (from rev 4488, plugins/trunk/editcomments)

Copied: plugins/trunk/unported/feedreader (from rev 4487, plugins/trunk/feedreader)

Copied: plugins/trunk/unported/feedreader/class (from rev 4488, plugins/trunk/feedreader/class)

Copied: plugins/trunk/unported/feedreader/imgs (from rev 4488, plugins/trunk/feedreader/imgs)

Copied: plugins/trunk/unported/feedreader/locale (from rev 4488, plugins/trunk/feedreader/locale)

Deleted: plugins/trunk/unported/feedreader/pluginfeedreader.class.php
===================================================================
--- plugins/trunk/feedreader/pluginfeedreader.class.php	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/feedreader/pluginfeedreader.class.php	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,29 +0,0 @@
-<?php
-
-	include_once( PLOG_CLASS_PATH."class/plugin/pluginbase.class.php" );
-	
-	class PluginFeedReader extends PluginBase 
-	{
-		function PluginFeedReader()
-		{
-			$this->PluginBase();
-			
-			$this->id = "feedreader";
-			$this->desc = "RSS/Atom feed reader integrated into LifeType's admin interface";
-			$this->author = "The LifeType Project";
-			$this->locales = Array( "en_UK" , "zh_TW" , "zh_CN", "es_ES" );
-			
-			// register our actions
-			$this->registerAdminAction( "feedReader", "FeedReaderAction" );
-			$this->registerAdminAction( "readFeed", "ReadFeedAction" );
-			
-			// register a new menu entry
-			$this->addMenuEntry( "/menu/Manage/manageLinks",      // menu path
-			                     "feedReader",   // menu id
-								 "?op=feedReader",
-								 "feedReader",
-								 true, 
-								 false );
-		}
-	}
-?>
\ No newline at end of file

Copied: plugins/trunk/unported/feedreader/pluginfeedreader.class.php (from rev 4488, plugins/trunk/feedreader/pluginfeedreader.class.php)

Deleted: plugins/trunk/unported/feedreader/readme.txt
===================================================================
--- plugins/trunk/feedreader/readme.txt	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/feedreader/readme.txt	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,6 +0,0 @@
-Plugin: Feed Reader
-Author: LifeType Team
-Release Date: 2005/02/13
-Version: 1.0
-
-RSS/Atom feed reader integrated into LifeType's admin interface
\ No newline at end of file

Copied: plugins/trunk/unported/feedreader/readme.txt (from rev 4488, plugins/trunk/feedreader/readme.txt)

Copied: plugins/trunk/unported/feedreader/templates (from rev 4488, plugins/trunk/feedreader/templates)

Copied: plugins/trunk/unported/gallery (from rev 4488, plugins/trunk/gallery)

Copied: plugins/trunk/unported/galleryimages (from rev 4487, plugins/trunk/galleryimages)

Deleted: plugins/trunk/unported/galleryimages/plugingalleryimages.class.php
===================================================================
--- plugins/trunk/galleryimages/plugingalleryimages.class.php	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/galleryimages/plugingalleryimages.class.php	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,138 +0,0 @@
-<?php
-
-    include_once( PLOG_CLASS_PATH."class/plugin/pluginbase.class.php" );
-    
-    /**
-     * Plugin that offers features such as to return a random image from the 
-     * public collections/albums, the latest image added, and so on
-     */
-    class PluginGalleryImages extends PluginBase
-    {
-    
-        function PluginGalleryImages()
-        {
-            $this->author = "The LifeType Project";
-            $this->desc = "This plugin offers two methods, one for fetching the most recently uploaded image and another one for retrieving a random image from our collection. Needless to say, this plugin only returns images and not any other type of resource. Only images that belong to public albums will be used. <br /><br />You can use the following snippet of template code to show the latest uploaded image in your templates:<br /><br /><b>{assign var=latestImage value=\$galleryimages-&gt;latestImage()}<br />&lt;a href=&quot;{\$url-&gt;resourceLink(\$latestImage)}&quot;&gt;<br />&lt;img style=&quot;border:0px;&quot; src=&quot;{\$url-&gt;resourcePreviewLink(\$latestImage)}&quot; alt=&quot;{\$latestImage-&gt;getDescription()}&quot; /&gt;<br />&lt;/a&gt;</b> <br /><br />To show a random image from your collection, you can use the following snippet: <br /><br /><b>{assign var=randomImage value=\$galleryimages-&gt;randomImage(9)}<br />&lt;a href=&quot;{\$url-&gt;resourceLink(\$randomImage)}&quot;&gt;<br />&lt;img style=&quot;border:0px;&quot; src=&quot;{\$url-&gt;resourcePreviewLink(\$randomImage)}&quot; alt=&quot;{\$randomImage-&gt;getDescription()}&quot; /&gt;<br />&lt;/a&gt;</b></p><p>And, you can use <br /><br /><strong>{\$galleryimages-&gt;randomImage(8)}</strong> to get 1 random image from album id=8, or use <br /><strong>{\$galleryimages-&gt;randomImage(10,3)}</strong> to get the 3 random images from album id=10 </p><p>Or, you also can use</p><p><strong>{\$galleryimages-&gt;lastImage(8)}</strong> to get last 1 upload image from album id=8, or use <br /><strong>{\$galleryimages-&gt;lastImage(10,3)}</strong> to get last 3 upload images from album id=10 <br /><br />";
-            $this->id = "galleryimages";
-            $this->locales = Array();
-            
-            $this->PluginBase();
-            
-            // register an extra action that will serve the images
-            
-        }
- 
-        /**
-         * Returns the GalleryResource object of the latest image uploaded to the database
-         */
-        function latestImages( $maxImages = 1, $album_id = 0 )
-        {
-            include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresources.class.php" );        
-            $resources = new GalleryResources();
-            $prefix = $resources->getPrefix();
-            $blogId = $this->blogInfo->getId();
-            
-            // quite a long query here... but we have to choose only images, and from those
-            // images, only those that belong to albums that have been set to be shown
-            // in the public side
-            $query = "SELECT r.id AS id, r.owner_id AS owner_id, r.album_id AS album_id,
-                      r.description AS description, r.date AS date, r.flags AS flags,
-                      r.resource_type AS resource_type, r.file_path AS file_path,
-                      r.file_name AS file_name, r.metadata AS metadata, 
-                      r.thumbnail_format AS thumbnail_format
-                      FROM {$prefix}gallery_resources r";
-            if( $album_id > 0 )
-                $query .= ", {$prefix}gallery_albums a";
-                
-            $query .= " WHERE r.resource_type = 1 AND r.owner_id = '".Db::qstr($blogId)."'";
-                      
-            if( $album_id > 0 )
-                $query .= " AND a.show_album = 1 AND a.id = '".Db::qstr($album_id)."' AND r.album_id = '".Db::qstr($album_id)."'";
-                
-            $query .= "ORDER BY r.date DESC LIMIT 0, {$maxImages}";
-            // just to make things easier, we'll cheat a little here...
-            
-			include_once( PLOG_CLASS_PATH."class/database/db.class.php" );
-			$db =& Db::getDb();
-            $result = $db->Execute( $query );
-
-            if( !$result )
-                return false;
-                
-            $latestimages = Array();
-            while( $row = $result->FetchRow()) { 
-               array_push( $latestimages, $resources->mapRow( $row )); 
-            } 
-            
-            return $latestimages;
-        }
-        
-        /**
-         * Returns only the latest image from the givel album id
-         */
-        function latestImage( $album_id = 0 )
-        {
-            $latestImages = $this->latestImages( 1, $album_id );
-            
-            if( $latestImages ) 
-                return( array_pop( $latestImages ));
-            else
-                return( false );
-        }
-        
-        /**
-         * Returns exactly one random image from our collection
-         */
-        function randomImage( $album_id = 0 )
-        {
-            $randomImages = $this->randomImages( $album_id );
-            
-            if( $randomImages )
-                return( array_pop( $randomImage ));
-            else
-                return( false );
-        }
-        
-        /**
-         * Returns the GalleryResource object of a random image from one of the public albums
-         */
-        function randomImages( $maxImages = 1, $album_id = 0 )
-        {
-            include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresources.class.php" );        
-            $resources = new GalleryResources();
-            $prefix = $resources->getPrefix();
-            $blogId = $this->blogInfo->getId();
-            
-            $query = "SELECT r.id AS id, r.owner_id AS owner_id, r.album_id AS album_id,
-                      r.description AS description, r.date AS date, r.flags AS flags,
-                      r.resource_type AS resource_type, r.file_path AS file_path,
-                      r.file_name AS file_name, r.metadata AS metadata, 
-                      r.thumbnail_format AS thumbnail_format
-                      FROM {$prefix}gallery_resources r";
-            if( $album_id > 0 ) 
-                $query .= ", {$prefix}gallery_albums a";
-            $query .= " WHERE r.resource_type = 1 AND r.owner_id = $blogId";
-            if( $album_id > 0 ) {
-                $query .=" AND a.show_album = 1 AND r.album_id = '".Db::qstr($album_id)."' AND a.id = '".Db::qstr($album_id)."'";
-            }
-                      
-            $query .=" ORDER BY RAND() LIMIT 0, {$maxImages}";
-            
-            // just to make things easier, we'll cheat a little here...            
-			include_once( PLOG_CLASS_PATH."class/database/db.class.php" );
-			$db =& Db::getDb();
-            $result = $db->Execute( $query );
-
-            if( !$result )
-                return false;
-                
-            $randomimages = Array();
-            while( $row = $result->FetchRow()) { 
-               array_push( $randomimages, $resources->mapRow( $row )); 
-            } 
-            
-            return $randomimages;
-        }
-    }
-    
-?>
\ No newline at end of file

Copied: plugins/trunk/unported/galleryimages/plugingalleryimages.class.php (from rev 4488, plugins/trunk/galleryimages/plugingalleryimages.class.php)

Copied: plugins/trunk/unported/googleanalytics (from rev 4487, plugins/trunk/googleanalytics)

Copied: plugins/trunk/unported/googleanalytics/class (from rev 4488, plugins/trunk/googleanalytics/class)

Copied: plugins/trunk/unported/googleanalytics/locale (from rev 4488, plugins/trunk/googleanalytics/locale)

Deleted: plugins/trunk/unported/googleanalytics/plugingoogleanalytics.class.php
===================================================================
--- plugins/trunk/googleanalytics/plugingoogleanalytics.class.php	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/googleanalytics/plugingoogleanalytics.class.php	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,65 +0,0 @@
-<?php
-
-    include_once( PLOG_CLASS_PATH."class/plugin/pluginbase.class.php" );
-    include_once( PLOG_CLASS_PATH."class/plugin/pluginmanager.class.php" );
-    
-    /**
-	* offers features to inset google analytics javascript codes in tempalte header.
-	*/
-    class PluginGoogleAnalytics extends PluginBase
-    {
-        var $pluginEnabled;
-		var $uacct;
-        
-        function PluginGoogleAnalytics()
-        {
-			$this->PluginBase();
-			
-            $this->id = "googleanalytics";
-            $this->author = "lss";
-            $this->desc = "This plugin offers features to inset google analytics javascript codes in tempalte header.\nversion:0.1";
-  
-            $this->locales = Array( "en_UK" , "zh_TW" , "zh_CN", "es_ES" );
-            
-            $this->init();
-        }
-
-		function init()
-		{
-			$this->registerAdminAction( "googleanalytics", "PluginGoogleAnalyticsConfigAction" );
-			$this->registerAdminAction( "updategoogleanalytics", "PluginGoogleAnalyticsUpdateConfigAction" );
-			
-			$menu =& Menu::getMenu();
-            $this->addMenuEntry( "/menu/controlCenter/manageSettings", "GoogleAnalytics", "?op=googleanalytics");
-		}
-
-		function register()
-		{
-		    $blogSettings = $this->blogInfo->getSettings();
-		    $this->pluginEnabled = $blogSettings->getValue( "plugin_googleanalytics_enabled" );
-	        $this->uacct = $blogSettings->getValue( "plugin_googleanalytics_uacct" );
-	    }
-	    
-	    function isEnabled()
-	    {
-	        return $this->pluginEnabled;
-	    }
-
-        /**
-		* Returns google analytics javascript
-		*/
-        function getJavascriptCode()
-        {
-		$jsCode = "";
-		if( $this->isEnabled() ){
-			$jsCode ="<script src=\"http://www.google-analytics.com/urchin.js\" type=\"text/javascript\">\n"
-					."</script>\n"
-					."<script type=\"text/javascript\">\n"
-					."_uacct = \"".$this->uacct."\";\n"
-					."urchinTracker();\n"
-					."</script>\n";
-		}
-			return $jsCode;
-        }
-    }
-?>

Copied: plugins/trunk/unported/googleanalytics/plugingoogleanalytics.class.php (from rev 4488, plugins/trunk/googleanalytics/plugingoogleanalytics.class.php)

Deleted: plugins/trunk/unported/googleanalytics/readme-zh_TW.txt
===================================================================
--- plugins/trunk/googleanalytics/readme-zh_TW.txt	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/googleanalytics/readme-zh_TW.txt	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,23 +0,0 @@
-Google Analytics Plugin v0.1
-
-說明
-這個外掛程式可以做兩件事:
-1.在 管理介面裡 -> 個人網誌設定 提供設定頁,Blogger 可以填入他的 _uacct 代碼。這個代碼可以在 Google Analytics 的追蹤程式碼裡找到。
-2.提供一個 getJavascriptCode 方法,以在樣版檔中產生 Google Analytics 追蹤程式碼。
-
-安裝
-將下載的外掛程式 zip 檔解壓縮到 lifetype 的 plugins 目錄下,然後在管理介面的外掛程式中心重新整理網頁,便可看到 googleanalytics 外掛已經安裝了。
-
-設定
-1.進入管理介面 -> 個人網誌設定 -> Google Analytics
-2.啟用外掛程式,並且輸入你的 _uacct 代碼。這個代碼可以在 Google Analytics 追蹤程式碼裡找到。
-
-修改樣版
-將下面的樣版代碼加入你使用的樣版的 header.template 檔案裡的 </head> 標籤之前。
-
-{if $googleanalytics}
-{$googleanalytics->getJavascriptCode()}
-{/if}
-</head>
-
-當然,你必須先申請一個 Google Analytics 帳號才行。

Copied: plugins/trunk/unported/googleanalytics/readme-zh_TW.txt (from rev 4488, plugins/trunk/googleanalytics/readme-zh_TW.txt)

Deleted: plugins/trunk/unported/googleanalytics/readme.txt
===================================================================
--- plugins/trunk/googleanalytics/readme.txt	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/googleanalytics/readme.txt	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,23 +0,0 @@
-Google Analytics Plugin v0.1
-
-Description
-This plugin do 2 things.
-1.It offers a settings page in blog settings. Blogger can fill in his _uacct code whick can be finded in google analytics tracing code.
-2.It offers a method call getJavascriptCode returning google analytics tracing code which can be add to template file.
-
-Installation
-Just unpack the pluing zip file to your lifetype plugins folder, then refresh browser in plugins center. You can find googleanalytics plugin installed.
-
-Configuration
-1.Enter admin page, goto control center -> Google Analytics.
-2.Enable this plugin and fill in you _uacct code. You can find this code in google analytics tracing code.
-
-Tempalte
-Add template code blow to your header.template, just above </head> tag.
-
-{if $googleanalytics}
-{$googleanalytics->getJavascriptCode()}
-{/if}
-</head>
-
-Of course, you must get a google analytics account first. :P

Copied: plugins/trunk/unported/googleanalytics/readme.txt (from rev 4488, plugins/trunk/googleanalytics/readme.txt)

Copied: plugins/trunk/unported/googleanalytics/templates (from rev 4488, plugins/trunk/googleanalytics/templates)

Copied: plugins/trunk/unported/gravatar (from rev 4487, plugins/trunk/gravatar)

Copied: plugins/trunk/unported/gravatar/avatars (from rev 4488, plugins/trunk/gravatar/avatars)

Copied: plugins/trunk/unported/gravatar/class (from rev 4488, plugins/trunk/gravatar/class)

Copied: plugins/trunk/unported/gravatar/locale (from rev 4488, plugins/trunk/gravatar/locale)

Deleted: plugins/trunk/unported/gravatar/plugingravatar.class.php
===================================================================
--- plugins/trunk/gravatar/plugingravatar.class.php	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/gravatar/plugingravatar.class.php	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,98 +0,0 @@
-<?php
-
-    include_once( PLOG_CLASS_PATH."class/plugin/pluginbase.class.php" );
-    include_once( PLOG_CLASS_PATH."class/plugin/pluginmanager.class.php" );
-    
-    /**
-     * Mostra un avatar a cada comentari descarregant-lo de Gravatar.com. Versió 0.2
-     */
-
-    define( "AVATAR_FILE_PATH", PLOG_CLASS_PATH."/plugins/gravatar/avatars/" );
-
-    class PluginGravatar extends PluginBase
-    {
-        var $pluginEnabled;
-        var $rating;
-        var $default;
-        var $size;
-
-        function PluginGravatar()
-        {
-            $this->PluginBase();
-
-            $this->id = "gravatar";            
-            $this->author = "Original by Dani Armengol, Modified by Mark Wu";
-            $this->desc = "Returns the URL of an (gr)avatar for every comment. The image is loaded from Gravatar.com";
-
-            $this->locales = Array( "en_UK" , "zh_TW" , "zh_CN" );
-
-            $this->init();            
-        }
-        
-		function init()
-		{
-            $this->registerAdminAction( "gravatar", "PluginGravatarConfigAction" );
-			$this->registerAdminAction( "updateGravatarConfig", "PluginGravatarUpdateConfigAction" );
-			
-			$menu =& Menu::getMenu();
-			if( !$menu->entryExists( "/menu/controlCenter/manageAppearancePlugins" ))						
-				$this->addMenuEntry( "/menu/controlCenter", "manageAppearancePlugins", "", "", true, false );			
-            $this->addMenuEntry( "/menu/controlCenter/manageAppearancePlugins", "Gravatar", "?op=gravatar", "" );
-		}
-
-		function register()
-		{
-		    $blogSettings = $this->blogInfo->getSettings();
-		    $this->pluginEnabled = $blogSettings->getValue( "plugin_gravatar_enabled" );
-		    $this->rating = $blogSettings->getValue( "plugin_gravatar_rating" );
-	        $this->default = $blogSettings->getValue( "plugin_gravatar_default" );
-	        $this->size = $blogSettings->getValue( "plugin_gravatar_size", 40 );	
-	    }
-	    
-	    function isEnabled()
-	    {
-	        return $this->pluginEnabled;
-	    }
-
-	    function getSize()
-	    {
-	        return $this->size;
-	    } 	       
-
-        /**
-         * Returns the gravatar object from www.gravatar.com
-         */
-         
-        function gravatar($comment, $rating="", $default = "", $size="" )
-        {
-			if ( $rating == "") {
-			    $rating = $this->rating;
-			} else {
-			    if ( $rating != "G" && $rating != "PG" && $rating != "R" && $rating != "X" )
-			        $rating = "G";
-			}
-
-			if ( $default == "" ) {
-			    $rg = $this->blogInfo->getBlogRequestGenerator();
-				$default = $rg->getUrl( "/plugins/gravatar/avatars/".$this->default);
-            }
-			
-			if ( $size == "") {
-			    $size = $this->size;
-			} else {
-			    if ( $size < 30 || $size > 80)
-			        $size = 40;
-			
-			}          
-                
-            if($comment->getUserEmail() != "")
-            {
-	            $gravatar_url = "http://www.gravatar.com/avatar.php?rating=".$rating."&gravatar_id=".md5($comment->getUserEmail())."&default=".urlencode($default)."&size=".$size;
-            } else {
-	            $gravatar_url = $default;
-            }
-
-            return $gravatar_url;
-        }
-    }
-?>

Copied: plugins/trunk/unported/gravatar/plugingravatar.class.php (from rev 4488, plugins/trunk/gravatar/plugingravatar.class.php)

Deleted: plugins/trunk/unported/gravatar/readme.txt
===================================================================
--- plugins/trunk/gravatar/readme.txt	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/gravatar/readme.txt	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,23 +0,0 @@
-Plugin: Gravatar
-Author: Original by Dani Armengol, Modified by Mark Wu
-Release Date: 2005/01/23
-Version: 1.0
-
-Returns the URL of an (gr)avatar for every comment. The image is loaded from Gravatar.com
-
-In order to use, simply include the following:
-1. $gravatar->isEnabled() to check the plugin is enabled or not. 
-2. $gravatar->gravatar($comment,$rating,$default,$size) to get to Avatar from Gravatar.com
-
-Where:
-1. $rating is the allowed rating of avatar. Default is "G"
-2. $default is the URL of the default image that will be shown in case there is no gravatar available or if the user did not give an email address. You also can choose your default avatar from configuration panel. Default is "default.jpg"
-3. $size is the desired size in pixels of the gravatar. Default is 40.
-
-Example:
-Add the following code to postandcomments.template:
-{if $gravatar->isEnabled()}
-<img src="{$gravatar->gravatar($comment)}" width="{$gravatar->getSize()}" height="{$gravatar->getSize()}" align="left" />
-{/if}
-
-You can add your own default avatar image to /plugin/gravatar/avatars. This plugin only support GIF and JPG format currently.
\ No newline at end of file

Copied: plugins/trunk/unported/gravatar/readme.txt (from rev 4488, plugins/trunk/gravatar/readme.txt)

Copied: plugins/trunk/unported/gravatar/templates (from rev 4488, plugins/trunk/gravatar/templates)

Copied: plugins/trunk/unported/helloworld (from rev 4487, plugins/trunk/helloworld)

Deleted: plugins/trunk/unported/helloworld/pluginhelloworld.class.php
===================================================================
--- plugins/trunk/helloworld/pluginhelloworld.class.php	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/helloworld/pluginhelloworld.class.php	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,126 +0,0 @@
-<?php
-
-    // -- plugin manager stuff
-	include_once( PLOG_CLASS_PATH."class/plugin/pluginbase.class.php" );
-    // -- for the public side action
-	include_once( PLOG_CLASS_PATH."class/action/blogaction.class.php" );
-    include_once( PLOG_CLASS_PATH."class/view/errorview.class.php" );
-    // -- for the admin side action
-    include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
-    include_once( PLOG_CLASS_PATH."class/view/admin/adminerrorview.class.php" );
-    // -- admin menu
-    include_once( PLOG_CLASS_PATH."class/template/menu/menu.class.php" );
-    
-    // -------------------
-    //
-    // very simple example of an action that is registered by the plugin
-    //
-    // -------------------
-    class PluginHelloWorldAdminAction extends AdminAction
-    {
-        function PluginHelloWorldAdminAction( $actionInfo, $request ) 
-        {
-            $this->AdminAction( $actionInfo, $request );
-        }
-        
-        function perform()
-        {
-            $this->_view = new AdminErrorView( $this->_blogInfo );
-            $this->_view->setMessage( "I am the PluginHelloWorldAction and I am quitting the whole thing from the admin interface :)" );
-            $this->setCommonData();
-        }
-    }
-
-    // -------------------
-    //
-    // very simple example of an *admin* action that is registered by the plugin
-    //
-    // -------------------    
-    class PluginHelloWorldAction extends BlogAction
-    {
-        function PluginHelloWorldAction( $actionInfo, $request ) 
-        {
-            $this->BlogAction( $actionInfo, $request );
-        }
-        
-        function perform()
-        {
-            $this->_view = new ErrorView( $this->_blogInfo );
-            $this->_view->setValue( "message", "I am the PluginHelloWorldAction and I am quitting the whole thing :)" );
-            $this->setCommonData();
-        }
-    }
-    
-    // -------------------
-    //
-    // very simple example of an filter for the pipeline that is registered by the plugin
-    //
-    // -------------------
-    class PluginHelloWorldTestFilter extends PipelineFilter
-    {
-        function PluginHelloWorldTestFilter( $pipelineRequest ) 
-        {
-            $this->PipelineFilter( $pipelineRequest );
-        }
-        
-        //
-        // like any other filter, we have to implement the filter() method and do whatever we would
-        // like to do there, as a filter
-        //
-        function filter()
-        {
-            // check for a certain parameter in the url
-            $pipelineRequest = $this->getPipelineRequest();
-            $httpRequest = $pipelineRequest->getHttpRequest();
-            if( $httpRequest->getValue( "block" ) == "me" ) {
-                // if available, cancel the whole thing just to show what kind of things can
-                // be done here...
-                $result = new PipelineResult( false, 1, "You triggered the easter egg!!" );
-            }
-            else
-                $result = new PipelineResult( true );
-                
-            return $result;
-        }
-    }
-	
-    /**
-     * Implementation of a very simple plugin file.
-     */
-    class PluginHelloWorld extends PluginBase 
-    {
-
-    	function PluginHelloWorld()
-        {
-        	$this->PluginBase();
-
-            $this->desc    = "This is a very simple plugin to show how to develop custom plugins";
-            $this->author  = "The LifeType team";
-            $this->id      = "helloworld";
-			$this->locales = Array();
-            
-            // register a sample action for the public side        
-            $this->registerBlogAction( "test", "PluginHelloWorldAction" );
-            // register a simple action for the admin side and add a link to it
-            $this->registerAdminAction( "testAdmin", "PluginHelloWorldAdminAction" );
-            $this->addMenuEntry( "/menu/Manage/manageLinks", "testAction", "admin.php?op=testAdmin", "PluginHelloWorld Sample Action" );
-            // and register a sample pipeline filter
-            $this->registerFilter( "PluginHelloWorldTestFilter" );
-			
-			// register an event
-			$this->registerNotification( EVENT_POST_LOADED, "MyTestEventPlugin" );
-        }
-		
-		function process( $eventType, $params )
-		{			
-			// return the content as it came, as the caller class probably expected us to do
-			// something with it...
-			return $params;
-		}		
-        
-        function sayHello()
-        {
-        	return( "Hello, world!" );
-        }
-    }
-?>
\ No newline at end of file

Copied: plugins/trunk/unported/helloworld/pluginhelloworld.class.php (from rev 4488, plugins/trunk/helloworld/pluginhelloworld.class.php)

Copied: plugins/trunk/unported/hostblock (from rev 4487, plugins/trunk/hostblock)

Copied: plugins/trunk/unported/hostblock/class (from rev 4488, plugins/trunk/hostblock/class)

Copied: plugins/trunk/unported/hostblock/locale (from rev 4488, plugins/trunk/hostblock/locale)

Deleted: plugins/trunk/unported/hostblock/pluginhostblock.class.php
===================================================================
--- plugins/trunk/hostblock/pluginhostblock.class.php	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/hostblock/pluginhostblock.class.php	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,97 +0,0 @@
-<?php
-
-	include_once( PLOG_CLASS_PATH."class/plugin/pluginbase.class.php" );
-	include_once( PLOG_CLASS_PATH."plugins/hostblock/class/security/hostsblacklist.class.php" );
-	
-	/**
-	 * events that this plugin generates
-	 */
-	define( "EVENT_PRE_BLOCK_HOST_ADD", 600 );
-	define( "EVENT_POST_BLOCK_HOST_ADD", 601 );
-	define( "EVENT_PRE_BLOCK_HOST_DELETE", 602 );
-	define( "EVENT_POST_BLOCK_HOST_DELETE", 603 );
-	define( "EVENT_PRE_BLOCK_HOST_UPDATE", 604 );
-	define( "EVENT_POST_BLOCK_HOST_UPDATE", 605 );
-	
-	
-	/**
-	 * implements host blocking features
-	 */
-	class PluginHostBlock extends PluginBase
-	{
-	    var $pluginEnabled;
-		
-		function PluginHostBlock()
-		{
-			$this->PluginBase();
-			
-			$this->id = "hostblock";
-			$this->desc = "Allows to block hosts";
-			$this->author = "The LifeType Project";
-			$this->locales = Array( "en_UK" , "zh_TW" , "zh_CN" );
-			
-			$this->init();
-		}
-		
-		/**
-		 * registers all the filters and actions that we're going to use
-		 */
-		function init()
-		{
-			// register the filter
-			$this->registerFilter( "HostsBlackList" );
-
-			// register the superadmin actions
-			$this->registerAdminAction( "blockedHosts", "AdminBlockedHostsAction" );
-			$this->registerAdminAction( "newBlockedHost", "AdminNewBlockedHostAction" );
-			$this->registerAdminAction( "addBlockedHost", "AdminAddBlockedHostAction" );
-			$this->registerAdminAction( "editBlockedHost", "AdminEditBlockedHostAction" );
-			$this->registerAdminAction( "updateBlockedHost", "AdminUpdateBlockedHostAction" );
-			$this->registerAdminAction( "deleteBlockedHost", "AdminDeleteBlockedHostAction" );
-			$this->registerAdminAction( "deleteBlockedHosts", "AdminDeleteBlockedHostAction" );
-
-			// register the blog owner actions
-			$this->registerAdminAction( "blogBlockHostFromPosting", "AdminBlogBlockHostFromPostingAction" );
-			$this->registerAdminAction( "blogBlockedHosts", "AdminBlogBlockedHostsAction" );
-			$this->registerAdminAction( "newBlogBlockedHost", "AdminNewBlogBlockedHostAction" );
-			$this->registerAdminAction( "addBlogBlockedHost", "AdminAddBlogBlockedHostAction" );
-			$this->registerAdminAction( "editBlogBlockedHost", "AdminEditBlogBlockedHostAction" );
-			$this->registerAdminAction( "updateBlogBlockedHost", "AdminUpdateBlogBlockedHostAction" );
-			$this->registerAdminAction( "deleteBlogBlockedHost", "AdminDeleteBlogBlockedHostAction" );
-			$this->registerAdminAction( "deleteBlogBlockedHosts", "AdminDeleteBlogBlockedHostAction" );
-
-			// register the plugin settings actions
-			$this->registerAdminAction( "blockedHostSettings", "AdminBlockedHostSettingsAction" );
-			$this->registerAdminAction( "updateBlockedHostSettings", "AdminUpdateBlockedHostSettingsAction" );
-			
-			// register the menu entries, but the first one is only registered if it hasn't been
-			// created yet
-            include_once( PLOG_CLASS_PATH."class/template/menu/menu.class.php" );
-            $menu =& Menu::getMenu();
-			if( !$menu->entryExists( "/menu/Manage/blogSecurity" ))						
-				$this->addMenuEntry( "/menu/Manage", "blogSecurity", "", "", true, false );
-			$this->addMenuEntry( "/menu/Manage/blogSecurity", "blogBlockedHosts", "admin.php?op=blogBlockedHosts", "blogBlockedHosts", true, false );
-			$this->addMenuEntry( "/menu/Manage/blogSecurity", "newBlogBlockedHost", "admin.php?op=newBlogBlockedHost", "newBlogBlockedHost", true, false );
-
-			if( !$menu->entryExists( "/menu/adminSettings/siteSecurity" ))			
-				$this->addMenuEntry( "/menu/adminSettings", "siteSecurity", "", "", true, false );			
-            $this->addMenuEntry( "/menu/adminSettings/siteSecurity", "blockedHosts", "admin.php?op=blockedHosts", "blockedHosts", false, true );
-            $this->addMenuEntry( "/menu/adminSettings/siteSecurity", "newBlockedHost", "admin.php?op=newBlockedHost", "newBlockedHost", false, true );			
-
-            if( !$menu->entryExists( "/menu/controlCenter/manageSecurityPlugins" ))                     
-                $this->addMenuEntry( "/menu/controlCenter", "manageSecurityPlugins", "", "", true, false );
-            $this->addMenuEntry( "/menu/controlCenter/manageSecurityPlugins", "blockedHostSettings", "admin.php?op=blockedHostSettings", "", true, false );
-		}
-
-		function register()
-		{
-		    $blogSettings = $this->blogInfo->getSettings();
-			$this->pluginEnabled = $blogSettings->getValue( "plugin_hostblock_enabled" );
-		}
-
-	    function isEnabled()
-	    {
-	        return $this->pluginEnabled;
-	    }		
-	}  
-?>
\ No newline at end of file

Copied: plugins/trunk/unported/hostblock/pluginhostblock.class.php (from rev 4488, plugins/trunk/hostblock/pluginhostblock.class.php)

Deleted: plugins/trunk/unported/hostblock/readme.txt
===================================================================
--- plugins/trunk/hostblock/readme.txt	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/hostblock/readme.txt	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,9 +0,0 @@
-Plugin: Host Block
-Author: LifeType Team
-Release Date: 2005/01/23
-Version: 1.0
-
-This plugin offers you to block specific client IP when comment submitted.
-
-Install:
-1. Configurate your Host Block plugin in your LifeType control center
\ No newline at end of file

Copied: plugins/trunk/unported/hostblock/readme.txt (from rev 4488, plugins/trunk/hostblock/readme.txt)

Copied: plugins/trunk/unported/hostblock/templates (from rev 4488, plugins/trunk/hostblock/templates)

Copied: plugins/trunk/unported/hotlinkprevention (from rev 4488, plugins/trunk/hotlinkprevention)

Copied: plugins/trunk/unported/jupload (from rev 4487, plugins/trunk/jupload)

Copied: plugins/trunk/unported/jupload/class (from rev 4488, plugins/trunk/jupload/class)

Copied: plugins/trunk/unported/jupload/jupload (from rev 4488, plugins/trunk/jupload/jupload)

Copied: plugins/trunk/unported/jupload/locale (from rev 4488, plugins/trunk/jupload/locale)

Deleted: plugins/trunk/unported/jupload/pluginjupload.class.php
===================================================================
--- plugins/trunk/jupload/pluginjupload.class.php	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/jupload/pluginjupload.class.php	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,64 +0,0 @@
-<?php
-
-    include_once( PLOG_CLASS_PATH."class/plugin/pluginbase.class.php" );
-    include_once( PLOG_CLASS_PATH."class/plugin/pluginmanager.class.php" );
-    
-    /**
-     * Plugin offers you to integrate JUpload with pLog.
-     */
-    class PluginJUpload extends PluginBase
-    {
-        var $resourceCenterEnabled;
-        var $pluginEnabled;
-        var $maxFilesPerRequest;
-        var $maxTotalRequestSize;
-           
-        function PluginJUpload()
-        {
-            $this->PluginBase();
-  
-            $this->id = "jupload";
-            $this->author = "Mark Wu";
-            $this->desc = "This plugin offers you to integrate JUpload with LifeType.";
-  
-            $config =& Config::getConfig();
-            $this->resourceCenterEnabled = $config->getValue( "resources_enabled" );
-            $this->pluginEnabled = $config->getValue( "plugin_jupload_enabled" );
-            $this->maxFilesPerRequest = $config->getValue( "plugin_jupload_maxfilesperrequest" );
-            $this->maxTotalRequestSize = $config->getValue( "maximum_file_upload_size" );
-            
-            $this->locales = Array();
-            
-            $this->init();            
-        }
-
-		function init()
-		{
-            $this->registerAdminAction( "juploadConfig", "PluginJUploadConfigAction" );
-			$this->registerAdminAction( "juploadUpdateConfig", "PluginJUploadUpdateConfigAction" );
-            $this->registerAdminAction( "juploadNewResource", "PluginJUploadNewResourceAction" );
-			$this->registerAdminAction( "juploadAddResource", "PluginJUploadAddResourceAction" );
-			
-			$this->addMenuEntry( "/menu/adminSettings/GlobalSettings", "juploadConfig", "?op=juploadConfig","" );			
-            if ( $this->resourceCenterEnabled && $this->pluginEnabled )
-            {
-                $this->addMenuEntry( "/menu/ResourcesGroup/resourceCenter", "juploadNewResource", "?op=juploadNewResource", "" );
-            }
-		}
-
-	    function isEnabled()
-	    {
-	        return $this->pluginEnabled;
-	    }
-	    
-	    function getMaxFilesPerRequest()
-	    {
-	        return $this->maxFilesPerRequest;
-	    }
-	    
-	    function getMaxTotalRequestSize()
-	    {
-	        return $this->maxTotalRequestSize;
-	    }
-    }
-?>
\ No newline at end of file

Copied: plugins/trunk/unported/jupload/pluginjupload.class.php (from rev 4488, plugins/trunk/jupload/pluginjupload.class.php)

Deleted: plugins/trunk/unported/jupload/readme.txt
===================================================================
--- plugins/trunk/jupload/readme.txt	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/jupload/readme.txt	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,14 +0,0 @@
-Plugin: JUpload
-Author: Mark Wu
-Release Date: 2005/03/16
-Version: 1.0
-
-This plugin offers you to integrate JUpload into resource center.
-
-Install:
-Configurate your JUpload plugin in your LifeType Admin Settings.
-Enable it before use it.
-
-Notice:
-Thanks the auhtor of JUpload - Mike. He grant us the permission to boundle the JUpload 
-binary file in pLog/pLog Plugins release.
\ No newline at end of file

Copied: plugins/trunk/unported/jupload/readme.txt (from rev 4488, plugins/trunk/jupload/readme.txt)

Copied: plugins/trunk/unported/jupload/templates (from rev 4488, plugins/trunk/jupload/templates)

Copied: plugins/trunk/unported/karma (from rev 4487, plugins/trunk/karma)

Copied: plugins/trunk/unported/karma/class (from rev 4488, plugins/trunk/karma/class)

Copied: plugins/trunk/unported/karma/locale (from rev 4488, plugins/trunk/karma/locale)

Deleted: plugins/trunk/unported/karma/pluginkarma.class.php
===================================================================
--- plugins/trunk/karma/pluginkarma.class.php	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/karma/pluginkarma.class.php	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,125 +0,0 @@
-<?php
-
-	include_once( PLOG_CLASS_PATH."class/plugin/pluginbase.class.php" );
-    include_once( PLOG_CLASS_PATH."class/net/requestgenerator.class.php" );	
-	
-	/**
-	 * our custom status for posts
-	 */
-	define( "POST_STATUS_KARMA_MODERATED_DOWN", 100 );
-	
-	/**
-	 * implements host blocking features
-	 */
-	class PluginKarma extends PluginBase
-	{
-	    var $pluginEnabled;
-	
-		function PluginKarma()
-		{
-			$this->PluginBase();
-			
-			$this->id = "karma";
-			$this->desc = "Implements karma rating for posts";
-			$this->author = "The LifeType Team";
-			$this->locales = Array();
-			
-			$this->init();
-		}
-		
-		/**
-		 * registers all the filters and actions that we're going to use
-		 */
-		function init()
-		{
-			$this->registerBlogAction( "karmaRate", "KarmaRateAction" );
-			$this->registerBlogAction( "viewModeratedDown", "ViewModeratedDownAction" );	
-			$this->registerBlogAction( "viewModeratedDownArticle", "ViewModeratedDownArticleAction" );
-			$this->registerAdminAction( "karmaPluginSettings", "AdminKarmaPluginSettingsAction" );
-			$this->registerAdminAction( "pluginKarmaUpdateSettings", "AdminKarmaPluginUpdateSettingsAction" );			
-			
-			// add a menu entry
-			$this->addMenuEntry( "/menu/Manage/managePosts", "karmaPluginSettings", "admin.php?op=karmaPluginSettings", "", true, false );
-			
-		}
-		
-		function register()
-		{
-		    $blogSettings = $this->blogInfo->getSettings();
-		    $this->pluginEnabled = $blogSettings->getValue( "plugin_karma_enabled" );
-	    }
-	    
-	    function isEnabled()
-	    {
-	        return $this->pluginEnabled;
-	    }
-
-        function pluginTemplatePage()
-        {
- 			$rg = new RawRequestGenerator($this->blogInfo);
-            
-        	$rg->addParameter( "op", "viewModeratedDown" );
-            $rg->addParameter( "blogId", $this->blogInfo->getId());
-
-            $templatePage = $rg->getIndexUrl().$rg->getRequest();
-
-            return $templatePage;
-        }	    
-		
-		/**
-		 * returns the correct url to the action that scores the points
-		 *
-		 * @param post An Article object
-		 * @return A complete address
-		 */
-		function getPositiveUrl( $post )
-		{
-			$url =& $this->blogInfo->getBlogRequestGenerator();
-			$karmaUrl = $url->getBaseUrl()."/karma.php?op=karmaRate&amp;mode=1&amp;articleId=".$post->getId()."&amp;blogId=".$post->getBlog();
-			
-			return $karmaUrl;
-		}
-		
-		/**
-		 * returns the correct url to the action that scores the points
-		 *
-		 * @param post An Article object
-		 * @return A complete address
-		 */
-		function getNegativeUrl( $post )
-		{
-			$url =& $this->blogInfo->getBlogRequestGenerator();
-			$karmaUrl = $url->getBaseUrl()."/karma.php?op=karmaRate&amp;mode=2&amp;articleId=".$post->getId()."&amp;blogId=".$post->getBlog();
-			
-			return $karmaUrl;			
-		}
-		
-		/**
-		 * returns the correct url to browse a moderated down article
-		 *
-		 * @param post
-		 * @return A url
-		 */
-		function moderatedDownLink( $post )
-		{
-			$url =& $this->blogInfo->getBlogRequestGenerator();
-			$modDownLink = $url->getIndexUrl()."?op=viewModeratedDownArticle&amp;articleId=".$post->getId()."&amp;blogId=".$post->getBlog();
-			
-			return $modDownLink;
-		}
-		
-		/**
-		 * returns the link to the page with the list of moderated down articles
-		 *
-		 * @param blog
-		 * @return The correct link to the list
-		 */
-		function moderatedDownListLink( $blog )
-		{
-			$url =& $this->blogInfo->getBlogRequestGenerator();
-			$listLink = $url->getIndexUrl()."?op=viewModeratedDown&amp;blogId=".$blog->getId();
-			
-			return $listLink;
-		}
-	}  
-?>
\ No newline at end of file

Copied: plugins/trunk/unported/karma/pluginkarma.class.php (from rev 4488, plugins/trunk/karma/pluginkarma.class.php)

Deleted: plugins/trunk/unported/karma/readme.txt
===================================================================
--- plugins/trunk/karma/readme.txt	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/karma/readme.txt	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,29 +0,0 @@
-Plugin: Karma
-Author: LifeType Team
-Release Date: 2005/02/25
-Version: 1.0
-
-This plugin offers karma rating for posts.
-
-You can use:
-1. $post->getField("positiveKarma") to get positive karma score
-2. $post->getField("negativeKarma") to get negative karma score
-3. $karma->getPositiveUrl($post) to get positive karma url
-4. $karma->getNegativeUrl($post) to get negative karma url
-
-Install:
-1. Configurate your Host Block plugin in your LifeType control center
-2. Modify you post.template with the follow code to get karma link:
-{if !empty($karma)}
-{if $karma->isEnabled()}
-{assign var="positiveKarma" value=$post->getField("positiveKarma")}{if $positiveKarma == ""}{assign var="positiveKarma" value=0}{/if}
-{assign var="negativeKarma" value=$post->getField("negativeKarma")}{if $negativeKarma == ""}{assign var="negativeKarma" value=0}{/if}
- :: {$locale->tr("karma")} (<a href="{$karma->getPositiveUrl($post)}">+{$positiveKarma}</a>/<a href="{$karma->getNegativeUrl($post)}">-{$negativeKarma}</a>)
-{/if}
-{/if}
-3. Modify your header.template or footer.template to get unmoderated post link:
-{if !empty($karma)}
-{if $karma->isEnabled()}
-<li><a title="{$locale->tr("karma_moderated_down_articles")}" href="{$karma->pluginTemplatePage()}">{$locale->tr("karma_moderated_down_articles")}</a></li>
-{/if}
-{/if} 
\ No newline at end of file

Copied: plugins/trunk/unported/karma/readme.txt (from rev 4488, plugins/trunk/karma/readme.txt)

Copied: plugins/trunk/unported/karma/templates (from rev 4488, plugins/trunk/karma/templates)

Copied: plugins/trunk/unported/karma.php (from rev 4487, plugins/trunk/karma.php)

Copied: plugins/trunk/unported/linkcounter (from rev 4488, plugins/trunk/linkcounter)

Copied: plugins/trunk/unported/linktracker (from rev 4487, plugins/trunk/linktracker)

Copied: plugins/trunk/unported/linktracker/class (from rev 4488, plugins/trunk/linktracker/class)

Copied: plugins/trunk/unported/linktracker/locale (from rev 4488, plugins/trunk/linktracker/locale)

Deleted: plugins/trunk/unported/linktracker/pluginlinktracker.class.php
===================================================================
--- plugins/trunk/linktracker/pluginlinktracker.class.php	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/linktracker/pluginlinktracker.class.php	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,28 +0,0 @@
-<?php
-
-	include_once( PLOG_CLASS_PATH."class/plugin/pluginbase.class.php" );
-
-	/**
-	 * implements the functionality of a link tracker, that was previously included
-	 * in the core of plog but since it probably wasn't used by anybody, has been
-	 * moved to its own plugin
-	 */
-	class PluginLinkTracker extends PluginBase
-	{
-	
-		function PluginLinkTracker()
-		{
-			$this->PluginBase();
-			
-			// this plugin's own id
-			$this->id = "linktracker";
-			$this->desc = "Shows all links from all posts in this blog";
-			$this->author = "The LifeType Project";
-			$this->locales = Array( "en_UK", "es_ES", "ca_ES", "de_DE", "et_EE", "fi_FI", "fr_FR",
-									"hu_HU", "it_IT", "nl_BE" );
-			
-			// register our own action
-			$this->registerBlogAction( "LinkTracker", "LinkTrackerAction" );
-		}
-	}
-?>
\ No newline at end of file

Copied: plugins/trunk/unported/linktracker/pluginlinktracker.class.php (from rev 4488, plugins/trunk/linktracker/pluginlinktracker.class.php)

Copied: plugins/trunk/unported/linktracker/templates (from rev 4488, plugins/trunk/linktracker/templates)

Copied: plugins/trunk/unported/mailcentre (from rev 4487, plugins/trunk/mailcentre)

Copied: plugins/trunk/unported/mailcentre/class (from rev 4488, plugins/trunk/mailcentre/class)

Copied: plugins/trunk/unported/mailcentre/locale (from rev 4488, plugins/trunk/mailcentre/locale)

Deleted: plugins/trunk/unported/mailcentre/pluginmailcentre.class.php
===================================================================
--- plugins/trunk/mailcentre/pluginmailcentre.class.php	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/mailcentre/pluginmailcentre.class.php	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,78 +0,0 @@
-<?php
-
-	include_once( PLOG_CLASS_PATH."class/plugin/pluginbase.class.php" );
-	
-	class PluginMailCentre extends PluginBase
-	{
-	
-		function PluginMailCentre()
-		{
-			$this->PluginBase();		
-		
-			$this->id = "mailcentre";
-			$this->desc = "Allows site administrators to send emails to users";
-			$this->author = "The LifeType Project";
-			$this->locale = Array();				
-			
-			// register our menu entries
-			$this->addMenuEntry( "/menu/adminSettings", "MailCentre", "", "" );	
-			$this->addMenuEntry( "/menu/adminSettings/MailCentre", "composeMessage", "?op=mailcentreSendMail" );
-			$this->addMenuEntry( "/menu/adminSettings/MailCentre", "sentMail", "?op=mailcentreSentMail" );
-			
-			// register a few actions
-			$this->registerAdminAction( "mailcentreSendMail", "MailCentreSendMail" );
-			$this->registerAdminAction( "mailcentreSentMail", "MailCentreSentmail" );			
-			$this->registerAdminAction( "mailcentreSendMessage", "MailCentreSendMessage" );
-			$this->registerAdminAction( "mailcentreUserSelector", "MailCentreUserSelectorAction" );	
-			$this->registerAdminAction( "mailcentreShowMessage", "MailCentreViewSentMail" );
-			$this->registerAdminAction( "mailcentreDeleteMessage", "MailCentreDeleteSentMailAction" );
-			$this->registerAdminAction( "mailcentreDeleteMessages", "MailCentreDeleteSentMailAction" );		
-		}
-		
-		/**
-		 * @see PluginBase::install()
-		 *
-		 */
-		function install()
-		{
-			// check if the database tables are there
-			$this->_checkTables();		
-		}
-		
-		/**
-		 * @private
-		 */
-		function _checkTables()
-		{
-			include_once( PLOG_CLASS_PATH."class/database/db.class.php" );	
-			
-//			print("checking tables?");	
-		
-			// create the table to keep track of the voters, so that people cannot vote
-			// more than once
-			$fields = "
-			      id I(10) NOTNULL PRIMARY AUTOINCREMENT,
-			      recipients TEXT NOTNULL DEFAULT '',
-			      recipients_cc TEXT NOTNULL DEFAULT '',
-			      recipients_bcc TEXT NOTNULL DEFAULT '',
-			      subject C(255) NOTNULL DEFAULT '',
-			      body XL NOTNULL DEFAULT '',
-				  date T(14) DEFDATE
-				  ";
-				  
-			$db =& Db::getDb();				  
-			$dbPrefix = Db::getPrefix();
-			$tableName = $dbPrefix."mailcentre_sent";
-
-			// create the data dictionary and create the table if necessary
-            $dict = NewPDbDataDictionary( $db );
-            $sqlArray = $dict->ChangeTableSQL( $tableName, $fields );
-            $result = $dict->ExecuteSQLArray( $sqlArray );
-            
-            if( !$result )
-            	die( "There was an error creating the plugin tables!" );			
-			
-            return true;		
-		}			
-	}
-?>
\ No newline at end of file

Copied: plugins/trunk/unported/mailcentre/pluginmailcentre.class.php (from rev 4488, plugins/trunk/mailcentre/pluginmailcentre.class.php)

Copied: plugins/trunk/unported/mailcentre/templates (from rev 4488, plugins/trunk/mailcentre/templates)

Copied: plugins/trunk/unported/mobile (from rev 4487, plugins/trunk/mobile)

Copied: plugins/trunk/unported/mobile/class (from rev 4488, plugins/trunk/mobile/class)

Copied: plugins/trunk/unported/mobile/config (from rev 4488, plugins/trunk/mobile/config)

Deleted: plugins/trunk/unported/mobile/pluginmobile.class.php
===================================================================
--- plugins/trunk/mobile/pluginmobile.class.php	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/mobile/pluginmobile.class.php	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,46 +0,0 @@
-<?php
-
-    include_once( PLOG_CLASS_PATH."class/plugin/pluginbase.class.php" );
-    
-    if( !defined( "MOBILE_PLOG_CLASS_PATH" )) {
-        define( "MOBILE_PLOG_CLASS_PATH", PLOG_CLASS_PATH."plugins/mobile/" );
-    }        
-    
-    class PluginMobile extends PluginBase
-    {
-    
-        function PluginMobile()
-        {
-            $this->PluginBase();
-            
-            $this->id = "mobile";
-            $this->desc = "Allows pLog blogs to be accessed via mobile terminals";
-            $this->author = "The LifeType Project";
-        }
-     
-        /** 
-         * Returns a link to the mobile view of the current blog
-         *
-         * @return A valid URL
-         */   
-        function blogLink()
-        {
-            include_once( MOBILE_PLOG_CLASS_PATH."class/net/mobilerequestgenerator.class.php" );
-            $murl = new MobileRequestGenerator( $this->blogInfo );
-            return( $murl->getMobileUrl()."?blogId=".$this->blogInfo->getId()); 
-        }
-
-        /** 
-         * Returns a link to the mobile view of a post
-         *
-         * @param blog A valid BlogInfo object
-         * @return A valid URL
-         */           
-        function articleLink( $article )
-        {
-            include_once( MOBILE_PLOG_CLASS_PATH."class/net/mobilerequestgenerator.class.php" );
-            $murl = new MobileRequestGenerator( $this->blogInfo );
-            return( $murl->getMobileUrl()."?op=ViewArticle&amp;blogId=".$this->blogInfo->getId()."&amp;articleId=".$article->getId());         
-        }
-    }
-?>
\ No newline at end of file

Copied: plugins/trunk/unported/mobile/pluginmobile.class.php (from rev 4488, plugins/trunk/mobile/pluginmobile.class.php)

Copied: plugins/trunk/unported/mobile/templates (from rev 4488, plugins/trunk/mobile/templates)

Copied: plugins/trunk/unported/mobile.php (from rev 4487, plugins/trunk/mobile.php)

Copied: plugins/trunk/unported/moblog (from rev 4487, plugins/trunk/moblog)

Copied: plugins/trunk/unported/moblog/class (from rev 4488, plugins/trunk/moblog/class)

Copied: plugins/trunk/unported/moblog/locale (from rev 4488, plugins/trunk/moblog/locale)

Deleted: plugins/trunk/unported/moblog/pluginmoblog.class.php
===================================================================
--- plugins/trunk/moblog/pluginmoblog.class.php	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/moblog/pluginmoblog.class.php	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,60 +0,0 @@
-<?php
-
-    include_once( PLOG_CLASS_PATH."class/plugin/pluginbase.class.php" );
-    include_once( PLOG_CLASS_PATH."plugins/moblog/class/security/moblogbatchfilter.class.php" );
-    
-    /**
-     * implementation a plugin to give plog moblogging features (posting via email)
-     */
-    class PluginMoblog extends PluginBase
-    {
-    
-        function PluginMoblog()
-        {
-            $this->id = "moblog";
-            $this->author = "The LifeType Project";
-            $this->locales = Array();
-            $this->desc = "
-Send a message with the following format ('start' and 'end' messages not included!):<br/>
-<br/>
---- start of moblog message format ---<br/>
-<br/>
-USER: your-plog-username<br/>
-PASS: your-plog-password<br/>
-BLOG: your-plog-blog-name<br/>
-<br/>
---- end of moblog message format ---<br/>
-<br/>
-The must be sent as plain text, and it can include as many attachment as needed.";
-
-            $this->init();
-        }
-        
-		/**
-		 * set some actions and menu options
-		 * @private
-		 */
-		function init()
-		{
-			// register the filter
-			$this->registerFilter( "MoblogBatchFilter" );
-			
-			// register actions
-			$this->registerAdminAction( "moblogSettings", "AdminMoblogPluginSettingsAction" );
-			$this->registerAdminAction( "updateMoblogSettings", "AdminMoblogPluginUpdateSettingsAction" );
-			$this->registerAdminAction( "moblogbatchSettings", "AdminMoblogBatchPluginSettingsAction" );
-			$this->registerAdminAction( "updateMoblogBatchSettings", "AdminMoblogBatchPluginUpdateSettingsAction" );
-
-
-			// register menu entries
-			$this->addMenuEntry( "/menu/controlCenter/manageSettings",   // menu path
-                                             "moblogSettings",    // menu id
-                                             "admin.php?op=moblogSettings",     // url
-                                             "Moblog",    // text to show
-                                             true,       // can't...
-                                             false       // ...remember :)
-                                            );
-			$this->addMenuEntry( "/menu/adminSettings/GlobalSettings", "moblogbatchSettings", "admin.php?op=moblogbatchSettings", "" );                                            
-		}        
-    }
-?>
\ No newline at end of file

Copied: plugins/trunk/unported/moblog/pluginmoblog.class.php (from rev 4488, plugins/trunk/moblog/pluginmoblog.class.php)

Copied: plugins/trunk/unported/moblog/templates (from rev 4488, plugins/trunk/moblog/templates)

Copied: plugins/trunk/unported/moblog.php (from rev 4487, plugins/trunk/moblog.php)

Copied: plugins/trunk/unported/moblogbatch.php (from rev 4487, plugins/trunk/moblogbatch.php)

Copied: plugins/trunk/unported/moderate (from rev 4487, plugins/trunk/moderate)

Copied: plugins/trunk/unported/moderate/class (from rev 4488, plugins/trunk/moderate/class)

Copied: plugins/trunk/unported/moderate/locale (from rev 4488, plugins/trunk/moderate/locale)

Deleted: plugins/trunk/unported/moderate/pluginmoderate.class.php
===================================================================
--- plugins/trunk/moderate/pluginmoderate.class.php	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/moderate/pluginmoderate.class.php	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,86 +0,0 @@
-<?php
-
-	include_once( PLOG_CLASS_PATH."class/plugin/pluginbase.class.php" );
-	include_once( PLOG_CLASS_PATH."plugins/moderate/class/dao/unmoderatedcomments.class.php" );
-	
-	/**
-	 * implements moderation of comments
-	 */
-	class PluginModerate extends PluginBase
-	{
-        var $pluginEnabled;		
-		
-		function PluginModerate()
-		{
-			$this->PluginBase();
-			
-			$this->id = "moderate";
-			$this->desc = "Provides moderation of comments";
-			$this->author = "The LifeType Project";
-			$this->locales = Array( "en_UK", "zh_TW", "es_ES" );
-			
-			$this->init();
-		}
-		
-		/**
-		 * process the events that we have registered
-		 *
-		 * @see PluginBase::process
-		 * @see PluginManager
-		 */
-		function process( $eventType, $params )
-		{
-		    // make sure we're processing the right event!
-		    if( $eventType != EVENT_PRE_COMMENT_ADD ) 
-		      return true;
-			  
-			// do nothing if the plugin is not enabled!
-			$blogSettings = $this->blogInfo->getSettings();
-			if( !$blogSettings->getValue( "plugin_moderate_enabled" ))
-				return true;
-			  
-			// change the stauts of the comment, as is easy as it seems...
-			$comment = $params["comment"];
-			$comment->setStatus( COMMENT_STATUS_UNMODERATED );
-			$params["comment"] = $comment;
-		      
-			return true;
-		}
-		
-		/**
-		 * registers all the filters and actions that we're going to use
-		 */
-		function init()
-		{			
-			// register the events we want
-			$this->registerNotification( EVENT_PRE_COMMENT_ADD );
-			
-			// register an action that will allow users to see which comments have not been
-			// accepted yet
-			$this->registerAdminAction( "unmoderatedComments", "AdminUnmoderatedCommentsAction" );
-			$this->registerAdminAction( "updateUnmoderatedComment", "AdminUpdateUnmoderatedCommentsAction" );
-			$this->registerAdminAction( "updateUnmoderatedComments", "AdminUpdateUnmoderatedCommentsAction" );
-			$this->registerAdminAction( "moderatePluginSettings", "AdminModeratePluginSettingsAction" );
-			$this->registerAdminAction( "moderatePluginUpdateSettings", "AdminModeratePluginUpdateSettingsAction" );
-			
-			// add a menu entry
-			$this->addMenuEntry( "/menu/Manage/managePosts", "unmoderatedComments", "admin.php?op=unmoderatedComments", "", false, false );
-
-			$menu =& Menu::getMenu();
-            if( !$menu->entryExists( "/menu/controlCenter/manageAntiSpamPlugins" ))                     
-                $this->addMenuEntry( "/menu/controlCenter", "manageAntiSpamPlugins", "", "", true, false );
-            $this->addMenuEntry( "/menu/controlCenter/manageAntiSpamPlugins", "moderatePluginSettings", "admin.php?op=moderatePluginSettings", "", true, false );
-		}
-
-		function register()
-		{
-		    $blogSettings = $this->blogInfo->getSettings();
-			$this->pluginEnabled = $blogSettings->getValue( "plugin_moderate_enabled" );
-		}
-
-	    function isEnabled()
-	    {
-	        return $this->pluginEnabled;
-	    }		
-	}  
-?>
\ No newline at end of file

Copied: plugins/trunk/unported/moderate/pluginmoderate.class.php (from rev 4488, plugins/trunk/moderate/pluginmoderate.class.php)

Deleted: plugins/trunk/unported/moderate/readme.txt
===================================================================
--- plugins/trunk/moderate/readme.txt	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/moderate/readme.txt	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,9 +0,0 @@
-Plugin: Moderate
-Author: LifeType Team
-Release Date: 2005/01/23
-Version: 1.0
-
-This plugin offers you moderate of comments.
-
-Install:
-1. Configurate your Moderate plugin in your LifeType control center
\ No newline at end of file

Copied: plugins/trunk/unported/moderate/readme.txt (from rev 4488, plugins/trunk/moderate/readme.txt)

Copied: plugins/trunk/unported/moderate/templates (from rev 4488, plugins/trunk/moderate/templates)

Copied: plugins/trunk/unported/movabletype (from rev 4488, plugins/trunk/movabletype)

Copied: plugins/trunk/unported/nestedcomments (from rev 4487, plugins/trunk/nestedcomments)

Deleted: plugins/trunk/unported/nestedcomments/pluginnestedcomments.class.php
===================================================================
--- plugins/trunk/nestedcomments/pluginnestedcomments.class.php	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/nestedcomments/pluginnestedcomments.class.php	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,118 +0,0 @@
-<?php
-
-	include_once( PLOG_CLASS_PATH."class/plugin/pluginbase.class.php" );
-		
-	/**
-	 * change this constant in case you want to redefine the limit for nested
-	 * comments
-	 */
-	define( "MAX_NESTED_COMMENTS", 6 );
-
-	class PluginNestedComments extends PluginBase
-	{
-		
-		function PluginNestedComments()
-		{
-			$this->id = "nestedcomments";
-			$this->author = "The LifeType Project";
-			$this->locales = Array();
-			
-			// description
-			$this->desc = <<<EOD
-This plugin will generate a nested list of comments. In order to use it, edit your postandcomments.template file
-and where it says:
-<pre>
-   {foreach from=\$comments item=comment}   
-</pre>
-with:
-<pre>
-   {assign var=comments value=\$nestedcomments->getNestedComments(\$post)}
-   {foreach from=\$comments item=comment}
-</pre>
-In order to nest the comments, you can check the value of the "depth" field in order to know how
-deeply a certain comment should be nested but keeping in mind that the array of comments is already
-sorted correctly:
-<pre>
-   {assign var=comments value=\$nestedcomments->getNestedComments(\$post)}
-   {foreach from=\$comments item=comment}
-     &lt;div class="comment_{\$comment->getValue("depth")}"&gt;
-      {\$comment->getTopic()}&lt;br/&gt;
-      {\$comment->getText()}&lt;br/&gt;
-     &lt;/div&gt;
-   {/foreach}
-</pre>
-In order to apply different graphical styles for different levels of nesting, define up to 6
-"comment_X" CSS classes (as in "comment_1", "comment_2", "comment_3", etc) in the CSS file used
-by your template set.
-<pre>
-    .comment_1 {
-     margin-left: 10px;
-    }
-    .comment_2 {
-     margin-left: 20px;
-    }
-    .comment_3 {
-     margin-left: 30px;
-    }
-    ...
-    .comment_6 {
-     margin-left: 60px;
-    }
-</pre>
-By default there can only
-be up to 6 levels of nesting but this limit is configurable by editing the plugin file.
-EOD;
-		}
-		
-		/**
-		 * @private
-		 */
-		function _nestComments( $comments, $allComments, $depth = 0 )
-		{
-		  $result = Array();
-		  foreach( $comments as $comment ) {
-		      if( $depth > MAX_NESTED_COMMENTS )
-		          $depth = MAX_NESTED_COMMENTS;
-		      $comment->setValue( "depth", $depth+1 );		      
-		      $result[] = $comment;
-		      if( isset($allComments[$comment->getId()]))
-		          $result = array_merge( $result, $this->_nestComments( $allComments[$comment->getId()], $allComments, $depth+1 ));
-		  }
-		  return( $result );		  
-		}
-
-        /**
-         * returns an array with the comments already sorted in the same way as they should
-         * be nested. Use $comment->getValue( "depth" ) in order to know how deeply the comment
-         * should be nested.
-         *
-         * @param post
-         * @return An array of of UserComment objects
-         */
-		function getNestedComments( $post )
-		{
-			$nestedComments = Array();                                            
-			$postComments = $post->getComments();
-			
-			// if there are no comments for this post, we should
-			// prevent the php warning by returning for example an
-			// empty array
-			if( !is_array( $postComments ))
-				return( Array());
-            if( empty($postComments ))
-                return( Array());
-			
-			foreach( $postComments as $comment ) {
-				$key = $comment->getParentId();
-				if( $nestedComments["$key"] == "" )
-					$nestedComments["$key"] = Array();
-						
-				$nestedComments["$key"][] = $comment;					
-			}
-
-		    $comments = $this->_nestComments( $nestedComments[0], $nestedComments );
-		    
-		    return($comments);
-		}
-	}
-?>
\ No newline at end of file

Copied: plugins/trunk/unported/nestedcomments/pluginnestedcomments.class.php (from rev 4488, plugins/trunk/nestedcomments/pluginnestedcomments.class.php)

Copied: plugins/trunk/unported/nofollow (from rev 4487, plugins/trunk/nofollow)

Copied: plugins/trunk/unported/nofollow/class (from rev 4488, plugins/trunk/nofollow/class)

Copied: plugins/trunk/unported/nofollow/locale (from rev 4488, plugins/trunk/nofollow/locale)

Deleted: plugins/trunk/unported/nofollow/pluginnofollow.class.php
===================================================================
--- plugins/trunk/nofollow/pluginnofollow.class.php	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/nofollow/pluginnofollow.class.php	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,99 +0,0 @@
-<?php
-	include_once( PLOG_CLASS_PATH."class/plugin/pluginbase.class.php" );
-
-	class PluginNoFollow extends PluginBase
-	{
-		var $pluginEnabled;
-		
-		function PluginNoFollow()
-		{
-			$this->PluginBase();
-
-			$this->id      = "nofollow";
-			$this->author  = "Original by Minstrel Chiu, Modified by Mark Wu";
-			$this->desc    = "Prevents comment spams with 'rel=nofollow'";
-
-			$this->locales = Array( "en_UK" , "zh_TW" , "zh_CN", "es_ES" );
-
-			$this->init();
-		}
-
-		function init()
-		{
-            $this->registerAdminAction( "nofollow", "PluginNoFollowConfigAction" );
-			$this->registerAdminAction( "updateNoFollowConfig", "PluginNoFollowUpdateConfigAction" );
-			
-			$menu =& Menu::getMenu();
-			if( !$menu->entryExists( "/menu/controlCenter/manageAntiSpamPlugins" ))						
-				$this->addMenuEntry( "/menu/controlCenter", "manageAntiSpamPlugins", "", "", true, false );			
-            $this->addMenuEntry( "/menu/controlCenter/manageAntiSpamPlugins", "NoFollow", "?op=nofollow", "" );            
-
-			$this->registerNotification( EVENT_PRE_COMMENT_ADD );
-		}
-
-		function register()
-		{
-		    $blogSettings = $this->blogInfo->getSettings();
-			$this->pluginEnabled = $blogSettings->getValue( "plugin_nofollow_enabled" );
-		}
-
-	    function isEnabled()
-	    {
-	        return $this->pluginEnabled;
-	    }		
-
-		function process($eventType, $params)
-		{
-            if ( $eventType != EVENT_PRE_COMMENT_ADD )
-                return true;
-                
-		    $blogSettings = $this->blogInfo->getSettings();
-		    $pluginEnabled = $blogSettings->getValue( "plugin_nofollow_enabled" );
-            if ( $pluginEnabled != 1 )
-                return true;
-
-			$comment = $params["comment"];
-
-			$text = $comment->getText();
-			$text = $this->nofollow($text);
-
-			$comment->setText($text);
-
-			$params["comment"] = $comment;
-
-			return true;
-		}
-
-		function nofollow($text)
-		{
-			if(!isset($text))
-				return $text;
-
-			return preg_replace_callback('#<a\s([^>]*\s*href\s*=[^>]*)>#i', array(&$this, 'nofollow_process'), $text);
-		}
-
-		function nofollow_process($matches)
-		{
-			$text = $matches[1];
-
-			preg_match_all('/[^=[:space:]]*\s*=\s*"[^"]*"|[^=[:space:]]*\s*=\s*\'[^\']*\'|[^=[:space:]]*\s*=[^[:space:]]*/', $text, $attr);
-			$rel_arr = preg_grep('/^rel\s*=/i', $attr[0]);
-
-			if(count($rel_arr)>0)
-				$rel = array_pop($rel_arr);
-
-			if($rel)
-			{
-				$rel = preg_replace('/^(rel\s*=\s*[\'"]?)/i', '\1nofollow ', $rel);
-			}
-			else
-			{
-				$rel = 'rel="nofollow"';
-			}
-
-			$attr = preg_grep('/^rel\s*=/i', $attr[0], PREG_GREP_INVERT);
-
-			return '<a ' . join(' ', $attr) . ' ' . $rel . '>';
-		}
-	}
-?>
\ No newline at end of file

Copied: plugins/trunk/unported/nofollow/pluginnofollow.class.php (from rev 4488, plugins/trunk/nofollow/pluginnofollow.class.php)

Deleted: plugins/trunk/unported/nofollow/readme.txt
===================================================================
--- plugins/trunk/nofollow/readme.txt	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/nofollow/readme.txt	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,10 +0,0 @@
-Plugin: No Follow
-Author: Original by Minstrel Chiu, Modified by Mark Wu
-Release Date: 2005/01/23
-Version: 1.0
-
-This plugin offers 'rel=nofollow' to prevent the comment spam.
-
-Install:
-1. Configurate your NoFollow plugin in your LifeType control center
-

Copied: plugins/trunk/unported/nofollow/readme.txt (from rev 4488, plugins/trunk/nofollow/readme.txt)

Copied: plugins/trunk/unported/nofollow/templates (from rev 4488, plugins/trunk/nofollow/templates)

Copied: plugins/trunk/unported/openid (from rev 4488, plugins/trunk/openid)

Copied: plugins/trunk/unported/plogeshi (from rev 4487, plugins/trunk/plogeshi)

Copied: plugins/trunk/unported/plogeshi/class (from rev 4488, plugins/trunk/plogeshi/class)

Copied: plugins/trunk/unported/plogeshi/inc (from rev 4488, plugins/trunk/plogeshi/inc)

Deleted: plugins/trunk/unported/plogeshi/leeme.txt
===================================================================
--- plugins/trunk/plogeshi/leeme.txt	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/plogeshi/leeme.txt	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,39 +0,0 @@
-Plugin: PloGeSHi
-Autor: Rodrigo Perez (http://www.bilson.cl)
-Fecha: 2005/04/04
-Version: 1.0-1
-
-Este plugin permite colorear sintaxis usando GeSHi (http://qbnz.com/highlighter/)
-Incluye GeSHi 1.0.6
-Este plugin tambien incluye codigo tomado de dokuwiki (http://wiki.splitbrain.org/)
-
-Si usted desea actualizar geshi, descargue la nueva  versión de GeSHi y reemplace los archivos ubicados en la carpeta "plugins/plogeshi/inc"
-
-
-Instalación:
-
-1.- Descomprimir en el directorio "plugins"
-
-Configuración:
-
-1. Habilite o deshabilite PloGeSHi en su panel de control de pLog
-
-Uso:
-
-<code php>
-if($a=10)
-{
-        echo "a = 10";
-}
-else
-{
-        echo "a != 10";
-}
-     
-echo rtfm();
-      
-function rtfm()
-{
-        return ("Read The Fucking Manual!!");
-}       
-</code>

Copied: plugins/trunk/unported/plogeshi/leeme.txt (from rev 4488, plugins/trunk/plogeshi/leeme.txt)

Copied: plugins/trunk/unported/plogeshi/locale (from rev 4488, plugins/trunk/plogeshi/locale)

Deleted: plugins/trunk/unported/plogeshi/pluginplogeshi.class.php
===================================================================
--- plugins/trunk/plogeshi/pluginplogeshi.class.php	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/plogeshi/pluginplogeshi.class.php	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,134 +0,0 @@
-<?php
-
-    include_once( PLOG_CLASS_PATH."class/plugin/pluginbase.class.php" );    
-    include_once( PLOG_CLASS_PATH."plugins/plogeshi/class/plogeshi/plogeshi.class.php" );
-	include_once( PLOG_CLASS_PATH."class/template/menu/menu.class.php" );
-
-    define( "PLOGESHI_PATH", PLOG_CLASS_PATH . "plugins/plogeshi/" );
-    define( "PLOGESHI_GESHI_PATH", PLOGESHI_PATH ."inc/" );
-    
-    class PluginPloGeSHi extends PluginBase
-    {
-        var $_pluginEnabled;
-        var $_ploGeshi;
-
-        function PluginPloGeSHi()
-        {
-            // ---
-            // set some information
-            // ---
-            $this->id = "plogeshi";
-            $this->author = "Rodrigo Pérez (bilson)";
-            $this->desc = "This plugin allows to color bits of code using GeSHi. Please use the following syntax
-                          anywhere in your posts:<br/><br/>
-                          &lt;code php&gt;<br/>
-                          &nbsp;&nbsp; // place here your PHP code here<br/>
-                          &nbsp;&nbsp;...<br/>
-                          &lt;/code&gt;
-                          <br/><br/>
-                          Other common formats supported by <a href=\"http://qbnz.com/highlighter/\">GeSHi</a>
-                          include: <b>Actionscript, ASM, ASP, Bash, C,
-                          C#, C++, CSS, Delphi, HTML, Java, Javascript, Lisp,
-                          Objective C,
-                          Pascal, Perl, PHP, Python, Smarty, SQL, VB.NET, Visual BASIC, XML</b>.<br/><br/>
-                          Simply enclose your code within &lt;code <i>code-identifier</i>&gt;...&lt;/code&gt;
-                          and use any of the languages above as the value for <i>code-identifier</i>.";
-                            
-            $this->locales = Array( 'es_ES', 'en_UK' );
-            
-            $this->_ploGeshi = new PloGeSHi();
-            
-    
-            $this->init();  
-        }
-
-        function init()
-        {
-            // ---
-            // register actions for this plugin plus an option in the menu
-            // ---
-            $this->registerAdminAction( "PloGeSHiConfig", "PluginPloGeSHiConfigAction" );
-            $this->registerAdminAction( "updatePloGeSHiConfig", "PluginPloGeSHiUpdateConfigAction" );
-            
-            // ---
-            // register actions for this plugin plus an option in the menu
-            // ---
-            $menu =& Menu::getMenu();
-            $this->addMenuEntry( "/menu/Manage/managePosts", "PloGeSHi", "admin.php?op=PloGeSHiConfig", "" );
-            
-            // ---
-            // register the event we are going to need
-            $this->registerNotification( EVENT_TEXT_FILTER );
-        }
-
-        function register()
-        {
-            $blogSettings = $this->blogInfo->getSettings();
-            $this->_pluginEnabled = $blogSettings->getValue( "plugin_plogeshi_enabled" );
-        }
-
-        function isEnabled()
-        {
-            return $this->_pluginEnabled;
-        }
-
-        
-        
-        function _colorText( $post  )
-        {
-            // modify the text...
-            return $this->_ploGeshi->colorText( $post );
-        }
-        
-        function FShouldColorText( $post )
-        {
-            // This is currently only checking to see if this post has some 
-            // visible text
-            //
-            // This logic matches the logic in Article::hasExtendedText()
-            
-            // This code really should be looking at the text for the 
-            // <code > tag
-          
-		    $postText = trim($post);
-
-		    if ( !preg_match( "/<code\s+\w+\s*>/i", $post ) ||
-        		 !preg_match( "/<\/code>/", $post ) ) {
-        		return false;
-    		} else {
-        		return( strlen($postText) > 0 );
-    		}	
-        }
-        
-        /**
-         * Receives and processes events
-         *
-         * @param eventType
-         * @param params
-         */
-        function process( $eventType, $params )
-        {
-            // if the plugin is diabled, return
-            $settings = $this->blogInfo->getSettings();
-            if( !$settings->getValue( "plugin_plogeshi_enabled" ))
-                return true;
-
-            // prevent other events
-            if( $eventType != EVENT_TEXT_FILTER ) {
-                    throw( new Exception( "PloGeshi only receive EVENT_TEXT_RENDER events" ));
-                    die();
-            }
-
-            if( $this->FShouldColorText( $params[ "text" ] ) )
-            { 
-                // Only bother modifying the text if there is a potential that there is a <code> tag
-                $rg =& $this->blogInfo->getBlogRequestGenerator();
-                $baseUrl = $rg->getBaseUrl();
-                $cssUrl = $baseUrl."/plugins/plogeshi/styles/plogeshi.css";
-        
-                $css = '<link rel="stylesheet" type="text/css" href="' . $cssUrl . '" />';
-                $params[ "text" ] = $css . $this->_colorText( $params[ "text" ] );
-            }
-        }
-    }
-?>
\ No newline at end of file

Copied: plugins/trunk/unported/plogeshi/pluginplogeshi.class.php (from rev 4488, plugins/trunk/plogeshi/pluginplogeshi.class.php)

Deleted: plugins/trunk/unported/plogeshi/readme.txt
===================================================================
--- plugins/trunk/plogeshi/readme.txt	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/plogeshi/readme.txt	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,39 +0,0 @@
-Plugin: PloGeSHi
-Author: Rodrigo Perez (http://www.bilson.cl)
-Release Date: 2005/04/04
-Version: 1.0-1
-
-This plugin allows to color syntax using GeSHi (http://qbnz.com/highlighter/)
-Include GeSHi 1.0.6
-This plugin also include code from dokuwiki (http://wiki.splitbrain.org/)
-
-If you want upgrage geshi, download new version of geshi and replace files in folder "plugins/plogeshi/inc"
-
-
-Install:
-
-1.- Uncompress in folder "plugins"
-
-Configure:
-
-1. Enable or disable PloGeSHi plugin in pLog control center
-
-Usage:
-
-<code php>
-if($a=10)
-{
-	echo "a = 10";
-}
-else
-{
-	echo "a != 10";
-}
-     
-echo rtfm();
-      
-function rtfm()
-{
-	return ("Read The F*cking Manual!!");
-}
-</code>

Copied: plugins/trunk/unported/plogeshi/readme.txt (from rev 4488, plugins/trunk/plogeshi/readme.txt)

Copied: plugins/trunk/unported/plogeshi/styles (from rev 4488, plugins/trunk/plogeshi/styles)

Copied: plugins/trunk/unported/plogeshi/templates (from rev 4488, plugins/trunk/plogeshi/templates)

Copied: plugins/trunk/unported/plogpoll (from rev 4488, plugins/trunk/plogpoll)

Copied: plugins/trunk/unported/print (from rev 4487, plugins/trunk/print)

Copied: plugins/trunk/unported/print/class (from rev 4488, plugins/trunk/print/class)

Copied: plugins/trunk/unported/print/locale (from rev 4488, plugins/trunk/print/locale)

Deleted: plugins/trunk/unported/print/pluginprint.class.php
===================================================================
--- plugins/trunk/print/pluginprint.class.php	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/print/pluginprint.class.php	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,47 +0,0 @@
-<?php
-
-	include_once( PLOG_CLASS_PATH."class/plugin/pluginbase.class.php" );
-	
-	/**
-	 * makes printable versions of posts
-	 */
-	class PluginPrint extends PluginBase
-	{
-	
-		function PluginPrint()
-		{
-			$this->PluginBase();
-			
-			$this->id = "print";
-			$this->desc = "Generates printable versions of posts";
-			$this->author = "The LifeType Project";
-			$this->locales = Array( "en_UK", "es_ES" );
-			
-			$this->init();
-		}
-		
-		/**
-		 * registers all the filters and actions that we're going to use
-		 */
-		function init()
-		{			
-		    // action to show the form to add a new story
-		    $this->registerBlogAction( "printView", "PrintPostAction" );
-			
-			// add a couple of menu entries
-			//$this->addMenuEntry( "/menu/controlCenter/manageSettings", "printPluginSettings", "admin.php?op=printPluginSettings", "", true, false );			
-		}
-		
-		/**
-		 * generates the correct url for the print view of a post
-		 *
-		 * @param article
-		 * @return the right url
-		 */
-        function printView( $article )
-        {
-                $rg =& RequestGenerator::getRequestGenerator( $this->_blogInfo );
-            return $rg->getBaseUrl()."/index.php?op=printView&amp;articleId=".$article->getId()."&amp;blogId=".$this->blogInfo->getId();
-        }
-	}
-?>
\ No newline at end of file

Copied: plugins/trunk/unported/print/pluginprint.class.php (from rev 4488, plugins/trunk/print/pluginprint.class.php)

Copied: plugins/trunk/unported/print/templates (from rev 4488, plugins/trunk/print/templates)

Copied: plugins/trunk/unported/randomimage (from rev 4488, plugins/trunk/randomimage)

Copied: plugins/trunk/unported/recentcomments (from rev 4487, plugins/trunk/recentcomments)

Copied: plugins/trunk/unported/recentcomments/class (from rev 4488, plugins/trunk/recentcomments/class)

Copied: plugins/trunk/unported/recentcomments/locale (from rev 4488, plugins/trunk/recentcomments/locale)

Deleted: plugins/trunk/unported/recentcomments/pluginrecentcomments.class.php
===================================================================
--- plugins/trunk/recentcomments/pluginrecentcomments.class.php	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/recentcomments/pluginrecentcomments.class.php	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,103 +0,0 @@
-<?php
-
-    include_once( PLOG_CLASS_PATH."class/plugin/pluginbase.class.php" );
-    include_once( PLOG_CLASS_PATH."class/plugin/pluginmanager.class.php" );
-    
-    /**
-     * Plugin that offers features to return a recent article comments from the current blog
-     */
-    class PluginRecentComments extends PluginBase
-    {
-        var $pluginEnabled;
-        var $maxComments;
-        
-        function PluginRecentComments()
-        {
-            $this->PluginBase();
-  
-            $this->id = "recentcomments";
-            $this->author = "Mark Wu";
-            $this->desc = "This plugin offers the most recently article comments.";
-            $this->locales = Array( "en_UK" , "zh_TW" , "zh_CN", "es_ES" );
-            $this->init();
-        }
-
-		function init()
-		{
-            $this->registerAdminAction( "recentcomments", "PluginRecentCommentsConfigAction" );
-			$this->registerAdminAction( "updateRecentCommentsConfig", "PluginRecentCommentsUpdateConfigAction" );
-			include_once( PLOG_CLASS_PATH."class/template/menu/menu.class.php" );
-            
-			$menu =& Menu::getMenu();
-			if( !$menu->entryExists( "/menu/controlCenter/manageRecentPlugins" ))						
-				$this->addMenuEntry( "/menu/controlCenter", "manageRecentPlugins", "", "", true, false );			
-            $this->addMenuEntry( "/menu/controlCenter/manageRecentPlugins", "RecentComments", "?op=recentcomments", "" );            
-		}
-
-		function register()
-		{
-		    $blogSettings = $this->blogInfo->getSettings();
-		    $this->pluginEnabled = $blogSettings->getValue( "plugin_recentcomments_enabled" );
-	        $this->maxComments = $blogSettings->getValue( "plugin_recentcomments_maxcomments", 10);
-	    }
-	    
-	    function isEnabled()
-	    {
-	        return $this->pluginEnabled;
-	    }
-
-        /**
-         * Returns the recent comments object of current blog
-         */
-        function getRecentComments()
-        {
-            include_once( PLOG_CLASS_PATH."class/dao/commentscommon.class.php" );
-
-            $blogId = $this->blogInfo->getId();
-            $commentsCommon = new CommentsCommon();
-            $prefix = Db::getPrefix();
-
-            $query = "SELECT c.*
-                      FROM {$prefix}articles_comments c, {$prefix}articles a
-                      WHERE c.blog_id = '".Db::qstr( $blogId )."'";
-            $query .= " AND c.article_id = a.id";
-            $query .= " AND a.status = ".POST_STATUS_PUBLISHED;
-            $query .= " AND c.status = ".COMMENT_STATUS_NONSPAM;
-            $query .= " ORDER BY c.date DESC";
-            $query .= " LIMIT ".$this->maxComments;
-
-            $db =& Db::getDb();
-            $result = $db->Execute( $query ); 
-            
-            if( !$result ){
-                return Array();
-            }
-                
-            if( $result->RowCount() == 0 ){
-                $result->Close();           
-                return Array();
-            }
-                
-            $comments = Array();
-            while( $row = $result->FetchRow()) {
-                $comments[] = $commentsCommon->mapRow( $row );
-            }
-            $result->Close();           
-
-            return( $comments );
-        }
-
-            /**
-             * Returns an article given an id
-             * This is needed here because we need to get various
-             * articles, not just the most recent, etc. that are generally
-             * available to the templates.
-             */
-        function getArticle( $artId )
-        {
-			include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );				
-            $articles = new Articles();
-            return $articles->getArticle($artId);
-        }
-    }
-?>
\ No newline at end of file

Copied: plugins/trunk/unported/recentcomments/pluginrecentcomments.class.php (from rev 4488, plugins/trunk/recentcomments/pluginrecentcomments.class.php)

Deleted: plugins/trunk/unported/recentcomments/readme.txt
===================================================================
--- plugins/trunk/recentcomments/readme.txt	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/recentcomments/readme.txt	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,28 +0,0 @@
-Plugin: Recent Comments
-Author: Mark Wu
-Release Date: 2005/01/23
-Version: 1.0
-
-This plugin offers the most recently article comments. Usage as follow:
-
-You can use:
-1. $recentcomments->isEnabled() to check the plugin is enabled or not. 
-2. $recentcomments->getRecentComments( $maxComments , $based ) to get the recent comments.
-
-Where:
-1. $maxComments is the the max comments you want to show. Default is 10.
-2. $based is return the site-wide or blog-wide comments. "BLOG" means blog-wide, and "SITE" means site-wide. Default is "BLOG".
-
-Example:
-Add the following code to footer.template or header.template:
-{if $recentcomments->isEnabled()}
-<h2>Recent Comments</h2>
-{assign var=comments value=$recentcomments->getRecentComments()}
-<ul>
-{foreach from=$comments item=comment}
-{assign var=commentpostid value=$comment->getArticleId()}
-{assign var=commentpost value=$recentcomments->getArticle($commentpostid)}
-<li><a title="View comments by {$comment->getUsername()}" href="{$url->postPermalink($commentpost)}#{$comment->getId()}"><b>{$comment->getUsername()}¡G</b>{$comment->getText()|truncate:100:"..."|strip_tags}</a></li>
-{/foreach}
-</ul>            
-{/if}
\ No newline at end of file

Copied: plugins/trunk/unported/recentcomments/readme.txt (from rev 4488, plugins/trunk/recentcomments/readme.txt)

Copied: plugins/trunk/unported/recentcomments/templates (from rev 4488, plugins/trunk/recentcomments/templates)

Copied: plugins/trunk/unported/recommended (from rev 4488, plugins/trunk/recommended)

Copied: plugins/trunk/unported/reflection (from rev 4487, plugins/trunk/reflection)

Deleted: plugins/trunk/unported/reflection/README.txt
===================================================================
--- plugins/trunk/reflection/README.txt	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/reflection/README.txt	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,22 +0,0 @@
-[USAGES]: 
-1. Upload: Upload all the extract files and directorys to $LifeType_Install_Dir/plugin/reflection 
-2. Modify template: Use $reflection->show() in template file to all a LifeType post to be tracked. 
-
-
-Reflection.js web site:
-http://cow.neondragon.net/stuff/reflection/
-
-
-[EXAMPLE]: 
-Add the following code in header.template: 
-
-Code: 
-{$reflection->show()} 
-
-On the image tag add a reflect class attribute:
-
-class="reflect rheight80 ropacity40"
-
-
-[TODO]:
-1) Add support for some tag, that would be parsed from the posts, to make it easier to add the effect.
\ No newline at end of file

Copied: plugins/trunk/unported/reflection/README.txt (from rev 4488, plugins/trunk/reflection/README.txt)

Copied: plugins/trunk/unported/reflection/class (from rev 4488, plugins/trunk/reflection/class)

Copied: plugins/trunk/unported/reflection/locale (from rev 4488, plugins/trunk/reflection/locale)

Deleted: plugins/trunk/unported/reflection/pluginreflection.class.php
===================================================================
--- plugins/trunk/reflection/pluginreflection.class.php	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/reflection/pluginreflection.class.php	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,77 +0,0 @@
-<?php
-    /*
-    Copyright 2006 Paul Westbrook (paul at westbrooks.org)
-    
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-    
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-    
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-    */
-    
-
-	include_once( PLOG_CLASS_PATH."class/plugin/pluginbase.class.php" );
-	include_once( PLOG_CLASS_PATH."class/plugin/pluginmanager.class.php" );
-
-	class PluginReflection extends PluginBase
-	{
-		var $pluginEnabled;
-		
-		function PluginReflection()
-		{
-			$this->PluginBase();
-
-			$this->id      = "reflection";
-			$this->author  = "Paul Westbrook";
-			$this->desc    = "Plugin to add reflections to images.";
-
-			$this->locales = Array( "en_UK");
-
-			$this->init();
-		}
-
-		function init()
-		{
-            $this->registerAdminAction( "reflectionConfig", "PluginReflectionConfigAction" );
-			$this->registerAdminAction( "updateReflectionConfig", "PluginReflectionUpdateConfigAction" );
-			
-			$menu =& Menu::getMenu();
-			if( !$menu->entryExists( "/menu/controlCenter/manageAppearancePlugins" ))						
-				$this->addMenuEntry( "/menu/controlCenter", "manageAppearancePlugins", "", "", true, false );			
-            $this->addMenuEntry( "/menu/controlCenter/manageAppearancePlugins", "reflection", "?op=reflectionConfig", "" );
-		}
-
-		function register()
-		{
-		    $blogSettings = $this->blogInfo->getSettings();
-			$this->pluginEnabled = $blogSettings->getValue( "plugin_reflection_enabled" );
-		}
-
-	    function isEnabled()
-	    {
-	        return $this->pluginEnabled;
-	    }
-	    
-	    function show()
-	    {
-
-			$str = '';
-	    
-            if ($this->isEnabled())
-            {
-                $rg = $this->blogInfo->getBlogRequestGenerator();
-                
-                $str = '<script type="text/javascript" src="' . $rg->blogLink() . '/plugins/reflection/class/js/reflection.js"></script>';
-             }
-	    	return $str;
-		}
-	}
-?>
\ No newline at end of file

Copied: plugins/trunk/unported/reflection/pluginreflection.class.php (from rev 4488, plugins/trunk/reflection/pluginreflection.class.php)

Copied: plugins/trunk/unported/reflection/templates (from rev 4488, plugins/trunk/reflection/templates)

Copied: plugins/trunk/unported/remembercommentdata (from rev 4488, plugins/trunk/remembercommentdata)

Copied: plugins/trunk/unported/secret (from rev 4488, plugins/trunk/secret)

Copied: plugins/trunk/unported/secretblog (from rev 4488, plugins/trunk/secretblog)

Copied: plugins/trunk/unported/shoutbox (from rev 4488, plugins/trunk/shoutbox)

Copied: plugins/trunk/unported/sitemap (from rev 4487, plugins/trunk/sitemap)

Copied: plugins/trunk/unported/sitemap/class (from rev 4488, plugins/trunk/sitemap/class)

Copied: plugins/trunk/unported/sitemap/locale (from rev 4488, plugins/trunk/sitemap/locale)

Deleted: plugins/trunk/unported/sitemap/pluginsitemap.class.php
===================================================================
--- plugins/trunk/sitemap/pluginsitemap.class.php	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/sitemap/pluginsitemap.class.php	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,170 +0,0 @@
-<?php
-
-    include_once( PLOG_CLASS_PATH."class/plugin/pluginbase.class.php" );
-    include_once( PLOG_CLASS_PATH."class/net/http/httpclient.class.php" );
-    include_once( PLOG_CLASS_PATH."class/net/requestgenerator.class.php" );
-
-    
-    /**
-     * implements notification of 
-     */
-    class PluginSiteMap extends PluginBase
-    {
-        var $pluginEnabled;
-        var $cacheFolder;
-
-
-        function PluginSiteMap()
-        {
-            $this->PluginBase();
-            
-            $this->id = "sitemap";
-            $this->desc = "Generates Google Sitemap for all permalinks.";
-            $this->author = "Paul Westbrook";
-            $this->locales = Array( "en_UK", "de_DE" );
-            
-            $this->init();
-        }
-
-        /**
-         * registers all the filters and actions that we're going to use
-         */
-        function init()
-        {           
-            // register the events we want
-            $this->registerNotification( EVENT_POST_POST_ADD );
-            $this->registerNotification( EVENT_POST_POST_UPDATE );
-            $this->registerNotification( EVENT_POST_POST_DELETE );
-            
-            // register an action that will allow users to see which comments have not been
-            // accepted yet
-            $this->registerAdminAction( "sitemapPluginSettings", "AdminSiteMapPluginSettingsAction" );
-            $this->registerAdminAction( "sitemapPluginUpdateSettings", "AdminSiteMapPluginUpdateSettingsAction" );
-            
-            // add a menu entry
-            $menu =& Menu::getMenu();
-            if( !$menu->entryExists( "/menu/controlCenter/manageSettings" ))                     
-                $this->addMenuEntry( "/menu/controlCenter", "manageSettings", "", "", true, false );
-            $this->addMenuEntry( "/menu/controlCenter/manageSettings", "sitemapPluginSettings", "admin.php?op=sitemapPluginSettings", "", true, false );
-        }
-
-        function register()
-        {
-            $config =& Config::getConfig();
-
-            $this->cacheFolder = $config->getValue('temp_folder');
-            $this->cacheFolder = $this->cacheFolder.'/sitemap/'.$this->blogInfo->getId();
-            if( !File::exists( $this->cacheFolder )) {
-                File::createDir( $this->cacheFolder );
-            }
-
-            $blogSettings = $this->blogInfo->getSettings();
-            $this->pluginEnabled = $blogSettings->getValue( "plugin_sitemap_enabled" );
-        }
-
-        function isEnabled()
-        {
-            return $this->pluginEnabled;
-        }       
-        
-        /**
-         * process the events that we have registered
-         *
-         * @see PluginBase::process
-         * @see PluginManager
-         */
-        function process( $eventType, $params )
-        {
-            // make sure we're processing the right event!
-            if( $eventType != EVENT_POST_POST_ADD &&
-                $eventType != EVENT_POST_POST_UPDATE &&
-                $eventType != EVENT_POST_POST_DELETE ) 
-            {
-                return true;
-            }
-
-
-            // Load all of the settings for this blog
-            $this->register();
-            
-            // do nothing if the plugin is not enabled!
-            $blogSettings = $this->blogInfo->getSettings();
-            if( !$blogSettings->getValue( "plugin_sitemap_enabled" ))
-            {
-                // error_log( "plugin not enabled" );
-                return true;
-            }
-              
-            $this->GenerateSiteMap( );
-              
-            return true;
-        }
-        
-        /**
-         * Turns on notification for the specified article
-         *
-         */
-        
-        function GenerateSiteMap( )
-        {
-            // articles object
-            $articles = new Articles;
-
-             $list = $articles->getBlogArticles(
-                $this->blogInfo->getId(),  
-                -1,  // date
-                -1, // all articles
-                0,  // all categories
-                POST_STATUS_PUBLISHED  // only published articles
-            );
-
-            $url = $this->blogInfo->getBlogRequestGenerator();
-
-            // Data from the xml file that needs to be there.
-            $xmlData =  "<?xml version='1.0' encoding='UTF-8'?>\n".
-                          "<urlset xmlns=\"http://www.google.com/schemas/sitemap/0.84\"\n".
-                          "xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n".
-                          "xsi:schemaLocation=\"http://www.google.com/schemas/sitemap/0.84\n".
-                          "http://www.google.com/schemas/sitemap/0.84/sitemap.xsd\">\n";
-                              
-             
-            // Iterate over the posts and create an entry for each.
-            foreach($list as $item)
-            {
-                $xmlData =  $xmlData . "<url>\n";
-                $xmlData =  $xmlData . "<loc>\n";
-                $xmlData =  $xmlData . htmlspecialchars( $url->postPermalink( $item ) ) . "\n";
-                $xmlData =  $xmlData . "</loc>\n";
-                $xmlData =  $xmlData . "</url>\n";
-            }
-            $xmlData =  $xmlData . "</urlset>\n";
-                
-                
-            $compressedFile = $this->cacheFolder."/sitemap.gz";  
-
-            
-            // Save this to a compressed file.
-            $gz = gzopen($compressedFile,'w9');
-            if ( $gz )
-            {
-                gzwrite($gz, $xmlData);
-                gzclose($gz);
-            }
-            
-            $blogSettings = $this->blogInfo->getSettings();
-            if( $blogSettings->getValue( "plugin_sitemap_notify_google_enabled" ))
-            {
-                 // Send the request to google
-                $rg =& RequestGenerator::getRequestGenerator( $this->blogInfo );
-                $rewriteFile = "/sitemap" . $this->blogInfo->getId() . ".gz";
-                $rewriteFileUrl = $rg->getUrl($rewriteFile);
-                
-                $pingUrl = "http://www.google.com/webmasters/sitemaps/ping?sitemap=" . urlencode($rewriteFileUrl);
-                
-                $handle = fopen( $pingUrl, "r" );
-                fclose( $handle );
-
-            }
-        }
-    }  
-?>
\ No newline at end of file

Copied: plugins/trunk/unported/sitemap/pluginsitemap.class.php (from rev 4488, plugins/trunk/sitemap/pluginsitemap.class.php)

Deleted: plugins/trunk/unported/sitemap/readme.txt
===================================================================
--- plugins/trunk/sitemap/readme.txt	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/sitemap/readme.txt	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,41 +0,0 @@
-Plugin: SiteMap
-Author: paul at westbrooks.org
-Release Date: 2005/06/23
-Version: 1.0
-
-Creates Google Sitemap for a blog.  This plugin adds all of the permalinks from 
-a given blog to a site map file.  It can also optionally automatically notify 
-Google that this file has changed.
-
-In order for the site map to be accessible, 
-change plog/tmp/.htacess to allow the sitemap folder to be read by a web browser
-
-<Files "*">
- Order deny,allow
- Deny from all
-</Files>
-
-<Files "sitemap.gz">
- Allow from all
-</files>
-
-
-
-Add the following lines to the plog/.htaccess
-
-
-
-<IfModule mod_rewrite.c>
- 
-RewriteEngine On
-
-  RewriteBase /
-
-
-  # Point to the sitemap file that is local to the blog
-RewriteRule   
-  ^sitemap([0-9]+)\.gz$ tmp/sitemap/$1/sitemap.gz [L,NC]
-
-
-</IfModule>
-

Copied: plugins/trunk/unported/sitemap/readme.txt (from rev 4488, plugins/trunk/sitemap/readme.txt)

Copied: plugins/trunk/unported/sitemap/templates (from rev 4488, plugins/trunk/sitemap/templates)

Copied: plugins/trunk/unported/smileys (from rev 4487, plugins/trunk/smileys)

Copied: plugins/trunk/unported/smileys/class (from rev 4488, plugins/trunk/smileys/class)

Copied: plugins/trunk/unported/smileys/icons (from rev 4488, plugins/trunk/smileys/icons)

Copied: plugins/trunk/unported/smileys/js (from rev 4488, plugins/trunk/smileys/js)

Copied: plugins/trunk/unported/smileys/locale (from rev 4488, plugins/trunk/smileys/locale)

Deleted: plugins/trunk/unported/smileys/pluginsmileys.class.php
===================================================================
--- plugins/trunk/smileys/pluginsmileys.class.php	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/smileys/pluginsmileys.class.php	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,183 +0,0 @@
-<?php
-
-    include_once( PLOG_CLASS_PATH."class/plugin/pluginbase.class.php" );	
-    
-    define( "DEFAULT_SMILEY_SET", "default" );
-    
-    define( "SMILEY_FILE_PATH", PLOG_CLASS_PATH."/plugins/smileys/icons/" );
-	
-	/**
-	 * base class that registers everything
-	 */
-    class PluginSmileys extends PluginBase
-    {
-        var $_smileySet;
-        var $_pluginEnabled;
-        
-        function PluginSmileys()
-        {
-            $this->PluginBase();
-			
-			// ---
-			// set some information
-			// ---
-			$this->id = "smileys";
-            $this->author = "The LifeType Project";
-            $this->desc = "The plugin offer smileys to comments and articles.";
-
-			$this->locales = Array( "en_UK" , "zh_TW" , "zh_CN", "es_ES" );
-
-            $this->init();  
-        }
-
-		function init()
-		{
-			include_once( PLOG_CLASS_PATH."class/template/menu/menu.class.php" );
-			// ---
-			// register two actions for this plugin plus an option in the menu
-			// ---
-            $this->registerAdminAction( "smileys", "PluginSmileysConfigAction" );
-			$this->registerAdminAction( "updateSmileysConfig", "PluginSmileysUpdateConfigAction" );
-			
-			// ---
-			// register two actions for this plugin plus an option in the menu
-			// ---
-			$menu =& Menu::getMenu();
-			if( !$menu->entryExists( "/menu/controlCenter/manageAppearancePlugins" ))						
-				$this->addMenuEntry( "/menu/controlCenter", "manageAppearancePlugins", "", "", true, false );			
-            $this->addMenuEntry( "/menu/controlCenter/manageAppearancePlugins", "Smileys", "?op=smileys", "" );
-
-			// ---
-			// finally, register the event-based plugin that will finally take care of 
-			// 'translating' the smileys
-			// ---
-			$this->registerNotification( EVENT_POST_LOADED );
-			$this->registerNotification( EVENT_POSTS_LOADED );			
-		}
-
-		function register()
-		{
-		    $blogSettings = $this->blogInfo->getSettings();
-		    $this->_pluginEnabled = $blogSettings->getValue( "plugin_smileys_enabled" );
-	        $this->_smileySet = $blogSettings->getValue( "plugin_smileys_iconset" );
-	    }
-	    
-	    function isEnabled()
-	    {
-	        return $this->_pluginEnabled;
-	    }		
-
-		function _smileizePost( $post, $smileySet, $smileys )
-		{
-			include_once( PLOG_CLASS_PATH."plugins/smileys/class/smileys/smileys.class.php" );
-			
-			// modify the text...
-			$postIntroText = $post->getIntroText();
-			$postIntroText = Smileys::smileys( $this->blogInfo, $postIntroText, $smileySet, $smileys );
-			$postExtendedText = $post->getExtendedText();
-			$postExtendedText = Smileys::smileys( $this->blogInfo, $postExtendedText, $smileySet, $smileys );
-			$post->setText( $postIntroText.POST_EXTENDED_TEXT_MODIFIER.$postExtendedText );
-			// ...modify the comments...
-			$comments = $post->getComments();
-			
-			// check if there's anything to do with the comments
-			if( !is_array($comments)) {
-				return $post;
-			}
-			
-			$output = Array();
-			foreach( $comments as $comment ) {
-				$tmpText = $comment->getText();
-				$commentText = Smileys::smileys( $this->blogInfo, $tmpText, $smileySet, $smileys );
-				$comment->setText( $commentText );
-				array_push( $output, $comment );
-			}
-
-			$post->setComments( $output );
-			
-			return $post;
-		}
-		
-		/**
-		 * Receives and processes events
-		 *
-		 * @param eventType
-		 * @param params
-		 */
-		function process( $eventType, $params )
-		{
-			include_once( PLOG_CLASS_PATH."plugins/smileys/class/smileys/smileys.class.php" );				
-
-			// get the objects we need from the parameters array
-			$blogInfo = $params[ "blogInfo" ];
-			$blogSettings = $blogInfo->getSettings();
-		    $pluginEnabled = $blogSettings->getValue( "plugin_smileys_enabled" );
-			
-            if ( $pluginEnabled != 1 )
-                return true;			
-			
-			$smileySet = $blogSettings->getValue( "plugin_smileys_iconset" );
-			if( $smileySet == "" )
-				$smileySet = DEFAULT_SMILEY_SET;
-				
-			// load the set
-			$smileys = Smileys::loadSmileySet( $smileySet );
-			
-			// process the event, as long as it's not coming from the "editPost" action
-			// in order to avoid double processing
-			if( $eventType == EVENT_POST_LOADED && $params["from"] != "editPost" ) {
-				$post = $params[ "article" ];
-				$post = $this->_smileizePost( $post, $smileySet, $smileys );
-				// ...and finally put everything back together
-				$params["article"] = $post;
-			}
-			elseif( $eventType == EVENT_POSTS_LOADED ) {
-			     if( isset( $params["articles"] )) {
-                    $posts = $params[ "articles" ];
-                    $result = Array();
-                    if (count($posts) != 0 ){
-                        foreach( $posts as $post ) {
-                            $post = $this->_smileizePost( $post, $smileySet, $smileys );
-                            array_push( $result, $post );
-                        }
-                    }
-                    $params[ "articles" ] = $result;
-				}
-			}
-			
-			//return $params;
-			
-			return true;
-		}
-
-        function generateSmileysBar()
-        {
-			include_once( PLOG_CLASS_PATH."plugins/smileys/class/smileys/smileys.class.php" );		
-		
-            if( $this->_pluginEnabled ) {
-			    // load the set
-			    $smileys = Smileys::loadSmileySet( $this->_smileySet );
-			                
-                $text = "";
-                $rg = $blogInfo->getBlogRequestGenerator();
-                $prevIcon = "";
-                $currentIcon = "";
-                foreach( $smileys as $smiley => $icon ) {
-                    $currentIcon = $icon;
-                    if ($currentIcon != $prevIcon) {
-                        $iconTag = "<img style=\"vertical-align:middle;\" onClick=\"writeImgTag('".addslashes($smiley)."')\" alt=\"".$smiley."\" title=\"".$smiley."\" src=\"".
-                                    $rg->getUrl( "/plugins/smileys/icons/".$this->_smileySet."/".$icon."\" />" );
-                        $text .= $iconTag;
-                        $prevIcon = $currentIcon;
-                    }
-                }
-            } else {
-                $locale = $this->blogInfo->getLocale();
-                $text = $locale->tr("error_smileys_not_enabled");
-            }
-            
-            return $text;
-        }
-			
-    }
-?>

Copied: plugins/trunk/unported/smileys/pluginsmileys.class.php (from rev 4488, plugins/trunk/smileys/pluginsmileys.class.php)

Deleted: plugins/trunk/unported/smileys/readme.txt
===================================================================
--- plugins/trunk/smileys/readme.txt	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/smileys/readme.txt	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,30 +0,0 @@
-Plugin: Smileys
-Author: The LifeType Project
-Release Date: 2005/02/13
-Version: 1.0
-
-This plugin offers you to show the smileys in comments and articles. Usage as followed:
-
-You can use:
-1. $smileys->generateSmileysBar() to show visual smileys tool bar. 
-
-Notice:
-Your form must has name and id attribute, just like
-<form id="NewComment" name="NewComment" ....>
-
-Example:
-Standard Template:
-Add the following code to commentForm.template after commentText text area:
-{if $smileys->isEnabled()}
-<script type="text/javascript" src="{$url->getBaseUrl()}/plugins/smileys/js/smileys/smileys.js"></script>
-<br/><label>&nbsp;</label>{$smileys->generateSmileysBar()}
-{/if}
-
-Other Template (by Monjo's Suggestion):
-Add the following code to commentForm.template after commentText text area:
-{if $smileys->isEnabled()} 
-<script type="text/javascript" src="{$url->getBaseUrl()}/plugins/smileys/js/smileys/smileys.js"></script> 
-{$locale->tr("Smileys")}: {$smileys->generateSmileysBar()} 
-{/if}
-
-You can modified by your own.
\ No newline at end of file

Copied: plugins/trunk/unported/smileys/readme.txt (from rev 4488, plugins/trunk/smileys/readme.txt)

Copied: plugins/trunk/unported/smileys/templates (from rev 4488, plugins/trunk/smileys/templates)

Copied: plugins/trunk/unported/sociable (from rev 4487, plugins/trunk/sociable)

Deleted: plugins/trunk/unported/sociable/README.txt
===================================================================
--- plugins/trunk/sociable/README.txt	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/sociable/README.txt	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,51 +0,0 @@
-[DESCRIPTION]
-Sociable is a port of the WordPress plugin of the same name, written
-by Peter Harkins. (http://push.cx/sociable)
-
-The Sociable plugin adds links to social bookmarking sites to each of
-your blog posts.
-
-[USAGES]:
-1. Upload: Upload all the extract files and directories to
-   $LifeType_Install_Dir/plugin/sociable
-2. Add the following to header.template in the <head> section
-   {$sociable->showCSS()}
-
-
-3. Next you need to add the following to post.template:
-    {assign var="sociablePostId" value=$post->getId()}
-    {$sociable->show($sociablePostId)}
-
-
-[EXAMPLE (From the template 'Falling Leaves with plug-ins]
-{assign var="postDate" value=$post->getDateObject()}
-{assign var="postOwner" value=$post->getUserInfo()}
-{assign var="sociablePostId" value=$post->getId()}
- 
-   <DIV class=post>
-      <H2 class=storytitle ><A class=aposted
-      href="{$url->postPermalink($post)}">{$post->getTopic()}</A></H2>
-      <DIV class=date>Published on
-      {$locale->formatDate($postDate,"%H:%M, %m/%d,%Y")}</DIV>
-      <DIV class=storycontent>
-      <P>{$post->getText()}</P>
-   </DIV><BR>
-   <DIV class=feedback>
-      <DIV class=meta>Posted under
-         {foreach name=categories from=$post->getCategories()
-      item=postcategory}
-            <a
-      href="{$url->categoryLink($postcategory)}">{$postcategory->getName()}</a>
-         {if !$smarty.foreach.categories.last}, {/if}
-         {/foreach}
-
-            | <A
-            href="{$url->postPermalink($post)}#comments">{$locale->tr("comment
-            on this")} ({$post->getTotalComments()})</A>
-            {$sociable->show($sociablePostId)}
-      </DIV>
-   </DIV>
-   <DIV class=sep></DIV>
-   </DIV>
-
-[END EXAMPLE] 

Copied: plugins/trunk/unported/sociable/README.txt (from rev 4488, plugins/trunk/sociable/README.txt)

Copied: plugins/trunk/unported/sociable/class (from rev 4488, plugins/trunk/sociable/class)

Copied: plugins/trunk/unported/sociable/locale (from rev 4488, plugins/trunk/sociable/locale)

Deleted: plugins/trunk/unported/sociable/pluginsociable.class.php
===================================================================
--- plugins/trunk/sociable/pluginsociable.class.php	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/sociable/pluginsociable.class.php	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,219 +0,0 @@
-<?php
-    /*
-    Copyright 2006 Paul Westbrook (paul at westbrooks.org)
-    
-    Based on Sociable by Peter Harkins
-    http://push.cx/sociable
-    
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-    
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-    
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-    */
-
-
-
-	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" );
-
-
-	class PluginSociable extends PluginBase
-	{
-		var $pluginEnabled;
-
-		
-		function PluginSociable()
-		{
-			$this->PluginBase();
-
-			$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->locales = Array( "en_UK");
-
-			$this->init();
-		}
-
-		function init()
-		{
-            $this->registerAdminAction( "sociableConfig", "PluginSociableConfigAction" );
-			$this->registerAdminAction( "updateSociableConfig", "PluginSociableUpdateConfigAction" );
-			
-			$menu =& Menu::getMenu();
-			if( !$menu->entryExists( "/menu/controlCenter/manageAppearancePlugins" ))						
-				$this->addMenuEntry( "/menu/controlCenter", "manageAppearancePlugins", "", "", true, false );			
-            $this->addMenuEntry( "/menu/controlCenter/manageAppearancePlugins", "sociable", "?op=sociableConfig", "" );
-		}
-
-		function register()
-		{
-		    $blogSettings = $this->blogInfo->getSettings();
-			$this->pluginEnabled = $blogSettings->getValue( "plugin_sociable_enabled" );
-		}
-
-	    function isEnabled()
-	    {
-	        return $this->pluginEnabled;
-	    }
-	    
-	    function showCSS()
-	    {
-			$str = '';
-	    
-            if ($this->isEnabled())
-            {
-    
-               $rg = $this->blogInfo->getBlogRequestGenerator();
-
-	           $str .=  '<link rel="stylesheet" type="text/css" media="screen" href="' . $rg->blogLink() .'/plugins/sociable/class/sociable/sociable.css" />';
-            
-            }	
-            
-            return $str;
-
-	    }
-	    
-	    
-	    function show($postId)
-	    {
-            global $sociable_builtin_known_sites;
-            
-            global $sociable_plugin_extra_sites;
-        
-            
-            include( PLOG_CLASS_PATH."plugins/sociable/class/sociable/sociable.php" );
-        	include( PLOG_CLASS_PATH."plugins/sociable/class/extra/pluginsociableextrasites.inc.php" );
-
-			$str = '';
-	    
-            if ($this->isEnabled())
-            {
-            
-                // articles object
-                $articles = new Articles;
-    
-    
-                $rg = $this->blogInfo->getBlogRequestGenerator();
-                $post = $articles->getBlogArticle($postId);
-	            $blogSettings = $this->blogInfo->getSettings();
-   			    $locale =& $this->blogInfo->getLocale();
-
-                $blogname = urlencode($this->blogInfo->getBlog());
-                $permalink = urlencode($rg->postPermalink($post));
-                $title = urlencode($post->getTopic());
-                
-                $str .= '<div class="sociable"><span class="sociable_tagline">';
-                $str .= '<strong>' . $locale->tr("tagline")  . '</strong>';
-                $str .= '<span>These icons link to social bookmarking sites where readers can share and discover new web pages.</span></span><ul>' . "\n";
-
-		        foreach($sociable_builtin_known_sites as $sitename=>$site)
-		        {
-                    $siteEnabled = $blogSettings->getValue("plugin_sociable_" . $sitename . "_enabled");
-                    $siteEnabled = ($siteEnabled != "");
-                    if( !$siteEnabled )
-                        continue;
-                    
-                    $url = $site['url'];
-                    $url = str_replace('PERMALINK', $permalink, $url);
-                    $url = str_replace('TITLE', $title, $url);
-                    $url = str_replace('BLOGNAME', $blogname, $url);
- 
-                    $str .= "<a href=\"$url\" title=\"$sitename\">";
-                    $str .= '<img src="'. $rg->blogLink() .'/plugins/sociable/class/sociable/images/' . $site['favicon'] . '" alt="' . $sitename .'" />';
-                    $str .= "</a></li>\n";
-
-                }                
-
-		        foreach($sociable_plugin_extra_sites as $sitename=>$site)
-		        {
-                    $siteEnabled = $blogSettings->getValue("plugin_sociable_" . $sitename . "_enabled");
-                    $siteEnabled = ($siteEnabled != "");
-                    if( !$siteEnabled )
-                        continue;
-                    
-                    $url = $site['url'];
-                    $url = str_replace('PERMALINK', $permalink, $url);
-                    $url = str_replace('TITLE', str_replace("+", "%20", $title), $url);
-                    $url = str_replace('BLOGNAME', $blogname, $url);
- 
-                    $str .= "<a href=\"$url\" title=\"$sitename\">";
-                    $str .= '<img src="'. $rg->blogLink() .'/plugins/sociable/class/extra/images/' . $site['favicon'] . '" alt="' . $sitename .'" />';
-                    $str .= "</a></li>\n";
-                }                
-             	$str .= "</ul></div>\n";
-
-             }
-	    	return $str;
-		}
-		
-		function showAdmin()
-		{
-		      global $sociable_builtin_known_sites;
-		      
-		      global $sociable_plugin_extra_sites;
-
-        	include( PLOG_CLASS_PATH."plugins/sociable/class/sociable/sociable.php" );
-            
-        	include( PLOG_CLASS_PATH."plugins/sociable/class/extra/pluginsociableextrasites.inc.php" );
-
-
-		      $str = '';
-		      
-	           $blogSettings = $this->blogInfo->getSettings();
-               $rg = $this->blogInfo->getBlogRequestGenerator();
-			   $locale =& $this->blogInfo->getLocale();
-
-
-		      foreach($sociable_builtin_known_sites as $sitename=>$site)
-		      {
-		          $str .= '<div class="field">';
-		          $str .= '<label for="'. $sitename . '">'.$sitename .'</label>';
-                  $str .= '<div class="formHelp">';
-                  $str .= '<img src="'. $rg->blogLink() .'/plugins/sociable/class/sociable/images/' . $site['favicon'] . '" alt="' . $sitename .'" />';
-                  $str .= '<input class="checkbox" type="checkbox" name="'. strtr($sitename, ".", "_") .'" id="'. strtr($sitename, ".", "_") .'"';
-                  
-                  $siteEnabled = $blogSettings->getValue("plugin_sociable_" . $sitename . "_enabled");
-                  $siteEnabled = ($siteEnabled != "");
-                  if ($siteEnabled)
-                  {
-                      $str .= 'checked="checked"';
-                  }
-                  $str .= 'value="1" /> '. $locale->tr("label_enable") . ' '.  $sitename;
-                  $str .= '  </div>';
-                  $str .= '  </div>';
-		      }
-		      foreach($sociable_plugin_extra_sites as $sitename=>$site)
-		      {
-		          $str .= '<div class="field">';
-		          $str .= '<label for="'. $sitename . '">'.$sitename .'</label>';
-                  $str .= '<div class="formHelp">';
-                  $str .= '<img src="'. $rg->blogLink() .'/plugins/sociable/class/extra/images/' . $site['favicon'] . '" alt="' . $sitename .'" />';
-                  $str .= '<input class="checkbox" type="checkbox" name="'. strtr($sitename, ".", "_") .'" id="'. strtr($sitename, ".", "_") .'"';
-                  
-                  $siteEnabled = $blogSettings->getValue("plugin_sociable_" . $sitename . "_enabled");
-                  $siteEnabled = ($siteEnabled != "");
-                  if ($siteEnabled)
-                  {
-                      $str .= 'checked="checked"';
-                  }
-                  $str .= 'value="1" /> '. $locale->tr("label_enable") . ' '.  $sitename;
-                  $str .= '  </div>';
-                  $str .= '  </div>';
-		      }
-		      
-		      return $str;
-		}
-	}
-?>
\ No newline at end of file

Copied: plugins/trunk/unported/sociable/pluginsociable.class.php (from rev 4488, plugins/trunk/sociable/pluginsociable.class.php)

Copied: plugins/trunk/unported/sociable/templates (from rev 4488, plugins/trunk/sociable/templates)

Copied: plugins/trunk/unported/stickyposts (from rev 4488, plugins/trunk/stickyposts)

Copied: plugins/trunk/unported/submissions (from rev 4487, plugins/trunk/submissions)

Copied: plugins/trunk/unported/submissions/class (from rev 4488, plugins/trunk/submissions/class)

Copied: plugins/trunk/unported/submissions/js (from rev 4488, plugins/trunk/submissions/js)

Copied: plugins/trunk/unported/submissions/locale (from rev 4488, plugins/trunk/submissions/locale)

Deleted: plugins/trunk/unported/submissions/pluginsubmissions.class.php
===================================================================
--- plugins/trunk/submissions/pluginsubmissions.class.php	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/submissions/pluginsubmissions.class.php	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,71 +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."class/net/rawrequestgenerator.class.php" );	
-	
-	define( "POST_STATUS_EXTERNAL_SUBMISSION", 200 );
-	
-	/**
-	 * allows users to submit posts to the blog, and keeps them in a separate queue
-	 */
-	class PluginSubmissions extends PluginBase
-	{
-	
-		function PluginSubmissions()
-		{
-			$this->PluginBase();
-			
-			$this->id = "submissions";
-			$this->desc = "Allows visitors to submit stories to the blog.";
-			$this->author = "The LifeType Project";
-			$this->locales = Array();
-			
-			$this->init();
-		}
-		
-		/**
-		 * registers all the filters and actions that we're going to use
-		 */
-		function init()
-		{			
-		    // action to show the form to add a new story
-		    $this->registerBlogAction( "submissionForm", "ShowSubmissionFormAction" );
-		    $this->registerBlogAction( "submitStory", "AddSubmissionAction" );
-			$this->registerAdminAction( "submissionsPluginSettings", "AdminSubmissionsPluginSettingsAction" );
-			$this->registerAdminAction( "pluginSubmissionsUpdateSettings", "AdminSubmissionsPluginUpdateSettingsAction" );
-			
-			// add a couple of menu entries
-			$this->addMenuEntry( "/menu/Manage/managePosts", "submissionsPluginSettings", "admin.php?op=submissionsPluginSettings", "", true, false );
-		}
-
-		function register()
-		{
-		    $blogSettings = $this->blogInfo->getSettings();
-		    $this->pluginEnabled = $blogSettings->getValue( "plugin_submissions_enabled" );
-		    $this->htmlareaEnabled = $blogSettings->getValue( "plugin_submissions_htmlarea_enabled" );
-	    }
-	    
-	    function isEnabled()
-	    {
-	        return $this->pluginEnabled;
-	    }
-
-	    function isHtmlareaEnabled()
-	    {
-	        return $this->htmlareaEnabled;
-	    }
-
-        function pluginTemplatePage()
-        {
- 			$rg = new RawRequestGenerator($this->blogInfo);
-            
-        	$rg->addParameter( "op", "submissionForm" );
-            $rg->addParameter( "blogId", $this->blogInfo->getId());
-
-            $templatePage = $rg->getIndexUrl().$rg->getRequest();
-
-            return $templatePage;
-        }	    		
-	}  
-?>
\ No newline at end of file

Copied: plugins/trunk/unported/submissions/pluginsubmissions.class.php (from rev 4488, plugins/trunk/submissions/pluginsubmissions.class.php)

Deleted: plugins/trunk/unported/submissions/readme.txt
===================================================================
--- plugins/trunk/submissions/readme.txt	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/submissions/readme.txt	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,15 +0,0 @@
-Plugin: Submissions
-Author: The LifeType Project
-Release Date: 2005/05/16
-Version: 1.0
-
-This plugin offers you to prvide your visitor post article without login into admin panel
-
-Install:
-2. Configure and enable the Submissions plugin in your LifeType control center
-3. Use $submissions->pluginTemplatePage() to get submissions template page url
-
-Usage:
-Use the following URL to call your LifeType Submission Plugin Page
-http://your-plog/index.php?op=submissionForm&blogId=1
-

Copied: plugins/trunk/unported/submissions/readme.txt (from rev 4488, plugins/trunk/submissions/readme.txt)

Copied: plugins/trunk/unported/submissions/templates (from rev 4488, plugins/trunk/submissions/templates)

Copied: plugins/trunk/unported/tagcloud (from rev 4487, plugins/trunk/tagcloud)

Deleted: plugins/trunk/unported/tagcloud/Readme.txt
===================================================================
--- plugins/trunk/tagcloud/Readme.txt	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/tagcloud/Readme.txt	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,26 +0,0 @@
-Plugin: TagCloud
-Author: Hatem Ben Yacoub
-Release Date: 2005/07/25
-Version: a1.0.0
-
-This is an alpha plugin that generate tag cloud of latest articles.
-
-Usage:
-
-
-<!--TagCloud-->
-<h2> {$locale->tr("Tag cloud")} </h2>
-<ul>
-<li><div style="text-align:center">
-
-{ $tagcloud->getTagCloud()}
-
-</div></li>
-</ul>
-
-
-TODO :
-
-Add css design
-Make it support all encoding (actually limited to [a-zA-Z])
-Generate tags by Categories
\ No newline at end of file

Copied: plugins/trunk/unported/tagcloud/Readme.txt (from rev 4488, plugins/trunk/tagcloud/Readme.txt)

Copied: plugins/trunk/unported/tagcloud/class (from rev 4488, plugins/trunk/tagcloud/class)

Copied: plugins/trunk/unported/tagcloud/locale (from rev 4488, plugins/trunk/tagcloud/locale)

Deleted: plugins/trunk/unported/tagcloud/plugintagcloud.class.php
===================================================================
--- plugins/trunk/tagcloud/plugintagcloud.class.php	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/tagcloud/plugintagcloud.class.php	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,248 +0,0 @@
-<?php
-
-include_once( PLOG_CLASS_PATH."class/plugin/pluginbase.class.php" );
-
-    
-    /*
-     * This plugin generate TagCloud for a specific Blog
-     */
-     class PluginTagCloud extends PluginBase
-     {
-	
-        var $pluginEnabled;
-        var $cacheFolder;
-
-	/*
-	* Constructor
-	*/
-	function PluginTagCloud(){
-	
-		$this->author = "Ben Yacoub Hatem";
-		$this->desc = "This plugin generate TagCloud for a specific Blog, usage
-			    :<br/>
-			    <b>{ \$tagcloud->getTagCloud()}</b><br/><br/>
-			   getTagCloud return html of the Tag Cloud ready to use.<br/>
-			   See Readme for example usage.";
-		    
-		$this->PluginBase();
-		include_once( PLOG_CLASS_PATH."class/database/db.class.php" );
-		$this->db =& Db::getDb();
-		$this->id = "tagcloud";
-		
-	    $this->locales = Array("en_UK");
-	    
-	                
-        $this->init();            
-    }
-  
-  
-    function init()
-    {
-        // register the events we want
-        $this->registerNotification( EVENT_POST_POST_ADD );
-        $this->registerNotification( EVENT_POST_POST_UPDATE );
-        $this->registerNotification( EVENT_POST_POST_DELETE );
-        
-
-    
-        $this->registerAdminAction( "tagcloud", "PluginTagCloudConfigAction" );
-        $this->registerAdminAction( "updateTagCloudConfig", "PluginTagCloudUpdateConfigAction" );
-
-        include_once( PLOG_CLASS_PATH."class/template/menu/menu.class.php" );
-        $menu =& Menu::getMenu();
-        if( !$menu->entryExists( "/menu/controlCenter/manageAppearancePlugins" ))                       
-            $this->addMenuEntry( "/menu/controlCenter", "manageAppearancePlugins", "", "", true, false );           
-        $this->addMenuEntry( "/menu/controlCenter/manageAppearancePlugins", "TagCloud", "?op=tagcloud", "" );            
-    }
-    
-    function register()
-    {
-        $config =& Config::getConfig();
-        $this->cacheFolder = $config->getValue('temp_folder');
-        $this->cacheFolder = $this->cacheFolder.'/tagcloud/'.$this->blogInfo->getId();
-        if( !File::exists( $this->cacheFolder )) {
-            File::createDir( $this->cacheFolder, 0755 );
-        }
-        
-       $blogSettings = $this->blogInfo->getSettings();
-       $this->pluginEnabled = $blogSettings->getValue( "plugin_tagcloud_enabled" );
-
-    }
-    
-
-        function isEnabled()
-        {
-            return $this->pluginEnabled;
-        }        
-
-        /**
-         * process the events that we have registered
-         *
-         * @see PluginBase::process
-         * @see PluginManager
-         */
-        function process( $eventType, $params )
-        {
-            // make sure we're processing the right event!
-            if( $eventType != EVENT_POST_POST_ADD &&
-                $eventType != EVENT_POST_POST_UPDATE &&
-                $eventType != EVENT_POST_POST_DELETE )
-            {
-                return true;
-            }
-            
-            // Load all of the settings for this blog
-            $this->register();
-            
-            // make sure that the plugin is enabled
-			if( !$this->isEnabled())
-            {
-                return true;
-            }
-                        
-            // Update the Blogtime png
-            $this->createCloud();
-
-            return true;
-        }
-        
-
-
-	/*
-	* Return cloud of the latest articles
-	*/
-	function createCloud(){
-
-		$this->_prefix = Db::getPrefix();
-		$blogId = $this->blogInfo->getId();
-	
-
-		$blogSettings = $this->blogInfo->getSettings();
-        $pluginEnabled = $blogSettings->getValue( "plugin_tagcloud_enabled" );
-        
-        if (!$pluginEnabled) {
-            return;
-        }
-
-        $MaxArticles = $blogSettings->getValue( "plugin_tagcloud_max_articles" );
-        $MaxKeywords = $blogSettings->getValue( "plugin_tagcloud_max_keywords" );
-        
-   		$maxSize = $blogSettings->getValue( "plugin_tagcloud_max_size" );
-		$maxWeight = $blogSettings->getValue( "plugin_tagcloud_max_weight" );
-
-		$minSize = $blogSettings->getValue( "plugin_tagcloud_min_size" );
-		$minWeight = $blogSettings->getValue( "plugin_tagcloud_min_weight" );	
-		
-		$bannedwords = $blogSettings->getValue( "plugin_tagcloud_banned_keywords" );
-		$bannedwords = explode(",", $bannedwords);
-		
-	
-		$MaxArticles = mysql_escape_string($MaxArticles);
-	
-		$query = "SELECT t.normalized_text,t.normalized_topic FROM " . $this->_prefix . 
-		    "articles a, " . $this->_prefix."articles_text t" .
-		    " WHERE a.id=t.article_id " .
-		    " AND a.status=1 AND a.blog_id = " . $blogId . 
-		    " ORDER BY a.date DESC LIMIT 0,$MaxArticles;";
-	
-	
-		$result = $this->db->Execute($query);
-		    if(!$result || ($result->RecordCount() == 0))
-		    return false;
-	
-		// get the articles content
-		while ($row = $result->FetchRow()) {
-			$data[] = $row['normalized_topic'].' '.$row['normalized_text'];
-		}	
-		$data = implode(' ',$data);
-		
-		// Split keywords
-		$words = preg_split('/\s*[\s+\.|\?|,|(|)|\-+|\'|\"|!|=|;|&#0215;|\$|\/|:|{|}]\s*/i', $data);
-		$acv = array_count_values( $words );
-		
-		// Remove unwanted keywords
-		foreach($acv as $k=>$v) {
-			if (!array_search(strtolower($k),$bannedwords) and eregi("[a-zA-Z]",$k) and strlen($k)>2) {
-				if (isset($new_acv[strtolower($k)] )) 
-					$new_acv[strtolower($k)] += $v;
-				else 
-					$new_acv[strtolower($k)] = $v;
-			}
-		}
-		
-		// First sort the array by value, in reverse order
-		arsort($new_acv);
-		
-		// Now limit the array to $MaxKeywords
-		$chunkedArray = array_chunk( $new_acv, $MaxKeywords, true);
-		
-		// Get the first array chunk
-		$new_acv = $chunkedArray[0];
-
-		$valueArray = array_values($new_acv);
-		$maxValue = current($valueArray);
-		
-		$minValue = end($valueArray);
-		
-		// Sort the keys alphabetically.
-		ksort( $new_acv );
-		
-		// Normalize the max value
-		$maxValue = $maxValue - $minValue;
-
-		
-		// Create the Cloud
-		$Cloud = '';
-		foreach( $new_acv as $k=>$v) {
-			
-			$value = $v - $minValue;
-			
-			$size = (($value *$maxSize)/$maxValue) + $minSize;
-			$weight = (($value *$maxWeight)/$maxValue) + $minWeight;
-			
-			if ($size > $maxSize) $size = $maxSize;
-			if ($weight > $maxWeight) $weight = $maxWeight;
-
-            $rg = $this->blogInfo->getBlogRequestGenerator();
-            $baseUrl = $rg->getBaseUrl();		
-			$Cloud .= "<a href=\"{$baseUrl}?searchTerms=$k&op=Search&blogId={$blogId}\" style=\"font-size: {$size}em; font-weight: {$weight}\" title=\"$k\">$k</a> \n";
-		}
-	
-        $saveFile = $this->cacheFolder."/tagcloud";  
-	    
-	    $fh = fopen( $saveFile, "w");
-	    if ($fh)
-	    {
-	       fwrite($fh, $Cloud);
-	       fclose($fh);
-           File::chMod($saveFile, 0644);
-	    }
-		
-    }
-    
-    	/*
-	* Return cloud of the latest articles
-	*/
-	function getTagCloud(){
-
-        $saveFile = $this->cacheFolder."/tagcloud";  
-	    
-	    $Cloud = '';
-	    
-	    $fh = fopen( $saveFile, "r");
-	    if ($fh)
-	    {
-    	    $Cloud = fread($fh, filesize($saveFile));
-            fclose($fh);
-	    }
-		
-	
-		return $Cloud;
-		
-    }
-	
-	
-}
-        
-        
-?>
\ No newline at end of file

Copied: plugins/trunk/unported/tagcloud/plugintagcloud.class.php (from rev 4488, plugins/trunk/tagcloud/plugintagcloud.class.php)

Copied: plugins/trunk/unported/tagcloud/templates (from rev 4488, plugins/trunk/tagcloud/templates)

Copied: plugins/trunk/unported/technorati (from rev 4488, plugins/trunk/technorati)

Copied: plugins/trunk/unported/templateeditor (from rev 4487, plugins/trunk/templateeditor)

Copied: plugins/trunk/unported/templateeditor/class (from rev 4488, plugins/trunk/templateeditor/class)

Copied: plugins/trunk/unported/templateeditor/js (from rev 4488, plugins/trunk/templateeditor/js)

Copied: plugins/trunk/unported/templateeditor/locale (from rev 4488, plugins/trunk/templateeditor/locale)

Deleted: plugins/trunk/unported/templateeditor/plugintemplateeditor.class.php
===================================================================
--- plugins/trunk/templateeditor/plugintemplateeditor.class.php	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/templateeditor/plugintemplateeditor.class.php	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,67 +0,0 @@
-<?php
-	include_once( PLOG_CLASS_PATH."class/plugin/pluginbase.class.php" );
-	include_once( PLOG_CLASS_PATH."class/plugin/pluginmanager.class.php" );
-	
-	define( "MAX_BACKUP_FILES", 5);
-	define( "EDITABLE_EXTENSION", "css,inc,template,txt" );
-
-	class PluginTemplateEditor extends PluginBase
-	{
-		var $pluginEnabled;
-		
-		function PluginTemplateEditor()
-		{
-			$this->PluginBase();
-
-			$this->id      = "templateeditor";
-			$this->author  = "Mark Wu";
-			$this->desc    = "The plugin offer online template editor function for LifeType";
-
-            $config =& Config::getConfig();
-            $this->pluginEnabled = $config->getValue( "plugin_templateeditor_enabled" );
-
-			$this->locales = Array( "en_UK" , "zh_TW" , "zh_CN", "es_ES" );
-
-			$this->init();
-		}
-
-		function init()
-		{
-            $this->registerAdminAction( "siteTemplateSetsList", "PluginSiteTemplateSetsListAction" );
-            $this->registerAdminAction( "siteDeleteTemplateSet", "PluginSiteDeleteTemplateSetsAction" );
-            $this->registerAdminAction( "siteDeleteTemplateSets", "PluginSiteDeleteTemplateSetsAction" );
-            $this->registerAdminAction( "siteCopyTemplateSet", "PluginSiteCopyTemplateSetAction" );
-            $this->registerAdminAction( "siteArchiveTemplateSet", "PluginSiteArchiveTemplateSetAction" );
-            $this->registerAdminAction( "siteTemplatesList", "PluginSiteTemplatesListAction" );
-            $this->registerAdminAction( "siteDeleteTemplateFile", "PluginSiteDeleteTemplateFilesAction" );
-            $this->registerAdminAction( "siteDeleteTemplateFiles", "PluginSiteDeleteTemplateFilesAction" );
-            $this->registerAdminAction( "siteCopyTemplateFile", "PluginSiteCopyTemplateFileAction" );
-            $this->registerAdminAction( "siteEditTemplateFile", "PluginSiteEditTemplateFileAction" );
-            $this->registerAdminAction( "siteUpdateTemplateFile", "PluginSiteUpdateTemplateFileAction" );
-            $this->registerAdminAction( "siteUploadTemplateFile", "PluginSiteUploadTemplateFileAction" );
-
-            $this->registerAdminAction( "blogTemplateSetsList", "PluginBlogTemplateSetsListAction" );
-            $this->registerAdminAction( "blogDeleteTemplateSet", "PluginBlogDeleteTemplateSetsAction" );
-            $this->registerAdminAction( "blogDeleteTemplateSets", "PluginBlogDeleteTemplateSetsAction" );
-            $this->registerAdminAction( "blogCopyTemplateSet", "PluginBlogCopyTemplateSetAction" );
-            $this->registerAdminAction( "blogArchiveTemplateSet", "PluginBlogArchiveTemplateSetAction" );
-            $this->registerAdminAction( "blogTemplatesList", "PluginBlogTemplatesListAction" );
-            $this->registerAdminAction( "blogDeleteTemplateFile", "PluginBlogDeleteTemplateFilesAction" );
-            $this->registerAdminAction( "blogDeleteTemplateFiles", "PluginBlogDeleteTemplateFilesAction" );
-            $this->registerAdminAction( "blogCopyTemplateFile", "PluginBlogCopyTemplateFileAction" );
-            $this->registerAdminAction( "blogEditTemplateFile", "PluginBlogEditTemplateFileAction" );
-            $this->registerAdminAction( "blogUpdateTemplateFile", "PluginBlogUpdateTemplateFileAction" );
-            $this->registerAdminAction( "blogUploadTemplateFile", "PluginBlogUploadTemplateFileAction" );
-            
-            $this->registerAdminAction( "templateEditorConfig", "PluginTemplateEditorConfigAction" );
-            $this->registerAdminAction( "updateTemplateEditorConfig", "PluginTemplateEditorUpdateConfigAction" );
-			
-			$this->addMenuEntry( "/menu/adminSettings/Templates", "SiteTemplateEditor", "admin.php?op=siteTemplateSetsList", "" );
-			$this->addMenuEntry( "/menu/adminSettings/Templates", "TemplateEditorConfig", "admin.php?op=templateEditorConfig", "" );
-			
-			if ($this->pluginEnabled) {
-			    $this->addMenuEntry( "/menu/controlCenter/manageBlogTemplates", "BlogTemplateEditor", "admin.php?op=blogTemplateSetsList", "" );
-    	    }
-		}
-	}
-?>
\ No newline at end of file

Copied: plugins/trunk/unported/templateeditor/plugintemplateeditor.class.php (from rev 4488, plugins/trunk/templateeditor/plugintemplateeditor.class.php)

Deleted: plugins/trunk/unported/templateeditor/readme.txt
===================================================================
--- plugins/trunk/templateeditor/readme.txt	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/templateeditor/readme.txt	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,26 +0,0 @@
-Plugin: Template Editor
-Author: Mark Wu
-Release Date: 2005/11/27
-Version: 1.3
-
-The plugins offers complete template editor capabilities for LifeType. It includes the following features.
-1. Template Sets Browser
-2. Template Files Browser
-3. Template Files Editor with a Online Smarty Editor (under development)
-4. Backup of template files.
-
-
-History
-1.3 2005/11/27
- Fix Image URL bugs
- Add default extension to isValidExtension
- Add two new constants, MAX_BACKUP_FILES and EDITABLE_EXTENSION
-1.2 2005/05/31
- Add TemplateSet Downloadd function, now user can easily backup/share thier template
- Add rss & summary template set to site template editor, now site admin can edit the template on the fly.
-1.1 2005/03/19
- Add Smarty Tag to online smarty editor
- Add the capability to browse sub folder under template set (Restrict to 1 level only)
- Add the upload file fapability (but restrict to the allowed extension and images)
-1.0 2005/03/01
- Basic Template Editor function Ready

Copied: plugins/trunk/unported/templateeditor/readme.txt (from rev 4488, plugins/trunk/templateeditor/readme.txt)

Copied: plugins/trunk/unported/templateeditor/templates (from rev 4488, plugins/trunk/templateeditor/templates)

Copied: plugins/trunk/unported/templatefilter (from rev 4488, plugins/trunk/templatefilter)

Copied: plugins/trunk/unported/textparser (from rev 4487, plugins/trunk/textparser)

Copied: plugins/trunk/unported/textparser/class (from rev 4488, plugins/trunk/textparser/class)

Copied: plugins/trunk/unported/textparser/locale (from rev 4488, plugins/trunk/textparser/locale)

Deleted: plugins/trunk/unported/textparser/plugintextparser.class.php
===================================================================
--- plugins/trunk/textparser/plugintextparser.class.php	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/textparser/plugintextparser.class.php	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,99 +0,0 @@
-<?php
-
-	include_once( PLOG_CLASS_PATH."class/plugin/pluginbase.class.php" );
-	
-	define( "PLUGIN_TEXTPARSER_FILTER_WIKI", 1 );
-	define( "PLUGIN_TEXTPARSER_FILTER_TEXTILE", 2 );
-	define( "PLUGIN_TEXTPARSER_FILTER_UBB", 3 );
-	define( "PLUGIN_TEXTPARSER_FILTER_MARKDOWN", 4 );
-	
-	/**
-	 * Plugin that uses the EVENT_TEXT_RENDER event to allow users to type
-	 * wiki or textile markup in the posts
-	 */
-	class PluginTextParser extends PluginBase 
-	{
-	
-		function PluginTextParser()
-		{
-			$this->PluginBase();
-			
-			$this->desc = "A plugin that allows users to use wiki markup in their posts.";
-			$this->author = "The LifeType Project";
-			$this->id = "textparser";
-			$this->locales = Array( "en_UK", "zh_TW" );
-			
-			// register the event we are going to need
-			$this->registerNotification( EVENT_TEXT_FILTER );
-			
-			// the two actions that will take care of updating the plugin settings
-			$this->registerAdminAction( "pluginTextParserSettings", "AdminPluginTextParserSettingsAction" );
-			$this->registerAdminAction( "updatePluginTextParserSettings", "AdminPluginTextParserUpdateSettingsAction" );			
-			
-			// and finally add an entry to the menu
-			$this->addMenuEntry( "/menu/Manage/managePosts", "TextParser", "admin.php?op=pluginTextParserSettings", "" );
-		}
-		
-		/**
-		 * method that will process the EVENT_TEXT_RENDER event
-		 *
-		 * @params eventType We hope this will be EVENT_TEXT_RENDER
-		 * @params params An array with the information we received, which we hope will be
-		 * some text :)
-		 * @see PluginBase
-		 */
-		function process( $eventType, $params ) 
-		{
-			// if the plugin is diabled, do nnothing
-			$settings = $this->blogInfo->getSettings();
-			if( !$settings->getValue( "plugin_textparser_enabled" ))
-				return true;
-		
-			// some little check to prevent misunderstandings from happening...
-			if( $eventType != EVENT_TEXT_FILTER ) {
-				throw( new Exception( "WTF? The TextParser plugin should only receive EVENT_TEXT_RENDER events!" ));
-				die();
-			}
-			
-			$filter = $settings->getValue( "plugin_textparser_filter" );
-			if( $filter == "" ) $filter = PLUGIN_TEXTPARSER_FILTER_WIKI;
-			
-			if( $filter == PLUGIN_TEXTPARSER_FILTER_WIKI ) {
-				// load the wiki engine... we're doing like this here because it's about 470kb of
-				// php code and that's quite a lot to load if we don't need it all!
-				include_once( PLOG_CLASS_PATH. "plugins/textparser/class/data/Text/Wiki.php" );
-				
-				// create and configure a wiki filter object
-				$wiki =& new Text_Wiki();
-				$wiki->setRenderConf( "xhtml", "wikilink", "view_url", "" );
-				$wiki->setRenderConf( "xhtml", "translate", HTML_SPECIALCHARS);
-				
-				// transform the text
-				$params["text"] = $wiki->transform( $params["text"], "xhtml" );
-			}
-			elseif( $filter == PLUGIN_TEXTPARSER_FILTER_TEXTILE ) {
-				// load the textile code... about 4500 lines of code!
-				include_once( PLOG_CLASS_PATH."plugins/textparser/class/data/textile/textile2.php" );
-				
-				// it is adapted from the textile 2.0 plugin for WP so the do_textile function
-				// will do everything for us... including using SmartyPants
-				$params["text"] = do_textile( $params["text"] );
-			}
-			elseif( $filter == PLUGIN_TEXTPARSER_FILTER_UBB ) {
-				// again, dynamic loading is the best thing we can do...
-				include_once( PLOG_CLASS_PATH."plugins/textparser/class/data/ubb/BBCodeParser.php" );
-				
-				$parser = new HTML_BBCodeParser();
-				$parser->setText( $params["text"] );
-				$parser->parse();
-				$params["text"] = $parser->getParsed();
-			}
-			elseif ( $filter == PLUGIN_TEXTPARSER_FILTER_MARKDOWN ) {
-				include_once( PLOG_CLASS_PATH."plugins/textparser/class/data/markdown/markdown.php" );
-				$params["text"] = Markdown( $params["text"] );
-			}
-			
-			return true;
-		}
-	}
-?>
\ No newline at end of file

Copied: plugins/trunk/unported/textparser/plugintextparser.class.php (from rev 4488, plugins/trunk/textparser/plugintextparser.class.php)

Deleted: plugins/trunk/unported/textparser/readme.txt
===================================================================
--- plugins/trunk/textparser/readme.txt	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/textparser/readme.txt	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,9 +0,0 @@
-Plugin: Text Parser
-Author: LifeType Team
-Release Date: 2005/01/23
-Version: 1.0
-
-A plugin that allows users to use wiki markup in their posts.
-
-Install:
-1. Configurate your Text Parser plugin in your LifeType control center
\ No newline at end of file

Copied: plugins/trunk/unported/textparser/readme.txt (from rev 4488, plugins/trunk/textparser/readme.txt)

Copied: plugins/trunk/unported/textparser/templates (from rev 4488, plugins/trunk/textparser/templates)

Copied: plugins/trunk/unported/topcommentposts (from rev 4488, plugins/trunk/topcommentposts)

Copied: plugins/trunk/unported/topcommentvisitors (from rev 4488, plugins/trunk/topcommentvisitors)

Copied: plugins/trunk/unported/topreadposts (from rev 4488, plugins/trunk/topreadposts)

Copied: plugins/trunk/unported/toptrackbackposts (from rev 4488, plugins/trunk/toptrackbackposts)

Copied: plugins/trunk/unported/validatetrackback (from rev 4487, plugins/trunk/validatetrackback)

Copied: plugins/trunk/unported/validatetrackback/class (from rev 4488, plugins/trunk/validatetrackback/class)

Copied: plugins/trunk/unported/validatetrackback/locale (from rev 4488, plugins/trunk/validatetrackback/locale)

Deleted: plugins/trunk/unported/validatetrackback/pluginvalidatetrackback.class.php
===================================================================
--- plugins/trunk/validatetrackback/pluginvalidatetrackback.class.php	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/validatetrackback/pluginvalidatetrackback.class.php	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,74 +0,0 @@
-<?php
-
-    /*
-    Copyright 2006 Paul Westbrook (paul at westbrooks.org)
-    
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-    
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-    
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-    */
-
-    include_once( PLOG_CLASS_PATH."class/template/menu/menu.class.php" );
-    include_once( PLOG_CLASS_PATH."class/plugin/pluginbase.class.php" );
-    include_once( PLOG_CLASS_PATH."plugins/validatetrackback/class/security/validatetrackbackfilter.class.php" );
-    
-	/**
-	 * implements moderation of comments
-	 */
-	class PluginValidateTrackback extends PluginBase
-	{
-	    var $pluginEnabled;
-	    
-		function PluginValidateTrackback()
-		{
-			$this->PluginBase();
-			
-			$this->id = "validatetrackback";
-			$this->desc = "Provides validation of trackbacks.";
-			$this->author = "Paul Westbrook";
-			$this->locales = Array( "en_UK", "zh_TW", "es_ES" );
-			
-			$this->init();
-		}
-
-		/**
-		 * registers all the filters and actions that we're going to use
-		 */
-		function init()
-		{			
-            $this->registerFilter( "ValidateTrackbackFilter" );
-			
-			// register an action that will allow users to see which comments have not been
-			// accepted yet
-			$this->registerAdminAction( "validatetrackbackPluginSettings", "AdminValidateTrackbackPluginSettingsAction" );
-			$this->registerAdminAction( "validatetrackbackPluginUpdateSettings", "AdminValidateTrackbackPluginUpdateSettingsAction" );
-			
-			// add a menu entry
-			$menu =& Menu::getMenu();
-            if( !$menu->entryExists( "/menu/controlCenter/manageAntiSpamPlugins" ))                     
-                $this->addMenuEntry( "/menu/controlCenter", "manageAntiSpamPlugins", "", "", true, false );
-            $this->addMenuEntry( "/menu/controlCenter/manageAntiSpamPlugins", "validatetrackbackPluginSettings", "admin.php?op=validatetrackbackPluginSettings", "", true, false );
-		}
-
-		function register()
-		{
-		    $blogSettings = $this->blogInfo->getSettings();
-			$this->pluginEnabled = $blogSettings->getValue( "plugin_validatetrackback_enabled" );
-		}
-
-	    function isEnabled()
-	    {
-	        return $this->pluginEnabled;
-	    }		
-	}  
-?>
\ No newline at end of file

Copied: plugins/trunk/unported/validatetrackback/pluginvalidatetrackback.class.php (from rev 4488, plugins/trunk/validatetrackback/pluginvalidatetrackback.class.php)

Deleted: plugins/trunk/unported/validatetrackback/readme.txt
===================================================================
--- plugins/trunk/validatetrackback/readme.txt	2007-01-04 14:29:05 UTC (rev 4487)
+++ plugins/trunk/unported/validatetrackback/readme.txt	2007-01-04 19:41:38 UTC (rev 4490)
@@ -1,9 +0,0 @@
-Plugin: Validate Trackback
-Author: pwestbro
-Release Date: 2005/11/12
-Version: 1.1
-
-Provides validation of trackbacks.
-
-Install:
-1. Configurate your Validate Trackback plugin in your LifeType control center
\ No newline at end of file

Copied: plugins/trunk/unported/validatetrackback/readme.txt (from rev 4488, plugins/trunk/validatetrackback/readme.txt)

Copied: plugins/trunk/unported/validatetrackback/templates (from rev 4488, plugins/trunk/validatetrackback/templates)



More information about the pLog-svn mailing list