Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
williamconley wrote:considering how simple the change is ... i wonder if it would be worth modifying the "agent screens" and "system settings" screen ... to include a "read only" checkbox. I bet Matt would include it if he were paid or provided a valid DIFF against latest ... seems like a good feature.
grep -i -- '--HIDE--' /srv/www/htdocs/agc/vicidial.php
# 101216-1758 - Added the ability to hide fields if the label is set to ---HIDE--- in System Settings
if ($label_gender == '---HIDE---')
if ($label_gender == '---HIDE---')
if ($label_title == '---HIDE---')
if ($label_first_name == '---HIDE---')
if ($label_middle_initial == '---HIDE---')
if ($label_last_name == '---HIDE---')
if ($label_address1 == '---HIDE---')
if ($label_address2 == '---HIDE---')
if ($label_address3 == '---HIDE---')
if ($label_city == '---HIDE---')
if ($label_state == '---HIDE---')
if ($label_postal_code == '---HIDE---')
if ($label_province == '---HIDE---')
if ($label_vendor_lead_code == '---HIDE---')
if ($label_gender == '---HIDE---')
if ($label_phone_number == '---HIDE---')
if ($label_phone_code == '---HIDE---')
if ($label_alt_phone == '---HIDE---')
if ($label_security_phrase == '---HIDE---')
if ($label_email == '---HIDE---')
if ($label_comments == '---HIDE---')
if (strlen($row[0])>0) {$label_title = $row[0];}
if (strlen($row[1])>0) {$label_first_name = $row[1];}
if (strlen($row[2])>0) {$label_middle_initial = $row[2];}
if (strlen($row[3])>0) {$label_last_name = $row[3];}
if (strlen($row[4])>0) {$label_address1 = $row[4];}
if (strlen($row[5])>0) {$label_address2 = $row[5];}
if (strlen($row[6])>0) {$label_address3 = $row[6];}
if (strlen($row[7])>0) {$label_city = $row[7];}
if (strlen($row[8])>0) {$label_state = $row[8];}
if (strlen($row[9])>0) {$label_province = $row[9];}
if (strlen($row[10])>0) {$label_postal_code = $row[10];}
if (strlen($row[11])>0) {$label_vendor_lead_code = $row[11];}
if (strlen($row[12])>0) {$label_gender = $row[12];}
if (strlen($row[13])>0) {$label_phone_number = $row[13];}
if (strlen($row[14])>0) {$label_phone_code = $row[14];}
if (strlen($row[15])>0) {$label_alt_phone = $row[15];}
if (strlen($row[16])>0) {$label_security_phrase = $row[16];}
if (strlen($row[17])>0) {$label_email = $row[17];}
if (strlen($row[18])>0) {$label_comments = $row[18];}
Users browsing this forum: Google [Bot] and 107 guests