Upgrade to Xinha 0.931. Xinha has been optimized for size and dozens of issues have been closed

out since the last upgrade . Add Firefox and Xinha buttons to main page to show our support.
This commit is contained in:
Chris Morgan
2007-05-31 22:43:05 +00:00
committed by WineHQ
parent ff46a4485d
commit 2d4b27530d
354 changed files with 19793 additions and 21419 deletions

View File

@@ -27,7 +27,7 @@ function onOK() {
for (var i in required) {
var el = document.getElementById(i);
if (!el.value) {
alert(required[i]);
alert(HTMLArea._lc(required[i],"Forms"));
el.focus();
return false;
}

View File

@@ -13,7 +13,7 @@ function Init() {
__dlg_init();
var param = window.dialogArguments;
type = param.f_type;
document.getElementById("f_type").innerHTML = 'Form Element: INPUT (' + type + ')';
document.getElementById("f_type").innerHTML = HTMLArea._lc('Form Element: INPUT', "Forms") + '(' + type + ')';
document.getElementById("txt").style.display = "none";
document.getElementById("chk").style.display = "none";
document.getElementById("btn").style.display = "none";
@@ -76,8 +76,8 @@ function Init() {
function onOK() {
var el = document.getElementById("f_name");
if (!el.value) {
alert("You must enter a Name");
if (!el.value) {
alert(HTMLArea._lc("You must enter a Name","Forms"));
el.focus();
return false;
}

View File

@@ -32,8 +32,8 @@ function Init() {
function onOK() {
var el = document.getElementById("f_name");
if (!el.value) {
alert("You must enter a Name");
if (!el.value) {
alert(HTMLArea._lc("You must enter a Name","Forms"));
el.focus();
return false;
}
@@ -84,7 +84,7 @@ function getValues(){
//Add or update options to the select box
function addItem(item) {
var d = document;
if (item.f_optiontext.value =="") {alert("Please enter a Label");}
if (item.f_optiontext.value =="") {alert(HTMLArea._lc("Please enter a Label","Forms"));}
else {
if (d.getElementById("f_select").options.selectedIndex != -1) { //update item
var indx = d.getElementById("f_select").options.selectedIndex;
@@ -182,7 +182,7 @@ function swapOptions(obj,i,j) {
<select name="select" id="f_select" Size="6" onchange="getValues();" style="width:16em">
</select>
</td>
<td align="center">
<td align="center">
<input type="button" name="up" value="Move Up" style="width:6em" onClick="moveOptionUp()"><br />
<input type="button" name="down" value="Move Down" style="width:6em" onClick="moveOptionDown()"><br />
<input type="button" name="delete" value="Delete" style="width:6em" onClick="deleteItem();">

View File

@@ -29,7 +29,7 @@ function Init() {
function onOK() {
var el = document.getElementById("f_name");
if (!el.value) {
alert("You must enter a Name");
alert(HTMLArea._lc("You must enter a Name","Forms"));
el.focus();
return false;
}