[Vtigercrm-commits] [vtiger-commits] r5099 - /vtigercrm/trunk/modules/Emails/ListView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu Apr 13 07:44:23 EDT 2006
Author: saraj
Date: Thu Apr 13 05:44:19 2006
New Revision: 5099
Log:
Modifications done in ListView.php
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 Apr 13 05:44:19 2006
@@ -34,15 +34,7 @@
if($_REQUEST['ajax'] == '')
{
-echo '<br>';
-
-?>
-<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>
-<?
+
if(isset($_REQUEST['smodule']) && $_REQUEST['smodule'] != '')
{
$classname = "tabOff";
@@ -62,32 +54,24 @@
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=Webmails&action=index&smodule='.$_REQUEST['smodule'].'&parenttab=My Home Page" 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=Webmails&action=index&smodule='.$sname.'&parenttab=My Home Page" 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>
- </tr>
- </table></td>
- </tr>
- </table>
- <br>
-<?
}
global $app_strings;
global $mod_strings;
@@ -235,7 +219,6 @@
$listview_header = getSearchListHeaderValues($focus,"Emails",$url_string,$sorder,$order_by,"",$oCustomView);
$smarty->assign("SEARCHLISTHEADER",$listview_header_search);
-
$listview_entries = getListViewEntries($focus,"Emails",$list_result,$navigation_array,"","","EditView","Delete",$oCustomView);
$smarty->assign("LISTENTITY", $listview_entries); $smarty->assign("SELECT_SCRIPT", $view_script);
@@ -245,9 +228,5 @@
$smarty->assign("NAVIGATION", $navigationOutput);
$smarty->assign("RECORD_COUNTS", $record_string);
-
-if(isset($_REQUEST['ajax']) && $_REQUEST['ajax'] != '')
- $smarty->display("ListViewEntries.tpl");
-else
- $smarty->display("ListView.tpl");
+$smarty->display("Emails.tpl");
?>
More information about the vtigercrm-commits
mailing list