Allow for full hiding of the phone number field label in the agent interface

git-svn-id: svn://192.168.202.10@1693 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2011-07-13 04:50:24 +00:00
parent 5faf19c45f
commit 15efaad6ae
2 changed files with 23 additions and 10 deletions
+4
View File
@@ -8937,6 +8937,10 @@ if ($ACTION == 'LEADINFOview')
if ($hide_dial_links < 1)
{$INFOout .= "<a href=\"#\" onclick=\"NeWManuaLDiaLCalL('CALLLOG',$row[5], $row[6], $lead_id);return false;\">DIAL</a>";}
}
if ( ($label_phone_number=='---HIDE---') and ($hide_dial_links < 1) )
{
$INFOout .= "<tr bgcolor=white><td ALIGN=right><font size=2>Dial Link: &nbsp; </td><td ALIGN=left><font size=2><a href=\"#\" onclick=\"NeWManuaLDiaLCalL('CALLLOG',$row[5], $row[6], $lead_id);return false;\">DIAL</a>";
}
$INFOout .= "</td></tr>";
if ( ($label_title!='---HIDE---') or ($label_hide_field_logs=='N') )
{$INFOout .= "<tr bgcolor=white><td ALIGN=right><font size=2>$label_title: &nbsp; </td><td ALIGN=left><font size=2>$row[7]</td></tr>";}
+19 -10
View File
@@ -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 "</td></tr><tr><td align=\"right\"><font class=\"body_text\">";
echo "$label_phone_number: </td><td align=\"left\"><font class=\"body_text\">";
if ( (ereg('Y',$disable_alter_custphone)) or (ereg('HIDE',$disable_alter_custphone)) )
{
echo "<font class=\"body_text\"><span id=\"phone_numberDISP\"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span></font>";
echo "<input type=\"hidden\" name=\"phone_number\" id=\"phone_number\" value=\"\" />";
if ($label_phone_number == '---HIDE---')
{
echo " </td><td align=\"left\"><input type=\"hidden\" name=\"phone_number\" id=\"phone_number\" value=\"\" />";
echo "<font class=\"body_text\"><span id=\"phone_numberDISP\"> &nbsp; </span></font>";
}
else
{
echo "<input type=\"text\" size=\"20\" name=\"phone_number\" id=\"phone_number\" maxlength=\"16\" class=\"cust_form\" value=\"\" />";
{
echo "$label_phone_number: </td><td align=\"left\"><font class=\"body_text\">";
if ( (ereg('Y',$disable_alter_custphone)) or (ereg('HIDE',$disable_alter_custphone)) )
{
echo "<font class=\"body_text\"><span id=\"phone_numberDISP\"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span></font>";
echo "<input type=\"hidden\" name=\"phone_number\" id=\"phone_number\" value=\"\" />";
}
else
{
echo "<input type=\"text\" size=\"20\" name=\"phone_number\" id=\"phone_number\" maxlength=\"16\" class=\"cust_form\" value=\"\" />";
}
}
echo "</td><td align=\"right\"><font class=\"body_text\">";