src/org/openbravo/erpCommon/ad_forms/Translation.html
author Gorka Gil <gorka.gil@openbravo.com>
Mon, 26 May 2008 11:32:48 +0000
changeset 1028 8b85368639cc
parent 961 e244d7005cd9
child 1325 af371d42d754
permissions -rw-r--r--
Manual windows of bug 0000436 Blank required fields don't take the focus
carlos@0
     1
<?xml version="1.0" encoding="UTF-8"?>
carlos@0
     2
<!DOCTYPE html PUBLIC "-//W3C//DTD Xhtml 1.0 Transitional//EN" "http://www.w3.org/tr/xhtml1/Dtd/xhtml1-transitional.dtd">
carlos@0
     3
<!--
carlos@0
     4
 *************************************************************************
carlos@0
     5
 * The contents of this file are subject to the Openbravo  Public  License
carlos@0
     6
 * Version  1.0  (the  "License"),  being   the  Mozilla   Public  License
carlos@0
     7
 * Version 1.1  with a permitted attribution clause; you may not  use this
carlos@0
     8
 * file except in compliance with the License. You  may  obtain  a copy of
carlos@0
     9
 * the License at http://www.openbravo.com/legal/license.html 
carlos@0
    10
 * Software distributed under the License  is  distributed  on  an "AS IS"
carlos@0
    11
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
carlos@0
    12
 * License for the specific  language  governing  rights  and  limitations
carlos@0
    13
 * under the License. 
carlos@0
    14
 * The Original Code is Openbravo ERP. 
carlos@0
    15
 * The Initial Developer of the Original Code is Openbravo SL 
carlos@0
    16
 * All portions are Copyright (C) 2001-2006 Openbravo SL 
carlos@0
    17
 * All Rights Reserved. 
carlos@0
    18
 * Contributor(s):  ______________________________________.
carlos@0
    19
 ************************************************************************
carlos@0
    20
-->
carlos@0
    21
<html xmlns="http://www.w3.org/1999/xhtml">
carlos@0
    22
<HEAD>
carlos@0
    23
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
carlos@0
    24
<TITLE>Translation Import/Export</TITLE>
carlos@0
    25
<LINK rel="SHORTCUT ICON" href="../../../../../web/images/favicon.ico" type="image/x-icon"/>
carlos@0
    26
<link rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Main/Main_Manual.css" id="paramCSS"/>
carlos@0
    27
<script language="JavaScript" type="text/javascript" id="paramDirection">
carlos@0
    28
var baseDirection = "../../../../../web/";
carlos@0
    29
</script>
carlos@0
    30
<SCRIPT language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></SCRIPT>
carlos@0
    31
<SCRIPT language="JavaScript" src="../utility/MessagesJS.js" type="text/javascript"></SCRIPT>
carlos@0
    32
<script language="JavaScript" type="text/javascript" id="paramLanguage">
carlos@0
    33
  var LNG_POR_DEFECTO = "en_US";
carlos@0
    34
</script>
asier@528
    35
<script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
asier@528
    36
<script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
asier@528
    37
<script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
carlos@0
    38
<SCRIPT language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></SCRIPT>
carlos@0
    39
<SCRIPT language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></SCRIPT>
carlos@0
    40
<SCRIPT language="JavaScript" src="../../../../../web/js/default/MessageBox.js" type="text/javascript"></SCRIPT>
carlos@0
    41
<script language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></script>
carlos@0
    42
<SCRIPT language="JavaScript" src="../utility/MessagesJS.js" type="text/javascript"></SCRIPT>
carlos@0
    43
<SCRIPT language="JavaScript" type="text/javascript">
carlos@0
    44
function depurar() {
carlos@0
    45
	var frm = document.frmSelector;
carlos@0
    46
	if ((frm.inpFile.value==null || frm.inpFile.value=="") && (frm.inpadImpformatId.value==null || frm.inpadImpformatId.value=="") ) {
gorka@1028
    47
		setWindowElementFocus(frm.inpFile);
carlos@0
    48
		mensaje(7);
carlos@0
    49
		return false;
carlos@0
    50
	}
carlos@0
    51
	return true;
carlos@0
    52
}
carlos@0
    53
carlos@0
    54
function onloadFunctions() {
carlos@0
    55
}
carlos@0
    56
asier@528
    57
</SCRIPT>	<SCRIPT language="JavaScript" type="text/javascript">
asier@528
    58
	function onLoadDo(){
asier@528
    59
		this.windowTables = new Array(
asier@528
    60
		  new windowTableId('client')
asier@528
    61
		);
asier@528
    62
		setWindowTableParentElement();
asier@528
    63
		this.tabsTables = new Array(
asier@528
    64
		  new tabTableId('tdtopTabs')
asier@528
    65
		);
asier@528
    66
		setTabTableParentElement();
asier@528
    67
		enableShortcuts('edition');
asier@528
    68
		
asier@528
    69
		try {
asier@528
    70
		  onloadFunctions();
asier@528
    71
		} catch (e) {}
asier@528
    72
		xx();
asier@528
    73
		resizeArea();
asier@528
    74
		updateMenuIcon('buttonMenu');
asier@528
    75
asier@528
    76
		setWindowElementFocus('firstElement');
asier@528
    77
	}
asier@528
    78
asier@528
    79
	function onResizeDo(){
asier@528
    80
		resizeArea();
asier@528
    81
	}
asier@528
    82
	</SCRIPT>
asier@528
    83
</HEAD>
asier@528
    84
<BODY id="paramMensaje" action="Translation.html" onload="onLoadDo();" onresize="onResizeDo();" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"  >
carlos@0
    85
<FORM name="frmSelector" method="POST" action="Translation.html" id="form">
carlos@0
    86
<INPUT type="hidden" name="Command"></INPUT>
carlos@0
    87
<table height="100%" border="0" cellpadding="0" cellspacing="0" id="main">
carlos@0
    88
    <tr>
carlos@0
    89
      <td valign="top" id="tdleftTabs"></td>
carlos@0
    90
      <td valign="top">
carlos@0
    91
        <TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="Main_ContentPane_Left">
carlos@0
    92
          <TR><TD class="Main_NavBar_bg_left" id="tdleftSeparator"></TD></TR>
carlos@0
    93
          <TR><TD class="Main_ToolBar_bg_left" valign="top"></TD></TR>
carlos@0
    94
          <TR><TD class="Main_Client_bg_left"></TD></TR>
carlos@0
    95
          <TR><TD class="Main_Bottom_bg_left"></TD></TR>
carlos@0
    96
        </TABLE>
carlos@0
    97
      </td>
carlos@0
    98
      <td valign="top">
carlos@0
    99
        <div class="Main_ContentPane_NavBar" id="tdtopButtons"></div>
carlos@0
   100
        <div class="Main_ContentPane_ToolBar" id="paramToolBar"></div>
carlos@0
   101
        <TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="Main_ContentPane_TabPane" id="tdtopTabs">
carlos@0
   102
          <TR id="paramParentTabContainer"></TR>
carlos@0
   103
          <TR id="paramMainTabContainer"></TR>
carlos@0
   104
          <TR id="paramChildTabContainer"></TR>
carlos@0
   105
        </TABLE>
carlos@0
   106
        <DIV class="Main_ContentPane_Client" style="overflow: auto; display: none;" id="client">
carlos@0
   107
                <table class="dojoTabContainer" border="0" cellpadding="0" cellspacing="0" width="100%" summary="">
carlos@0
   108
                  <tr>
carlos@0
   109
                    <td>
carlos@0
   110
                      <table class="dojoTabPaneWrapper" border="0" cellpadding="0" cellspacing="0" width="100%" summary="">
carlos@0
   111
                        <tr>
carlos@0
   112
                          <td>
carlos@0
   113
                            <!-- MessageBox -->
carlos@0
   114
carlos@0
   115
                            <table cellpadding="0" cellspacing="0" id="messageBoxID" class="MessageBoxyy">
carlos@0
   116
                              <TBODY>
carlos@0
   117
                              <tr class="MessageBox_TopMargin">
carlos@0
   118
                                <td class="MessageBox_LeftMargin"></td>
carlos@0
   119
                                <td></td>
carlos@0
   120
                                <td class="MessageBox_RightMargin"></td>
carlos@0
   121
                              </tr>
carlos@0
   122
                              <tr>
carlos@0
   123
                                <td class="MessageBox_LeftMargin"></td>
carlos@0
   124
                                <td>
carlos@0
   125
carlos@0
   126
                                  <table cellpadding="0" cellspacing="0" style="width: 100%;">
carlos@0
   127
                                    <TBODY>
carlos@0
   128
                                    <tr>
carlos@0
   129
                                      <td>
carlos@0
   130
                                        <div class="MessageBox_TopLeft"></div>
carlos@0
   131
                                        <div class="MessageBox_Left"></div>
carlos@0
   132
                                      </td>
carlos@0
   133
                                      <td class="MessageBox_bg">
carlos@0
   134
carlos@0
   135
                                        <table class="MessageBox_Top">
carlos@0
   136
                                        <TBODY>
carlos@0
   137
                                          <tr>
carlos@0
   138
                                            <td>
carlos@0
   139
                                              <span>
carlos@0
   140
                                              <table cellpadding="0" cellspacing="0" class="MessageBox_Body_ContentCell">
carlos@0
   141
                                                <TBODY>
carlos@0
   142
                                                <tr>
carlos@0
   143
                                                  <td class="MessageBox_Icon_ContentCell">
carlos@0
   144
                                                    <div class="MessageBox_Icon"></div>
carlos@0
   145
                                                  </td>
carlos@0
   146
                                                  <td style="vertical-align: top;" id="messageBoxIDContent">
carlos@0
   147
                                                    <span>
carlos@0
   148
                                                      <div class="MessageBox_TextTitle" id="messageBoxIDTitle">
carlos@0
   149
                                                        xxInfo: AccessTableWithNoView
carlos@0
   150
                                                      </div>
carlos@0
   151
                                                      <div class="MessageBox_TextDescription" id="messageBoxIDMessage">
carlos@0
   152
                                                        xxThe current information is empty.
carlos@0
   153
                                                      </div>
carlos@0
   154
                                                      <div class="MessageBox_TextSeparator"></div>
carlos@0
   155
                                                    </span>
carlos@0
   156
                                                  </td>
carlos@0
   157
                                                </tr>
carlos@0
   158
                                                </TBODY>
carlos@0
   159
                                              </table>
carlos@0
   160
                                              </span>
carlos@0
   161
                                            </td>
carlos@0
   162
                                          </tr>
carlos@0
   163
                                          </TBODY>
carlos@0
   164
                                        </table>
carlos@0
   165
carlos@0
   166
                                      </td>
carlos@0
   167
                                      <td class="MessageBox_RightTrans">
carlos@0
   168
                                        <div class="MessageBox_TopRight"></div>
carlos@0
   169
                                        <div class="MessageBox_Right"></div>
carlos@0
   170
                                      </td>
carlos@0
   171
                                    </tr>
carlos@0
   172
                                    <tr>
carlos@0
   173
                                      <td rowspan="2" class="MessageBox_BottomLeft">
carlos@0
   174
                                      </td>
carlos@0
   175
                                      <td class="MessageBox_BottomTrans MessageBox_bg">
carlos@0
   176
                                      </td>
carlos@0
   177
                                      <td rowspan="2" class="MessageBox_BottomRight">
carlos@0
   178
                                      </td>
carlos@0
   179
                                    </tr>
carlos@0
   180
                                    <tr>
carlos@0
   181
                                      <td class="MessageBox_Bottom">
carlos@0
   182
                                      </td>
carlos@0
   183
                                    </tr>
carlos@0
   184
                                    </TBODY>
carlos@0
   185
                                  </table>
carlos@0
   186
carlos@0
   187
                                </td>
carlos@0
   188
                                <td class="MessageBox_RightMargin"></td>
carlos@0
   189
                              </tr>
carlos@0
   190
                              <tr class="MessageBox_BottomMargin">
carlos@0
   191
                                <td class="MessageBox_LeftMargin"></td>
carlos@0
   192
                                <td></td>
carlos@0
   193
                                <td class="MessageBox_RightMargin"></td>
carlos@0
   194
                              </tr>
carlos@0
   195
                              </TBODY>
carlos@0
   196
                            </table>              <!-- USER CONTROLS -->
carlos@0
   197
              <TABLE class="Main_Client_TableEdition">
carlos@0
   198
                <tr>
carlos@0
   199
                  <td class="TableEdition_OneCell_width"></td>
carlos@0
   200
                  <td class="TableEdition_OneCell_width"></td>
carlos@0
   201
                  <td class="TableEdition_OneCell_width"></td>
carlos@0
   202
                  <td class="TableEdition_OneCell_width"></td>
carlos@0
   203
                  <td class="TableEdition_OneCell_width"></td>
carlos@0
   204
                  <td class="TableEdition_OneCell_width"></td>
carlos@0
   205
                </tr>
carlos@0
   206
				<TR>
carlos@0
   207
                  <TD class="TitleCell"><SPAN class="LabelText">Entity</SPAN></TD>
carlos@0
   208
                  <TD class="Combo_ContentCell" colspan="2">
carlos@0
   209
                    <SELECT name="client" id="sectionClient" class="Combo Combo_TwoCells_width required">
carlos@0
   210
						<OPTION value="es" id="fieldClaveCliente">xxCustomer1
carlos@0
   211
						</OPTION>
carlos@0
   212
					</SELECT>
carlos@0
   213
                  </TD>
carlos@0
   214
                  <TD class="TitleCell"><SPAN class="LabelText">Language</SPAN></TD>
carlos@0
   215
                  <TD class="Combo_ContentCell" colspan="2">
carlos@0
   216
                    <SELECT name="language" id="sectionDetail" class="Combo Combo_TwoCells_width required">
carlos@0
   217
						<OPTION value="es" id="fieldClaveLanguage"></OPTION>
carlos@0
   218
					</SELECT>
carlos@0
   219
                  </TD>
carlos@0
   220
                </TR>
carlos@0
   221
                <TR>
carlos@0
   222
                  <TD class="TitleCell"></TD>
carlos@0
   223
                  <TD class="ContentCell"></TD>
carlos@0
   224
                  <TD class="Button_RightAlign_ContentCell">
carlos@0
   225
                    <div>
david@628
   226
                      <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Import'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="submitCommandForm('IMPORT');return false;" id="buttonImport">
carlos@0
   227
                        <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='Accept';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
carlos@0
   228
                        <tr>
carlos@0
   229
                          <td class="Button_left"><img class="Button_Icon Button_Icon_process" alt="Import" title="Import" src="../../../../../web/images/blank.gif" border=0/></td>
carlos@0
   230
                          <td class="Button_text Button_width">Import</td>
carlos@0
   231
                          <td class="Button_right"></td>
carlos@0
   232
                        </tr>
carlos@0
   233
                      </table>
carlos@0
   234
                      </a>
carlos@0
   235
                    </div>
carlos@0
   236
                  </TD>
carlos@0
   237
                  <TD class="Button_LeftAlign_ContentCell">
carlos@0
   238
                    <div>
david@628
   239
                      <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Export'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="submitCommandForm('EXPORT');return false;" id="buttonExport">
carlos@0
   240
                        <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='Cancel';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
carlos@0
   241
                        <tr>
carlos@0
   242
                          <td class="Button_left"><img class="Button_Icon Button_Icon_process" alt="Export" title="Export" src="../../../../../web/images/blank.gif" border=0/></td>
carlos@0
   243
                          <td class="Button_text Button_width">Export</td>
carlos@0
   244
                          <td class="Button_right"></td>
carlos@0
   245
                        </tr>
carlos@0
   246
                      </table>
carlos@0
   247
                      </a>
carlos@0
   248
                    </div>
carlos@0
   249
                  </TD>
carlos@0
   250
                  <TD class="TitleCell"></TD>
carlos@0
   251
                  <TD class="ContentCell"></TD>
carlos@0
   252
                </TR>
carlos@0
   253
              </TABLE>
carlos@0
   254
carlos@0
   255
carlos@0
   256
                      <!-- USER CONTROLS -->
carlos@0
   257
                </TD>
carlos@0
   258
              </TR>
carlos@0
   259
              </TABLE>
carlos@0
   260
              </TD>
carlos@0
   261
            </TR>
carlos@0
   262
          </TABLE>
carlos@0
   263
        </div>
carlos@0
   264
        <TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="Menu_ContentPane_Bottom" id="tdbottomSeparator">
carlos@0
   265
          <TR>
carlos@0
   266
            <TD class="Main_Bottom_bg"><IMG src="../../../../../web/images/blank.gif" border="0"></TD>
carlos@0
   267
          </TR>
carlos@0
   268
        </TABLE></td>
carlos@0
   269
      <td valign="top">
carlos@0
   270
        <TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="Main_ContentPane_Right" id="tdrightSeparator">
carlos@0
   271
          <TR><TD class="Main_NavBar_bg_right"></TD></TR>
carlos@0
   272
          <TR><TD class="Main_ToolBar_bg_right" valign="top"></TD></TR>
carlos@0
   273
          <TR><TD class="Main_Client_bg_right"></TD></TR>
carlos@0
   274
          <TR><TD class="Main_Bottom_bg_right"></TD></TR>
carlos@0
   275
        </TABLE>
carlos@0
   276
      </td>
carlos@0
   277
    </tr>
carlos@0
   278
  </table>
carlos@0
   279
carlos@0
   280
carlos@0
   281
carlos@0
   282
carlos@0
   283
carlos@0
   284
<!--span id="paramToolBar">toolbar</span>
carlos@0
   285
<BR></BR>
carlos@0
   286
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
carlos@0
   287
<TR>
carlos@0
   288
<TD>
carlos@0
   289
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
carlos@0
   290
<TR>
carlos@0
   291
<TD width="119" >
carlos@0
   292
<TABLE border="0" cellspacing="0" cellpadding="0">
carlos@0
   293
<TR>
carlos@0
   294
<TD width="119" height="46" >Translation Import/Export</TD></TR></TABLE></TD>
carlos@0
   295
carlos@0
   296
 <TD > 
carlos@0
   297
                <TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
carlos@0
   298
carlos@0
   299
                <tr>
carlos@0
   300
                <TD >  
carlos@0
   301
                  </TD>
carlos@0
   302
                  </tr>
carlos@0
   303
                </TABLE>
carlos@0
   304
              </TD>
carlos@0
   305
carlos@0
   306
</TR>
carlos@0
   307
</table>
carlos@0
   308
carlos@0
   309
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
carlos@0
   310
<TR>
carlos@0
   311
carlos@0
   312
<td>
carlos@0
   313
<TABLE width="100%" border="1" cellspacing="0" cellpadding="2" >
carlos@0
   314
<TR>
carlos@0
   315
<TD>Translation Import/Export</TD></TR></TABLE></td></TR></TABLE>
carlos@0
   316
<FORM name="frmSelector" method="POST" action="Translation.html">
carlos@0
   317
<INPUT type="hidden" name="Command"></INPUT>
carlos@0
   318
<TABLE width="100%" border="0" cellpadding="0" cellspacing="2">
carlos@0
   319
<TR>
carlos@0
   320
carlos@0
   321
carlos@0
   322
asier@528
   323
<TD width="157">
carlos@0
   324
<SPAN >Entity</SPAN></TD>
carlos@0
   325
<TD width="185">
carlos@0
   326
<SELECT name="client" id="sectionClient" >
carlos@0
   327
<OPTION value="es" id="fieldClaveCliente">xxCustomer1</OPTION></SELECT></TD>
carlos@0
   328
</tr>
carlos@0
   329
<tr>
carlos@0
   330
carlos@0
   331
<TR>
carlos@0
   332
<TD >
carlos@0
   333
<SPAN >Language</SPAN></TD>
carlos@0
   334
<TD>
carlos@0
   335
<SELECT name="language" id="sectionDetail" >
carlos@0
   336
<OPTION value="es" id="fieldClaveLanguage"></OPTION></SELECT></TD></TR>
carlos@0
   337
carlos@0
   338
</TR>
carlos@0
   339
carlos@0
   340
<tr>
carlos@0
   341
<TD width="197">
carlos@0
   342
<TABLE border="1" cellpadding="0" cellspacing="0" summary=""  onclick="submitCommandForm('IMPORT');return false;" id="fieldButtonAction">
carlos@0
   343
<TR >
carlos@0
   344
<TD >
carlos@0
   345
<IMG src="../../../../../web/images/ButtonProcess.gif" border="0" height="25" width="25" id="buttonProcess"></IMG></TD>
carlos@0
   346
<TD >
carlos@0
   347
<INPUT type="hidden" name="inpdocaction" id="DocAction" value="xxV" ></INPUT>
carlos@0
   348
<SPAN id="DocAction_BTN">Import</SPAN></TD></TR></TABLE>
carlos@0
   349
</TD>
carlos@0
   350
<TD width="197">
carlos@0
   351
<TABLE border="1" cellpadding="0" cellspacing="0" summary=""  onclick="submitCommandForm('EXPORT');return false;" id="fieldButtonAction">
carlos@0
   352
<TR >
carlos@0
   353
<TD >
carlos@0
   354
<IMG src="../../../../../web/images/ButtonProcess.gif" border="0" height="25" width="25" id="buttonProcess"></IMG></TD>
carlos@0
   355
<TD >
carlos@0
   356
<INPUT type="hidden" name="inpdocaction" id="DocAction" value="xxV" ></INPUT>
carlos@0
   357
<INPUT type="hidden" id="paramSystem" value="0"/>
carlos@0
   358
<SPAN id="DocAction_BTN">Export</SPAN></TD></TR></TABLE>
carlos@0
   359
</TD>
carlos@0
   360
carlos@0
   361
</tr>
carlos@0
   362
carlos@0
   363
carlos@0
   364
</TABLE>
carlos@0
   365
carlos@0
   366
carlos@0
   367
carlos@0
   368
<HR></HR></FORM></TD></TR></TABLE-->
carlos@0
   369
</form>
carlos@0
   370
</BODY></HTML>