[Vtigercrm-commits] [vtiger-commits] r10675 - in /customerportal/trunk/Tickets: TicketSearch.php index.html

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Fri Apr 13 06:46:00 EDT 2007


Author: richie
Date: Fri Apr 13 04:45:54 2007
New Revision: 10675

Log:
* Fixed the issue in design when the search retuns empty result, Fixed #3422

Modified:
    customerportal/trunk/Tickets/TicketSearch.php
    customerportal/trunk/Tickets/index.html

Modified: customerportal/trunk/Tickets/TicketSearch.php
==============================================================================
--- customerportal/trunk/Tickets/TicketSearch.php (original)
+++ customerportal/trunk/Tickets/TicketSearch.php Fri Apr 13 04:45:54 2007
@@ -56,10 +56,10 @@
                	        'CREATED TIME'	=> '15%'
                      );
 
-
+//In Tickets/index.html we have opened the tr and td tags. So here we should start with div or table tags
 if($rowcount >= 1 && $val)
 {
-	$list .= '<tr><td colspan="2"><div id="scrollTab">';
+	$list .= '<div id="scrollTab">';
 	$list .= '<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">';
 	$list .= '<tr><td class="mnu">'.$mod_strings['LBL_MY_OPEN_TICKETS'].'</td></tr></table>';
 	$list .= '<table width="100%" border="0" cellspacing="0" cellpadding="0">';
@@ -112,7 +112,7 @@
 	$list .= '</table>';
 	$closedlist .= '</table>';
 
-	$closedlist .= '</div></td></tr>';
+	$closedlist .= '</div>';
 
 	$list .= '<br><br>'.$closedlist;
 }
@@ -122,6 +122,9 @@
 	$list .= '<tr><td class="pageTitle">'.$mod_strings['LBL_NONE_SUBMITTED'].'</td></tr></table>';
 }
 
+//In Tickets/index.html we have opened the tr and td tags. So here we have to close that td and tr tags
+$list .= "</td></tr>";
+
 echo $list;
 
 

Modified: customerportal/trunk/Tickets/index.html
==============================================================================
--- customerportal/trunk/Tickets/index.html (original)
+++ customerportal/trunk/Tickets/index.html Fri Apr 13 04:45:54 2007
@@ -40,7 +40,7 @@
 					</td>
 					</form>
 				   </tr>
-				   <tr><td colspan="2">&nbsp;</td> </tr>	 
+				   <tr><td colspan="2">&nbsp;
 				   <!-- tr>
 					<td align="left">&nbsp;
 					</td>





More information about the vtigercrm-commits mailing list