[pLog-svn] r4860 - plugins/branches/lifetype-1.1/tidyoutput

oscar at devel.lifetype.net oscar at devel.lifetype.net
Fri Feb 23 14:29:00 EST 2007


Author: oscar
Date: 2007-02-23 14:29:00 -0500 (Fri, 23 Feb 2007)
New Revision: 4860

Modified:
   plugins/branches/lifetype-1.1/tidyoutput/plugintidyoutput.class.php
Log:
Updated version of the main plugin file, thanks Elena.


Modified: plugins/branches/lifetype-1.1/tidyoutput/plugintidyoutput.class.php
===================================================================
--- plugins/branches/lifetype-1.1/tidyoutput/plugintidyoutput.class.php	2007-02-23 19:21:21 UTC (rev 4859)
+++ plugins/branches/lifetype-1.1/tidyoutput/plugintidyoutput.class.php	2007-02-23 19:29:00 UTC (rev 4860)
@@ -15,7 +15,7 @@
         function PluginTidyOutput()
         {
             $this->author = "Carles Balaguer";
-            $this->desc = "This plugin clean and repair HTML markup using Tidy HTML extension for PHP. Information about the Tidy extension is available at <a href=\"http://www.php.net/tidy\">http://www.php.net/tidy</a> and information about the Tidy configuration settings can be found at <a href=\"http://tidy.sourceforge.net/docs/quickref.html\">http://tidy.sourceforge.net/docs/quickref.html</a>";
+            $this->desc = "This plugin optimize output document (clean and repair) using PHP Tidy HTML extension. Info for PHP Tidy extension at <a href=\"http://www.php.net/tidy\">http://www.php.net/tidy</a> and info for Tidy options at <a href=\"http://tidy.sourceforge.net/docs/quickref.html\">http://tidy.sourceforge.net/docs/quickref.html</a>";
             
             $this->PluginBase();
             $this->id = "tidyoutput";
@@ -30,7 +30,7 @@
             }
             else
             {
-                $this->desc .= "<br /><span style=\"color: #ff0000;\">This plugin requires the PHP Tidy extension. Please install and enable this extension. See the links above for additional documentation.</span>";
+                $this->desc .= "<br /><span style=\"color: #ff0000;\">This plugin only works with PHP Tidy extension enabled. Please install and/or enable this extension. See links above for documentation.</span>";
             }
         }
 
@@ -64,7 +64,7 @@
             if ($eventType == EVENT_PROCESS_BLOG_TEMPLATE_OUTPUT)
             {
                 // If output is a RSS output do not tidyfy
-                if ($params["from"] != "rssview")
+                if ($params["from"] != "rssview" && $params["from"] != "pluginrecentcommentsrssview")
                 {
                     $params["content"] = $this->tidyfy($params["content"]);
                 }



More information about the pLog-svn mailing list