diff --git a/agc_2-X/trunk/www/agc/vdc_db_query.php b/agc_2-X/trunk/www/agc/vdc_db_query.php
index 9bf3b84f..09cc1525 100644
--- a/agc_2-X/trunk/www/agc/vdc_db_query.php
+++ b/agc_2-X/trunk/www/agc/vdc_db_query.php
@@ -8937,6 +8937,10 @@ if ($ACTION == 'LEADINFOview')
if ($hide_dial_links < 1)
{$INFOout .= "DIAL";}
}
+ if ( ($label_phone_number=='---HIDE---') and ($hide_dial_links < 1) )
+ {
+ $INFOout .= "
| Dial Link: | DIAL";
+ }
$INFOout .= " |
";
if ( ($label_title!='---HIDE---') or ($label_hide_field_logs=='N') )
{$INFOout .= "| $label_title: | $row[7] |
";}
diff --git a/agc_2-X/trunk/www/agc/vicidial.php b/agc_2-X/trunk/www/agc/vicidial.php
index 4eae6a24..363f8b7d 100644
--- a/agc_2-X/trunk/www/agc/vicidial.php
+++ b/agc_2-X/trunk/www/agc/vicidial.php
@@ -357,10 +357,11 @@
# 110624-2311 - Added screen labels option and status display fields option
# 110626-2234 - Added queuemetrics_pe_phone_append
# 110707-1412 - Added last_inbound_call_time and finish compatibility
+# 110713-0048 - Allow for full hiding of the phone number field label
#
-$version = '2.4-334c';
-$build = '110707-1412';
+$version = '2.4-335c';
+$build = '110713-0048';
$mel=1; # Mysql Error Log enabled = 1
$mysql_log_count=73;
$one_mysql_log=0;
@@ -12593,16 +12594,24 @@ $zi=2;
echo "| ";
- echo "$label_phone_number: | ";
-
- if ( (ereg('Y',$disable_alter_custphone)) or (ereg('HIDE',$disable_alter_custphone)) )
- {
- echo " ";
- echo "";
+ if ($label_phone_number == '---HIDE---')
+ {
+ echo " | ";
+ echo " ";
}
else
- {
- echo "";
+ {
+ echo "$label_phone_number: | ";
+
+ if ( (ereg('Y',$disable_alter_custphone)) or (ereg('HIDE',$disable_alter_custphone)) )
+ {
+ echo " ";
+ echo "";
+ }
+ else
+ {
+ echo "";
+ }
}
echo " | ";
|