[pLog-svn] r1097 - plugins/trunk/dropcase
mark at devel.plogworld.net
mark at devel.plogworld.net
Tue Feb 15 18:46:17 GMT 2005
Author: mark
Date: 2005-02-15 18:46:17 +0000 (Tue, 15 Feb 2005)
New Revision: 1097
Modified:
plugins/trunk/dropcase/plugindropcase.class.php
plugins/trunk/dropcase/readme.txt
Log:
Add isEnabled() to dropcase.
Modified: plugins/trunk/dropcase/plugindropcase.class.php
===================================================================
--- plugins/trunk/dropcase/plugindropcase.class.php 2005-02-15 18:21:03 UTC (rev 1096)
+++ plugins/trunk/dropcase/plugindropcase.class.php 2005-02-15 18:46:17 UTC (rev 1097)
@@ -9,6 +9,7 @@
*/
class PluginDropCase extends PluginBase
{
+ var $pluginEnabled;
function PluginDropCase()
{
@@ -36,6 +37,17 @@
$this->registerNotification( EVENT_POST_LOADED );
$this->registerNotification( EVENT_POSTS_LOADED );
}
+
+ function register()
+ {
+ $blogSettings = $this->blogInfo->getSettings();
+ $this->pluginEnabled = $blogSettings->getValue( "plugin_dropcase_enabled" );
+ }
+
+ function isEnabled()
+ {
+ return $this->pluginEnabled;
+ }
function process($eventType, $params)
{
Modified: plugins/trunk/dropcase/readme.txt
===================================================================
--- plugins/trunk/dropcase/readme.txt 2005-02-15 18:21:03 UTC (rev 1096)
+++ plugins/trunk/dropcase/readme.txt 2005-02-15 18:46:17 UTC (rev 1097)
@@ -5,7 +5,7 @@
Drop case letter (a huge letter) for the first letter of every post.
-Example:
+Install:
Add the following CSS Style to your css file.
#drop-case:first-letter {
font-size : 200%;
More information about the pLog-svn
mailing list