コード例 #1
0
ファイル: call_edit.php プロジェクト: badcrc/fusionpbx
    echo "\t\t\t<select class='formfld' style='width: 90px;' name='destination_prompt_4'>\n";
    echo "\t\t\t\t<option value=''></option>\n";
    echo "\t\t\t\t<option value='1' " . ($destination_prompt_4 ? "selected='selected'" : null) . ">" . $text['label-destination_prompt_confirm'] . "</option>\n";
    //echo "			<option value='2'>".$text['label-destination_prompt_announce]."</option>\n";
    echo "\t\t\t</select>\n";
    echo "\t\t</td>\n";
}
echo "\t\t</tr>\n";
// 5th destination
echo "\t\t<tr>\n";
echo "\t\t\t<td><input class='formfld' style='min-width: 135px;' type='text' name='destination_data_5' id='destination_data_5' maxlength='255' value=\"" . $destination_data_5 . "\"></td>\n";
echo "\t\t\t<td>\n";
destination_select('destination_delay_5', $destination_delay_5, '0');
echo "\t\t\t</td>\n";
echo "\t\t\t<td>\n";
destination_select('destination_timeout_5', $destination_timeout_5, '30');
echo "\t\t\t</td>\n";
if (permission_exists('follow_me_prompt')) {
    echo "\t\t<td>\n";
    echo "\t\t\t<select class='formfld' style='width: 90px;' name='destination_prompt_5'>\n";
    echo "\t\t\t\t<option value=''></option>\n";
    echo "\t\t\t\t<option value='1' " . ($destination_prompt_5 ? "selected='selected'" : null) . ">" . $text['label-destination_prompt_confirm'] . "</option>\n";
    //echo "			<option value='2'>".$text['label-destination_prompt_announce]."</option>\n";
    echo "\t\t\t</select>\n";
    echo "\t\t</td>\n";
}
echo "\t\t</tr>\n";
echo "\t</table>\n";
echo "</td>\n";
echo "</tr>\n";
echo "\t\t<tr>\n";
コード例 #2
0
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo "\t" . $text['label-destination_delay'] . "\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
destination_select('destination_delay', $destination_delay, '0');
//echo "  <input class='formfld' type='text' name='destination_delay' maxlength='255' value='$destination_delay'>\n";
echo "<br />\n";
echo $text['description-destination_delay'] . "\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-destination_timeout'] . "\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
destination_select('destination_timeout', $destination_timeout, '30');
//echo "  <input class='formfld' type='text' name='destination_timeout' maxlength='255' value='$destination_timeout'>\n";
echo "<br />\n";
echo $text['description-destination_timeout'] . "\n";
echo "</td>\n";
echo "</tr>\n";
if (permission_exists('ring_group_prompt')) {
    echo "<tr>\n";
    echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
    echo "\t" . $text['label-destination_prompt'] . "\n";
    echo "</td>\n";
    echo "<td class='vtable' align='left'>\n";
    echo "\t\t\t\t\t<select class='formfld' name='destination_prompt'>\n";
    echo "\t\t\t\t\t<option value=''></option>\n";
    if ($destination_prompt == "1") {
        echo "\t\t\t\t\t<option value='1' selected='selected'>" . $text['label-destination_prompt_confirm'] . "</option>\n";