Ejemplo n.º 1
0
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo "\t" . $text['label-distinctive_ring'] . "\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo "  <input class='formfld' type='text' name='ring_group_distinctive_ring' maxlength='255' value='{$ring_group_distinctive_ring}'>\n";
echo "<br />\n";
echo $text['description-distinctive_ring'] . " \n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo "\t " . $text['label-ringback'] . "\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
$ringbacks = new ringbacks();
echo $ringbacks->select('ring_group_ringback', $ring_group_ringback);
echo "<br />\n";
echo $text['description-ringback'] . "\n";
echo "</td>\n";
echo "</tr>\n";
echo "\t<tr>";
echo "\t\t<td class='vncell' valign='top'>" . $text['label-user_list'] . "</td>";
echo "\t\t<td class='vtable'>";
echo "\t\t\t<table width='52%'>\n";
if (isset($ring_group_users)) {
    foreach ($ring_group_users as $field) {
        echo "\t\t\t<tr>\n";
        echo "\t\t\t\t<td class='vtable'>" . $field['username'] . "</td>\n";
        echo "\t\t\t\t<td>\n";
        echo "\t\t\t\t\t<a href='ring_group_edit.php?id=" . $ring_group_uuid . "&user_uuid=" . $field['user_uuid'] . "&a=delete' alt='" . $text['button-delete'] . "' onclick=\"return confirm('" . $text['confirm-delete'] . "')\">{$v_link_label_delete}</a>\n";
Ejemplo n.º 2
0
if ($ivr_menu_direct_dial == "false") {
    echo "\t<option value='false' selected='selected'>" . $text['option-false'] . "</option>\n";
} else {
    echo "\t<option value='false'>" . $text['option-false'] . "</option>\n";
}
echo "\t</select>\n";
echo "<br />\n";
echo $text['description-direct_dial'] . "\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo "\t " . $text['label-ring_back'] . "\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
$ringbacks = new ringbacks();
echo $ringbacks->select('ivr_menu_ringback', $ivr_menu_ringback);
echo "<br />\n";
echo $text['description-ring_back'] . "\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo "\t" . $text['label-caller_id_name_prefix'] . "\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo "\t<input class='formfld' type='text' name='ivr_menu_cid_prefix' maxlength='255' value=\"{$ivr_menu_cid_prefix}\">\n";
echo "<br />\n";
echo $text['description-caller_id_name_prefix'] . "\n";
echo "</td>\n";
echo "</tr>\n";
Ejemplo n.º 3
0
            echo "\t\t</tr>\n";
        }
    }
    echo "\t\t</table>\n";
    echo "\t\t<br>\n";
    echo "\t\t" . $text['description-tiers'] . "\n";
    echo "\t\t<br />\n";
    echo "\t</td>";
    echo "</tr>";
}
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo "\t" . $text['label-music_on_hold'] . "\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
$ringbacks = new ringbacks();
echo $ringbacks->select('queue_moh_sound', $queue_moh_sound);
echo "<br />\n";
echo $text['description-music_on_hold'] . "\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo "\t" . $text['label-record_template'] . "\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
$record_ext = $_SESSION['record_ext'] == 'mp3' ? 'mp3' : 'wav';
$record_template = $_SESSION['switch']['recordings']['dir'] . "/" . $_SESSION['domain_name'] . "/archive/\${strftime(%Y)}/\${strftime(%b)}/\${strftime(%d)}/\${uuid}." . $record_ext;
echo "\t<select class='formfld' name='queue_record_template'>\n";
if (strlen($queue_record_template) > 0) {
    echo "\t<option value='{$record_template}' selected='selected' >" . $text['option-true'] . "</option>\n";