[Vtigercrm-commits] [vtiger-commits] r4258 - /vtigercrm/trunk/include/freetag/freetag.class.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu Mar 16 09:57:42 EST 2006
Author: saraj
Date: Thu Mar 16 07:57:38 2006
New Revision: 4258
Log:
Modified to refer the UnifiedSearch.php file to get the data based on the tag
Modified:
vtigercrm/trunk/include/freetag/freetag.class.php
Modified: vtigercrm/trunk/include/freetag/freetag.class.php
==============================================================================
--- vtigercrm/trunk/include/freetag/freetag.class.php (original)
+++ vtigercrm/trunk/include/freetag/freetag.class.php Thu Mar 16 07:57:38 2006
@@ -915,9 +915,12 @@
// by $step.
$cloud_html = '';
$cloud_spans = array();
+ //included to get the site URL
+ include("config.php");
+
foreach ($tag_list as $tag => $qty) {
$size = $min_font_size + ($qty - $min_qty) * 3;
- $cloud_span[] = '<span class="' . $span_class . '"><a href="'.$tag_page_url . $tag . '" style="font-size: '. $size . $font_units . '" class="tagLink">' . htmlspecialchars(stripslashes($tag)) . '</a></span>';
+ $cloud_span[] = '<span class="' . $span_class . '"><a href="'.$site_URL.'/index.php?module=Home&action=UnifiedSearch&search_module='.$module.'&query_string='. $tag . '" style="font-size: '. $size . $font_units . '" class="tagLink">' . htmlspecialchars(stripslashes($tag)) . '</a></span>';
}
$cloud_html = join("\n ", $cloud_span);
More information about the vtigercrm-commits
mailing list