2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

THANKS TO softphone and browsers updates, now we're able to dial phone numbers with click!

Added  case numbers "callto:" links to interface2 

ATTENTION:  number dialed  as exist in your "contact list". Please check for your required prefixes, dial and  regional codes before application!
This commit is contained in:
Alex
2015-02-24 02:27:50 +03:00
parent d577f6096d
commit f068b233e0

View File

@@ -215,9 +215,10 @@ if ($ca)
print "<form method='post' action='?'><div class='text'>";
print "<input onclick='this.form.submit();' type='radio' name='contactphone' value='{$r['contact_phone_id']}' id='contactphone{$r['contact_phone_id']}' {$r['checked']}/>";
print "<label for='contactphone{$r['contact_phone_id']}'>{$r['phone']}";
if ($r['checked']) print "&emsp;<a href='callto:{$r['phone']}'>" . T_('Dial') . "</a>";
if (!empty($r['description'])) print " - " . $r['description'];
print "</label>";
print "</div></form><br />";
print "</div></form></br>";
}
print "</div>";
}