[pLog-svn] r7121 - plugins/branches/lifetype-1.2/tagcloud
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Sun Apr 10 09:25:17 EDT 2011
Author: jondaley
Date: 2011-04-10 09:25:16 -0400 (Sun, 10 Apr 2011)
New Revision: 7121
Modified:
plugins/branches/lifetype-1.2/tagcloud/plugintagcloud.class.php
Log:
we want the index URL, not the baseURL
Modified: plugins/branches/lifetype-1.2/tagcloud/plugintagcloud.class.php
===================================================================
--- plugins/branches/lifetype-1.2/tagcloud/plugintagcloud.class.php 2011-03-14 18:00:38 UTC (rev 7120)
+++ plugins/branches/lifetype-1.2/tagcloud/plugintagcloud.class.php 2011-04-10 13:25:16 UTC (rev 7121)
@@ -30,7 +30,7 @@
lt_include( PLOG_CLASS_PATH."class/database/db.class.php" );
$this->db =& Db::getDb();
$this->id = "tagcloud";
- $this->version = "20070924";
+ $this->version = "20110410";
$this->locales = Array("en_UK");
@@ -235,7 +235,7 @@
if ($fh) {
$rg = $this->blogInfo->getBlogRequestGenerator();
- $baseUrl = $rg->getBaseUrl();
+ $indexUrl = $rg->getIndexUrl();
foreach( $new_acv as $k=>$v) {
@@ -248,7 +248,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=\"{$indexUrl}?searchTerms=$k&op=Search&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