Removal of colon next to form label names.

This commit is contained in:
Nate Jones 2015-02-15 06:50:00 +00:00
parent dd04574627
commit 996e89c396
71 changed files with 669 additions and 686 deletions

View File

@ -13,7 +13,7 @@
for the specific language governing rights and limitations under the
License.
The Original Code is FusionPBX
The Original Code is FusionPBX
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
@ -263,7 +263,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-number'].":\n";
echo " ".$text['label-number']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='call_block_number' maxlength='255' value=\"$call_block_number\" required='required'>\n";
@ -275,7 +275,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-name'].":\n";
echo " ".$text['label-name']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='call_block_name' maxlength='255' value=\"$call_block_name\" required='required'>\n";
@ -286,7 +286,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-action'].":\n";
echo " ".$text['label-action']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='call_block_action'>\n";
@ -315,7 +315,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-enabled'].":\n";
echo " ".$text['label-enabled']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='call_block_enabled'>\n";

View File

@ -61,7 +61,7 @@ else {
$broadcast_phone_numbers = check_str($_POST["broadcast_phone_numbers"]);
$broadcast_avmd = check_str($_POST["broadcast_avmd"]);
$broadcast_destination_data = check_str($_POST["broadcast_destination_data"]);
if (if_group("superadmin")){
$broadcast_accountcode = check_str($_POST["broadcast_accountcode"]);
}
@ -265,7 +265,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-name'].":\n";
echo " ".$text['label-name']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='broadcast_name' maxlength='255' value=\"$broadcast_name\" required='required'>\n";
@ -274,11 +274,11 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "</td>\n";
echo "</tr>\n";
if (if_group("superadmin")){
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-accountcode'].":\n";
echo " ".$text['label-accountcode']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
if ($action == "add"){ $accountcode=$_SESSION['domain_name']; }
@ -292,7 +292,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-accountcode'].":\n";
echo " ".$text['label-accountcode']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select name='broadcast_accountcode' id='broadcast_accountcode' class='formfld'>\n";
@ -309,7 +309,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
}
echo " <option value=\"".$row_accountcode['type_value']."\" $selected>".$row_accountcode['type_value']."</option>\n";
}
unset($sql_accountcode, $prep_statement_accountcode, $result_accountcode);
echo "</select>";
echo "<br />\n";
@ -320,7 +320,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-timeout'].":\n";
echo " ".$text['label-timeout']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='number' name='broadcast_timeout' maxlength='255' min='1' step='1' value=\"$broadcast_timeout\">\n";
@ -331,7 +331,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-concurrent-limit'].":\n";
echo " ".$text['label-concurrent-limit']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='number' name='broadcast_concurrent_limit' maxlength='255' min='1' step='1' value=\"$broadcast_concurrent_limit\">\n";
@ -343,7 +343,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
//echo "<tr>\n";
//echo "<td class='vncell' valign='top' align='left' nowrap>\n";
//echo " Recording:\n";
//echo " Recording\n";
//echo "</td>\n";
//echo "<td class='vtable' align='left'>\n";
//echo " <select name='recording_uuid' class='formfld'>\n";
@ -372,7 +372,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-caller-id-name'].":\n";
echo " ".$text['label-caller-id-name']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='broadcast_caller_id_name' maxlength='255' value=\"$broadcast_caller_id_name\">\n";
@ -383,7 +383,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-callerid-number'].":\n";
echo " ".$text['label-callerid-number']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='number' name='broadcast_caller_id_number' maxlength='255' min='0' step='1' value=\"$broadcast_caller_id_number\">\n";
@ -394,7 +394,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
/*
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " Type:\n";
echo " Type\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='broadcast_destination_type' maxlength='255' value=\"$broadcast_destination_type\">\n";
@ -405,7 +405,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " Destination:\n";
echo " Destination\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='broadcast_destination_data' maxlength='255' value=\"$broadcast_destination_data\">\n";
@ -421,7 +421,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-destination'].":\n";
echo " ".$text['label-destination']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='broadcast_destination_data' maxlength='255' value=\"$broadcast_destination_data\">\n";
@ -432,7 +432,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-phone'].":\n";
echo " ".$text['label-phone']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <textarea class='formfld' type='text' name='broadcast_phone_numbers' rows='10'>$broadcast_phone_numbers</textarea>\n";
@ -443,7 +443,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-avmd'].":\n";
echo " ".$text['label-avmd']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='broadcast_avmd'>\n";
@ -458,7 +458,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-description'].":\n";
echo " ".$text['label-description']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='broadcast_description' maxlength='255' value=\"$broadcast_description\">\n";
@ -496,7 +496,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td width='30%' class='vncell' valign='top' align='left' nowrap>\n";
echo " Category:\n";
echo " Category\n";
echo "</td>\n";
echo "<td width='70%' class='vtable' align='left'>\n";
echo " <select name='user_category' class='formfld'>\n";
@ -524,7 +524,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td width='30%' class='vncell' valign='top' align='left' nowrap>\n";
echo " Group:\n";
echo " Group\n";
echo "</td>\n";
echo "<td width='70%' class='vtable' align='left'>\n";
echo " <select name='group_name' class='formfld'>\n";
@ -553,7 +553,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td width='30%' class='vncell' valign='top' align='left' nowrap>\n";
echo " Gateway:\n";
echo " Gateway\n";
echo "</td>\n";
echo "<td width='70%' class='vtable' align='left'>\n";
echo " <select name='gateway' class='formfld'>\n";
@ -583,7 +583,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " Phone Type:\n";
echo " Phone Type\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select name='phonetype1' class='formfld'>\n";
@ -602,7 +602,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " Phone Type:\n";
echo " Phone Type\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select name='phonetype2' class='formfld'>\n";

View File

@ -329,7 +329,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-agent_name'].":\n";
echo " ".$text['label-agent_name']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
//---- Begin Select List --------------------
@ -362,7 +362,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-type'].":\n";
echo " ".$text['label-type']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='agent_type' maxlength='255' value=\"$agent_type\" pattern='^(callback|uuid-standby)$'>\n";
@ -373,7 +373,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-call_timeout'].":\n";
echo " ".$text['label-call_timeout']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='number' name='agent_call_timeout' maxlength='255' min='1' step='1' value='$agent_call_timeout'>\n";
@ -384,7 +384,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-contact'].":\n";
echo " ".$text['label-contact']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
@ -398,7 +398,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-status'].":\n";
echo " ".$text['label-status']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='agent_status'>\n";
@ -434,7 +434,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-no_answer_delay_time'].":\n";
echo " ".$text['label-no_answer_delay_time']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='number' name='agent_no_answer_delay_time' maxlength='255' min='1' step='1' value='$agent_no_answer_delay_time'>\n";
@ -445,7 +445,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-max_no_answer'].":\n";
echo " ".$text['label-max_no_answer']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='number' name='agent_max_no_answer' maxlength='255' min='0' step='1' value='$agent_max_no_answer'>\n";
@ -456,7 +456,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-wrap_up_time'].":\n";
echo " ".$text['label-wrap_up_time']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='number' name='agent_wrap_up_time' maxlength='255' min='1' step='1' value='$agent_wrap_up_time'>\n";
@ -467,7 +467,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-reject_delay_time'].":\n";
echo " ".$text['label-reject_delay_time']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='number' name='agent_reject_delay_time' maxlength='255' min='1' step='1' value='$agent_reject_delay_time'>\n";
@ -478,7 +478,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-busy_delay_time'].":\n";
echo " ".$text['label-busy_delay_time']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='number' name='agent_busy_delay_time' maxlength='255' min='1' step='1' value='$agent_busy_delay_time'>\n";
@ -490,7 +490,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
/*
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-agent_logout'].":\n";
echo " ".$text['label-agent_logout']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='agent_logout' maxlength='255' value='$agent_logout'>\n";

View File

@ -445,7 +445,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
echo "<tr>\n";
echo "<td width='30%' class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-queue_name'].":\n";
echo " ".$text['label-queue_name']."\n";
echo "</td>\n";
echo "<td width='70%' class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='queue_name' maxlength='255' value=\"$queue_name\" required='required'>\n";
@ -456,7 +456,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-extension'].":\n";
echo " ".$text['label-extension']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='number' name='queue_extension' maxlength='255' min='0' step='1' value=\"$queue_extension\" required='required'>\n";
@ -467,7 +467,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-strategy'].":\n";
echo " ".$text['label-strategy']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='queue_strategy'>\n";
@ -534,7 +534,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
if (permission_exists('call_center_tier_view')) {
echo "<tr>";
echo " <td class='vncell' valign='top'>".$text['label-tiers'].":</td>";
echo " <td class='vncell' valign='top'>".$text['label-tiers']."</td>";
echo " <td class='vtable' align='left'>";
echo " <table width='45%' border='0' cellpadding='0' cellspacing='0'>\n";
echo " <tr>\n";
@ -626,7 +626,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-music_on_hold'].":\n";
echo " ".$text['label-music_on_hold']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
@ -682,7 +682,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-record_template'].":\n";
echo " ".$text['label-record_template']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
$record_ext=($_SESSION['record_ext']=='mp3'?'mp3':'wav');
@ -708,7 +708,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-time_base_score'].":\n";
echo " ".$text['label-time_base_score']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='queue_time_base_score'>\n";
@ -732,7 +732,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-max_wait_time'].":\n";
echo " ".$text['label-max_wait_time']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='number' name='queue_max_wait_time' maxlength='255' min='0' step='1' value='$queue_max_wait_time'>\n";
@ -743,7 +743,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-max_wait_time_with_no_agent'].":\n";
echo " ".$text['label-max_wait_time_with_no_agent']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='number' name='queue_max_wait_time_with_no_agent' maxlength='255' min='1' step='1' value='$queue_max_wait_time_with_no_agent'>\n";
@ -754,7 +754,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-max_wait_time_with_no_agent_time_reached'].":\n";
echo " ".$text['label-max_wait_time_with_no_agent_time_reached']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='number' name='queue_max_wait_time_with_no_agent_time_reached' maxlength='255' min='1' step='1' value='$queue_max_wait_time_with_no_agent_time_reached'>\n";
@ -765,7 +765,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-timeout_action'].":\n";
echo " ".$text['label-timeout_action']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
//switch_select_destination(select_type, select_label, select_name, select_value, select_style, action);
@ -777,7 +777,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-tier_rules_apply'].":\n";
echo " ".$text['label-tier_rules_apply']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='queue_tier_rules_apply'>\n";
@ -801,7 +801,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-tier_rule_wait_second'].":\n";
echo " ".$text['label-tier_rule_wait_second']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='number' name='queue_tier_rule_wait_second' maxlength='255' min='1' step='1' value='$queue_tier_rule_wait_second'>\n";
@ -812,7 +812,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-tier_rule_wait_multiply_level'].":\n";
echo " ".$text['label-tier_rule_wait_multiply_level']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='queue_tier_rule_wait_multiply_level'>\n";
@ -836,7 +836,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-tier_rule_no_agent_no_wait'].":\n";
echo " ".$text['label-tier_rule_no_agent_no_wait']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='queue_tier_rule_no_agent_no_wait'>\n";
@ -860,7 +860,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-discard_abandoned_after'].":\n";
echo " ".$text['label-discard_abandoned_after']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='number' name='queue_discard_abandoned_after' maxlength='255' min='1' step='1' value='$queue_discard_abandoned_after'>\n";
@ -871,7 +871,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-abandoned_resume_allowed'].":\n";
echo " ".$text['label-abandoned_resume_allowed']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='queue_abandoned_resume_allowed'>\n";
@ -895,7 +895,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-caller_id_name_prefix'].":\n";
echo " ".$text['label-caller_id_name_prefix']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='queue_cid_prefix' maxlength='255' value='$queue_cid_prefix'>\n";
@ -906,7 +906,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-caller_announce_sound'].":\n";
echo " ".$text['label-caller_announce_sound']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='queue_announce_sound' maxlength='255' value='$queue_announce_sound'>\n";
@ -917,7 +917,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-caller_announce_frequency'].":\n";
echo " ".$text['label-caller_announce_frequency']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='number' name='queue_announce_frequency' maxlength='255' min='0' step='1' value='$queue_announce_frequency'>\n";
@ -928,7 +928,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-description'].":\n";
echo " ".$text['label-description']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='queue_description' maxlength='255' value=\"$queue_description\">\n";

View File

@ -179,7 +179,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-agent_name'].":\n";
echo " ".$text['label-agent_name']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
@ -214,7 +214,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-queue_name'].":\n";
echo " ".$text['label-queue_name']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
@ -248,7 +248,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-tier_level'].":\n";
echo " ".$text['label-tier_level']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='tier_level'>\n";
@ -323,7 +323,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-tier_position'].":\n";
echo " ".$text['label-tier_position']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='tier_position'>\n";

View File

@ -450,7 +450,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-name'].":\n";
echo " ".$text['label-name']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='call_flow_name' maxlength='255' value=\"$call_flow_name\">\n";
@ -461,7 +461,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-extension'].":\n";
echo " ".$text['label-extension']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='call_flow_extension' maxlength='255' value=\"$call_flow_extension\">\n";
@ -472,7 +472,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-feature_code'].":\n";
echo " ".$text['label-feature_code']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='call_flow_feature_code' maxlength='255' value=\"$call_flow_feature_code\">\n";
@ -483,7 +483,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-context'].":\n";
echo " ".$text['label-context']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='call_flow_context' maxlength='255' value=\"$call_flow_context\">\n";
@ -494,7 +494,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-status'].":\n";
echo " ".$text['label-status']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='call_flow_status'>\n";
@ -539,7 +539,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-pin_number'].":\n";
echo " ".$text['label-pin_number']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='call_flow_pin_number' maxlength='255' value=\"$call_flow_pin_number\">\n";
@ -550,7 +550,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-destination_label'].":\n";
echo " ".$text['label-destination_label']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='call_flow_label' maxlength='255' value=\"$call_flow_label\">\n";
@ -561,7 +561,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-destination'].":\n";
echo " ".$text['label-destination']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
$select_value = '';
@ -580,7 +580,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-alternate_label'].":\n";
echo " ".$text['label-alternate_label']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='call_flow_anti_label' maxlength='255' value=\"$call_flow_anti_label\">\n";
@ -591,7 +591,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-alternate_destination'].":\n";
echo " ".$text['label-alternate_destination']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
//switch_select_destination($select_type, $select_label, $select_name, $select_value, $select_style, $action='')
@ -608,7 +608,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-description'].":\n";
echo " ".$text['label-description']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='call_flow_description' maxlength='255' value=\"$call_flow_description\">\n";

View File

@ -185,7 +185,7 @@ if (is_array($_REQUEST) && !empty($_REQUEST['src']) && !empty($_REQUEST['dest'])
$fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']);
if (!$fp) {
//show the error message
$msg = "<div align='center'>Connection to Event Socket failed.<br /></div>";
$msg = "<div align='center'>Connection to Event Socket failed.<br /></div>";
echo "<div align='center'>\n";
echo "<table width='40%'>\n";
echo "<tr>\n";
@ -246,7 +246,7 @@ if (is_array($_REQUEST) && !empty($_REQUEST['src']) && !empty($_REQUEST['dest'])
echo "<form>\n";
echo "<table border='0' width='100%' cellpadding='6' cellspacing='0'\n";
echo "<tr>\n";
echo " <td class='vncellreq' width='40%'>".$text['label-src-caller-id-nam'].":</td>\n";
echo " <td class='vncellreq' width='40%'>".$text['label-src-caller-id-nam']."</td>\n";
echo " <td class='vtable' align='left'>\n";
echo " <input name=\"src_cid_name\" value='$src_cid_name' class='formfld'>\n";
echo " <br />\n";
@ -255,7 +255,7 @@ if (is_array($_REQUEST) && !empty($_REQUEST['src']) && !empty($_REQUEST['dest'])
echo "</tr>\n";
echo "<tr>\n";
echo " <td class='vncellreq'>".$text['label-src-caller-id-num'].":</td>\n";
echo " <td class='vncellreq'>".$text['label-src-caller-id-num']."</td>\n";
echo " <td class='vtable' align='left'>\n";
echo " <input name=\"src_cid_number\" value='$src_cid_number' class='formfld'>\n";
echo " <br />\n";
@ -264,7 +264,7 @@ if (is_array($_REQUEST) && !empty($_REQUEST['src']) && !empty($_REQUEST['dest'])
echo "</tr>\n";
echo "<tr>\n";
echo " <td class='vncell' width='40%'>".$text['label-dest-caller-id-nam'].":</td>\n";
echo " <td class='vncell' width='40%'>".$text['label-dest-caller-id-nam']."</td>\n";
echo " <td class='vtable' align='left'>\n";
echo " <input name=\"dest_cid_name\" value='$dest_cid_name' class='formfld'>\n";
echo " <br />\n";
@ -273,7 +273,7 @@ if (is_array($_REQUEST) && !empty($_REQUEST['src']) && !empty($_REQUEST['dest'])
echo "</tr>\n";
echo "<tr>\n";
echo " <td class='vncell'>".$text['label-dest-caller-id-num'].":</td>\n";
echo " <td class='vncell'>".$text['label-dest-caller-id-num']."</td>\n";
echo " <td class='vtable' align='left'>\n";
echo " <input name=\"dest_cid_number\" value='$dest_cid_number' class='formfld'>\n";
echo " <br />\n";
@ -282,7 +282,7 @@ if (is_array($_REQUEST) && !empty($_REQUEST['src']) && !empty($_REQUEST['dest'])
echo "</tr>\n";
echo "<tr>\n";
echo " <td class='vncellreq'>".$text['label-src-num'].":</td>\n";
echo " <td class='vncellreq'>".$text['label-src-num']."</td>\n";
echo " <td class='vtable' align='left'>\n";
echo " <input name=\"src\" value='$src' class='formfld'>\n";
echo " <br />\n";
@ -291,7 +291,7 @@ if (is_array($_REQUEST) && !empty($_REQUEST['src']) && !empty($_REQUEST['dest'])
echo "</tr>\n";
echo "<tr>\n";
echo " <td class='vncellreq'>".$text['label-dest-num'].":</td>\n";
echo " <td class='vncellreq'>".$text['label-dest-num']."</td>\n";
echo " <td class='vtable' align='left'>\n";
echo " <input name=\"dest\" value='$dest' class='formfld'>\n";
echo " <br />\n";
@ -301,7 +301,7 @@ if (is_array($_REQUEST) && !empty($_REQUEST['src']) && !empty($_REQUEST['dest'])
echo" <tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-auto-answer'].":\n";
echo " ".$text['label-auto-answer']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='auto_answer'>\n";
@ -326,18 +326,18 @@ if (is_array($_REQUEST) && !empty($_REQUEST['src']) && !empty($_REQUEST['dest'])
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-record'].":\n";
echo " ".$text['label-record']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='rec'>\n";
echo " <option value=''></option>\n";
if ($rec == "true") {
if ($rec == "true") {
echo " <option value='true' selected='selected'>".$text['label-true']."</option>\n";
}
else {
echo " <option value='true'>".$text['label-true']."</option>\n";
}
if ($rec == "false") {
if ($rec == "false") {
echo " <option value='false' selected='selected'>".$text['label-false']."</option>\n";
}
else {
@ -351,18 +351,18 @@ if (is_array($_REQUEST) && !empty($_REQUEST['src']) && !empty($_REQUEST['dest'])
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-ringback'].":\n";
echo " ".$text['label-ringback']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='ringback'>\n";
echo " <option value=''></option>\n";
if ($ringback == "us-ring") {
if ($ringback == "us-ring") {
echo " <option value='us-ring' selected='selected'>".$text['opt-usring']."</option>\n";
}
else {
echo " <option value='us-ring'>".$text['opt-usring']."</option>\n";
}
if ($ringback == "fr-ring") {
if ($ringback == "fr-ring") {
echo " <option value='fr-ring' selected='selected'>".$text['opt-frring']."</option>\n";
}
else {
@ -374,25 +374,25 @@ if (is_array($_REQUEST) && !empty($_REQUEST['src']) && !empty($_REQUEST['dest'])
else {
echo " <option value='pt-ring'>".$text['opt-ptring']."</option>\n";
}
if ($ringback == "uk-ring") {
if ($ringback == "uk-ring") {
echo " <option value='uk-ring' selected='selected'>".$text['opt-ukring']."</option>\n";
}
else {
echo " <option value='uk-ring'>".$text['opt-ukring']."</option>\n";
}
if ($ringback == "rs-ring") {
if ($ringback == "rs-ring") {
echo " <option value='rs-ring' selected='selected'>".$text['opt-rsring']."</option>\n";
}
else {
echo " <option value='rs-ring'>".$text['opt-rsring']."</option>\n";
}
if ($ringback == "it-ring") {
if ($ringback == "it-ring") {
echo " <option value='it-ring' selected='selected'>".$text['opt-itring']."</option>\n";
}
else {
echo " <option value='it-ring'>".$text['opt-itring']."</option>\n";
}
if ($ringback == "music") {
if ($ringback == "music") {
echo " <option value='music' selected='selected'>".$text['opt-moh']."</option>\n";
}
else {

View File

@ -329,7 +329,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-name'].":\n";
echo " ".$text['label-name']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='conference_center_name' maxlength='255' value=\"$conference_center_name\">\n";
@ -340,7 +340,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-extension'].":\n";
echo " ".$text['label-extension']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='conference_center_extension' maxlength='255' value=\"$conference_center_extension\">\n";
@ -351,7 +351,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-greeting'].":\n";
echo " ".$text['label-greeting']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
if (if_group("superadmin")) {
@ -458,7 +458,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-pin-length'].":\n";
echo " ".$text['label-pin-length']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='conference_center_pin_length' maxlength='255' value=\"$conference_center_pin_length\">\n";
@ -469,7 +469,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-enabled'].":\n";
echo " ".$text['label-enabled']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='conference_center_enabled'>\n";
@ -493,7 +493,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-description'].":\n";
echo " ".$text['label-description']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='conference_center_description' maxlength='255' value=\"$conference_center_description\">\n";

View File

@ -732,7 +732,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
//echo "<tr>\n";
//echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
//echo " ".$text['label-enter-sound'].":\n";
//echo " ".$text['label-enter-sound']."\n";
//echo "</td>\n";
//echo "<td class='vtable' align='left'>\n";
//echo " <input class='formfld' type='text' name='enter_sound' maxlength='255' value=\"$enter_sound\">\n";

View File

@ -392,7 +392,7 @@ else {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-import_delimiter'].":\n";
echo " ".$text['label-import_delimiter']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' style='width:40px;' name='data_delimiter'>\n";
@ -406,7 +406,7 @@ else {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-import_enclosure'].":\n";
echo " ".$text['label-import_enclosure']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' style='width:40px;' name='data_enclosure'>\n";
@ -420,7 +420,7 @@ else {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-import_file_upload'].":\n";
echo " ".$text['label-import_file_upload']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input name=\"ulfile\" type=\"file\" class=\"formfld fileinput\" id=\"ulfile\">\n";

View File

@ -146,24 +146,24 @@ if (count($_POST)>0) {
echo "<td width='70%' align='right' valign='top'><input type='button' class='btn' name='' alt='back' onclick=\"window.location='rsslist.php'\" value='".$text['button-back']."'><br /><br /></td>\n";
echo "</tr>\n";
//echo " <tr>";
//echo " <td class='vncellreq'>Category:</td>";
//echo " <td class='vncellreq'>Category</td>";
//echo " <td class='vtable'><input type='text' class='formfld' name='rss_category' value='$rss_category'></td>";
//echo " </tr>";
//echo " <tr>";
//echo " <td class='vncellreq' nowrap>Sub Category:</td>";
//echo " <td class='vncellreq' nowrap>Sub Category</td>";
//echo " <td class='vtable'><input type='text' class='formfld' name='rss_sub_category' value='$rss_sub_category'></td>";
//echo " </tr>";
echo " <tr>";
echo " <td width='30%' class='vncellreq' nowrap>Title:</td>";
echo " <td width='30%' class='vncellreq' nowrap>Title</td>";
echo " <td width='70%' class='vtable' width='100%'><input type='text' class='formfld' name='rss_title' value='$rss_title'></td>";
echo " </tr>";
echo " <tr>";
echo " <td class='vncellreq'>Link:</td>";
echo " <td class='vncellreq'>Link</td>";
echo " <td class='vtable'><input type='text' class='formfld' name='rss_link' value='$rss_link'></td>";
echo " </tr>";
echo " <tr>";
echo " <td class='vncellreq'>Group:</td>";
echo " <td class='vncellreq'>Group</td>";
echo " <td class='vtable'>";
//echo " <input type='text' class='formfld' name='menuparentid' value='$menuparentid'>";
@ -224,7 +224,7 @@ if (count($_POST)>0) {
*/
echo " <tr>";
echo " <td class='vncellreq'>Type:</td>";
echo " <td class='vncellreq'>Type</td>";
echo " <td class='vtable'>";
echo " <select name=\"rss_optional_1\" class='formfld'>\n";
if ($rss_optional_1 == "text/html") { echo "<option value=\"text/html\" selected>text/html</option>\n"; }
@ -238,7 +238,7 @@ if (count($_POST)>0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-order'].":\n";
echo " ".$text['label-order']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select name='rss_order' class='formfld'>\n";
@ -276,11 +276,11 @@ if (count($_POST)>0) {
echo " </td>";
echo " </tr>";
//echo " <tr>";
//echo " <td class='vncellreq'>Image:</td>";
//echo " <td class='vncellreq'>Image</td>";
//echo " <td class='vtable'><input type='text' name='rss_img' value='$rss_img'></td>";
//echo " </tr>";
//echo " <tr>";
//echo " <td class='vncellreq'>Priority:</td>";
//echo " <td class='vncellreq'>Priority</td>";
//echo " <td class='vtable'>";
//echo " <input type='text' name='rss_optional_1' value='$rss_optional_1'>";
//echo " <select name=\"rss_optional_1\" class='formfld'>\n";
@ -293,7 +293,7 @@ if (count($_POST)>0) {
//echo " </td>";
//echo " </tr>";
//echo " <tr>";
//echo " <td class='vncellreq'>Status:</td>";
//echo " <td class='vncellreq'>Status</td>";
//echo " <td class='vtable'>";
//echo " <input type='text' name='rss_optional_2' value='$rss_optional_2'>";
//echo " <select name=\"rss_optional_2\" class=\"formfld\">\n";
@ -314,19 +314,19 @@ if (count($_POST)>0) {
//echo " </td>";
//echo " </tr>";
//echo " <tr>";
//echo " <td class='vncellreq'>Optional 3:</td>";
//echo " <td class='vncellreq'>Optional 3</td>";
//echo " <td class='vtable'><input type='text' class='formfld' name='rss_optional_3' value='$rss_optional_3'></td>";
//echo " </tr>";
//echo " <tr>";
//echo " <td class='vncellreq'>Optional 4:</td>";
//echo " <td class='vncellreq'>Optional 4</td>";
//echo " <td class='vtable'><input type='text' class='formfld' name='rss_optional_4' value='$rss_optional_4'></td>";
//echo " </tr>";
//echo " <tr>";
//echo " <td class='vncellreq'>rss_optional_5:</td>";
//echo " <td class='vncellreq'>rss_optional_5</td>";
//echo " <td class='vtable'><input type='text' class='formfld' name='rss_optional_5' value='$rss_optional_5'></td>";
//echo " </tr>";
//echo " <tr>";
//echo " <td class='vncellreq'>rss_add_date:</td>";
//echo " <td class='vncellreq'>rss_add_date</td>";
//echo " <td class='vtable'><input type='text' class='formfld' name='rss_add_date' value='$rss_add_date'></td>";
//echo " </tr>";

View File

@ -208,59 +208,59 @@ if (count($_POST)>0) {
echo "<form method='post' action=''>";
echo "<table>";
echo " <tr>";
echo " <td>Id:</td>";
echo " <td>Id</td>";
echo " <td><input type='text' class='txt' name='rss_uuid'></td>";
echo " </tr>";
echo " <tr>";
echo " <td>".$text['label-category'].":</td>";
echo " <td>".$text['label-category']."</td>";
echo " <td><input type='text' class='txt' name='rss_category'></td>";
echo " </tr>";
//echo " <tr>";
//echo " <td>rss_sub_category:</td>";
//echo " <td>rss_sub_category</td>";
//echo " <td><input type='text' class='txt' name='rss_sub_category'></td>";
//echo " </tr>";
echo " <tr>";
echo " <td>".$text['label-title'].":</td>";
echo " <td>".$text['label-title']."</td>";
echo " <td><input type='text' class='txt' name='rss_title'></td>";
echo " </tr>";
echo " <tr>";
echo " <td>".$text['label-link'].":</td>";
echo " <td>".$text['label-link']."</td>";
echo " <td><input type='text' class='txt' name='rss_link'></td>";
echo " </tr>";
echo " <tr>";
echo " <td>".$text['label-description'].":</td>";
echo " <td>".$text['label-description']."</td>";
echo " <td><input type='text' class='txt' name='rss_description'></td>";
echo " </tr>";
//echo " <tr>";
//echo " <td>Image:</td>";
//echo " <td>Image</td>";
//echo " <td><input type='text' class='txt' name='rss_img'></td>";
//echo " </tr>";
//echo " <tr>";
//echo " <td>rss_optional_1:</td>";
//echo " <td>rss_optional_1</td>";
//echo " <td><input type='text' class='txt' name='rss_optional_1'></td>";
//echo " </tr>";
//echo " <tr>";
//echo " <td>rss_optional_2:</td>";
//echo " <td>rss_optional_2</td>";
//echo " <td><input type='text' class='txt' name='rss_optional_2'></td>";
//echo " </tr>";
//echo " <tr>";
//echo " <td>rss_optional_3:</td>";
//echo " <td>rss_optional_3</td>";
//echo " <td><input type='text' class='txt' name='rss_optional_3'></td>";
//echo " </tr>";
//echo " <tr>";
//echo " <td>rss_optional_4:</td>";
//echo " <td>rss_optional_4</td>";
//echo " <td><input type='text' class='txt' name='rss_optional_4'></td>";
//echo " </tr>";
//echo " <tr>";
//echo " <td>rss_optional_5:</td>";
//echo " <td>rss_optional_5</td>";
//echo " <td><input type='text' class='txt' name='rss_optional_5'></td>";
//echo " </tr>";
//echo " <tr>";
//echo " <td>rss_add_date:</td>";
//echo " <td>rss_add_date</td>";
//echo " <td><input type='text' class='txt' name='rss_add_date'></td>";
//echo " </tr>";
//echo " <tr>";
//echo " <td>rss_add_user:</td>";
//echo " <td>rss_add_user</td>";
//echo " <td><input type='text' class='txt' name='rss_add_user'></td>";
//echo " </tr>";
echo " <tr>";

View File

@ -110,51 +110,51 @@ if (count($_POST)>0) {
echo "<form method='post' action=''>";
echo "<table width='100%'>";
echo " <tr>";
echo " <td nowrap>".$text['label-title'].":</td>";
echo " <td nowrap>".$text['label-title']."</td>";
echo " <td width='100%'><input type='text' class='txt' name='rss_sub_title'></td>";
echo " </tr>";
//echo " <tr>";
//echo " <td>Link:</td>";
//echo " <td>Link</td>";
//echo " <td><input type='text' class='txt' name='rss_sub_link'></td>";
//echo " </tr>";
echo " <tr>";
echo " <td valign='top'>".$text['label-description'].":</td>";
echo " <td valign='top'>".$text['label-description']."</td>";
echo " <td>";
echo " <textarea class='txt' rows='12' name='rss_sub_description'></textarea>";
echo " </td>";
echo " </tr>";
/*
echo " <tr>";
echo " <td>rss_sub_optional_1:</td>";
echo " <td>rss_sub_optional_1</td>";
echo " <td><input type='text' name='rss_sub_optional_1'></td>";
echo " </tr>";
echo " <tr>";
echo " <td>rss_sub_optional_2:</td>";
echo " <td>rss_sub_optional_2</td>";
echo " <td><input type='text' name='rss_sub_optional_2'></td>";
echo " </tr>";
echo " <tr>";
echo " <td>rss_sub_optional_3:</td>";
echo " <td>rss_sub_optional_3</td>";
echo " <td><input type='text' name='rss_sub_optional_3'></td>";
echo " </tr>";
echo " <tr>";
echo " <td>rss_sub_optional_4:</td>";
echo " <td>rss_sub_optional_4</td>";
echo " <td><input type='text' name='rss_sub_optional_4'></td>";
echo " </tr>";
echo " <tr>";
echo " <td>rss_sub_optional_5:</td>";
echo " <td>rss_sub_optional_5</td>";
echo " <td><input type='text' name='rss_sub_optional_5'></td>";
echo " </tr>";
echo " <tr>";
echo " <td>rss_sub_add_date:</td>";
echo " <td>rss_sub_add_date</td>";
echo " <td><input type='text' name='rss_sub_add_date'></td>";
echo " </tr>";
echo " <tr>";
echo " <td>rss_sub_add_user:</td>";
echo " <td>rss_sub_add_user</td>";
echo " <td><input type='text' name='rss_sub_add_user'></td>";
echo " </tr>";
*/
//echo " <tr>";
//echo " <td>example:</td>";
//echo " <td>example</td>";
//echo " <td><textarea name='example'></textarea></td>";
//echo " </tr>"; echo " <tr>";
echo " <td colspan='2' align='right'>";

View File

@ -86,23 +86,23 @@ echo " <br>";
echo "<form method='post' action=''>";
echo "<table>";
echo " <tr>";
echo " <td>".$text['label-rss-category'].":</td>";
echo " <td>".$text['label-rss-category']."</td>";
echo " <td><input type='text' name='rss_category'></td>";
echo " </tr>";
echo " <tr>";
echo " <td>rss_sub_category:</td>";
echo " <td>rss_sub_category</td>";
echo " <td><input type='text' name='rss_sub_category'></td>";
echo " </tr>";
echo " <tr>";
echo " <td>rss_sub_category_description:</td>";
echo " <td>rss_sub_category_description</td>";
echo " <td><input type='text' name='rss_sub_category_description'></td>";
echo " </tr>";
echo " <tr>";
echo " <td>rss_add_user:</td>";
echo " <td>rss_add_user</td>";
echo " <td><input type='text' name='rss_add_user'></td>";
echo " </tr>";
echo " <tr>";
echo " <td>rss_add_date:</td>";
echo " <td>rss_add_date</td>";
echo " <td><input type='text' name='rss_add_date'></td>";
echo " </tr>\n";
echo " <tr>";

View File

@ -97,23 +97,23 @@ echo " <br>";
echo "<form method='post' action=''>";
echo "<table>";
echo " <tr>";
echo " <td>rss_category:</td>";
echo " <td>rss_category</td>";
echo " <td><input type='text' name='rss_category' value='$rss_category'></td>";
echo " </tr>";
echo " <tr>";
echo " <td>rss_sub_category:</td>";
echo " <td>rss_sub_category</td>";
echo " <td><input type='text' name='rss_sub_category' value='$rss_sub_category'></td>";
echo " </tr>";
echo " <tr>";
echo " <td>rss_sub_category_description:</td>";
echo " <td>rss_sub_category_description</td>";
echo " <td><input type='text' name='rss_sub_category_description' value='$rss_sub_category_description'></td>";
echo " </tr>";
echo " <tr>";
echo " <td>rss_add_user:</td>";
echo " <td>rss_add_user</td>";
echo " <td><input type='text' name='rss_add_user' value='$rss_add_user'></td>";
echo " </tr>";
echo " <tr>";
echo " <td>rss_add_date:</td>";
echo " <td>rss_add_date</td>";
echo " <td><input type='text' name='rss_add_date' value='$rss_add_date'></td>";
echo " </tr>";
echo " <tr>";

View File

@ -198,51 +198,51 @@ if (count($_POST)>0) {
echo "<form method='post' action=''>";
echo "<table>";
echo " <tr>";
echo " <td>".$text['label-sub-id'].":</td>";
echo " <td>".$text['label-sub-id']."</td>";
echo " <td><input type='text' class='txt' name='rss_sub_uuid'></td>";
echo " </tr>";
echo " <tr>";
echo " <td>".$text['label-id'].":</td>";
echo " <td>".$text['label-id']."</td>";
echo " <td><input type='text' class='txt' name='rss_uuid'></td>";
echo " </tr>";
echo " <tr>";
echo " <td>".$text['label-sub-title'].":</td>";
echo " <td>".$text['label-sub-title']."</td>";
echo " <td><input type='text' class='txt' name='rss_sub_title'></td>";
echo " </tr>";
echo " <tr>";
echo " <td>".$text['label-sub-link'].":</td>";
echo " <td>".$text['label-sub-link']."</td>";
echo " <td><input type='text' class='txt' name='rss_sub_link'></td>";
echo " </tr>";
echo " <tr>";
echo " <td>".$text['label-sub-desc'].":</td>";
echo " <td>".$text['label-sub-desc']."</td>";
echo " <td><input type='text' class='txt' name='rss_sub_description'></td>";
echo " </tr>";
//echo " <tr>";
//echo " <td>rss_sub_optional_1:</td>";
//echo " <td>rss_sub_optional_1</td>";
//echo " <td><input type='text' class='txt' name='rss_sub_optional_1'></td>";
//echo " </tr>";
//echo " <tr>";
//echo " <td>rss_sub_optional_2:</td>";
//echo " <td>rss_sub_optional_2</td>";
//echo " <td><input type='text' class='txt' name='rss_sub_optional_2'></td>";
//echo " </tr>";
//echo " <tr>";
//echo " <td>rss_sub_optional_3:</td>";
//echo " <td>rss_sub_optional_3</td>";
//echo " <td><input type='text' class='txt' name='rss_sub_optional_3'></td>";
//echo " </tr>";
//echo " <tr>";
//echo " <td>rss_sub_optional_4:</td>";
//echo " <td>rss_sub_optional_4</td>";
//echo " <td><input type='text' class='txt' name='rss_sub_optional_4'></td>";
//echo " </tr>";
//echo " <tr>";
//echo " <td>rss_sub_optional_5:</td>";
//echo " <td>rss_sub_optional_5</td>";
//echo " <td><input type='text' class='txt' name='rss_sub_optional_5'></td>";
//echo " </tr>";
//echo " <tr>";
//echo " <td>rss_sub_add_date:</td>";
//echo " <td>rss_sub_add_date</td>";
//echo " <td><input type='text' class='txt' name='rss_sub_add_date'></td>";
//echo " </tr>";
//echo " <tr>";
//echo " <td>rss_sub_add_user:</td>";
//echo " <td>rss_sub_add_user</td>";
//echo " <td><input type='text' class='txt' name='rss_sub_add_user'></td>";
//echo " </tr>";
echo " <tr>";

View File

@ -147,41 +147,41 @@ else {
echo "<form method='post' action=''>";
echo "<table width='100%'>";
//echo " <tr>";
//echo " <td>rss_uuid:</td>";
//echo " <td>rss_uuid</td>";
//echo " <td><input type='text' name='rss_uuid' class='txt' value='$rss_uuid'></td>";
//echo " </tr>";
echo " <tr>";
echo " <td nowrap>".$text['label-sub-title'].":</td>";
echo " <td nowrap>".$text['label-sub-title']."</td>";
echo " <td width='100%'><input type='text' name='rss_sub_title' class='txt' value='$rss_sub_title'></td>";
echo " </tr>";
echo " <tr>";
echo " <td>".$text['label-sub-link'].":</td>";
echo " <td>".$text['label-sub-link']."</td>";
echo " <td><input type='text' name='rss_sub_link' class='txt' value='$rss_sub_link'></td>";
echo " </tr>";
echo " <tr>";
echo " <td valign='top'>".$text['label-description'].":</td>";
echo " <td valign='top'>".$text['label-description']."</td>";
echo " <td>";
echo " <textarea name='rss_sub_description' rows='12' class='txt'>$rss_sub_description</textarea>";
echo " </td>";
echo " </tr>";
//echo " <tr>";
//echo " <td>rss_sub_optional_1:</td>";
//echo " <td>rss_sub_optional_1</td>";
//echo " <td><input type='text' name='rss_sub_optional_1' value='$rss_sub_optional_1'></td>";
//echo " </tr>";
//echo " <tr>";
//echo " <td>rss_sub_optional_2:</td>";
//echo " <td>rss_sub_optional_2</td>";
//echo " <td><input type='text' name='rss_sub_optional_2' value='$rss_sub_optional_2'></td>";
//echo " </tr>";
//echo " <tr>";
//echo " <td>rss_sub_optional_3:</td>";
//echo " <td>rss_sub_optional_3</td>";
//echo " <td><input type='text' name='rss_sub_optional_3' value='$rss_sub_optional_3'></td>";
//echo " </tr>";
//echo " <tr>";
//echo " <td>rss_sub_optional_4:</td>";
//echo " <td>rss_sub_optional_4</td>";
//echo " <td><input type='text' name='rss_sub_optional_4' value='$rss_sub_optional_4'></td>";
//echo " </tr>";
//echo " <tr>";
//echo " <td>rss_sub_optional_5:</td>";
//echo " <td>rss_sub_optional_5</td>";
//echo " <td><input type='text' name='rss_sub_optional_5' value='$rss_sub_optional_5'></td>";
//echo " </tr>";

View File

@ -176,24 +176,24 @@ else {
echo "</tr>\n";
//echo " <tr>";
//echo " <td class='vncellreq'>Category:</td>";
//echo " <td class='vncellreq'>Category</td>";
//echo " <td class='vtable'><input type='text' class='formfld' name='rss_category' value='$rss_category'></td>";
//echo " </tr>";
//echo " <tr>";
//echo " <td class='vncellreq' nowrap>Sub Category:</td>";
//echo " <td class='vncellreq' nowrap>Sub Category</td>";
//echo " <td class='vtable'><input type='text' class='formfld' name='rss_sub_category' value='$rss_sub_category'></td>";
//echo " </tr>";
echo " <tr>";
echo " <td width='30%' class='vncellreq' nowrap>".$text['label-title'].":</td>";
echo " <td width='30%' class='vncellreq' nowrap>".$text['label-title']."</td>";
echo " <td width='70%' class='vtable' width='100%'><input type='text' class='formfld' name='rss_title' value='$rss_title'></td>";
echo " </tr>";
echo " <tr>";
echo " <td class='vncellreq'>".$text['label-link'].":</td>";
echo " <td class='vncellreq'>".$text['label-link']."</td>";
echo " <td class='vtable'><input type='text' class='formfld' name='rss_link' value='$rss_link'></td>";
echo " </tr>";
echo " <tr>";
echo " <td class='vncellreq'>".$text['label-group'].":</td>";
echo " <td class='vncellreq'>".$text['label-group']."</td>";
echo " <td class='vtable'>";
//echo " <input type='text' class='formfld' name='menuparentid' value='$menuparentid'>";
@ -254,7 +254,7 @@ else {
*/
echo " <tr>";
echo " <td class='vncellreq'>".$text['label-type'].":</td>";
echo " <td class='vncellreq'>".$text['label-type']."</td>";
echo " <td class='vtable'>";
echo " <select name=\"rss_optional_1\" class='formfld'>\n";
if ($rss_optional_1 == "text/html") { echo "<option value=\"text/html\" selected>text/html</option>\n"; }
@ -268,7 +268,7 @@ else {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-order'].":\n";
echo " ".$text['label-order']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select name='rss_order' class='formfld'>\n";
@ -310,11 +310,11 @@ else {
echo " </tr>";
//echo " <tr>";
//echo " <td class='vncellreq'>Image:</td>";
//echo " <td class='vncellreq'>Image</td>";
//echo " <td class='vtable'><input type='text' name='rss_img' value='$rss_img'></td>";
//echo " </tr>";
//echo " <tr>";
//echo " <td class='vncellreq'>Priority:</td>";
//echo " <td class='vncellreq'>Priority</td>";
//echo " <td class='vtable'>";
//echo " <input type='text' name='rss_optional_1' value='$rss_optional_1'>";
//echo " <select name=\"rss_optional_1\" class='formfld'>\n";
@ -327,7 +327,7 @@ else {
//echo " </td>";
//echo " </tr>";
//echo " <tr>";
//echo " <td class='vncellreq'>Status:</td>";
//echo " <td class='vncellreq'>Status</td>";
//echo " <td class='vtable'>";
//echo " <input type='text' name='rss_optional_2' value='$rss_optional_2'>";
//echo " <select name=\"rss_optional_2\" class=\"formfld\">\n";
@ -348,19 +348,19 @@ else {
//echo " </td>";
//echo " </tr>";
//echo " <tr>";
//echo " <td class='vncellreq'>Optional 3:</td>";
//echo " <td class='vncellreq'>Optional 3</td>";
//echo " <td class='vtable'><input type='text' class='formfld' name='rss_optional_3' value='$rss_optional_3'></td>";
//echo " </tr>";
//echo " <tr>";
//echo " <td class='vncellreq'>Optional 4:</td>";
//echo " <td class='vncellreq'>Optional 4</td>";
//echo " <td class='vtable'><input type='text' class='formfld' name='rss_optional_4' value='$rss_optional_4'></td>";
//echo " </tr>";
//echo " <tr>";
//echo " <td class='vncellreq'>rss_optional_5:</td>";
//echo " <td class='vncellreq'>rss_optional_5</td>";
//echo " <td class='vtable'><input type='text' class='formfld' name='rss_optional_5' value='$rss_optional_5'></td>";
//echo " </tr>";
//echo " <tr>";
//echo " <td class='vncellreq'>rss_add_date:</td>";
//echo " <td class='vncellreq'>rss_add_date</td>";
//echo " <td class='vtable'><input type='text' class='formfld' name='rss_add_date' value='$rss_add_date'></td>";
//echo " </tr>";

View File

@ -532,7 +532,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-destination_type'].":\n";
echo " ".$text['label-destination_type']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='destination_type'>\n";
@ -551,7 +551,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-destination_number'].":\n";
echo " ".$text['label-destination_number']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='destination_number' maxlength='255' value=\"$destination_number\" required='required'>\n";
@ -563,7 +563,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
if (permission_exists('outbound_caller_id_select')) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-destination_caller_id_name'].":\n";
echo " ".$text['label-destination_caller_id_name']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='destination_caller_id_name' maxlength='255' value=\"$destination_caller_id_name\">\n";
@ -574,7 +574,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-destination_caller_id_number'].":\n";
echo " ".$text['label-destination_caller_id_number']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='number' name='destination_caller_id_number' maxlength='255' min='0' step='1' value=\"$destination_caller_id_number\">\n";
@ -586,7 +586,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-destination_context'].":\n";
echo " ".$text['label-destination_context']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='destination_context' maxlength='255' value=\"$destination_context\">\n";
@ -597,7 +597,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-detail_action'].":\n";
echo " ".$text['label-detail_action']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
@ -644,7 +644,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
if (file_exists($_SERVER['DOCUMENT_ROOT'].PROJECT_PATH."/app/fax/app_config.php")){
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-fax_uuid'].":\n";
echo " ".$text['label-fax_uuid']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
$sql = "select * from v_fax ";
@ -673,7 +673,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-destination_cid_name_prefix'].":\n";
echo " ".$text['label-destination_cid_name_prefix']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='destination_cid_name_prefix' maxlength='255' value=\"$destination_cid_name_prefix\">\n";
@ -686,7 +686,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
if (file_exists($_SERVER['DOCUMENT_ROOT'].PROJECT_PATH."/app/billing/app_config.php")){
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-monthly_price'].":\n";
echo " ".$text['label-monthly_price']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='number' min='0' step='0.01' name='destination_sell' maxlength='255' value=\"$destination_sell\">\n";
@ -698,7 +698,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-monthly_price_buy'].":\n";
echo " ".$text['label-monthly_price_buy']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='number' min='0' step='0.01' name='destination_buy' maxlength='255' value=\"$destination_buy\">\n";
@ -710,7 +710,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-carrier'].":\n";
echo " ".$text['label-carrier']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='destination_carrier' maxlength='255' value=\"$destination_carrier\">\n";
@ -724,7 +724,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-account_code'].":\n";
echo " ".$text['label-account_code']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='destination_accountcode' maxlength='255' value=\"$destination_accountcode\">\n";
@ -738,7 +738,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
if (permission_exists('destination_domain')) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-domain'].":\n";
echo " ".$text['label-domain']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='domain_uuid'>\n";
@ -765,7 +765,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-destination_enabled'].":\n";
echo " ".$text['label-destination_enabled']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='destination_enabled'>\n";
@ -784,7 +784,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-destination_description'].":\n";
echo " ".$text['label-destination_description']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='destination_description' maxlength='255' value=\"$destination_description\">\n";

View File

@ -191,7 +191,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-device_key_category'].":\n";
echo " ".$text['label-device_key_category']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='device_key_category'>\n";
@ -228,7 +228,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-device_key_id'].": \n";
echo " ".$text['label-device_key_id']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='device_key_id'>\n";
@ -349,7 +349,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-device_key_line'].": \n";
echo " ".$text['label-device_key_line']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='device_key_line'>\n";
@ -440,7 +440,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-device_key_type'].":\n";
echo " ".$text['label-device_key_type']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
?>
@ -520,7 +520,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-device_key_value'].":\n";
echo " ".$text['label-device_key_value']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='device_key_value' maxlength='255' value=\"$device_key_value\">\n";
@ -531,7 +531,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-device_key_extension'].":\n";
echo " ".$text['label-device_key_extension']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='device_key_extension' maxlength='255' value=\"$device_key_extension\">\n";
@ -542,7 +542,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-device_key_label'].":\n";
echo " ".$text['label-device_key_label']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='device_key_label' maxlength='255' value=\"$device_key_label\">\n";

View File

@ -219,7 +219,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-line_number'].":\n";
echo " ".$text['label-line_number']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' style='width: 45px;' name='line_number'>\n";
@ -245,7 +245,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-server_address'].":\n";
echo " ".$text['label-server_address']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='server_address' maxlength='255' value=\"$server_address\">\n";
@ -256,7 +256,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-outbound_proxy'].":\n";
echo " ".$text['label-outbound_proxy']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='outbound_proxy' maxlength='255' value=\"$outbound_proxy\">\n";
@ -267,7 +267,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-display_name'].":\n";
echo " ".$text['label-display_name']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='display_name' maxlength='255' value=\"$display_name\">\n";
@ -278,7 +278,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-user_id'].":\n";
echo " ".$text['label-user_id']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='user_id' maxlength='255' value=\"$user_id\">\n";
@ -289,7 +289,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-auth_id'].":\n";
echo " ".$text['label-auth_id']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='auth_id' maxlength='255' value=\"$auth_id\">\n";
@ -300,7 +300,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-password'].":\n";
echo " ".$text['label-password']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='password' name='password' onmouseover=\"this.type='text';\" onfocus=\"this.type='text';\" onmouseout=\"if (!$(this).is(':focus')) { this.type='password'; }\" onblur=\"this.type='password';\" maxlength='255' value=\"$password\">\n";
@ -311,7 +311,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-sip_port'].":\n";
echo " ".$text['label-sip_port']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='sip_port' maxlength='255' value=\"$sip_port\">\n";
@ -322,7 +322,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-sip_transport'].":\n";
echo " ".$text['label-sip_transport']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='sip_transport' maxlength='255' value=\"$sip_transport\">\n";
@ -333,7 +333,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-register_expires'].":\n";
echo " ".$text['label-register_expires']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='register_expires' maxlength='255' value=\"$register_expires\">\n";

View File

@ -201,7 +201,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-category'].":\n";
echo " ".$text['label-category']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='device_setting_category' maxlength='255' value=\"$device_setting_category\">\n";
@ -212,7 +212,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-subcategory'].":\n";
echo " ".$text['label-subcategory']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='device_setting_subcategory' maxlength='255' value=\"$device_setting_subcategory\">\n";
@ -223,7 +223,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-type'].":\n";
echo " ".$text['label-type']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='device_setting_name' maxlength='255' value=\"$device_setting_name\">\n";
@ -234,7 +234,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-value'].":\n";
echo " ".$text['label-value']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='device_setting_value' maxlength='255' value=\"$device_setting_value\">\n";
@ -245,7 +245,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-enabled'].":\n";
echo " ".$text['label-enabled']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='device_setting_enabled'>\n";
@ -270,7 +270,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-description'].":\n";
echo " ".$text['label-description']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='device_setting_description' maxlength='255' value=\"$device_setting_description\">\n";

View File

@ -322,7 +322,7 @@ echo "<table width='100%' border='0' cellpadding='6' cellspacing='0'>\n";
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-name'].":\n";
echo " ".$text['label-name']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' style='width: 60%;' type='text' name='dialplan_name' maxlength='255' value=\"$dialplan_name\">\n";
@ -333,7 +333,7 @@ echo "</tr>\n";
//echo "<tr>\n";
//echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
//echo " Continue:\n";
//echo " Continue\n";
//echo "</td>\n";
//echo "<td class='vtable' align='left'>\n";
//echo " <select class='formfld' name='dialplan_continue' style='width: 60%;'>\n";
@ -358,7 +358,7 @@ echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-condition_1'].":\n";
echo " ".$text['label-condition_1']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
?>
@ -394,10 +394,10 @@ function Replace_condition_field_1(obj){
}
</script>
<?php
echo " <table style='width: 60%;' border='0'>\n";
echo " <table width='70%' border='0'>\n";
echo " <tr>\n";
echo " <td style='width: 62px;'>".$text['label-field'].":</td>\n";
echo " <td style='width: 35%;' nowrap='nowrap'>\n";
echo " <td nowrap='nowrap'>".$text['label-field']."</td>\n";
echo " <td style='width: 50%;' nowrap='nowrap'>\n";
echo " <select class='formfld' name='condition_field_1' id='condition_field_1' onchange='changeToInput_condition_field_1(this);this.style.visibility = \"hidden\";' style='width:85%'>\n";
echo " <option value=''></option>\n";
if (strlen($condition_field_1) > 0) {
@ -434,8 +434,8 @@ echo " </select>\n";
echo " <input type='button' id='btn_select_to_input_condition_field_1' class='btn' name='' alt='".$text['button-back']."' onclick='changeToInput_condition_field_1(document.getElementById(\"condition_field_1\"));this.style.visibility = \"hidden\";' value='&#9665;'>\n";
echo " <br />\n";
echo " </td>\n";
echo " <td style='width: 73px;'>&nbsp; ".$text['label-expression'].":</td>\n";
echo " <td>\n";
echo " <td>&nbsp;&nbsp;&nbsp;".$text['label-expression']."</td>\n";
echo " <td width='50%'>\n";
echo " <input class='formfld' type='text' name='condition_expression_1' maxlength='255' style='width:100%' value=\"$condition_expression_1\">\n";
echo " </td>\n";
echo " </tr>\n";
@ -446,16 +446,14 @@ echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-condition_2'].":\n";
echo " ".$text['label-condition_2']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <table style='width: 60%;' border='0'>\n";
echo " <table width='70%' border='0'>\n";
echo " <tr>\n";
echo " <td align='left' style='width: 62px;'>\n";
echo " ".$text['label-field'].":\n";
echo " </td>\n";
echo " <td style='width: 35%;' align='left' nowrap='nowrap'>\n";
echo " <td align='left'>".$text['label-field']."</td>\n";
echo " <td style='width: 50%;' nowrap='nowrap'>\n";
?>
<script>
var Objs;
@ -525,10 +523,9 @@ echo " </select>\n";
echo " <input type='button' id='btn_select_to_input_condition_field_2' class='btn' name='' alt='".$text['button-back']."' onclick='changeToInput_condition_field_2(document.getElementById(\"condition_field_2\"));this.style.visibility = \"hidden\";' value='&#9665;'>\n";
echo " <br />\n";
echo " </td>\n";
echo " <td style='width: 73px;' align='left'>\n";
echo " &nbsp; ".$text['label-expression'].":\n";
echo " <td>&nbsp;&nbsp;&nbsp;".$text['label-expression']."\n";
echo " </td>\n";
echo " <td>\n";
echo " <td width='50%'>\n";
echo " <input class='formfld' type='text' name='condition_expression_2' maxlength='255' style='width:100%' value=\"$condition_expression_2\">\n";
echo " </td>\n";
echo " </tr>\n";
@ -539,7 +536,7 @@ echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-action_1'].":\n";
echo " ".$text['label-action_1']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
@ -554,7 +551,7 @@ echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-action_2'].":\n";
echo " ".$text['label-action_2']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
@ -566,7 +563,7 @@ echo "</tr>\n";
echo "<tr>\n";
echo " <td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-context'].":\n";
echo " ".$text['label-context']."\n";
echo " </td>\n";
echo " <td colspan='4' class='vtable' align='left'>\n";
echo " <input class='formfld' style='width: 60%;' type='text' name='dialplan_context' maxlength='255' value=\"$dialplan_context\">\n";
@ -576,7 +573,7 @@ echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-order'].":\n";
echo " ".$text['label-order']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select name='dialplan_order' class='formfld'>\n";
@ -596,7 +593,7 @@ echo "</tr>\n";
echo "<tr>\n";
echo " <td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-enabled'].":\n";
echo " ".$text['label-enabled']."\n";
echo " </td>\n";
echo " <td class='vtable' align='left'>\n";
echo " <select class='formfld' name='dialplan_enabled'>\n";
@ -619,7 +616,7 @@ echo "</tr>\n";
echo "<tr>\n";
echo " <td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-description'].":\n";
echo " ".$text['label-description']."\n";
echo " </td>\n";
echo " <td colspan='4' class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='dialplan_description' maxlength='255' value=\"$dialplan_description\">\n";

View File

@ -234,7 +234,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-tag'].":\n";
echo " ".$text['label-tag']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select name='dialplan_detail_tag' class='formfld' id='form_tag'>\n";
@ -253,7 +253,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-order'].":\n";
echo " ".$text['label-order']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select name='dialplan_detail_order' class='formfld'>\n";
@ -314,7 +314,7 @@ function replace_param(obj){
<?php
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-type'].":\n";
echo " ".$text['label-type']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo "<select name='dialplan_detail_type' id='dialplan_detail_type' class='formfld' onchange='change_to_input(this);'>\n";
@ -376,7 +376,7 @@ function replace_param(obj){
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-data'].":\n";
echo " ".$text['label-data']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='dialplan_detail_data' value=\"".htmlspecialchars($dialplan_detail_data)."\">\n";
@ -387,7 +387,7 @@ function replace_param(obj){
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-group'].":\n";
echo " ".$text['label-group']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select name='dialplan_detail_group' class='formfld'>\n";
@ -410,7 +410,7 @@ function replace_param(obj){
if ($dialplan_detail_tag == "condition") {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-break'].":\n";
echo " ".$text['label-break']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select name='dialplan_detail_break' class='formfld'>\n";
@ -449,7 +449,7 @@ function replace_param(obj){
if ($dialplan_detail_tag == "action") {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-inline'].":\n";
echo " ".$text['label-inline']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select name='dialplan_detail_inline' class='formfld'>\n";

View File

@ -418,7 +418,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
if (permission_exists('dialplan_domain')) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-domain'].":\n";
echo " ".$text['label-domain']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='domain_uuid'>\n";

View File

@ -784,7 +784,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<table width='100%' border='0' cellpadding='6' cellspacing='0'>\n";
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-name'].":\n";
echo " ".$text['label-name']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='dialplan_name' maxlength='255' value=\"$dialplan_name\">\n";
@ -796,7 +796,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
if (permission_exists("inbound_route_edit") && $action == "advanced" && permission_exists("inbound_route_advanced")) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-condition_1'].":\n";
echo " ".$text['label-condition_1']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
?>
@ -832,10 +832,10 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
}
</script>
<?php
echo " <table border='0'>\n";
echo " <table width='70%' border='0'>\n";
echo " <tr>\n";
echo " <td style='width: 62px;'>".$text['label-field'].":</td>\n";
echo " <td style='width: 35%;' nowrap='nowrap'>\n";
echo " <td>".$text['label-field']."</td>\n";
echo " <td width='50%' nowrap='nowrap'>\n";
echo " <select class='formfld' name='condition_field_1' id='condition_field_1' onchange='changeToInput_condition_field_1(this);this.style.visibility = \"hidden\";' style='width:85%'>\n";
echo " <option value=''></option>\n";
@ -859,8 +859,8 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo " <input type='button' id='btn_select_to_input_condition_field_1' class='btn' name='' alt='".$text['button-back']."' onclick='changeToInput_condition_field_1(document.getElementById(\"condition_field_1\"));this.style.visibility = \"hidden\";' value='&#9665;'>\n";
echo " <br />\n";
echo " </td>\n";
echo " <td style='width: 73px;'>&nbsp; ".$text['label-expression'].":</td>\n";
echo " <td>\n";
echo " <td>&nbsp;&nbsp;&nbsp;".$text['label-expression']."</td>\n";
echo " <td width='50%'>\n";
echo " <input class='formfld' type='text' name='condition_expression_1' maxlength='255' style='width:100%' value=\"$condition_expression_1\">\n";
echo " </td>\n";
echo " </tr>\n";
@ -871,16 +871,14 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-condition_2'].":\n";
echo " ".$text['label-condition_2']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <table border='0'>\n";
echo " <table width='70%' border='0'>\n";
echo " <tr>\n";
echo " <td align='left' style='width: 62px;'>\n";
echo " ".$text['label-field'].":\n";
echo " </td>\n";
echo " <td style='width: 35%;' align='left' nowrap='nowrap'>\n";
echo " <td align='left'>".$text['label-field']."</td>\n";
echo " <td width='50%' align='left' nowrap='nowrap'>\n";
?>
<script>
var Objs;
@ -936,10 +934,9 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo " <input type='button' id='btn_select_to_input_condition_field_2' class='btn' name='' alt='".$text['button-back']."' onclick='changeToInput_condition_field_2(document.getElementById(\"condition_field_2\"));this.style.visibility = \"hidden\";' value='&#9665;'>\n";
echo " <br />\n";
echo " </td>\n";
echo " <td style='width: 73px;' align='left'>\n";
echo " &nbsp; ".$text['label-expression'].":\n";
echo " <td align='left'>&nbsp;&nbsp;&nbsp;".$text['label-expression']."\n";
echo " </td>\n";
echo " <td>\n";
echo " <td width='50%'>\n";
echo " <input class='formfld' type='text' name='condition_expression_2' maxlength='255' style='width:100%' value=\"$condition_expression_2\">\n";
echo " </td>\n";
echo " </tr>\n";
@ -951,7 +948,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
else {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-destination-number'].":\n";
echo " ".$text['label-destination-number']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
@ -989,10 +986,10 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
if (permission_exists("inbound_route_edit") && $action=="advanced") {
echo " ".$text['label-action_1'].":\n";
echo " ".$text['label-action_1']."\n";
}
else {
echo " ".$text['label-action'].":\n";
echo " ".$text['label-action']."\n";
}
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
@ -1009,7 +1006,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
if (permission_exists("inbound_route_edit") && $action=="advanced") {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-action_2'].":\n";
echo " ".$text['label-action_2']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
@ -1022,7 +1019,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-limit'].":\n";
echo " ".$text['label-limit']."\n";
echo "</td>\n";
echo "<td colspan='4' class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='limit' maxlength='255' value=\"$limit\">\n";
@ -1033,7 +1030,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-redial-outbound-prefix'].":\n";
echo " ".$text['label-redial-outbound-prefix']."\n";
echo "</td>\n";
echo "<td colspan='4' class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='redial_outbound_prefix' maxlength='255' value=\"$limit\">\n";
@ -1045,7 +1042,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-order'].":\n";
echo " ".$text['label-order']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select name='public_order' class='formfld'>\n";
@ -1067,7 +1064,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-enabled'].":\n";
echo " ".$text['label-enabled']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='dialplan_enabled'>\n";
@ -1091,7 +1088,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-description'].":\n";
echo " ".$text['label-description']."\n";
echo "</td>\n";
echo "<td colspan='4' class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='dialplan_description' maxlength='255' value=\"$dialplan_description\">\n";

View File

@ -482,7 +482,7 @@ else {
$dialplan_detail_inline = 'true';
dialplan_detail_add($_SESSION['domain_uuid'], $dialplan_uuid, $dialplan_detail_tag, $dialplan_detail_order, $dialplan_detail_group, $dialplan_detail_type, $dialplan_detail_data, $dialplan_detail_break, $dialplan_detail_inline);
}
if ($toll_allow_enable == "true") {
$dialplan_detail_tag = 'action'; //condition, action, antiaction
$dialplan_detail_type = 'lua';
@ -611,7 +611,7 @@ function type_onchange(dialplan_detail_type) {
echo "<table width='100%' border='0' cellpadding='6' cellspacing='0'>\n";
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-gateway'].":\n";
echo " ".$text['label-gateway']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
@ -718,7 +718,7 @@ function type_onchange(dialplan_detail_type) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-alt1'].":\n";
echo " ".$text['label-alt1']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
@ -778,7 +778,7 @@ function type_onchange(dialplan_detail_type) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-alt2'].":\n";
echo " ".$text['label-alt2']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
@ -837,20 +837,20 @@ function type_onchange(dialplan_detail_type) {
echo "<tr>\n";
echo " <td valign=\"top\" class=\"vncellreq\">".$text['label-dialplan-expression'].":</td>\n";
echo " <td valign=\"top\" class=\"vncellreq\">".$text['label-dialplan-expression']."</td>\n";
echo " <td align='left' class=\"vtable\">";
echo " <div id=\"dialplan_expression_box\" >\n";
echo " <textarea name=\"dialplan_expression\" id=\"dialplan_expression\" class=\"formfld\" style='width: 60%;' cols=\"30\" rows=\"4\" wrap=\"off\"></textarea>\n";
echo " <br>\n";
echo " </div>\n";
echo " <div id=\"enter_custom_outbound_prefix_box\" style=\"display:none\">\n";
echo " <input class='formfld' style='width: 10%;' type='text' name='custom-outbound-prefix' id=\"outbound_prefix\" maxlength='255'>\n";
echo " <input type='button' class='btn' name='' onclick=\"update_outbound_prefix()\" value='".$text['button-add']."'>\n";
echo " <br />".$text['description-enter-custom-outbound-prefix'].".\n";
echo " </div>\n";
echo " <select name='dialplan_expression_select' id='dialplan_expression_select' onchange=\"update_dialplan_expression()\" class='formfld' style='width: 60%;'>\n";
echo " <option></option>\n";
echo " <option value='^(\\d{2})\$'>".$text['label-2d']."</option>\n";
@ -892,7 +892,7 @@ function type_onchange(dialplan_detail_type) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-prefix'].":\n";
echo " ".$text['label-prefix']."\n";
echo "</td>\n";
echo "<td colspan='4' class='vtable' align='left'>\n";
echo " <input class='formfld' style='width: 60%;' type='text' name='prefix_number' maxlength='255' value=\"$prefix_number\">\n";
@ -903,7 +903,7 @@ function type_onchange(dialplan_detail_type) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-limit'].":\n";
echo " ".$text['label-limit']."\n";
echo "</td>\n";
echo "<td colspan='4' class='vtable' align='left'>\n";
echo " <input class='formfld' style='width: 60%;' type='text' name='limit' maxlength='255' value=\"$limit\">\n";
@ -914,7 +914,7 @@ function type_onchange(dialplan_detail_type) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-accountcode'].":\n";
echo " ".$text['label-accountcode']."\n";
echo "</td>\n";
echo "<td colspan='4' class='vtable' align='left'>\n";
echo " <input class='formfld' style='width: 60%;' type='text' name='accountcode' maxlength='255' value=\"$accountcode\">\n";
@ -925,7 +925,7 @@ function type_onchange(dialplan_detail_type) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-toll_allow'].":\n";
echo " ".$text['label-toll_allow']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='toll_allow_enabled' style='width: 60%;'>\n";
@ -936,10 +936,10 @@ function type_onchange(dialplan_detail_type) {
echo $text['description-enable-toll_allow']."\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-order'].":\n";
echo " ".$text['label-order']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select name='dialplan_order' class='formfld' style='width: 60%;'>\n";
@ -962,7 +962,7 @@ function type_onchange(dialplan_detail_type) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-enabled'].":\n";
echo " ".$text['label-enabled']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='dialplan_enabled' style='width: 60%;'>\n";
@ -987,7 +987,7 @@ function type_onchange(dialplan_detail_type) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-description'].":\n";
echo " ".$text['label-description']."\n";
echo "</td>\n";
echo "<td colspan='4' class='vtable' align='left'>\n";
echo " <input class='formfld' style='width: 60%;' type='text' name='dialplan_description' maxlength='255' value=\"$dialplan_description\">\n";

View File

@ -90,7 +90,7 @@ if (count($_POST)>0) {
echo "<form method='post' action=''>";
echo "<table width='100%' border='0'>";
echo " <tr>";
echo " <td>Name:</td>";
echo " <td>Name</td>";
echo " <td><input type='text' class='txt' name='clip_name'></td>";
echo " </tr>";

View File

@ -141,27 +141,27 @@ else {
echo "<form method='post' action=''>";
echo "<table>";
echo " <tr>";
echo " <td>Name:</td>";
echo " <td>Name</td>";
echo " <td><input type='text' class='txt' name='clip_name'></td>";
echo " </tr>";
echo " <tr>";
echo " <td>Folder:</td>";
echo " <td>Folder</td>";
echo " <td><input type='text' class='txt' name='clip_folder'></td>";
echo " </tr>";
echo " <tr>";
echo " <td>Start:</td>";
echo " <td>Start</td>";
echo " <td><input type='text' class='txt' name='clip_text_start'></td>";
echo " </tr>";
echo " <tr>";
echo " <td>End:</td>";
echo " <td>End</td>";
echo " <td><input type='text' class='txt' name='clip_text_end'></td>";
echo " </tr>";
echo " <tr>";
echo " <td>Desc:</td>";
echo " <td>Desc</td>";
echo " <td><input type='text' class='txt' name='clip_desc'></td>";
echo " </tr>";
//echo " <tr>";
//echo " <td>clip_order:</td>";
//echo " <td>clip_order</td>";
//echo " <td><input type='text' class='txt' name='clip_order'></td>";
//echo " </tr>";
echo " <tr>";

View File

@ -97,29 +97,29 @@ else {
echo "<form method='post' action=''>";
echo "<table border='0' width='100%'>";
echo " <tr>";
echo " <td>Name:</td>";
echo " <td>Name</td>";
echo " <td><input type='text' class='txt' name='clip_name' value='$clip_name'></td>";
echo " </tr>";
echo " <tr>";
echo " <td>Folder:</td>";
echo " <td>Folder</td>";
echo " <td><input type='text' class='txt' name='clip_folder' value='$clip_folder'></td>";
echo " </tr>";
echo " <tr>";
echo " <td colspan='2'>Before Selection:<br>";
echo " <td colspan='2'>Before Selection<br>";
echo " <textarea class='txt' name='clip_text_start'>$clip_text_start</textarea>";
echo " </td>";
echo " </tr>";
echo " <tr>";
echo " <td colspan='2'>After Selection:<br>";
echo " <td colspan='2'>After Selection<br>";
echo " <textarea class='txt' name='clip_text_end'>$clip_text_end</textarea>";
echo " </td>";
echo " </tr>";
echo " <tr>";
echo " <td colspan='2'>Notes:<br>";
echo " <td colspan='2'>Notes<br>";
echo " <textarea class='txt' name='clip_desc'>$clip_desc</textarea>";
echo " </td>";
echo " </tr>";

View File

@ -155,7 +155,7 @@ else {
if (permission_exists('exec_command_line')) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-shell'].":\n";
echo " ".$text['label-shell']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <textarea name='shell_cmd' id='shell_cmd' rows='2' class='formfld' style='width: 100%;' wrap='off'>$shell_cmd</textarea\n";
@ -167,7 +167,7 @@ else {
if (permission_exists('exec_php_command')) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-php'].":\n";
echo " ".$text['label-php']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <textarea name='php_cmd' id='php_cmd' rows='7' class='formfld' style='width: 100%;' wrap='off'>$php_cmd</textarea\n";
@ -179,7 +179,7 @@ else {
if (permission_exists('exec_switch')) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-switch'].":\n";
echo " ".$text['label-switch']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <textarea name='switch_cmd' id='switch_cmd' rows='2' class='formfld' style='width: 100%;' wrap='off'>$switch_cmd</textarea\n";

View File

@ -884,7 +884,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
}
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-extension'].":\n";
echo " ".$text['label-extension']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='extension' autocomplete='off' maxlength='255' value=\"$extension\" required='required'>\n";
@ -895,7 +895,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-number_alias'].":\n";
echo " ".$text['label-number_alias']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='number' name='number_alias' autocomplete='off' maxlength='255' min='0' step='1' value=\"$number_alias\">\n";
@ -907,7 +907,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
if ($action == "update") {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-password'].":\n";
echo " ".$text['label-password']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='password' name='password' id='password' onmouseover=\"this.type='text';\" onfocus=\"this.type='text';\" onmouseout=\"if (!$(this).is(':focus')) { this.type='password'; }\" onblur=\"this.type='password';\" autocomplete='off' maxlength='50' value=\"$password\">\n";
@ -920,7 +920,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
if ($action == "add") {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-range'].":\n";
echo " ".$text['label-range']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='range'>\n";
@ -963,7 +963,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
if ($action == "update") {
echo " <tr>";
echo " <td class='vncell' valign='top'>".$text['label-user_list'].":</td>";
echo " <td class='vncell' valign='top'>".$text['label-user_list']."</td>";
echo " <td class='vtable'>";
$sql = "SELECT u.username, e.user_uuid FROM v_extension_users as e, v_users as u ";
@ -1020,7 +1020,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
if (is_dir($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH.'/app/voicemails')) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-voicemail_password'].":\n";
echo " ".$text['label-voicemail_password']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='password' name='voicemail_password' id='voicemail_password' onmouseover=\"this.type='text';\" onfocus=\"this.type='text';\" onmouseout=\"if (!$(this).is(':focus')) { this.type='password'; }\" onblur=\"this.type='password';\" maxlength='255' value='$voicemail_password'>\n";
@ -1033,7 +1033,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
if (if_group("superadmin") || (if_group("admin") && $billing_app_exists)) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-accountcode'].":\n";
echo " ".$text['label-accountcode']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
if ($billing_app_exists) {
@ -1067,7 +1067,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-effective_caller_id_name'].":\n";
echo " ".$text['label-effective_caller_id_name']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='effective_caller_id_name' maxlength='255' value=\"$effective_caller_id_name\">\n";
@ -1078,7 +1078,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-effective_caller_id_number'].":\n";
echo " ".$text['label-effective_caller_id_number']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='number' name='effective_caller_id_number' min='0' step='1' maxlength='255' value=\"$effective_caller_id_number\">\n";
@ -1089,7 +1089,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-outbound_caller_id_name'].":\n";
echo " ".$text['label-outbound_caller_id_name']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
if (permission_exists('outbound_caller_id_select')) {
@ -1130,7 +1130,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-outbound_caller_id_number'].":\n";
echo " ".$text['label-outbound_caller_id_number']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
if (permission_exists('outbound_caller_id_select')) {
@ -1171,7 +1171,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-emergency_caller_id_name'].":\n";
echo " ".$text['label-emergency_caller_id_name']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='emergency_caller_id_name' maxlength='255' value=\"$emergency_caller_id_name\">\n";
@ -1182,7 +1182,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-emergency_caller_id_number'].":\n";
echo " ".$text['label-emergency_caller_id_number']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='number' name='emergency_caller_id_number' maxlength='255' min='0' step='1' value=\"$emergency_caller_id_number\">\n";
@ -1193,7 +1193,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-directory_full_name'].":\n";
echo " ".$text['label-directory_full_name']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='directory_full_name' maxlength='255' value=\"$directory_full_name\">\n";
@ -1204,7 +1204,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-directory_visible'].":\n";
echo " ".$text['label-directory_visible']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='directory_visible'>\n";
@ -1229,7 +1229,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-directory_exten_visible'].":\n";
echo " ".$text['label-directory_exten_visible']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='directory_exten_visible'>\n";
@ -1254,7 +1254,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-limit_max'].":\n";
echo " ".$text['label-limit_max']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='number' name='limit_max' maxlength='255' min='1' step='1' value=\"$limit_max\">\n";
@ -1265,7 +1265,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-limit_destination'].":\n";
echo " ".$text['label-limit_destination']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='limit_destination' maxlength='255' value=\"$limit_destination\">\n";
@ -1278,7 +1278,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
if (is_dir($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH.'/app/devices')) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-provisioning'].":\n";
echo " ".$text['label-provisioning']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input type='hidden' name='device_line_uuid' id='device_line_uuid' value=''>";
@ -1479,7 +1479,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
if (is_dir($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH.'/app/voicemails')) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-voicemail_enabled'].":\n";
echo " ".$text['label-voicemail_enabled']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='voicemail_enabled'>\n";
@ -1503,7 +1503,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-voicemail_mail_to'].":\n";
echo " ".$text['label-voicemail_mail_to']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='voicemail_mail_to' maxlength='255' value=\"$voicemail_mail_to\">\n";
@ -1514,7 +1514,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-voicemail_attach_file'].":\n";
echo " ".$text['label-voicemail_attach_file']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='voicemail_attach_file'>\n";
@ -1538,7 +1538,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-voicemail_local_after_email'].":\n";
echo " ".$text['label-voicemail_local_after_email']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='voicemail_local_after_email'>\n";
@ -1564,7 +1564,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
if (permission_exists('extension_toll')) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-toll_allow'].":\n";
echo " ".$text['label-toll_allow']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='toll_allow' maxlength='255' value=\"$toll_allow\">\n";
@ -1576,7 +1576,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-call_timeout'].":\n";
echo " ".$text['label-call_timeout']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='number' name='call_timeout' maxlength='255' min='1' step='1' value=\"$call_timeout\">\n";
@ -1587,7 +1587,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-call_group'].":\n";
echo " ".$text['label-call_group']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='call_group' maxlength='255' value=\"$call_group\">\n";
@ -1598,7 +1598,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-user_record'].":\n";
echo " ".$text['label-user_record']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='user_record'>\n";
@ -1636,7 +1636,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
if (is_dir($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH.'/app/music_on_hold')) {
echo "<tr>\n";
echo "<td width=\"30%\" class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-hold_music'].":\n";
echo " ".$text['label-hold_music']."\n";
echo "</td>\n";
echo "<td width=\"70%\" class='vtable' align='left'>\n";
require_once "app/music_on_hold/resources/classes/switch_music_on_hold.php";
@ -1661,7 +1661,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
}
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-user_context'].":\n";
echo " ".$text['label-user_context']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='user_context' maxlength='255' value=\"$user_context\" required='required'>\n";
@ -1692,7 +1692,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td width=\"30%\" class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-auth_acl'].":\n";
echo " ".$text['label-auth_acl']."\n";
echo "</td>\n";
echo "<td width=\"70%\" class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='auth_acl' maxlength='255' value=\"$auth_acl\">\n";
@ -1703,7 +1703,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-cidr'].":\n";
echo " ".$text['label-cidr']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='cidr' maxlength='255' value=\"$cidr\">\n";
@ -1714,7 +1714,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-sip_force_contact'].":\n";
echo " ".$text['label-sip_force_contact']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='sip_force_contact'>\n";
@ -1736,7 +1736,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-sip_force_expires'].":\n";
echo " ".$text['label-sip_force_expires']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='number' name='sip_force_expires' maxlength='255' min='1' step='1' value=\"$sip_force_expires\">\n";
@ -1748,7 +1748,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
if (if_group("superadmin")) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-nibble_account'].":\n";
echo " ".$text['label-nibble_account']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='nibble_account' maxlength='255' value=\"$nibble_account\">\n";
@ -1760,7 +1760,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-mwi_account'].":\n";
echo " ".$text['label-mwi_account']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='mwi_account' maxlength='255' value=\"$mwi_account\">\n";
@ -1771,7 +1771,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-sip_bypass_media'].":\n";
echo " ".$text['label-sip_bypass_media']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='sip_bypass_media'>\n";
@ -1794,7 +1794,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
if (permission_exists('extension_domain')) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-domain'].":\n";
echo " ".$text['label-domain']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='domain_uuid'>\n";
@ -1815,7 +1815,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-dial_string'].":\n";
echo " ".$text['label-dial_string']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='dial_string' maxlength='4096' value=\"$dial_string\">\n";
@ -1835,7 +1835,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
if (permission_exists('extension_enabled')) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-enabled'].":\n";
echo " ".$text['label-enabled']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='enabled'>\n";
@ -1860,7 +1860,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-description'].":\n";
echo " ".$text['label-description']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <textarea class='formfld' name='description' rows='4'>$description</textarea>\n";

View File

@ -670,7 +670,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
if (if_group("superadmin") || (if_group("admin") && $billing_app_exists)) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-accountcode'].":\n";
echo " ".$text['label-accountcode']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
if ($billing_app_exists) {
@ -696,7 +696,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
if ($action == "add") { $accountcode = $_SESSION['domain_name']; }
echo "<input class='formfld' type='text' name='accountcode' maxlength='255' value=\"".$accountcode."\">\n";
}
echo "<br />\n";
echo $text['description-accountcode']."\n";
echo "</td>\n";

View File

@ -106,7 +106,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
$dialplan_detail_break = 'on-true';
} else {
$dialplan_detail_break = '';
}
}
dialplan_detail_add($_SESSION['domain_uuid'], $dialplan_uuid, $dialplan_detail_tag, $dialplan_detail_order, $dialplan_detail_group, $dialplan_detail_type, $dialplan_detail_data, $dialplan_detail_break);
//set the hold music
//if (strlen($hold_music) > 0) {
@ -163,7 +163,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
$dialplan_detail_break = 'on-true';
} else {
$dialplan_detail_break = '';
}
}
dialplan_detail_add($_SESSION['domain_uuid'], $dialplan_uuid, $dialplan_detail_tag, $dialplan_detail_order, $dialplan_detail_group, $dialplan_detail_type, $dialplan_detail_data, $dialplan_detail_break);
//set the hold music
//if (strlen($hold_music) > 0) {
@ -313,7 +313,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo " <table width='100%' border='0' cellpadding='6' cellspacing='0'>\n";
echo " <tr>\n";
echo " <td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-name'].":\n";
echo " ".$text['label-name']."\n";
echo " </td>\n";
echo " <td class='vtable' align='left'>\n";
echo " <input class='formfld' style='width: 60%;' type='text' name='extension_name' maxlength='255' value=\"$extension_name\" required='required'>\n";
@ -324,7 +324,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo " <tr>\n";
echo " <td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-extension'].":\n";
echo " ".$text['label-extension']."\n";
echo " </td>\n";
echo " <td class='vtable' align='left'>\n";
echo " <input class='formfld' style='width: 60%;' type='number' name='queue_extension_number' maxlength='255' min='0' step='1' value=\"$queue_extension_number\" required='required'>\n";
@ -335,7 +335,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-order'].":\n";
echo " ".$text['label-order']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select name='dialplan_order' class='formfld'>\n";
@ -354,7 +354,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-enabled'].":\n";
echo " ".$text['label-enabled']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='dialplan_enabled'>\n";
@ -378,7 +378,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-description'].":\n";
echo " ".$text['label-description']."\n";
echo "</td>\n";
echo "<td colspan='4' class='vtable' align='left'>\n";
echo " <input class='formfld' style='width: 60%;' type='text' name='dialplan_description' maxlength='255' value=\"$dialplan_description\">\n";
@ -399,7 +399,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td width='30%' class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-agent_queue_extension'].":\n";
echo " ".$text['label-agent_queue_extension']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' style='width: 60%;' type='number' name='agent_queue_extension_number' maxlength='255' min='0' step='1' value=\"$agent_queue_extension_number\">\n";
@ -410,7 +410,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-agent_loginout_extension'].":\n";
echo " ".$text['label-agent_loginout_extension']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' style='width: 60%;' type='number' name='agent_login_logout_extension_number' maxlength='255' min='0' step='1' value=\"$agent_login_logout_extension_number\">\n";

View File

@ -407,7 +407,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td width=\"30%\" class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-gateway'].":\n";
echo " ".$text['label-gateway']."\n";
echo "</td>\n";
echo "<td width=\"70%\" class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='gateway' maxlength='255' value=\"$gateway\" required='required'>\n";
@ -418,7 +418,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-username'].":\n";
echo " ".$text['label-username']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='username' maxlength='255' autocomplete='off' value=\"$username\">\n";
@ -429,7 +429,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-password'].":\n";
echo " ".$text['label-password']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='password' name='password' id='password' autocomplete='off' maxlength='255' onmouseover=\"this.type='text';\" onfocus=\"this.type='text';\" onmouseout=\"if (!$(this).is(':focus')) { this.type='password'; }\" onblur=\"this.type='password';\" value=\"$password\">\n";
@ -440,7 +440,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-from_user'].":\n";
echo " ".$text['label-from_user']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='from_user' maxlength='255' value=\"$from_user\">\n";
@ -451,7 +451,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-from_domain'].":\n";
echo " ".$text['label-from_domain']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='from_domain' maxlength='255' value=\"$from_domain\">\n";
@ -462,7 +462,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-proxy'].":\n";
echo " ".$text['label-proxy']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='proxy' maxlength='255' value=\"$proxy\" required='required'>\n";
@ -473,7 +473,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-realm'].":\n";
echo " ".$text['label-realm']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='realm' maxlength='255' value=\"$realm\">\n";
@ -484,7 +484,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-expire_seconds'].":\n";
echo " ".$text['label-expire_seconds']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
if (strlen($expire_seconds) == 0) { $expire_seconds = "800"; }
@ -496,7 +496,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-register'].":\n";
echo " ".$text['label-register']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='register'>\n";
@ -520,7 +520,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-retry_seconds'].":\n";
echo " ".$text['label-retry_seconds']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='number' name='retry_seconds' maxlength='255' value='$retry_seconds' min='1' max='65535' step='1' required='required'>\n";
@ -549,7 +549,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td width='30%' class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-distinct_to'].":\n";
echo " ".$text['label-distinct_to']."\n";
echo "</td>\n";
echo "<td width='70%' class='vtable' align='left'>\n";
echo " <select class='formfld' name='distinct_to'>\n";
@ -574,7 +574,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td width='30%' class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-auth_username'].":\n";
echo " ".$text['label-auth_username']."\n";
echo "</td>\n";
echo "<td width='70%' class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='auth_username' maxlength='255' value=\"$auth_username\">\n";
@ -585,7 +585,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-extension'].":\n";
echo " ".$text['label-extension']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='extension' maxlength='255' value=\"$extension\">\n";
@ -596,7 +596,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-register_transport'].":\n";
echo " ".$text['label-register_transport']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='register_transport'>\n";
@ -627,7 +627,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-register_proxy'].":\n";
echo " ".$text['label-register_proxy']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='register_proxy' maxlength='255' value=\"$register_proxy\">\n";
@ -638,7 +638,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-outbound_proxy'].":\n";
echo " ".$text['label-outbound_proxy']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='outbound_proxy' maxlength='255' value=\"$outbound_proxy\">\n";
@ -649,7 +649,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo " <tr>\n";
echo " <td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-caller_id_in_from'].":\n";
echo " ".$text['label-caller_id_in_from']."\n";
echo " </td>\n";
echo " <td class='vtable' align='left'>\n";
echo " <select class='formfld' name='caller_id_in_from'>\n";
@ -674,7 +674,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-supress_cng'].":\n";
echo " ".$text['label-supress_cng']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='supress_cng'>\n";
@ -699,7 +699,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-sip_cid_type'].":\n";
echo " ".$text['label-sip_cid_type']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='sip_cid_type' maxlength='255' value=\"$sip_cid_type\" pattern='^(none|pid|rpid)$'>\n";
@ -710,7 +710,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-codec_prefs'].":\n";
echo " ".$text['label-codec_prefs']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='codec_prefs' maxlength='255' value=\"$codec_prefs\">\n";
@ -721,7 +721,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-extension_in_contact'].":\n";
echo " ".$text['label-extension_in_contact']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='extension_in_contact'>\n";
@ -746,7 +746,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-ping'].":\n";
echo " ".$text['label-ping']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='number' name='ping' maxlength='255' min='1' max='65535' step='1' value=\"$ping\">\n";
@ -757,7 +757,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-channels'].":\n";
echo " ".$text['label-channels']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='number' name='channels' maxlength='255' value=\"$channels\" min='0' max='65535' step='1'>\n";
@ -769,7 +769,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
if (permission_exists('gateway_domain')) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-domain'].":\n";
echo " ".$text['label-domain']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='domain_uuid'>\n";
@ -803,7 +803,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-context'].":\n";
echo " ".$text['label-context']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
if (strlen($context) == 0) { $context = "public"; }
@ -815,7 +815,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-profile'].":\n";
echo " ".$text['label-profile']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
if (strlen($profile) == 0) { $profile = "external"; }
@ -827,7 +827,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-enabled'].":\n";
echo " ".$text['label-enabled']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='enabled'>\n";
@ -851,7 +851,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-description'].":\n";
echo " ".$text['label-description']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='description' maxlength='255' value=\"$description\">\n";

View File

@ -246,7 +246,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-extension'].":\n";
echo " ".$text['label-extension']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
if ($action == "add") {
@ -284,7 +284,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-unique_id'].":\n";
echo " ".$text['label-unique_id']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='number' name='unique_id' autocomplete='off' maxlength='255' min='0' step='1' required='required' value=\"$unique_id\">\n";
@ -296,7 +296,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
if ($action == "update") {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-voicemail_password'].":\n";
echo " ".$text['label-voicemail_password']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='password' name='vm_password' id='vm_password' onmouseover=\"this.type='text';\" onfocus=\"this.type='text';\" onmouseout=\"if (!$(this).is(':focus')) { this.type='password'; }\" onblur=\"this.type='password';\" maxlength='255' value='$vm_password'>\n";
@ -307,7 +307,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-dial_string'].":\n";
echo " ".$text['label-dial_string']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='dial_string' maxlength='255' value=\"$dial_string\">\n";

View File

@ -210,7 +210,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-option'].":\n";
echo " ".$text['label-option']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='ivr_menu_option_digits' maxlength='255' value='$ivr_menu_option_digits'>\n";
@ -223,7 +223,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
if (if_group("superadmin")) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " Type:\n";
echo " Type\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
@ -281,7 +281,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-destination'].":\n";
echo " ".$text['label-destination']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
@ -300,7 +300,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-order'].":\n";
echo " ".$text['label-order']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select name='ivr_menu_option_order' class='formfld'>\n";
@ -326,7 +326,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-description'].":\n";
echo " ".$text['label-description']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='ivr_menu_option_description' maxlength='255' value=\"$ivr_menu_option_description\">\n";

View File

@ -195,7 +195,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-label'].":\n";
echo " ".$text['label-label']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='module_label' maxlength='255' value=\"$module_label\">\n";
@ -206,7 +206,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-module_name'].":\n";
echo " ".$text['label-module_name']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='module_name' maxlength='255' value=\"$module_name\">\n";
@ -217,7 +217,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-module_category'].":\n";
echo " ".$text['label-module_category']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
$table_name = 'v_modules';$field_name = 'module_category';$sql_where_optional = "";$field_current_value = $module_category;
@ -229,7 +229,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-enabled'].":\n";
echo " ".$text['label-enabled']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='module_enabled'>\n";
@ -253,7 +253,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-default_enabled'].":\n";
echo " ".$text['label-default_enabled']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='module_default_enabled'>\n";
@ -277,7 +277,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-description'].":\n";
echo " ".$text['label-description']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='module_description' maxlength='255' value=\"$module_description\">\n";

View File

@ -227,20 +227,9 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "</td>\n";
echo "</tr>\n";
//echo "<tr>\n";
//echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
//echo " recording_uuid:\n";
//echo "</td>\n";
//echo "<td class='vtable' align='left'>\n";
//echo " <input class='formfld' type='text' name='recording_uuid' maxlength='255' value=\"$recording_uuid\">\n";
//echo "<br />\n";
//echo "\n";
//echo "</td>\n";
//echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " Description:\n";
echo " Description\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='recording_description' maxlength='255' value=\"$recording_description\">\n";

View File

@ -126,7 +126,7 @@
$text['description-timeout_destination']['fr-fr'] = "";
$text['description-timeout_destination']['pt-pt'] = "Escolha destino no caso de timeout no grupo.";
$text['description-user_list']['en-us'] = "Assign the users that are assigned to this ring group. ";
$text['description-user_list']['en-us'] = "Assign the users that are assigned to this ring group.";
$text['description-user_list']['es-cl'] = "Define los usuarios que serán asignados a este grupo de llamado";
$text['description-user_list']['fr-fr'] = "Associer les utilisateurs à ce groupe de sonnerie. ";
$text['description-user_list']['pt-pt'] = "Associar utilizadores ao grupo.";
@ -141,10 +141,10 @@
$text['header-ring-group-forward']['fr-fr'] = "Renvoi du groupe de sonnerie";
$text['header-ring-group-forward']['pt-pt'] = "Encaminhar Grupo";
$text['label-call-forward']['en-us'] = "Call Forward:";
$text['label-call-forward']['en-us'] = "Call Forward";
$text['label-call-forward']['es-cl'] = "Desvío de llamados";
$text['label-call-forward']['fr-fr'] = "Renvoi d'Appel:";
$text['label-call-forward']['pt-pt'] = "Encaminhar Chamada:";
$text['label-call-forward']['fr-fr'] = "Renvoi d'Appel";
$text['label-call-forward']['pt-pt'] = "Encaminhar Chamada";
$text['label-cid-name-prefix']['en-us'] = "CID Name Prefix";
$text['label-cid-name-prefix']['es-cl'] = "CID Nombre Prefijo";
@ -166,10 +166,10 @@
$text['label-delay']['fr-fr'] = "Délais";
$text['label-delay']['pt-pt'] = "Atraso";
$text['label-description']['en-us'] = "Description:";
$text['label-description']['en-us'] = "Description";
$text['label-description']['es-cl'] = "Descripción";
$text['label-description']['fr-fr'] = "Description:";
$text['label-description']['pt-pt'] = "Descrição:";
$text['label-description']['fr-fr'] = "Description";
$text['label-description']['pt-pt'] = "Descrição";
$text['label-destination_delay']['en-us'] = "Delay";
$text['label-destination_delay']['es-cl'] = "Retraso";
@ -231,10 +231,10 @@
$text['label-extension']['fr-fr'] = "Extension";
$text['label-extension']['pt-pt'] = "Extensão";
$text['label-forward_destination']['en-us'] = "Number:";
$text['label-forward_destination']['en-us'] = "Number";
$text['label-forward_destination']['es-cl'] = "Número";
$text['label-forward_destination']['fr-fr'] = "Numéro:";
$text['label-forward_destination']['pt-pt'] = "Número:";
$text['label-forward_destination']['fr-fr'] = "Numéro";
$text['label-forward_destination']['pt-pt'] = "Número";
$text['label-name']['en-us'] = "Name";
$text['label-name']['es-cl'] = "Nombre";

View File

@ -202,7 +202,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-destination_number'].":\n";
echo " ".$text['label-destination_number']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='destination_number' maxlength='255' value=\"$destination_number\">\n";
@ -213,7 +213,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-destination_delay'].":\n";
echo " ".$text['label-destination_delay']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
destination_select('destination_delay', $destination_delay, '0');
@ -225,7 +225,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-destination_timeout'].":\n";
echo " ".$text['label-destination_timeout']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
destination_select('destination_timeout', $destination_timeout, '30');
@ -238,7 +238,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
if (permission_exists('ring_group_prompt')) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-destination_prompt'].":\n";
echo " ".$text['label-destination_prompt']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='destination_prompt'>\n";

View File

@ -416,7 +416,7 @@ else {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-name'].":\n";
echo " ".$text['label-name']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='ring_group_name' maxlength='255' value=\"$ring_group_name\" required='required'>\n";
@ -427,7 +427,7 @@ else {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-extension'].":\n";
echo " ".$text['label-extension']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='number' name='ring_group_extension' maxlength='255' min='0' step='1' value=\"$ring_group_extension\" required='required'>\n";
@ -439,7 +439,7 @@ else {
if (if_group("superadmin")) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-context'].":\n";
echo " ".$text['label-context']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='ring_group_context' maxlength='255' value=\"$ring_group_context\" required='required'>\n";
@ -451,7 +451,7 @@ else {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-strategy'].":\n";
echo " ".$text['label-strategy']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='ring_group_strategy' onchange=\"getElementById('destination_delayorder').innerHTML = (this.selectedIndex == 1 || this.selectedIndex == 3) ? '".$text['label-destination_order']."' : '".$text['label-destination_delay']."';\">\n";
@ -466,7 +466,7 @@ else {
echo "</tr>\n";
echo " <tr>";
echo " <td class='vncellreq' valign='top'>".$text['label-destinations'].":</td>";
echo " <td class='vncellreq' valign='top'>".$text['label-destinations']."</td>";
echo " <td class='vtable' align='left'>";
echo " <table border='0' cellpadding='2' cellspacing='0'>\n";
@ -549,7 +549,7 @@ else {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-timeout_destination'].":\n";
echo " ".$text['label-timeout_destination']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
//switch_select_destination(select_type, select_label, select_name, select_value, select_style, action);
@ -561,7 +561,7 @@ else {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-cid-name-prefix'].":\n";
echo " ".$text['label-cid-name-prefix']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='ring_group_cid_name_prefix' maxlength='255' value='$ring_group_cid_name_prefix'>\n";
@ -572,7 +572,7 @@ else {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-cid-number-prefix'].":\n";
echo " ".$text['label-cid-number-prefix']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='number' name='ring_group_cid_number_prefix' maxlength='255' min='0' step='1' value='$ring_group_cid_number_prefix'>\n";
@ -583,7 +583,7 @@ else {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-ringback'].":\n";
echo " ".$text['label-ringback']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
@ -645,7 +645,7 @@ else {
echo "</tr>\n";
echo " <tr>";
echo " <td class='vncell' valign='top'>".$text['label-user_list'].":</td>";
echo " <td class='vncell' valign='top'>".$text['label-user_list']."</td>";
echo " <td class='vtable'>";
echo " <table width='52%'>\n";
foreach($ring_group_users as $field) {
@ -681,7 +681,7 @@ else {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-skip_active'].":\n";
echo " ".$text['label-skip_active']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='ring_group_skip_active'>\n";
@ -705,7 +705,7 @@ else {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-enabled'].":\n";
echo " ".$text['label-enabled']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='ring_group_enabled'>\n";
@ -729,7 +729,7 @@ else {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " Description:\n";
echo " ".$text['label-description']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='ring_group_description' maxlength='255' value=\"$ring_group_description\">\n";

View File

@ -632,7 +632,7 @@ else {
else {
echo "<td valign='top' align='left' class='vncell' style='padding-top:3px;' nowrap='nowrap'>\n";
}
echo "".$row['field_label'].": \n";
echo "".$row['field_label']."\n";
echo "</td>\n";
}
}

View File

@ -205,7 +205,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-category'].":\n";
echo " ".$text['label-category']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
$select_name = 'v_schemas';$field_name = 'schema_category';$sql_where_optional = "";$field_current_value = $schema_category;
@ -216,7 +216,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-label'].":\n";
echo " ".$text['label-label']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='schema_label' maxlength='255' value=\"$schema_label\">\n";
@ -227,7 +227,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-name'].":\n";
echo " ".$text['label-name']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='schema_name' maxlength='255' value=\"$schema_name\">\n";
@ -238,7 +238,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-authentication'].":\n";
echo " ".$text['label-authentication']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='schema_auth'>\n";
@ -263,7 +263,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-parent_schema'].":\n";
echo " ".$text['label-parent_schema']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
@ -292,7 +292,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-description'].":\n";
echo " ".$text['label-description']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <textarea class='formfld' name='schema_description' rows='4'>$schema_description</textarea>\n";

View File

@ -226,7 +226,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap=\"nowrap\">\n";
echo " ".$text['label-field_label'].":\n";
echo " ".$text['label-field_label']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='field_label' maxlength='255' value=\"$field_label\">\n";
@ -237,7 +237,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap=\"nowrap\">\n";
echo " ".$text['label-field_name'].":\n";
echo " ".$text['label-field_name']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='field_name' maxlength='255' value=\"$field_name\">\n";
@ -248,7 +248,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap=\"nowrap\">\n";
echo " ".$text['label-field_type'].":\n";
echo " ".$text['label-field_type']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='field_type'>\n";
@ -369,7 +369,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap=\"nowrap\">\n";
echo " ".$text['label-field_value'].":\n";
echo " ".$text['label-field_value']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='field_value' maxlength='255' value=\"$field_value\">\n";
@ -380,7 +380,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap=\"nowrap\">\n";
echo " ".$text['label-field_visibility'].":\n";
echo " ".$text['label-field_visibility']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='field_list_hidden'>\n";
@ -405,7 +405,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap=\"nowrap\">\n";
echo " ".$text['label-field_search_by'].":\n";
echo " ".$text['label-field_search_by']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='field_search_by'>\n";
@ -430,7 +430,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap=\"nowrap\">\n";
echo " ".$text['label-field_column'].":\n";
echo " ".$text['label-field_column']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='field_column' maxlength='255' value=\"$field_column\">\n";
@ -441,7 +441,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap=\"nowrap\">\n";
echo " ".$text['label-field_required'].":\n";
echo " ".$text['label-field_required']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='field_required'>\n";
@ -466,7 +466,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap=\"nowrap\">\n";
echo " ".$text['label-field_order'].":\n";
echo " ".$text['label-field_order']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='field_order' maxlength='255' value='$field_order'>\n";
@ -477,7 +477,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap=\"nowrap\">\n";
echo " ".$text['label-field_tab_order'].":\n";
echo " ".$text['label-field_tab_order']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='field_order_tab' maxlength='255' value='$field_order_tab'>\n";
@ -488,7 +488,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap=\"nowrap\">\n";
echo " ".$text['label-field_description'].":\n";
echo " ".$text['label-field_description']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='field_description' maxlength='255' value=\"$field_description\">\n";

View File

@ -326,7 +326,7 @@ if (count($_POST)>0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-import_data'].":\n";
echo " ".$text['label-import_data']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <textarea name='data' id='data' rows='7' class='formfld' style='width: 100%;' wrap='off'>$data</textarea>\n";
@ -337,7 +337,7 @@ if (count($_POST)>0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-import_delimiter'].":\n";
echo " ".$text['label-import_delimiter']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' style='width: 100px;' name='data_delimiter'>\n";
@ -351,7 +351,7 @@ if (count($_POST)>0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-import_enclosure'].":\n";
echo " ".$text['label-import_enclosure']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' style='width: 150px;' name='data_enclosure'>\n";

View File

@ -189,7 +189,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap=\"nowrap\">\n";
echo " ".$text['label-name_value_name'].":\n";
echo " ".$text['label-name_value_name']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='data_types_name' maxlength='255' value=\"$data_types_name\">\n";
@ -200,7 +200,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap=\"nowrap\">\n";
echo " ".$text['label-name_value_value'].":\n";
echo " ".$text['label-name_value_value']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='data_types_value' maxlength='255' value=\"$data_types_value\">\n";

View File

@ -66,10 +66,10 @@
$text['description']['pt-pt'] = "Mostra uma lista dos processos e oferece a possibilidade de os arrancar e parar.";
$text['description']['fr-fr'] = "Affiche la liste des processus et permet de les démarrer et les arrêter.";
$text['label-name']['en-us'] = "Name:";
$text['label-name']['es-cl'] = "Nombre:";
$text['label-name']['pt-pt'] = "Nome:";
$text['label-name']['fr-fr'] = "Nom:";
$text['label-name']['en-us'] = "Name";
$text['label-name']['es-cl'] = "Nombre";
$text['label-name']['pt-pt'] = "Nome";
$text['label-name']['fr-fr'] = "Nom";
$text['message-starting']['en-us'] = "Starting Service";
$text['message-starting']['es-cl'] = "Servicio de Inicio";
@ -86,50 +86,50 @@
$text['description-name']['pt-pt'] = "Introduza o nome do serviço.";
$text['description-name']['fr-fr'] = "Entrer le nom du service.";
$text['label-type']['en-us'] = "Type:";
$text['label-type']['es-cl'] = "Tipo:";
$text['label-type']['pt-pt'] = "Tipo:";
$text['label-type']['fr-fr'] = "Type:";
$text['label-type']['en-us'] = "Type";
$text['label-type']['es-cl'] = "Tipo";
$text['label-type']['pt-pt'] = "Tipo";
$text['label-type']['fr-fr'] = "Type";
$text['description-type']['en-us'] = "Select the service type.";
$text['description-type']['es-cl'] = "Seleccione el tipo de servicio.";
$text['description-type']['pt-pt'] = "Seleccione o tipo de serviço.";
$text['description-type']['fr-fr'] = "Choisir le type de service.";
$text['label-data']['en-us'] = "Data:";
$text['label-data']['es-cl'] = "Datos:";
$text['label-data']['pt-pt'] = "Dados:";
$text['label-data']['fr-fr'] = "Données:";
$text['label-data']['en-us'] = "Data";
$text['label-data']['es-cl'] = "Datos";
$text['label-data']['pt-pt'] = "Dados";
$text['label-data']['fr-fr'] = "Données";
$text['description-data']['en-us'] = "Enter the service data.";
$text['description-data']['es-cl'] = "Ingrese los datos del servicio.";
$text['description-data']['pt-pt'] = "Introduza os dados do serviço.";
$text['description-data']['fr-fr'] = "Entrer les données du service.";
$text['label-start']['en-us'] = "Start Command:";
$text['label-start']['es-cl'] = "Comando para Iniciar:";
$text['label-start']['pt-pt'] = "Comando para Iniciar:";
$text['label-start']['fr-fr'] = "Commande démarrage:";
$text['label-start']['en-us'] = "Start Command";
$text['label-start']['es-cl'] = "Comando para Iniciar";
$text['label-start']['pt-pt'] = "Comando para Iniciar";
$text['label-start']['fr-fr'] = "Commande démarrage";
$text['description-start']['en-us'] = "Enter the command to start the service.";
$text['description-start']['es-cl'] = "Ingrese el comando para iniciar el servicio.";
$text['description-start']['pt-pt'] = "Introduza o comando para arrancar o serviço.";
$text['description-start']['fr-fr'] = "Entrer la commande pour démarrer le service.";
$text['label-stop']['en-us'] = "Stop Command:";
$text['label-stop']['es-cl'] = "Comando para Detener:";
$text['label-stop']['pt-pt'] = "Comando para Parar:";
$text['label-stop']['fr-fr'] = "Comande d'arrêt:";
$text['label-stop']['en-us'] = "Stop Command";
$text['label-stop']['es-cl'] = "Comando para Detener";
$text['label-stop']['pt-pt'] = "Comando para Parar";
$text['label-stop']['fr-fr'] = "Comande d'arrêt";
$text['description-stop']['en-us'] = "Enter the command to stop the service.";
$text['description-stop']['es-cl'] = "Ingrese el comando para detener el servicio.";
$text['description-stop']['pt-pt'] = "Introduza o comando para parar o serviço.";
$text['description-stop']['fr-fr'] = "Entrer la commande pour arrêter le service.";
$text['label-description']['en-us'] = "Description:";
$text['label-description']['es-cl'] = "Descripción:";
$text['label-description']['pt-pt'] = "Descrição:";
$text['label-description']['fr-fr'] = "Description:";
$text['label-description']['en-us'] = "Description";
$text['label-description']['es-cl'] = "Descripción";
$text['label-description']['pt-pt'] = "Descrição";
$text['label-description']['fr-fr'] = "Description";
$text['description-description']['en-us'] = "Enter the service description.";
$text['description-description']['es-cl'] = "Ingrese una descripción del servicio.";

View File

@ -36,90 +36,90 @@
$text['title-settings-update']['pt-pt'] = "Actualizar a Configuração";
$text['title-settings-update']['fr-fr'] = "Mise à jour de la configuration";
$text['label-event-socket-ip']['en-us'] = "Event Socket IP Address:";
$text['label-event-socket-ip']['es-cl'] = "Dirección IP del Socket de Eventos:";
$text['label-event-socket-ip']['pt-pt'] = "Endreço IP do Event Socket:";
$text['label-event-socket-ip']['fr-fr'] = "Adresse IP pour Event Socket:";
$text['label-event-socket-ip']['en-us'] = "Event Socket IP Address";
$text['label-event-socket-ip']['es-cl'] = "Dirección IP del Socket de Eventos";
$text['label-event-socket-ip']['pt-pt'] = "Endreço IP do Event Socket";
$text['label-event-socket-ip']['fr-fr'] = "Adresse IP pour Event Socket";
$text['description-event-socket-ip']['en-us'] = "Enter the event socket IP address. default: 127.0.0.1";
$text['description-event-socket-ip']['es-cl'] = "Dirección IP del socket de eventos. Predeterminada: 127.0.0.1";
$text['description-event-socket-ip']['pt-pt'] = "Introduza o endereço IP do event socket. omissão: 127.0.0.1";
$text['description-event-socket-ip']['fr-fr'] = "Adresse IP pour le module Event Socket. défaut: 127.0.0.1";
$text['label-event-socket-port']['en-us'] = "Event Socket Port:";
$text['label-event-socket-port']['es-cl'] = "Puerto del Socket de Eventos:";
$text['label-event-socket-port']['pt-pt'] = "Porto do Event Socket:";
$text['label-event-socket-port']['fr-fr'] = "Event Socket Port:";
$text['label-event-socket-port']['en-us'] = "Event Socket Port";
$text['label-event-socket-port']['es-cl'] = "Puerto del Socket de Eventos";
$text['label-event-socket-port']['pt-pt'] = "Porto do Event Socket";
$text['label-event-socket-port']['fr-fr'] = "Event Socket Port";
$text['description-event-socket-port']['en-us'] = "Enter the event socket port. default: 8021";
$text['description-event-socket-port']['es-cl'] = "Puerto del Socket de eventos. Predeterminado: 8021";
$text['description-event-socket-port']['pt-pt'] = "Introduza o porto do event socket. omissão: 8021";
$text['description-event-socket-port']['fr-fr'] = "Port du module Event Socket. défaut: 8021";
$text['label-event-socket-pw']['en-us'] = "Event Socket Password:";
$text['label-event-socket-pw']['es-cl'] = "Contraseña del Docket de Eventos:";
$text['label-event-socket-pw']['pt-pt'] = "Palavra-chave do Event Socket:";
$text['label-event-socket-pw']['fr-fr'] = "Mot de Passe Event Socket:";
$text['label-event-socket-pw']['en-us'] = "Event Socket Password";
$text['label-event-socket-pw']['es-cl'] = "Contraseña del Docket de Eventos";
$text['label-event-socket-pw']['pt-pt'] = "Palavra-chave do Event Socket";
$text['label-event-socket-pw']['fr-fr'] = "Mot de Passe Event Socket";
$text['description-event-socket-pw']['en-us'] = "Enter the event socket password.";
$text['description-event-socket-pw']['es-cl'] = "Ingrese la contraseña del socket de eventos.";
$text['description-event-socket-pw']['pt-pt'] = "Introduza a palavra-chave do event socket.";
$text['description-event-socket-pw']['fr-fr'] = "Mot de passe pour se connecter au module Event Socket.";
$text['label-xml-rpc-port']['en-us'] = "XML RPC HTTP Port:";
$text['label-xml-rpc-port']['es-cl'] = "Puerto XML RPC HTTP:";
$text['label-xml-rpc-port']['pt-pt'] = "Porto HTTP do XML RPC:";
$text['label-xml-rpc-port']['fr-fr'] = "XML RPC HTTP Port:";
$text['label-xml-rpc-port']['en-us'] = "XML RPC HTTP Port";
$text['label-xml-rpc-port']['es-cl'] = "Puerto XML RPC HTTP";
$text['label-xml-rpc-port']['pt-pt'] = "Porto HTTP do XML RPC";
$text['label-xml-rpc-port']['fr-fr'] = "XML RPC HTTP Port";
$text['description-xml-rpc-port']['en-us'] = "Enter the XML RPC HTTP Port. default: 8787";
$text['description-xml-rpc-port']['es-cl'] = "Ingrese el puerto XML RPC HTTP. Predeterminado: 8787";
$text['description-xml-rpc-port']['pt-pt'] = "Introduza o porto HTTP para o XML RPC. omissão: 8787";
$text['description-xml-rpc-port']['fr-fr'] = "Port pour joindre le service XML RPC HTTP. défaut: 8787";
$text['label-xml-rpc-realm']['en-us'] = "XML RPC Auth Realm:";
$text['label-xml-rpc-realm']['es-cl'] = "Reino de Autenticación XML RPC:";
$text['label-xml-rpc-realm']['pt-pt'] = "Realm de autenticação do XML RPC:";
$text['label-xml-rpc-realm']['fr-fr'] = "XML RPC Auth Realm:";
$text['label-xml-rpc-realm']['en-us'] = "XML RPC Auth Realm";
$text['label-xml-rpc-realm']['es-cl'] = "Reino de Autenticación XML RPC";
$text['label-xml-rpc-realm']['pt-pt'] = "Realm de autenticação do XML RPC";
$text['label-xml-rpc-realm']['fr-fr'] = "XML RPC Auth Realm";
$text['description-xml-rpc-realm']['en-us'] = "Enter the XML RPC Auth Realm. default: freeswitch";
$text['description-xml-rpc-realm']['es-cl'] = "Ingrese el reino de autenticación XML RPC. Predeterminado: freeswitch";
$text['description-xml-rpc-realm']['pt-pt'] = "Introduza o Realm de autenticação do XML RPC. omissão: freeswitch";
$text['description-xml-rpc-realm']['fr-fr'] = "Royaume d'authentification XML RPC. défaut: freeswitch";
$text['label-xml-rpc-user']['en-us'] = "XML RPC Auth User:";
$text['label-xml-rpc-user']['es-cl'] = "Usuario XML RPC:";
$text['label-xml-rpc-user']['pt-pt'] = "Utilizador de autenticação de XML RPC:";
$text['label-xml-rpc-user']['fr-fr'] = "Auth usager XML RPC:";
$text['label-xml-rpc-user']['en-us'] = "XML RPC Auth User";
$text['label-xml-rpc-user']['es-cl'] = "Usuario XML RPC";
$text['label-xml-rpc-user']['pt-pt'] = "Utilizador de autenticação de XML RPC";
$text['label-xml-rpc-user']['fr-fr'] = "Auth usager XML RPC";
$text['description-xml-rpc-user']['en-us'] = "Enter the XML RPC Auth User. default: xmlrpc";
$text['description-xml-rpc-user']['es-cl'] = "Ingrese usuario XML RPC. Predeterminado: xmlrpc";
$text['description-xml-rpc-user']['pt-pt'] = "Introduza o utilizador de autenticação do XML RPC. omissão: xmlrpc";
$text['description-xml-rpc-user']['fr-fr'] = "Usager XML RPC. défaut: xmlrpc";
$text['label-xml-rpc-pw']['en-us'] = "XML RPC Auth Password:";
$text['label-xml-rpc-pw']['es-cl'] = "Ingrese la contraseña XML RPC:";
$text['label-xml-rpc-pw']['pt-pt'] = "Palavra-passe de autenticação do XML RPC:";
$text['label-xml-rpc-pw']['fr-fr'] = "Mot de passe XML RPC:";
$text['label-xml-rpc-pw']['en-us'] = "XML RPC Auth Password";
$text['label-xml-rpc-pw']['es-cl'] = "Ingrese la contraseña XML RPC";
$text['label-xml-rpc-pw']['pt-pt'] = "Palavra-passe de autenticação do XML RPC";
$text['label-xml-rpc-pw']['fr-fr'] = "Mot de passe XML RPC";
$text['description-xml-rpc-pw']['en-us'] = "Enter the XML RPC Auth Password.";
$text['description-xml-rpc-pw']['es-cl'] = "Ingrese la contraseña XML RPC.";
$text['description-xml-rpc-pw']['pt-pt'] = "Introduza a palavra-passe de autenticação do XML RPC.";
$text['description-xml-rpc-pw']['fr-fr'] = "Mot de passe pour XML RPC.";
$text['label-shout-decoder']['en-us'] = "Mod Shout Decoder:";
$text['label-shout-decoder']['es-cl'] = "Descodificador Mod Shout (MP3):";
$text['label-shout-decoder']['pt-pt'] = "Descodificador do Mod Shout (MP3):";
$text['label-shout-decoder']['fr-fr'] = "Décodeur Mod Shout (MP3):";
$text['label-shout-decoder']['en-us'] = "Mod Shout Decoder";
$text['label-shout-decoder']['es-cl'] = "Descodificador Mod Shout (MP3)";
$text['label-shout-decoder']['pt-pt'] = "Descodificador do Mod Shout (MP3)";
$text['label-shout-decoder']['fr-fr'] = "Décodeur Mod Shout (MP3)";
$text['description-shout-decoder']['en-us'] = "Ender the Decoder. default: i386";
$text['description-shout-decoder']['es-cl'] = "Ingrese el tipo de descodificador. Predeterminado: i386";
$text['description-shout-decoder']['pt-pt'] = "Tipo de descodificador. omissão: i386";
$text['description-shout-decoder']['fr-fr'] = "Type de Décodeur. défaut: i386";
$text['label-shout-volume']['en-us'] = "Mod Shout Volume:";
$text['label-shout-volume']['es-cl'] = "Volumen Mod Shout:";
$text['label-shout-volume']['pt-pt'] = "Volume do Mod Shout:";
$text['label-shout-volume']['fr-fr'] = "Mod Shout Volume:";
$text['label-shout-volume']['en-us'] = "Mod Shout Volume";
$text['label-shout-volume']['es-cl'] = "Volumen Mod Shout";
$text['label-shout-volume']['pt-pt'] = "Volume do Mod Shout";
$text['label-shout-volume']['fr-fr'] = "Mod Shout Volume";
$text['description-shout-volume']['en-us'] = "Enter Mod Shout Volume.";
$text['description-shout-volume']['es-cl'] = "Ingrese el volumen del Mod Shout.";

View File

@ -316,7 +316,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
/*
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " SMTP Host:\n";
echo " SMTP Host\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='smtp_host' maxlength='255' value=\"$smtp_host\">\n";
@ -327,7 +327,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " SMTP Secure:\n";
echo " SMTP Secure\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='smtp_secure'>\n";
@ -358,7 +358,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " SMTP Auth:\n";
echo " SMTP Auth\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='smtp_auth'>\n";
@ -383,7 +383,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " SMTP Username:\n";
echo " SMTP Username\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='smtp_username' maxlength='255' value=\"$smtp_username\">\n";
@ -394,7 +394,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " SMTP Password:\n";
echo " SMTP Password\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='password' name='smtp_password' id='smtp_password' onmouseover=\"this.type='text';\" onfocus=\"this.type='text';\" onmouseout=\"if (!$(this).is(':focus')) { this.type='password'; }\" onblur=\"this.type='password';\" maxlength='50' value=\"$smtp_password\">\n";
@ -405,7 +405,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " SMTP From:\n";
echo " SMTP From\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='smtp_from' maxlength='255' value=\"$smtp_from\">\n";
@ -416,7 +416,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " SMTP From Name:\n";
echo " SMTP From Name\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='smtp_from_name' maxlength='255' value=\"$smtp_from_name\">\n";

View File

@ -208,7 +208,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-name'].":\n";
echo " ".$text['label-name']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='sip_profile_name' maxlength='255' value=\"$sip_profile_name\">\n";
@ -219,7 +219,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-hostname'].":\n";
echo " ".$text['label-hostname']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='sip_profile_hostname' maxlength='255' value=\"$sip_profile_hostname\">\n";
@ -230,7 +230,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-description'].":\n";
echo " ".$text['label-description']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <textarea class='formfld' style='width: 300px;' name='sip_profile_description' rows='4'>$sip_profile_description</textarea>\n";

View File

@ -194,7 +194,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-setting_name'].":\n";
echo " ".$text['label-setting_name']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='sip_profile_setting_name' maxlength='255' value=\"$sip_profile_setting_name\">\n";
@ -205,7 +205,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-setting_value'].":\n";
echo " ".$text['label-setting_value']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='sip_profile_setting_value' maxlength='255' value=\"$sip_profile_setting_value\">\n";
@ -216,7 +216,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-setting_enabled'].":\n";
echo " ".$text['label-setting_enabled']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='sip_profile_setting_enabled'>\n";
@ -240,7 +240,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-setting_description'].":\n";
echo " ".$text['label-setting_description']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='sip_profile_setting_description' maxlength='255' value=\"$sip_profile_setting_description\">\n";

View File

@ -119,7 +119,7 @@ else {
*/
echo " ".$text['label-table'].": \n";
echo " ".$text['label-table']."\n";
echo " <select name='table_name' class='formfld' style='width: auto;'>\n";
echo " <option value=''></option>\n";
if ($db_type == "sqlite") {

View File

@ -31,65 +31,65 @@
$text['title-sys-info']['pt-pt'] = "Informação do Sistema";
$text['title-sys-info']['fr-fr'] = "Info Système";
$text['label-os']['en-us'] = "Operating System:";
$text['label-os']['es-cl'] = "Sistema Operativo:";
$text['label-os']['pt-pt'] = "Sistema Operativo:";
$text['label-os']['fr-fr'] = "Operating System:";
$text['label-os']['en-us'] = "Operating System";
$text['label-os']['es-cl'] = "Sistema Operativo";
$text['label-os']['pt-pt'] = "Sistema Operativo";
$text['label-os']['fr-fr'] = "Operating System";
$text['title-mem']['en-us'] = "Memory Information";
$text['title-mem']['es-cl'] = "Información de Memoria";
$text['title-mem']['pt-pt'] = "Informação da Memória";
$text['title-mem']['fr-fr'] = "Information Mémoire";
$text['label-mem']['en-us'] = "Memory Status:";
$text['label-mem']['es-cl'] = "Estado de Memoria:";
$text['label-mem']['pt-pt'] = "Estado da Memória:";
$text['label-mem']['fr-fr'] = "Statut Mémoire:";
$text['label-mem']['en-us'] = "Memory Status";
$text['label-mem']['es-cl'] = "Estado de Memoria";
$text['label-mem']['pt-pt'] = "Estado da Memória";
$text['label-mem']['fr-fr'] = "Statut Mémoire";
$text['title-cpu']['en-us'] = "CPU Information";
$text['title-cpu']['es-cl'] = "Info CPU";
$text['title-cpu']['pt-pt'] = "Informação de CPU";
$text['title-cpu']['fr-fr'] = "Info CPU";
$text['label-cpu']['en-us'] = "CPU Status:";
$text['label-cpu']['es-cl'] = "Estado de CPU:";
$text['label-cpu']['pt-pt'] = "Estado do CPU:";
$text['label-cpu']['fr-fr'] = "CPU Statut:";
$text['label-cpu']['en-us'] = "CPU Status";
$text['label-cpu']['es-cl'] = "Estado de CPU";
$text['label-cpu']['pt-pt'] = "Estado do CPU";
$text['label-cpu']['fr-fr'] = "CPU Statut";
$text['title-drive']['en-us'] = "Drive Information";
$text['title-drive']['es-cl'] = "Información de Disco";
$text['title-drive']['pt-pt'] = "Informação do Disco";
$text['title-drive']['fr-fr'] = "Info Disque";
$text['label-drive']['en-us'] = "Drive Space:";
$text['label-drive']['es-cl'] = "Espacio en Disco:";
$text['label-drive']['pt-pt'] = "Espaço do Disco:";
$text['label-drive']['fr-fr'] = "Espace Disque:";
$text['label-drive']['en-us'] = "Drive Space";
$text['label-drive']['es-cl'] = "Espacio en Disco";
$text['label-drive']['pt-pt'] = "Espaço do Disco";
$text['label-drive']['fr-fr'] = "Espace Disque";
$text['label-drive-capacity']['en-us'] = "Capacity:";
$text['label-drive-capacity']['es-cl'] = "Capacidad:";
$text['label-drive-capacity']['pt-pt'] = "Capacidade:";
$text['label-drive-capacity']['fr-fr'] = "Capacité:";
$text['label-drive-capacity']['en-us'] = "Capacity";
$text['label-drive-capacity']['es-cl'] = "Capacidad";
$text['label-drive-capacity']['pt-pt'] = "Capacidade";
$text['label-drive-capacity']['fr-fr'] = "Capacité";
$text['label-drive-free']['en-us'] = "Free Space:";
$text['label-drive-free']['es-cl'] = "Espacio Libre:";
$text['label-drive-free']['pt-pt'] = "Espaço Livre:";
$text['label-drive-free']['fr-fr'] = "Espace Libre:";
$text['label-drive-free']['en-us'] = "Free Space";
$text['label-drive-free']['es-cl'] = "Espacio Libre";
$text['label-drive-free']['pt-pt'] = "Espaço Livre";
$text['label-drive-free']['fr-fr'] = "Espace Libre";
$text['label-drive-percent']['en-us'] = "Percent Free:";
$text['label-drive-percent']['es-cl'] = "Porcentaje Libre:";
$text['label-drive-percent']['pt-pt'] = "Percentagem Livre:";
$text['label-drive-percent']['fr-fr'] = "Pourcent Libre:";
$text['label-drive-percent']['en-us'] = "Percent Free";
$text['label-drive-percent']['es-cl'] = "Porcentaje Libre";
$text['label-drive-percent']['pt-pt'] = "Percentagem Livre";
$text['label-drive-percent']['fr-fr'] = "Pourcent Libre";
$text['title-memcache']['en-us'] = "Memcache Information";
$text['title-memcache']['es-cl'] = "Información de Memcache";
$text['title-memcache']['pt-pt'] = "Informação da Memcache";
$text['title-memcache']['fr-fr'] = "Information Memcache";
$text['label-memcache_status']['en-us'] = "Memcache Status:";
$text['label-memcache_status']['es-cl'] = "Estado de Memcache:";
$text['label-memcache_status']['pt-pt'] = "Estado da Memcache:";
$text['label-memcache_status']['fr-fr'] = "Statut Memcache:";
$text['label-memcache_status']['en-us'] = "Memcache Status";
$text['label-memcache_status']['es-cl'] = "Estado de Memcache";
$text['label-memcache_status']['pt-pt'] = "Estado da Memcache";
$text['label-memcache_status']['fr-fr'] = "Statut Memcache";
$text['message-unavailable']['en-us'] = "Unavailable";
$text['message-unavailable']['es-cl'] = "Indisponible";

View File

@ -77,7 +77,7 @@ echo "<br />";
if (permission_exists('system_view_info')) {
echo "<tr>\n";
echo " <td width='20%' class=\"vncell\" style='text-align: left;'>\n";
echo " Version: \n";
echo " Version\n";
echo " </td>\n";
echo " <td class=\"row_style1\">\n";
echo " ".software_version()."\n";
@ -105,7 +105,7 @@ echo "<br />";
if (strlen($tmp_result) > 0) {
echo "<tr>\n";
echo " <td width='20%' class=\"vncell\" style='text-align: left;'>\n";
echo " Uptime: \n";
echo " Uptime\n";
echo " </td>\n";
echo " <td class=\"row_style1\">\n";
echo " ".$tmp_result." \n";
@ -116,7 +116,7 @@ echo "<br />";
}
echo "<tr>\n";
echo " <td width='20%' class=\"vncell\" style='text-align: left;'>\n";
echo " Date: \n";
echo " Date\n";
echo " </td>\n";
echo " <td class=\"row_style1\">\n";
echo " ".date('r')." \n";
@ -352,7 +352,7 @@ echo "<br />";
if (is_array($mc_status) && sizeof($mc_status) > 0) {
foreach($mc_status as $mc_field => $mc_value) {
echo "<tr>\n";
echo " <td width='20%' class='vncell' style='text-align: left;'>".$mc_field.": </td>\n";
echo " <td width='20%' class='vncell' style='text-align: left;'>".$mc_field."</td>\n";
echo " <td class='row_style1'>".$mc_value."</td>\n";
echo "</tr>\n";
}

View File

@ -205,7 +205,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-name'].":\n";
echo " ".$text['label-name']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='var_name' maxlength='255' value=\"$var_name\">\n";
@ -216,7 +216,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-value'].":\n";
echo " ".$text['label-value']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='var_value' maxlength='255' value=\"$var_value\">\n";
@ -227,7 +227,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-category'].":\n";
echo " ".$text['label-category']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
$table_name = 'v_vars';$field_name = 'var_cat';$sql_where_optional = "";$field_current_value = $var_cat;
@ -239,7 +239,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-enabled'].":\n";
echo " ".$text['label-enabled']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='var_enabled'>\n";
@ -263,7 +263,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-order'].":\n";
echo " ".$text['label-order']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select name='var_order' class='formfld'>\n";
@ -288,7 +288,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-description'].":\n";
echo " ".$text['label-description']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <textarea class='formfld' name='var_description' rows='17'>$var_description</textarea>\n";

View File

@ -192,7 +192,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-name'].":\n";
echo " ".$text['label-name']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='greeting_name' maxlength='255' value=\"$greeting_name\">\n";
@ -203,7 +203,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-description'].":\n";
echo " ".$text['label-description']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='greeting_description' maxlength='255' value=\"$greeting_description\">\n";

View File

@ -196,7 +196,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " Created Epoch:\n";
echo " Created Epoch\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='created_epoch' maxlength='255' value='$created_epoch'>\n";
@ -207,7 +207,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " Read Epoch:\n";
echo " Read Epoch\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='read_epoch' maxlength='255' value='$read_epoch'>\n";
@ -218,7 +218,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " Caller ID Name:\n";
echo " Caller ID Name\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='caller_id_name' maxlength='255' value=\"$caller_id_name\">\n";
@ -229,7 +229,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " Caller ID Number:\n";
echo " Caller ID Number\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='caller_id_number' maxlength='255' value=\"$caller_id_number\">\n";
@ -240,7 +240,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " Length:\n";
echo " Length\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='message_length' maxlength='255' value='$message_length'>\n";
@ -251,7 +251,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " Status:\n";
echo " Status\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='message_status' maxlength='255' value=\"$message_status\">\n";
@ -262,7 +262,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " Priority:\n";
echo " Priority\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='message_priority' maxlength='255' value=\"$message_priority\">\n";

View File

@ -162,7 +162,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo " <tr>\n";
echo " <td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-name'].":\n";
echo " ".$text['label-name']."\n";
echo " </td>\n";
echo " <td class='vtable' align='left'>\n";
echo " $name &nbsp;\n";
@ -171,7 +171,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo " <tr>\n";
echo " <td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-category'].":\n";
echo " ".$text['label-category']."\n";
echo " </td>\n";
echo " <td class='vtable' align='left'>\n";
echo " $category &nbsp;\n";
@ -180,7 +180,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo " <tr>\n";
echo " <td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-subcategory'].":\n";
echo " ".$text['label-subcategory']."\n";
echo " </td>\n";
echo " <td class='vtable' align='left'>\n";
echo " $subcategory &nbsp;\n";
@ -189,7 +189,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo " <tr>\n";
echo " <td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-version'].":\n";
echo " ".$text['label-version']."\n";
echo " </td>\n";
echo " <td class='vtable' align='left'>\n";
echo " $version &nbsp;\n";
@ -198,7 +198,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo " <tr>\n";
echo " <td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-description'].":\n";
echo " ".$text['label-description']."\n";
echo " </td>\n";
echo " <td class='vtable' align='left'>\n";
echo " $description &nbsp;\n";

View File

@ -242,7 +242,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-driver'].":\n";
echo " ".$text['label-driver']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='database_driver'>\n";
@ -279,7 +279,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-type'].":\n";
echo " ".$text['label-type']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='database_type'>\n";
@ -316,7 +316,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-host'].":\n";
echo " ".$text['label-host']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='database_host' maxlength='255' value=\"$database_host\">\n";
@ -327,7 +327,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-port'].":\n";
echo " ".$text['label-port']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='database_port' maxlength='255' value=\"$database_port\">\n";
@ -338,7 +338,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-name'].":\n";
echo " ".$text['label-name']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='database_name' maxlength='255' value=\"$database_name\">\n";
@ -349,7 +349,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-username'].":\n";
echo " ".$text['label-username']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='database_username' maxlength='255' value=\"$database_username\">\n";
@ -360,7 +360,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-password'].":\n";
echo " ".$text['label-password']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='database_password' maxlength='255' value=\"$database_password\">\n";
@ -371,7 +371,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-path'].":\n";
echo " ".$text['label-path']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='database_path' maxlength='255' value=\"$database_path\">\n";
@ -382,7 +382,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-description'].":\n";
echo " ".$text['label-description']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='database_description' maxlength='255' value=\"$database_description\">\n";

View File

@ -207,7 +207,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-category'].":\n";
echo " ".$text['label-category']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='default_setting_category' maxlength='255' value=\"$default_setting_category\">\n";
@ -218,7 +218,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-subcategory'].":\n";
echo " ".$text['label-subcategory']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='default_setting_subcategory' id='default_setting_subcategory' maxlength='255' value=\"$default_setting_subcategory\">\n";
@ -229,7 +229,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-type'].":\n";
echo " ".$text['label-type']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='default_setting_name' maxlength='255' value=\"$default_setting_name\">\n";
@ -240,7 +240,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-value'].":\n";
echo " ".$text['label-value']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
$category = $row['default_setting_category'];
@ -508,7 +508,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-enabled'].":\n";
echo " ".$text['label-enabled']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='default_setting_enabled'>\n";
@ -532,7 +532,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-description'].":\n";
echo " ".$text['label-description']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='default_setting_description' maxlength='255' value=\"".$default_setting_description."\">\n";

View File

@ -297,7 +297,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-category'].":\n";
echo " ".$text['label-category']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='domain_setting_category' maxlength='255' value=\"$domain_setting_category\">\n";
@ -308,7 +308,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-subcategory'].":\n";
echo " ".$text['label-subcategory']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='domain_setting_subcategory' maxlength='255' value=\"$domain_setting_subcategory\">\n";
@ -319,7 +319,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-type'].":\n";
echo " ".$text['label-type']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='domain_setting_name' maxlength='255' value=\"$domain_setting_name\">\n";
@ -330,7 +330,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-value'].":\n";
echo " ".$text['label-value']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
$category = $row['domain_setting_category'];
@ -522,7 +522,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-enabled'].":\n";
echo " ".$text['label-enabled']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='domain_setting_enabled'>\n";
@ -546,7 +546,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-description'].":\n";
echo " ".$text['label-description']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='domain_setting_description' maxlength='255' value=\"".$domain_setting_description."\">\n";

View File

@ -203,7 +203,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-name'].":\n";
echo " ".$text['label-name']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='menu_name' maxlength='255' value=\"$menu_name\">\n";
@ -214,7 +214,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-language'].":\n";
echo " ".$text['label-language']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='menu_language' maxlength='255' value=\"$menu_language\">\n";
@ -225,7 +225,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-description'].":\n";
echo " ".$text['label-description']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='menu_description' maxlength='255' value=\"$menu_description\">\n";

View File

@ -343,15 +343,15 @@ else {
echo "</tr>\n";
echo " <tr>";
echo " <td class='vncellreq'>".$text['label-title'].":</td>";
echo " <td class='vncellreq'>".$text['label-title']."</td>";
echo " <td class='vtable'><input type='text' class='formfld' name='menu_item_title' value='$menu_item_title'></td>";
echo " </tr>";
echo " <tr>";
echo " <td class='vncellreq'>".$text['label-link'].":</td>";
echo " <td class='vncellreq'>".$text['label-link']."</td>";
echo " <td class='vtable'><input type='text' class='formfld' name='menu_item_link' value='$menu_item_link'></td>";
echo " </tr>";
echo " <tr>";
echo " <td class='vncellreq'>".$text['label-category'].":</td>";
echo " <td class='vncellreq'>".$text['label-category']."</td>";
echo " <td class='vtable'>";
echo " <select name=\"menu_item_category\" class='formfld'>\n";
if ($menu_item_category == "internal") { echo "<option value=\"internal\" selected>".$text['option-internal']."</option>\n"; } else { echo "<option value=\"internal\">".$text['option-internal']."</option>\n"; }
@ -362,7 +362,7 @@ else {
echo " </tr>";
echo " <tr>";
echo " <td class='vncell'>".$text['label-parent_menu'].":</td>";
echo " <td class='vncell'>".$text['label-parent_menu']."</td>";
echo " <td class='vtable'>";
$sql = "SELECT * FROM v_menu_items ";
$sql .= "where menu_uuid = '$menu_uuid' ";
@ -386,7 +386,7 @@ else {
echo " </tr>";
echo " <tr>";
echo " <td class='vncell' valign='top'>".$text['label-groups'].":</td>";
echo " <td class='vncell' valign='top'>".$text['label-groups']."</td>";
echo " <td class='vtable'>";
echo "<table width='52%'>\n";
@ -441,7 +441,7 @@ else {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-protected'].":\n";
echo " ".$text['label-protected']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='menu_item_protected'>\n";
@ -466,14 +466,14 @@ else {
if ($action == "update") {
if ($menu_item_parent_uuid == "") {
echo " <tr>";
echo " <td class='vncell'>".$text['label-menu_order'].":</td>";
echo " <td class='vncell'>".$text['label-menu_order']."</td>";
echo " <td class='vtable'><input type='text' class='formfld' name='menu_item_order' value='$menu_item_order'></td>";
echo " </tr>";
}
}
echo " <tr>";
echo " <td class='vncell'>".$text['label-description'].":</td>";
echo " <td class='vncell'>".$text['label-description']."</td>";
echo " <td class='vtable'><input type='text' class='formfld' name='menu_item_description' value='$menu_item_description'></td>";
echo " </tr>";

View File

@ -86,7 +86,7 @@
echo "</tr>\n";
echo "<tr>\n";
echo " <td width='20%' class=\"vncell\" style='text-align: left;'>\n";
echo " ".$text['label-username'].": \n";
echo " ".$text['label-username']."\n";
echo " </td>\n";
echo " <td class=\"row_style1\">\n";
echo " <a href='".PROJECT_PATH."/core/user_settings/user_edit.php'>".$_SESSION["username"]."</a> \n";
@ -97,7 +97,7 @@
if (file_exists($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/app/voicemails/voicemail_messages.php")) {
echo "<tr>\n";
echo " <td width='20%' class=\"vncell\" style='text-align: left;'>\n";
echo " ".$text['label-voicemail'].": \n";
echo " ".$text['label-voicemail']."\n";
echo " </td>\n";
echo " <td class=\"row_style1\">\n";
echo " <a href='".PROJECT_PATH."/app/voicemails/voicemail_messages.php'>".$text['label-view-messages']."</a> \n";

View File

@ -310,16 +310,16 @@ else {
echo "</tr>\n";
echo " <tr>";
echo " <td width='30%' class='vncellreq' align='left'>".$text['label-username'].":</td>";
echo " <td width='30%' class='vncellreq' align='left'>".$text['label-username']."</td>";
echo " <td width='70%' class='vtable' align='left'>$username</td>";
echo " </tr>";
echo " <tr>";
echo " <td class='vncell' align='left'>".$text['label-password'].":</td>";
echo " <td class='vncell' align='left'>".$text['label-password']."</td>";
echo " <td class='vtable' align='left'><input type='password' autocomplete='off' class='formfld' name='password' value=\"\"></td>";
echo " </tr>";
echo " <tr>";
echo " <td class='vncell' align='left'>".$text['label-confirm-password'].":</td>";
echo " <td class='vncell' align='left'>".$text['label-confirm-password']."</td>";
echo " <td class='vtable' align='left'><input type='password' autocomplete='off' class='formfld' name='confirm_password' value=\"\"></td>";
echo " </tr>";
@ -340,7 +340,7 @@ else {
else {
echo " <tr>\n";
echo " <td width='30%' class=\"vncell\">\n";
echo " ".$text['label-status'].":\n";
echo " ".$text['label-status']."\n";
echo " </td>\n";
echo " <td width='70%' class=\"vtable\" align='left'>\n";
echo " <select id='user_status' name='user_status' class='formfld' style=''>\n";
@ -418,7 +418,7 @@ else {
echo " <tr>\n";
echo " <td width='20%' class=\"vncell\">\n";
echo " ".$text['label-user_language'].": \n";
echo " ".$text['label-user_language']."\n";
echo " </td>\n";
echo " <td class=\"vtable\" align='left'>\n";
echo " <select id='user_language' name='user_language' class='formfld' style=''>\n";
@ -444,7 +444,7 @@ else {
echo " <tr>\n";
echo " <td width='20%' class=\"vncell\">\n";
echo " ".$text['label-time'].": \n";
echo " ".$text['label-time']."\n";
echo " </td>\n";
echo " <td class=\"vtable\" align='left'>\n";
echo " <select id='user_time_zone' name='user_time_zone' class='formfld' style=''>\n";

View File

@ -101,7 +101,7 @@ require_once "resources/require.php";
echo "<table width='100%' cellpadding='6' cellspacing='0'>\n";
echo "<tr>\n";
echo "<td width='30%' class='vncellreq'>\n";
echo $text['label-group_name'].":\n";
echo $text['label-group_name']."\n";
echo "</td>\n";
echo "<td width='70%' align='left' class='vtable'>\n";
echo " <input type=\"text\" class='formfld' name=\"group_name\">\n";
@ -110,7 +110,7 @@ require_once "resources/require.php";
echo "<tr>\n";
echo "<td class='vncellreq'>\n";
echo $text['label-group_description'].":\n";
echo $text['label-group_description']."\n";
echo "</td>\n";
echo "<td align='left' class='vtable'>\n";
echo "<textarea name='group_description' class='formfld'></textarea>\n";

View File

@ -256,24 +256,24 @@ if (count($_POST)>0 && check_str($_POST["persistform"]) != "1") {
echo "<table border='0' $tablewidth cellpadding='0' cellspacing='0'>";
echo " <tr>";
echo " <td class='vncellreq' width='30%'>".$text['label-username'].":</td>";
echo " <td class='vncellreq' width='30%'>".$text['label-username']."</td>";
echo " <td class='vtable' width='70%'><input type='text' class='formfld' autocomplete='off' name='username' value='$username'></td>";
echo " </tr>";
echo " <tr>";
echo " <td class='vncellreq'>".$text['label-password'].":</td>";
echo " <td class='vncellreq'>".$text['label-password']."</td>";
echo " <td class='vtable'><input type='password' class='formfld' autocomplete='off' name='password' id='password' value='$password' onfocus='compare_passwords();' onkeyup='compare_passwords();' onblur='compare_passwords();'></td>";
echo " </tr>";
echo " <tr>";
echo " <td class='vncellreq'>".$text['label-confirm_password'].":</td>";
echo " <td class='vncellreq'>".$text['label-confirm_password']."</td>";
echo " <td class='vtable'><input type='password' class='formfld' autocomplete='off' name='confirmpassword' id='confirmpassword' value='$confirmpassword' onfocus='compare_passwords();' onkeyup='compare_passwords();' onblur='compare_passwords();'></td>";
echo " </tr>";
echo " <tr>";
echo " <td class='vncellreq'>".$text['label-email'].":</td>";
echo " <td class='vncellreq'>".$text['label-email']."</td>";
echo " <td class='vtable'><input type='text' class='formfld' name='user_email' value='$user_email'></td>";
echo " </tr>";
echo " <tr>";
echo " <td class='vncellreq' valign='top'>".$text['label-group'].":</td>";
echo " <td class='vncellreq' valign='top'>".$text['label-group']."</td>";
echo " <td class='vtable'>";
$sql = "SELECT * FROM v_groups ";
$sql .= "where domain_uuid = '".$domain_uuid."' ";
@ -294,15 +294,15 @@ if (count($_POST)>0 && check_str($_POST["persistform"]) != "1") {
echo " </td>";
echo " </tr>";
echo " <tr>";
echo " <td class='vncell'>".$text['label-first_name'].":</td>";
echo " <td class='vncell'>".$text['label-first_name']."</td>";
echo " <td class='vtable'><input type='text' class='formfld' name='contact_name_given' value='$contact_name_given'></td>";
echo " </tr>";
echo " <tr>";
echo " <td class='vncell'>".$text['label-last_name'].":</td>";
echo " <td class='vncell'>".$text['label-last_name']."</td>";
echo " <td class='vtable'><input type='text' class='formfld' name='contact_name_family' value='$contact_name_family'></td>";
echo " </tr>";
echo " <tr>";
echo " <td class='vncell'>".$text['label-company_name'].":</td>";
echo " <td class='vncell'>".$text['label-company_name']."</td>";
echo " <td class='vtable'><input type='text' class='formfld' name='contact_organization' value='$contact_organization'></td>";
echo " </tr>";
echo " <tr>";

View File

@ -434,7 +434,7 @@ else {
echo "</tr>\n";
echo " <tr>";
echo " <td width='30%' class='vncellreq'>".$text['label-username'].":</td>";
echo " <td width='30%' class='vncellreq'>".$text['label-username']."</td>";
echo " <td width='70%' class='vtable'>";
if (if_group("admin") || if_group("superadmin")) {
echo " <input type='txt' autocomplete='off' class='formfld' name='username' value='".$username."' required='required'>";
@ -446,16 +446,16 @@ else {
echo " </tr>";
echo " <tr>";
echo " <td class='vncell'>".$text['label-password'].":</td>";
echo " <td class='vncell'>".$text['label-password']."</td>";
echo " <td class='vtable'><input type='password' autocomplete='off' class='formfld' name='password' id='password' value='' onfocus='compare_passwords();' onkeyup='compare_passwords();' onblur='compare_passwords();'></td>";
echo " </tr>";
echo " <tr>";
echo " <td class='vncell'>".$text['label-confirm_password'].":</td>";
echo " <td class='vncell'>".$text['label-confirm_password']."</td>";
echo " <td class='vtable'><input type='password' autocomplete='off' class='formfld' name='confirm_password' id='confirmpassword' value='' onfocus='compare_passwords();' onkeyup='compare_passwords();' onblur='compare_passwords();'></td>";
echo " </tr>";
echo " <tr>";
echo " <td class='vncellreq' valign='top'>".$text['label-groups'].":</td>";
echo " <td class='vncellreq' valign='top'>".$text['label-groups']."</td>";
echo " <td class='vtable'>";
$sql = "SELECT * FROM v_group_users ";
@ -528,7 +528,7 @@ else {
echo " </tr>\n";
echo " <tr>";
echo " <td width='30%' class='vncell'>".$text['label-contact'].":</td>";
echo " <td width='30%' class='vncell'>".$text['label-contact']."</td>";
echo " <td width='70%' class='vtable'>\n";
$sql = " select contact_uuid, contact_organization, contact_name_given, contact_name_family from v_contacts ";
$sql .= " where domain_uuid = '".$_SESSION['domain_uuid']."' ";
@ -575,7 +575,7 @@ else {
else {
echo " <tr>\n";
echo " <td width='20%' class=\"vncell\">\n";
echo " ".$text['label-status'].":\n";
echo " ".$text['label-status']."\n";
echo " </td>\n";
echo " <td class=\"vtable\">\n";
$cmd = "'".PROJECT_PATH."/app/calls_active/v_calls_exec.php?cmd=callcenter_config+agent+set+status+".$_SESSION['username']."@".$_SESSION['domain_name']."+'+this.value";
@ -620,7 +620,7 @@ else {
echo " <tr>\n";
echo " <td width='20%' class=\"vncell\">\n";
echo " ".$text['label-user_language'].": \n";
echo " ".$text['label-user_language']."\n";
echo " </td>\n";
echo " <td class=\"vtable\" align='left'>\n";
echo " <select id='user_language' name='user_language' class='formfld' style=''>\n";
@ -641,7 +641,7 @@ else {
echo " <tr>\n";
echo " <td width='20%' class=\"vncell\">\n";
echo " ".$text['label-time_zone'].": \n";
echo " ".$text['label-time_zone']."\n";
echo " </td>\n";
echo " <td class=\"vtable\" align='left'>\n";
echo " <select id='user_time_zone' name='user_time_zone' class='formfld' style=''>\n";
@ -676,7 +676,7 @@ else {
if (file_exists($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH.'/app/api/app_config.php')) {
echo " <tr>";
echo " <td class='vncell'>".$text['label-api_key'].":</td>";
echo " <td class='vncell'>".$text['label-api_key']."</td>";
echo " <td class='vtable'>\n";
echo " <input type=\"text\" class='formfld' name=\"api_key\" id='api_key' value=\"".$api_key."\" >";
echo " <input type='button' class='btn' value='".$text['button-generate']."' onclick=\"getElementById('api_key').value='".uuid()."';\">";
@ -689,7 +689,7 @@ else {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-enabled'].":\n";
echo " ".$text['label-enabled']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='user_enabled'>\n";

View File

@ -822,7 +822,7 @@ include "root.php";
}
else {
if ($format == "text") {
$response .= " ".$text['label-schema'].":\n";
$response .= " ".$text['label-schema']."\n";
}
//$db->beginTransaction();
$update_array = explode(";", $sql_update);

View File

@ -99,7 +99,7 @@ require_once "resources/functions.php";
$install_template_name = $_POST["install_template_name"];
//clean up the values
if (strlen($install_switch_base_dir) > 0) {
if (strlen($install_switch_base_dir) > 0) {
$install_switch_base_dir = realpath($install_switch_base_dir);
$install_switch_base_dir = str_replace("\\", "/", $install_switch_base_dir);
}
@ -197,7 +197,7 @@ require_once "resources/functions.php";
//old
//if (file_exists('/usr/share/freeswitch/scripts')) {
// $switch_scripts_dir = '/usr/share/freeswitch/scripts';
//}
//}
//new
if (file_exists('/usr/share/freeswitch/grammar')) {
$switch_grammar_dir = '/usr/share/freeswitch/grammar';
@ -253,7 +253,7 @@ require_once "resources/functions.php";
$switch_sounds_dir = '/usr/local/share/freeswitch/sounds';
}
elseif (file_exists('/data/freeswitch')) {
//FreeBSD embedded
//FreeBSD embedded
//set the default db_path
if (strlen($db_path) == 0) {
$db_path = '/data/db/fusionpbx';
@ -368,7 +368,7 @@ if ($_POST["install_step"] == "2" && count($_POST)>0 && strlen($_POST["persistfo
}
else {
if (strlen($admin_password) < 5) {
$msg .= "Please provide an Admin Password that is 5 or more characters.<br>\n";
$msg .= "Please provide an Admin Password that is 5 or more characters.<br>\n";
}
}
//define the step to return to
@ -573,7 +573,7 @@ if ($_POST["install_step"] == "3" && count($_POST) > 0 && strlen($_POST["persist
}
unset ($file_contents, $sql);
$db_tmp->commit();
//set the file permissions
chmod($db_path.'/'.$db_name, 0777);
}
@ -1438,7 +1438,7 @@ if ($_POST["install_step"] == "3" && count($_POST) > 0 && strlen($_POST["persist
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " Database Type:\n";
echo " Database Type\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select name='db_type' id='db_type' class='formfld' id='form_tag' onchange='db_type_onchange();'>\n";
@ -1453,7 +1453,7 @@ if ($_POST["install_step"] == "3" && count($_POST) > 0 && strlen($_POST["persist
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " Username:\n";
echo " Username\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='admin_username' maxlength='255' value=\"$admin_username\"><br />\n";
@ -1463,7 +1463,7 @@ if ($_POST["install_step"] == "3" && count($_POST) > 0 && strlen($_POST["persist
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " Password:\n";
echo " Password\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='admin_password' maxlength='255' value=\"$admin_password\"><br />\n";
@ -1473,7 +1473,7 @@ if ($_POST["install_step"] == "3" && count($_POST) > 0 && strlen($_POST["persist
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " Country:\n";
echo " Country\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select id='install_default_country' name='install_default_country' class='formfld' style=''>\n";
@ -1707,7 +1707,7 @@ echo <<<EOL
<option value="UG">Uganda</option>
<option value="UA">Ukraine</option>
<option value="AE">United Arab Emirates</option>
<option value="GB">United Kingdom</option>
<option value="GB">United Kingdom</option>
<option value="US" selected='selected'>United States</option>
<option value="UM">United States Minor Outlying Islands</option>
<option value="UY">Uruguay</option>
@ -1729,7 +1729,7 @@ EOL;
echo "</td>\n";
echo "</tr>\n";
echo " <tr>\n";
echo " <td width='20%' class=\"vncellreq\" align='left' nowrap='nowrap'>\n";
echo " Theme: \n";
@ -1790,7 +1790,7 @@ EOL;
echo "<tr>\n";
echo "<td class='vncell' 'valign='top' align='left' nowrap>\n";
echo " Database Filename:\n";
echo " Database Filename\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='db_name' maxlength='255' value=\"$db_name\"><br />\n";
@ -1801,7 +1801,7 @@ EOL;
echo "<tr>\n";
echo "<td class='vncell' 'valign='top' align='left' nowrap>\n";
echo " Database Directory:\n";
echo " Database Directory\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='db_path' maxlength='255' value=\"$db_path\"><br />\n";
@ -1849,7 +1849,7 @@ EOL;
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " Database Host:\n";
echo " Database Host\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='db_host' maxlength='255' value=\"$db_host\"><br />\n";
@ -1860,7 +1860,7 @@ EOL;
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " Database Port:\n";
echo " Database Port\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='db_port' maxlength='255' value=\"$db_port\"><br />\n";
@ -1871,7 +1871,7 @@ EOL;
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " Database Name:\n";
echo " Database Name\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='db_name' maxlength='255' value=\"$db_name\"><br />\n";
@ -1882,7 +1882,7 @@ EOL;
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " Database Username:\n";
echo " Database Username\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='db_username' maxlength='255' value=\"$db_username\"><br />\n";
@ -1893,7 +1893,7 @@ EOL;
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " Database Password:\n";
echo " Database Password\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='db_password' maxlength='255' value=\"$db_password\"><br />\n";
@ -1904,7 +1904,7 @@ EOL;
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " Create Database Username:\n";
echo " Create Database Username\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='db_create_username' maxlength='255' value=\"$db_create_username\"><br />\n";
@ -1915,7 +1915,7 @@ EOL;
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " Create Database Password:\n";
echo " Create Database Password\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='db_create_password' maxlength='255' value=\"$db_create_password\"><br />\n";
@ -1961,7 +1961,7 @@ EOL;
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " Database Host:\n";
echo " Database Host\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='db_host' maxlength='255' value=\"$db_host\"><br />\n";
@ -1972,7 +1972,7 @@ EOL;
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " Database Port:\n";
echo " Database Port\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='db_port' maxlength='255' value=\"$db_port\"><br />\n";
@ -1983,7 +1983,7 @@ EOL;
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " Database Name:\n";
echo " Database Name\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='db_name' maxlength='255' value=\"$db_name\"><br />\n";
@ -1994,7 +1994,7 @@ EOL;
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " Database Username:\n";
echo " Database Username\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='db_username' maxlength='255' value=\"$db_username\"><br />\n";
@ -2005,7 +2005,7 @@ EOL;
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " Database Password:\n";
echo " Database Password\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='db_password' maxlength='255' value=\"$db_password\"><br />\n";
@ -2016,7 +2016,7 @@ EOL;
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " Create Database Username:\n";
echo " Create Database Username\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='db_create_username' maxlength='255' value=\"$db_create_username\"><br />\n";
@ -2028,7 +2028,7 @@ EOL;
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " Create Database Password:\n";
echo " Create Database Password\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='db_create_password' maxlength='255' value=\"$db_create_password\"><br />\n";
@ -2047,7 +2047,7 @@ EOL;
echo " <input type='hidden' name='install_backup_dir' value='$install_backup_dir'>\n";
echo " <input type='hidden' name='install_step' value='3'>\n";
echo " <input type='hidden' name='install_template_name' value='$install_template_name'>\n";
echo " <input type='hidden' name='install_default_country' value='$install_default_country'>\n";
echo " <input type='hidden' name='install_default_country' value='$install_default_country'>\n";
echo " <input type='submit' name='submit' class='btn' value='Install'>\n";
echo " </td>\n";
echo " </tr>";