[pLog-svn] r5431 - plugins/branches/lifetype-1.2/tagcloud

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Tue May 22 13:08:28 EDT 2007


Author: jondaley
Date: 2007-05-22 13:08:27 -0400 (Tue, 22 May 2007)
New Revision: 5431

Modified:
   plugins/branches/lifetype-1.2/tagcloud/plugintagcloud.class.php
Log:
xhtml validation fix

Modified: plugins/branches/lifetype-1.2/tagcloud/plugintagcloud.class.php
===================================================================
--- plugins/branches/lifetype-1.2/tagcloud/plugintagcloud.class.php	2007-05-22 16:00:46 UTC (rev 5430)
+++ plugins/branches/lifetype-1.2/tagcloud/plugintagcloud.class.php	2007-05-22 17:08:27 UTC (rev 5431)
@@ -128,7 +128,6 @@
 	* Return cloud of the latest articles
 	*/
 	function createCloud(){
-
 		$prefix = Db::getPrefix();
 		$blogId = $this->blogInfo->getId();
 		$blogSettings = $this->blogInfo->getSettings();
@@ -221,7 +220,7 @@
                 if ($weight > $maxWeight) $weight = $maxWeight;
                 $weight = floor($weight / 100) * 100;
                 
-                $tag = "<a rel=\"nofollow\" href=\"{$baseUrl}?searchTerms=$k&op=Search&blogId={$blogId}\" style=\"font-size: {$size}em; font-weight: {$weight}; line-height: 90%\" title=\"$k\">$k</a>\n";
+                $tag = "<a rel=\"nofollow\" href=\"{$baseUrl}?searchTerms=$k&amp;op=Search&amp;blogId={$blogId}\" style=\"font-size: {$size}em; font-weight: {$weight}; line-height: 90%\" title=\"$k\">$k</a>\n";
                 fwrite($fh, $tag);
            }
 	    



More information about the pLog-svn mailing list