[Vtigercrm-commits] [vtiger-commits] r4095 - /vtigercrm/trunk/modules/Emails/ListView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu Mar 9 02:10:33 EST 2006
Author: saraj
Date: Thu Mar 9 00:10:29 2006
New Revision: 4095
Log:
changes made to enable webmail
Modified:
vtigercrm/trunk/modules/Emails/ListView.php
Modified: vtigercrm/trunk/modules/Emails/ListView.php
==============================================================================
--- vtigercrm/trunk/modules/Emails/ListView.php (original)
+++ vtigercrm/trunk/modules/Emails/ListView.php Thu Mar 9 00:10:29 2006
@@ -28,17 +28,19 @@
require_once('include/utils/utils.php');
require_once('modules/CustomView/CustomView.php');
-$submenu = array('LBL_EMAILS_TITLE'=>'index.php?module=Emails&action=ListView.php','LBL_WEBMAILS_TITLE'=>'index.php?module=squirrelmail-1.4.4&action=redirect');
-$sec_arr = array('index.php?module=Emails&action=ListView.php'=>'Emails','index.php?module=squirrelmail-1.4.4&action=redirect'=>'Emails');
+$submenu = array('LBL_EMAILS_TITLE'=>'index.php?module=Emails&action=ListView.php','LBL_WEBMAILS_TITLE'=>'index.php?module=Webmails&action=index&parenttab=My Home Page');
+
+$sec_arr = array('index.php?module=Emails&action=ListView.php'=>'Emails','index.php?module=Webmails&action=index&parenttab=parenttab=My Home Page'=>'Emails');
echo '<br>';
+
?>
-<!--table width="100%" border="0" cellspacing="0" cellpadding="0">
+<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
- <td class="tabStart"> </td-->
+ <td class="tabStart"> </td>
<?
- /*if(isset($_REQUEST['smodule']) && $_REQUEST['smodule'] != '')
+ if(isset($_REQUEST['smodule']) && $_REQUEST['smodule'] != '')
{
$classname = "tabOff";
}
@@ -57,31 +59,31 @@
list($lbl,$sname,$title)=split("_",$label);
if(stristr($label,"EMAILS"))
{
- echo '<td class="tabOn" nowrap><a href="index.php?module=Emails&action=ListView" class="tabLink">'.$mod_strings[$label].'</a></td>';
+ echo '<td class="tabOn" nowrap><a href="index.php?module=Emails&action=ListView" class="tabLink">'.$mod_strings[$label].'</a> </td>';
$listView = $filename;
$classname = "tabOff";
}
elseif(stristr($label,$_REQUEST['smodule']))
{
- echo '<td class="tabOn" nowrap><a href="index.php?module=squirrelmail-1.4.4&action=redirect&smodule='.$_REQUEST['smodule'].'" class="tabLink">'.$mod_strings[$label].'</a></td>';
+ echo '<td class="tabOn" nowrap><a href="index.php?module=Webmails&action=index&smodule='.$_REQUEST['smodule'].'&parenttab=My Home Page" class="tabLink">'.$mod_strings[$label].'</a></td>';
$listView = $filename;
$classname = "tabOff";
}
else
{
- echo '<td class="'.$classname.'" nowrap><a href="index.php?module=squirrelmail-1.4.4&action=redirect&smodule='.$sname.'" class="tabLink">'.$mod_strings[$label].'</a></td>';
+ echo '<td class="'.$classname.'" nowrap><a href="index.php?module=Webmails&action=index&smodule='.$sname.'&parenttab=My Home Page" class="tabLink">'.$mod_strings[$label].'</a></td>';
}
$classname = "tabOff";
}
- }*/
+ }
?>
- <!--td width="100%" class="tabEnd"> </td>
+ <td width="100%" class="tabEnd"> </td>
</tr>
</table></td>
</tr>
</table>
- <br-->
+ <br>
<?
global $app_strings;
More information about the vtigercrm-commits
mailing list