[Vtigercrm-commits] [vtiger-commits] r10890 - in /vtigercrm/branches/5.0.3: Smarty/templates/MySitesManage.tpl modules/Portal/ListView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Sun May 13 06:39:05 EDT 2007
Author: richie
Date: Sun May 13 04:38:56 2007
New Revision: 10890
Log:
Issue on MySites (in Firefox only). Fixes #3766 --minnie
Modified:
vtigercrm/branches/5.0.3/Smarty/templates/MySitesManage.tpl
vtigercrm/branches/5.0.3/modules/Portal/ListView.php
Modified: vtigercrm/branches/5.0.3/Smarty/templates/MySitesManage.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/MySitesManage.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/MySitesManage.tpl Sun May 13 04:38:56 2007
@@ -49,7 +49,7 @@
<tr><td class="listTableRow small" align="left">{$smarty.foreach.portallists.iteration}</td>
<td class="listTableRow small" align="left">
<b>{$portaldetails.portalname}</b><br>
-<span class="big">{$portaldetails.portalurl}</span>
+<span class="big">{$portaldetails.portaldisplayurl}</span>
</td>
<td class="listTableRow small" align="left">
<a href="javascript:;" onclick="fnvshobj(this,'editportal_cont');fetchAddSite('{$portaldetails.portalid}');" class="webMnu">{$APP.LBL_EDIT}</a> |
Modified: vtigercrm/branches/5.0.3/modules/Portal/ListView.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Portal/ListView.php (original)
+++ vtigercrm/branches/5.0.3/modules/Portal/ListView.php Sun May 13 04:38:56 2007
@@ -34,9 +34,9 @@
$portal_array['portalid'] = $adb->query_result($result,$i,'portalid');
$portal_array['portalname'] = $portalname;
$portal_array['portalurl'] = $portalurl;
+ $portal_array['portaldisplayurl'] = (strlen($portalurl) > 100) ? (substr($portalurl,0,100).'...') : $portalurl;
$portal_info[]=$portal_array;
}
-
$smarty = new vtigerCRM_Smarty;
$smarty->assign("IMAGE_PATH", $image_path);
More information about the vtigercrm-commits
mailing list