[pLog-svn] r1057 - plugins/trunk/smileys

mark at devel.plogworld.net mark at devel.plogworld.net
Sun Feb 13 13:37:39 GMT 2005


Author: mark
Date: 2005-02-13 13:37:39 +0000 (Sun, 13 Feb 2005)
New Revision: 1057

Added:
   plugins/trunk/smileys/readme.txt
Modified:
   plugins/trunk/smileys/pluginsmileys.class.php
Log:
Update readme.txt and a typo error in pluginsmileys.class.php.

Modified: plugins/trunk/smileys/pluginsmileys.class.php
===================================================================
--- plugins/trunk/smileys/pluginsmileys.class.php	2005-02-13 13:28:52 UTC (rev 1056)
+++ plugins/trunk/smileys/pluginsmileys.class.php	2005-02-13 13:37:39 UTC (rev 1057)
@@ -65,7 +65,7 @@
 	    
 	    function isEnabled()
 	    {
-	        return $this->pluginEnabled;
+	        return $this->_pluginEnabled;
 	    }		
 
 		function _smileizePost( $post, $smileySet, $smileys )

Added: plugins/trunk/smileys/readme.txt
===================================================================
--- plugins/trunk/smileys/readme.txt	2005-02-13 13:28:52 UTC (rev 1056)
+++ plugins/trunk/smileys/readme.txt	2005-02-13 13:37:39 UTC (rev 1057)
@@ -0,0 +1,19 @@
+Plugin: Smileys
+Author: The pLog Team
+Release Date: 2005/02/13
+Version: 1.0
+
+This plugin offers you to show the smileys in comments and articles. Usage as followed:
+
+Install:
+1. Copy the install/js/*.* to your plog installation /js folder.
+
+You can use:
+1. $smileys->generateSmileysBar() to show visual smileys tool bar. 
+
+Example:
+Add the following code to commentForm.template after commentText text area:
+{if $smileys->isEnabled()}
+<script type="text/javascript" src="js/smileys/smileys.js"></script>
+<br/><label for="simleysBar"></label>{$smileys->generateSmileysBar()}
+{/if}
\ No newline at end of file




More information about the pLog-svn mailing list