[Vtigercrm-commits] [vtiger-commits] r7634 - /vtigercrm/trunk/include/freetag/freetag.class.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed Jun 28 09:24:44 EDT 2006
Author: richie
Date: Wed Jun 28 07:24:41 2006
New Revision: 7634
Log:
tag search page not found issue has been fixed
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 Wed Jun 28 07:24:41 2006
@@ -32,10 +32,6 @@
* @access private
* @param string
*/
- //var $_db_user = 'root';
- //var $_db_pass = '';
- //var $_db_host = 'jerijohn';
- //var $_db_name = 'vtigercrm06_03';
/**#@-*/
/**
@@ -919,22 +915,20 @@
// by $step.
$cloud_html = '';
$cloud_spans = array();
- //included to get the site URL
- include("config.php");
if($module =='')
$module = 'All';
if($module != 'All')
{
foreach($tag_list[0] as $tag => $qty) {
$size = $min_font_size + ($qty - $min_qty) * 3;
- $cloud_span[] = '<span id="tag_'.$tag_list[1][$tag].'" class="' . $span_class . '" onMouseOver=$("tagspan_'.$tag_list[1][$tag].'").style.display="inline"; onMouseOut=$("tagspan_'.$tag_list[1][$tag].'").style.display="none";><a class="tagit" href="'.$site_URL.'/index.php?module=Home&action=UnifiedSearch&search_module='.$module.'&query_string='. $tag . '" style="font-size: '. $size . $font_units . '">' . htmlspecialchars(stripslashes($tag)) . '</a><span class="'. $span_class .'" id="tagspan_'.$tag_list[1][$tag].'" style="display:none;cursor:pointer;" onClick="DeleteTag('.$tag_list[1][$tag].');"><img src="'.$image_path.'del_tag.gif"></span></span>';
+ $cloud_span[] = '<span id="tag_'.$tag_list[1][$tag].'" class="' . $span_class . '" onMouseOver=$("tagspan_'.$tag_list[1][$tag].'").style.display="inline"; onMouseOut=$("tagspan_'.$tag_list[1][$tag].'").style.display="none";><a class="tagit" href="index.php?module=Home&action=UnifiedSearch&search_module='.$module.'&query_string='. $tag . '" style="font-size: '. $size . $font_units . '">' . htmlspecialchars(stripslashes($tag)) . '</a><span class="'. $span_class .'" id="tagspan_'.$tag_list[1][$tag].'" style="display:none;cursor:pointer;" onClick="DeleteTag('.$tag_list[1][$tag].');"><img src="'.$image_path.'del_tag.gif"></span></span>';
}
}else
{
foreach($tag_list[0] as $tag => $qty) {
$size = $min_font_size + ($qty - $min_qty) * 3;
- $cloud_span[] = '<span class="' . $span_class . '"><a class="tagit" href="'.$site_URL.'/index.php?module=Home&action=UnifiedSearch&search_module='.$module.'&query_string='. $tag . '" style="font-size: '. $size . $font_units . '">' . htmlspecialchars(stripslashes($tag)) . '</a></span>';
+ $cloud_span[] = '<span class="' . $span_class . '"><a class="tagit" href="index.php?module=Home&action=UnifiedSearch&search_module='.$module.'&query_string='. $tag . '" style="font-size: '. $size . $font_units . '">' . htmlspecialchars(stripslashes($tag)) . '</a></span>';
}
More information about the vtigercrm-commits
mailing list