Ignore:
Timestamp:
06/03/07 13:21:19 (13 years ago)
Author:
gocher
Message:

change htmlarea to Xinha in plugin Forms and some formating

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/Forms/popups/form.html

    r715 r854  
    1111 
    1212function Init() { 
    13   window.resizeTo(400, 170); 
    1413  __dlg_translate("Forms"); 
    15         __dlg_init(); 
     14  __dlg_init(null,{width:360, height:280}); 
    1615  var param = window.dialogArguments; 
    1716  for (var i in fields) { 
    1817    document.getElementById(fields[i]).value = param[fields[i]]; 
    1918  } 
    20         document.getElementById("f_name").focus(); 
     19  document.getElementById("f_name").focus(); 
    2120} 
    2221 
     
    2625  }; 
    2726  for (var i in required) { 
    28           var el = document.getElementById(i); 
    29           if (!el.value) { 
    30                 alert(HTMLArea._lc(required[i],"Forms")); 
    31                 el.focus(); 
    32                 return false; 
    33           } 
     27    var el = document.getElementById(i); 
     28    if (!el.value) { 
     29      alert(Xinha._lc(required[i],"Forms")); 
     30      el.focus(); 
     31      return false; 
     32    } 
    3433  } 
    3534  // pass data back to the calling window 
     
    7877  <div class="fr">Target Frame:</div> 
    7978  <input name="target" id="f_target" type="text" size="30"> 
    80   <p />   
     79  <p /> 
    8180  </fieldset> 
    8281 
Note: See TracChangeset for help on using the changeset viewer.