Input Type Switch Button: Changed from < to left triangle (⨞)
This commit is contained in:
parent
89c3683ce2
commit
abcc96f0ad
|
|
@ -423,7 +423,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
|||
echo " tbb=document.createElement('INPUT');\n";
|
||||
echo " tbb.setAttribute('class', 'btn');\n";
|
||||
echo " tbb.type='button';\n";
|
||||
echo " tbb.value='<';\n";
|
||||
echo " tbb.value='⨞';\n";
|
||||
echo " tbb.objs=[obj,tb,tbb];\n";
|
||||
echo " tbb.onclick=function(){ Replace(this.objs); }\n";
|
||||
echo " obj.parentNode.insertBefore(tb,obj);\n";
|
||||
|
|
|
|||
|
|
@ -366,7 +366,7 @@ require_once "resources/require.php";
|
|||
tbb=document.createElement('INPUT');
|
||||
tbb.setAttribute('class', 'btn');
|
||||
tbb.type='button';
|
||||
tbb.value='<';
|
||||
tbb.value='⨞';
|
||||
tbb.objs=[obj,tb,tbb];
|
||||
tbb.onclick=function(){ replace_param(this.objs); }
|
||||
obj.parentNode.insertBefore(tb,obj);
|
||||
|
|
|
|||
|
|
@ -378,7 +378,7 @@ function changeToInput_condition_field_1(obj){
|
|||
tbb=document.createElement('INPUT');
|
||||
tbb.setAttribute('class', 'btn');
|
||||
tbb.type='button';
|
||||
tbb.value='<';
|
||||
tbb.value='⨞';
|
||||
tbb.objs=[obj,tb,tbb];
|
||||
tbb.onclick=function(){ Replace_condition_field_1(this.objs); }
|
||||
obj.parentNode.insertBefore(tb,obj);
|
||||
|
|
@ -432,7 +432,7 @@ echo " <option value='wday'>".$text['option-day_of_week']."</option>\n";
|
|||
echo " <option value='week'>".$text['option-week']."</option>\n";
|
||||
echo " </optgroup>\n";
|
||||
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='<'>\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='⨞'>\n";
|
||||
echo " <br />\n";
|
||||
echo " </td>\n";
|
||||
echo " <td style='width: 73px;'> ".$text['label-expression'].":</td>\n";
|
||||
|
|
|
|||
|
|
@ -296,7 +296,7 @@ function change_to_input(obj){
|
|||
tbb=document.createElement('INPUT');
|
||||
tbb.setAttribute('class', 'btn');
|
||||
tbb.type='button';
|
||||
tbb.value='<';
|
||||
tbb.value='⨞';
|
||||
tbb.objs=[obj,tb,tbb];
|
||||
tbb.onclick=function(){ replace_param(this.objs); }
|
||||
obj.parentNode.insertBefore(tb,obj);
|
||||
|
|
@ -371,7 +371,7 @@ function replace_param(obj){
|
|||
}
|
||||
echo "</optgroup>\n";
|
||||
}
|
||||
echo "<input type='button' id='btn_select_to_input_dialplan_detail_type' class='btn' name='' alt='".$text['button-back']."' onclick='change_to_input(document.getElementById(\"dialplan_detail_type\"));this.style.visibility = \"hidden\";' value='<'>\n";
|
||||
echo "<input type='button' id='btn_select_to_input_dialplan_detail_type' class='btn' name='' alt='".$text['button-back']."' onclick='change_to_input(document.getElementById(\"dialplan_detail_type\"));this.style.visibility = \"hidden\";' value='⨞'>\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
|
|
|
|||
|
|
@ -300,7 +300,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
|
|||
tbb=document.createElement('INPUT');
|
||||
tbb.setAttribute('class', 'btn');
|
||||
tbb.type='button';
|
||||
tbb.value='<';
|
||||
tbb.value='⨞';
|
||||
tbb.objs=[obj,tb,tbb];
|
||||
tbb.onclick=function(){ replace_param(this.objs); }
|
||||
obj.parentNode.insertBefore(tb,obj);
|
||||
|
|
@ -661,7 +661,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
|
|||
echo " </optgroup>\n";
|
||||
//}
|
||||
echo " </select>\n";
|
||||
//echo " <input type='button' id='btn_select_to_input_dialplan_detail_type' class='btn' style='visibility:hidden;' name='' alt='".$text['button-back']."' onclick='change_to_input(document.getElementById(\"dialplan_detail_type\"));this.style.visibility = \"hidden\";' value='<'>\n";
|
||||
//echo " <input type='button' id='btn_select_to_input_dialplan_detail_type' class='btn' style='visibility:hidden;' name='' alt='".$text['button-back']."' onclick='change_to_input(document.getElementById(\"dialplan_detail_type\"));this.style.visibility = \"hidden\";' value='⨞'>\n";
|
||||
echo "</td>\n";
|
||||
//data
|
||||
echo "<td class='vtablerow' onclick=\"label_to_form('label_dialplan_detail_data_".$x."','dialplan_detail_data_".$x."');\" style='width: 100%;' nowrap='nowrap'>\n";
|
||||
|
|
|
|||
|
|
@ -714,7 +714,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
|||
tbb=document.createElement('INPUT');
|
||||
tbb.setAttribute('class', 'btn');
|
||||
tbb.type='button';
|
||||
tbb.value='<';
|
||||
tbb.value='⨞';
|
||||
tbb.objs=[obj,tb,tbb];
|
||||
tbb.onclick=function(){ Replace_condition_field_1(this.objs); }
|
||||
obj.parentNode.insertBefore(tb,obj);
|
||||
|
|
@ -755,7 +755,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
|||
echo " <option value='chan_name'>".$text['option-chan_name']."</option>\n";
|
||||
echo " <option value='network_addr'>".$text['option-network_addr']."</option>\n";
|
||||
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='<'>\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='⨞'>\n";
|
||||
echo " <br />\n";
|
||||
echo " </td>\n";
|
||||
echo " <td style='width: 73px;'> ".$text['label-expression'].":</td>\n";
|
||||
|
|
@ -795,7 +795,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
|||
tbb=document.createElement('INPUT');
|
||||
tbb.setAttribute('class', 'btn');
|
||||
tbb.type='button';
|
||||
tbb.value='<';
|
||||
tbb.value='⨞';
|
||||
tbb.objs=[obj,tb,tbb];
|
||||
tbb.onclick=function(){ Replace_condition_field_2(this.objs); }
|
||||
obj.parentNode.insertBefore(tb,obj);
|
||||
|
|
@ -831,7 +831,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
|||
echo " <option value='chan_name'>".$text['option-chan_name']."</option>\n";
|
||||
echo " <option value='network_addr'>".$text['option-network_addr']."</option>\n";
|
||||
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='<'>\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='⨞'>\n";
|
||||
echo " <br />\n";
|
||||
echo " </td>\n";
|
||||
echo " <td style='width: 73px;' align='left'>\n";
|
||||
|
|
|
|||
|
|
@ -599,7 +599,7 @@ function type_onchange(dialplan_detail_type) {
|
|||
echo " tbb=document.createElement('INPUT');\n";
|
||||
echo " tbb.setAttribute('class', 'btn');\n";
|
||||
echo " tbb.type='button';\n";
|
||||
echo " tbb.value='<';\n";
|
||||
echo " tbb.value='⨞';\n";
|
||||
echo " tbb.objs=[obj,tb,tbb];\n";
|
||||
echo " tbb.onclick=function(){ Replace(this.objs); }\n";
|
||||
echo " obj.parentNode.insertBefore(tb,obj);\n";
|
||||
|
|
|
|||
|
|
@ -1325,7 +1325,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
|
|||
tbb=document.createElement('INPUT');
|
||||
tbb.setAttribute('class', 'btn');
|
||||
tbb.type='button';
|
||||
tbb.value='<';
|
||||
tbb.value='⨞';
|
||||
tbb.objs=[obj,tb,tbb];
|
||||
tbb.onclick=function(){ replace_device_mac_address(this.objs); }
|
||||
obj.parentNode.insertBefore(tb,obj);
|
||||
|
|
@ -1364,7 +1364,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
|
|||
}
|
||||
unset($sql, $result, $result_count);
|
||||
echo " </select>\n";
|
||||
echo " <input type='button' id='btn_select_to_input_device_mac_address' class='btn' name='' alt='".$text['button-back']."' onclick='changeToInput_device_mac_address(document.getElementById(\"device_mac_address\"));this.style.visibility = \"hidden\";' value='<'>\n";
|
||||
echo " <input type='button' id='btn_select_to_input_device_mac_address' class='btn' name='' alt='".$text['button-back']."' onclick='changeToInput_device_mac_address(document.getElementById(\"device_mac_address\"));this.style.visibility = \"hidden\";' value='⨞'>\n";
|
||||
echo " </td>\n";
|
||||
echo " </tr>\n";
|
||||
echo " </table>\n";
|
||||
|
|
|
|||
|
|
@ -433,7 +433,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
|
|||
echo " tbb=document.createElement('INPUT');\n";
|
||||
echo " tbb.setAttribute('class', 'btn');\n";
|
||||
echo " tbb.type='button';\n";
|
||||
echo " tbb.value='<';\n";
|
||||
echo " tbb.value='⨞';\n";
|
||||
echo " tbb.objs=[obj,tb,tbb];\n";
|
||||
echo " tbb.onclick=function(){ Replace(this.objs); }\n";
|
||||
echo " obj.parentNode.insertBefore(tb,obj);\n";
|
||||
|
|
|
|||
|
|
@ -303,7 +303,7 @@ if ($_GET['act'] == "del" && permission_exists('music_on_hold_delete')) {
|
|||
echo " <input class='formfld' style='width: 150px; display: none;' type='text' name='upload_category_new' id='upload_category_new' maxlength='255' value=''>";
|
||||
echo " </td>\n";
|
||||
echo " <td> <br>\n";
|
||||
echo " <input id='upload_category_return' type='button' class='button' style='display: none;' value='<' onclick=\"this.style.display='none'; document.getElementById('upload_category_new').style.display='none'; document.getElementById('upload_category_new').value=''; document.getElementById('upload_category').style.display=''; document.getElementById('upload_category').selectedIndex = 0;\" title='".$text['message-click-select']."'>";
|
||||
echo " <input id='upload_category_return' type='button' class='button' style='display: none;' value='⨞' onclick=\"this.style.display='none'; document.getElementById('upload_category_new').style.display='none'; document.getElementById('upload_category_new').value=''; document.getElementById('upload_category').style.display=''; document.getElementById('upload_category').selectedIndex = 0;\" title='".$text['message-click-select']."'>";
|
||||
echo " </td>\n";
|
||||
echo " <td style='padding-left: 5px;'> <br>\n";
|
||||
echo " <input name='submit' type='submit' class='btn' id='upload' value='".$text['button-upload']."'>\n";
|
||||
|
|
|
|||
|
|
@ -408,7 +408,7 @@ function switch_select_destination($select_type, $select_label, $select_name, $s
|
|||
echo " tbb=document.createElement('INPUT');\n";
|
||||
echo " tbb.setAttribute('class', 'btn');\n";
|
||||
echo " tbb.type='button';\n";
|
||||
echo " tbb.value='<';\n";
|
||||
echo " tbb.value='⨞';\n";
|
||||
echo " tbb.objs=[obj,tb,tbb];\n";
|
||||
echo " tbb.onclick=function(){ Replace".$select_id."(this.objs); }\n";
|
||||
echo " obj.parentNode.insertBefore(tb,obj);\n";
|
||||
|
|
@ -1636,7 +1636,7 @@ function switch_select_destination($select_type, $select_label, $select_name, $s
|
|||
|
||||
echo " </select>\n";
|
||||
if (if_group("superadmin")) {
|
||||
echo "<input type='button' id='btn_select_to_input_".$select_id."' class='btn' name='' alt='back' onclick='changeToInput".$select_id."(document.getElementById(\"".$select_id."\"));this.style.visibility = \"hidden\";' value='<'>";
|
||||
echo "<input type='button' id='btn_select_to_input_".$select_id."' class='btn' name='' alt='back' onclick='changeToInput".$select_id."(document.getElementById(\"".$select_id."\"));this.style.visibility = \"hidden\";' value='⨞'>";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue