Input Type Switch Button: Changed from < to left triangle (&#10782;)

This commit is contained in:
Nate Jones
2014-08-03 05:31:42 +00:00
parent 89c3683ce2
commit abcc96f0ad
11 changed files with 19 additions and 19 deletions
+2 -2
View File
@@ -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='&#10782;';
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='&#10782;'>\n";
echo " <br />\n";
echo " </td>\n";
echo " <td style='width: 73px;'>&nbsp; ".$text['label-expression'].":</td>\n";
+2 -2
View File
@@ -296,7 +296,7 @@ function change_to_input(obj){
tbb=document.createElement('INPUT');
tbb.setAttribute('class', 'btn');
tbb.type='button';
tbb.value='<';
tbb.value='&#10782;';
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='&#10782;'>\n";
echo "</td>\n";
echo "</tr>\n";
+2 -2
View File
@@ -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='&#10782;';
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='&#10782;'>\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";