Пример #1
0
echo "    <input class='formfld' type='text' name='huntgroupcidnameprefix' maxlength='255' value=\"{$huntgroupcidnameprefix}\">\n";
echo "<br />\n";
echo "Set a prefix on the caller ID name. (optional)\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo "    PIN:\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo "    <input class='formfld' type='text' name='huntgrouppin' maxlength='255' value=\"{$huntgrouppin}\">\n";
echo "<br />\n";
echo "If this is provided then the caller will be required to enter the PIN number. (optional) \n";
echo "</td>\n";
echo "</tr>\n";
if (switch_module_exists('mod_spidermonkey')) {
    echo "<tr>\n";
    echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
    echo "    Caller Announce:\n";
    echo "</td>\n";
    echo "<td class='vtable' align='left'>\n";
    echo "    <select class='formfld' name='huntgroupcallerannounce'>\n";
    echo "    <option value=''></option>\n";
    if ($huntgroupcallerannounce == "true") {
        echo "    <option value='true' SELECTED >true</option>\n";
    } else {
        echo "    <option value='true'>true</option>\n";
    }
    if ($huntgroupcallerannounce == "false") {
        echo "    <option value='false' SELECTED >false</option>\n";
    } else {
Пример #2
0
function sync_package_v_hunt_group()
{
    if (switch_module_exists('mod_spidermonkey')) {
        sync_package_v_hunt_group_js();
    } else {
        sync_package_v_hunt_group_lua();
    }
}