--- admin/Public/call-log-customers.php	2010-04-07 14:32:20.000000000 +0400
+++ vt_simplified_gui_1.7.0/admin/Public/call-log-customers__vt.php	2010-04-08 20:04:29.000000000 +0400
@@ -32,13 +32,13 @@
 **/
 
 
-include ("../lib/admin.defines.php");
-include ("../lib/admin.module.access.php");
-include ("../lib/admin.smarty.php");
+include ("../lib/admin.defines__vt.php");
+include ("../lib/admin.module.access__vt.php");
+include ("../lib/admin.smarty__vt.php");
 
 if (! has_rights ( ACX_CALL_REPORT )) {
 	Header ( "HTTP/1.0 401 Unauthorized" );
-	Header ( "Location: PP_error.php?c=accessdenied" );
+	Header ( "Location: PP_error__vt.php?c=accessdenied" );
 	die ();
 }
 
@@ -348,7 +348,7 @@
 if ($FG_DEBUG == 3)
 	echo "<br>Nb_record_max : $nb_record_max";
 
-$smarty->display ( 'main.tpl' );
+$smarty->display ( 'main__vt.tpl' );
 
 ?>
 
@@ -386,7 +386,7 @@
 			?>: <INPUT TYPE="text"
 					NAME="entercustomer" value="<?php echo $entercustomer?>"
 					class="form_input_text"> <a href="#"
-					onclick="window.open('A2B_entity_card.php?popup_select=1&popup_formname=myForm&popup_fieldname=entercustomer' , 'CardNumberSelection','scrollbars=1,width=550,height=330,top=20,left=100,scrollbars=1');"><img
+					onclick="window.open('A2B_entity_card__vt.php?popup_select=1&popup_formname=myForm&popup_fieldname=entercustomer' , 'CardNumberSelection','scrollbars=1,width=550,height=330,top=20,left=100,scrollbars=1');"><img
 					src="<?php echo Images_Path; ?>/icon_arrow_orange.gif"></a>
 				 <BR> OR <br>
 				<?php echo gettext ( "Enter the customer number" );?>: <INPUT TYPE="text" NAME="entercustomer_num" 
@@ -395,7 +395,9 @@
                                         src="<?php echo Images_Path; ?>/icon_arrow_orange.gif"></a>
 				</td>
 				<td width="50%">
-				<table width="100%" border="0" cellspacing="0" cellpadding="0">
+<!-- We disable Call Plan, Trunk, Rate, Provider for the VT simplified GUI in the CDR -->
+<?php if (!VT_MODE) { ?>
+                <table width="100%" border="0" cellspacing="0" cellpadding="0">
 					<tr>
 						<td align="left" class="fontstyle_searchoptions"><?php echo gettext ( "CallPlan" ); ?> :</td>
 						<td align="left" class="fontstyle_searchoptions"><INPUT TYPE="text" NAME="entertariffgroup" value="<?php echo $entertariffgroup?>" size="4" class="form_input_text">&nbsp;<a href="#" onclick="window.open('A2B_entity_tariffgroup.php?popup_select=2&popup_formname=myForm&popup_fieldname=entertariffgroup' , 'CallPlanSelection','scrollbars=1,width=550,height=330,top=20,left=100');"><img
@@ -432,6 +434,7 @@
 			?>/icon_arrow_orange.gif"></a></td>
 					</tr>
 				</table>
+<?php } ?> 
 				</td>
 			</tr>
 
