[Vtigercrm-commits] [vtiger-commits] r9506 - /vtigercrm/trunk/modules/Portal/Popup.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed Sep 13 10:40:33 EDT 2006


Author: jerrydgeorge
Date: Wed Sep 13 08:40:26 2006
New Revision: 9506

Log:
Theme path assigned to the close image in MySite Popup --Jeri

Modified:
    vtigercrm/trunk/modules/Portal/Popup.php

Modified: vtigercrm/trunk/modules/Portal/Popup.php
==============================================================================
--- vtigercrm/trunk/modules/Portal/Popup.php (original)
+++ vtigercrm/trunk/modules/Portal/Popup.php Wed Sep 13 08:40:26 2006
@@ -14,6 +14,10 @@
 global $app_list_strings;
 global $mod_strings;
 global $adb;
+
+global $theme;
+$theme_path="themes/".$theme."/";
+$image_path=$theme_path."images/";
 if(isset($_REQUEST['record']) && $_REQUEST['record'] !='')
 {
 	$portalid = $_REQUEST['record'];
@@ -27,7 +31,7 @@
 		<table border="0" cellpadding="3" cellspacing="0" width="100%" class="layerHeadingULine">
 		<tr>
 			<td class="layerPopupHeading" align="left" width="60%">' .$mod_strings['LBL_ADD'] .' '.$mod_strings['LBL_BOOKMARK'].'</td>
-			<td align="right" width="40%"><a href="javascript:fninvsh(\'orgLay\');"><img src="../themes/blue/images/close.gif" align="absmiddle" border="0"></a></td>
+			<td align="right" width="40%"><a href="javascript:fninvsh(\'orgLay\');"><img src="'.$image_path.'close.gif" align="absmiddle" border="0"></a></td>
 		</tr>
 		</table>
 <table border="0" cellspacing="0" cellpadding="5" width="95%" align="center"> 





More information about the vtigercrm-commits mailing list