[pLog-svn] r803 - in plugins/trunk/nofollow: . class/action
mark at devel.plogworld.net
mark at devel.plogworld.net
Sun Jan 23 16:46:35 GMT 2005
Author: mark
Date: 2005-01-23 16:46:34 +0000 (Sun, 23 Jan 2005)
New Revision: 803
Added:
plugins/trunk/nofollow/readme.txt
Modified:
plugins/trunk/nofollow/class/action/pluginnofollowupdateconfigaction.class.php
plugins/trunk/nofollow/pluginnofollow.class.php
Log:
Move the description to readme.txt to reduce the pluign loading time.
Modified: plugins/trunk/nofollow/class/action/pluginnofollowupdateconfigaction.class.php
===================================================================
--- plugins/trunk/nofollow/class/action/pluginnofollowupdateconfigaction.class.php 2005-01-23 16:45:44 UTC (rev 802)
+++ plugins/trunk/nofollow/class/action/pluginnofollowupdateconfigaction.class.php 2005-01-23 16:46:34 UTC (rev 803)
@@ -26,7 +26,7 @@
function perform()
{
- // and check which smiley set we should be using, or if none, then the default one
+ // // update the plugin configurations to blog setting
$blogSettings = $this->_blogInfo->getSettings();
$blogSettings->setValue( "plugin_nofollow_enabled", $this->_pluginEnabled );
$this->_blogInfo->setSettings( $blogSettings );
Modified: plugins/trunk/nofollow/pluginnofollow.class.php
===================================================================
--- plugins/trunk/nofollow/pluginnofollow.class.php 2005-01-23 16:45:44 UTC (rev 802)
+++ plugins/trunk/nofollow/pluginnofollow.class.php 2005-01-23 16:46:34 UTC (rev 803)
@@ -10,7 +10,7 @@
$this->PluginBase();
$this->id = "nofollow";
- $this->author = "Minstrel Chiu";
+ $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" );
@@ -24,9 +24,9 @@
$this->registerAdminAction( "updateNoFollowConfig", "PluginNoFollowUpdateConfigAction" );
$menu =& Menu::getMenu();
- if( !$menu->entryExists( "/menu/controlCenter/manageSpamActivities" ))
- $this->addMenuEntry( "/menu/controlCenter", "manageSpamActivities", "", "", true, false );
- $this->addMenuEntry( "/menu/controlCenter/manageSpamActivities", "NoFollow", "?op=nofollow", "" );
+ 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 );
}
Added: plugins/trunk/nofollow/readme.txt
===================================================================
--- plugins/trunk/nofollow/readme.txt 2005-01-23 16:45:44 UTC (rev 802)
+++ plugins/trunk/nofollow/readme.txt 2005-01-23 16:46:34 UTC (rev 803)
@@ -0,0 +1,6 @@
+Plugin: No Follow
+Author: Original by Minstrel Chiu, Modified by Mark Wu
+Release Date: 2005/01/23
+Version: 1.0
+
+Drop case letter (a huge letter) for the first letter of every post.
\ No newline at end of file
More information about the pLog-svn
mailing list