[Vtigercrm-commits] [vtiger-commits] r4767 - /vtigercrm/trunk/modules/Faq/ListView.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Thu Mar 30 07:51:40 EST 2006


Author: saraj
Date: Thu Mar 30 05:51:36 2006
New Revision: 4767

Log:
junk code has been removed

Modified:
    vtigercrm/trunk/modules/Faq/ListView.php

Modified: vtigercrm/trunk/modules/Faq/ListView.php
==============================================================================
--- vtigercrm/trunk/modules/Faq/ListView.php (original)
+++ vtigercrm/trunk/modules/Faq/ListView.php Thu Mar 30 05:51:36 2006
@@ -24,14 +24,10 @@
 require_once('modules/CustomView/CustomView.php');
 
 global $app_strings;
-global $mod_strings;
 $current_module_strings = return_module_language($current_language, 'Faq');
 
-global $theme;
 global $currentModule;
 
-$theme_path="themes/".$theme."/";
-$image_path=$theme_path."images/";
 require_once($theme_path.'layout_utils.php');
 
 if(isset($_REQUEST['category']) && $_REQUEST['category'] !='')
@@ -70,8 +66,6 @@
 if(isPermitted('Faq',2,'') == 'yes')
 $other_text ['del'] = $app_strings[LBL_MASS_DELETE]; 
 
-//$other_text ='   <td><input class="button" type="submit" value="'.$app_strings[LBL_MASS_DELETE].'" onclick="return massDelete()"/></td>
-//		  <td align="right">&nbsp;</td>';
 
 //Retreive the list from Database
 $list_query = getListQuery("Faq");
@@ -97,11 +91,6 @@
 //Constructing the list view 
 
 
-//$customstrings = '<td align="right">'.$app_strings[LBL_VIEW].'
-//                        <SELECT NAME="viewname" onchange="showDefaultCustomView(this)">
-//                                '.$customviewcombo_html.'
-//                        </SELECT>
-//                </td>';
 
 $smarty = new vtigerCRM_Smarty;
 $smarty->assign("MOD", $mod_strings);
@@ -110,7 +99,6 @@
 $smarty->assign("MODULE",$currentModule);
 $smarty->assign("BUTTONS",$other_text);
 $smarty->assign("CATEGORY",$category);
-//$smarty->assign("CUSTOMVIEW",$customstrings);
 $smarty->assign("SINGLE_MOD",'Note');
 //Retreiving the no of rows
 $noofrows = $adb->num_rows($list_result);





More information about the vtigercrm-commits mailing list