src/org/openbravo/erpCommon/ad_forms/Role.html
author Gorka Gil <gorka.gil@openbravo.com>
Mon, 26 May 2008 11:32:48 +0000
changeset 1028 8b85368639cc
parent 741 dc65b1ca408e
child 1044 8691bbc94032
permissions -rw-r--r--
Manual windows of bug 0000436 Blank required fields don't take the focus
juanpablo@378
     1
<!--
juanpablo@378
     2
*************************************************************************
juanpablo@378
     3
* The contents of this file are subject to the Openbravo  Public  License
juanpablo@378
     4
* Version  1.0  (the  "License"),  being   the  Mozilla   Public  License
juanpablo@378
     5
* Version 1.1  with a permitted attribution clause; you may not  use this
juanpablo@378
     6
* file except in compliance with the License. You  may  obtain  a copy of
juanpablo@378
     7
* the License at http://www.openbravo.com/legal/license.html 
juanpablo@378
     8
* Software distributed under the License  is  distributed  on  an "AS IS"
juanpablo@378
     9
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
juanpablo@378
    10
* License for the specific  language  governing  rights  and  limitations
juanpablo@378
    11
* under the License. 
juanpablo@378
    12
* The Original Code is Openbravo ERP. 
juanpablo@378
    13
* The Initial Developer of the Original Code is Openbravo SL 
juanpablo@378
    14
* All portions are Copyright (C) 2001-2006 Openbravo SL 
juanpablo@378
    15
* All Rights Reserved. 
juanpablo@378
    16
* Contributor(s):  ______________________________________.
juanpablo@378
    17
************************************************************************
juanpablo@378
    18
-->
juanpablo@378
    19
<html>
juanpablo@378
    20
<head>
juanpablo@378
    21
<title>Role information</title>
juanpablo@378
    22
<LINK rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Popup/Popup.css" id="paramCSS"></LINK>
juanpablo@378
    23
<script language="JavaScript" type="text/javascript" id="paramDirection">
juanpablo@378
    24
  var baseDirection = "../../../../../web/";
juanpablo@378
    25
</script>
juanpablo@378
    26
<script language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></script>
juanpablo@378
    27
<script language="JavaScript" src="../utility/MessagesJS.js" type="text/javascript"></script>
juanpablo@378
    28
<script language="JavaScript" type="text/javascript" id="paramLanguage">
juanpablo@378
    29
  LNG_POR_DEFECTO = "en_US";
juanpablo@378
    30
</script>
asier@528
    31
<script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
juanpablo@378
    32
<script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
asier@528
    33
<script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
juanpablo@378
    34
<script language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></script>
juanpablo@378
    35
<script language="JavaScript" src="../../../../../web/js/default/MessageBox.js" type="text/javascript"></script>
juanpablo@378
    36
<script language="JavaScript" type="text/javascript">
juanpablo@378
    37
function depurar() {
juanpablo@378
    38
  var frm = document.frmMain;
juanpablo@378
    39
  if (frm.inpClaveOld.value==null || frm.inpClaveOld.value=="") {
gorka@1028
    40
    setWindowElementFocus(frm.inpClaveOld);
juanpablo@378
    41
    mensaje(7);
juanpablo@378
    42
    return false;
juanpablo@378
    43
    } else if (frm.inpClaveNew.value==null || frm.inpClaveNew.value=="") {
gorka@1028
    44
    setWindowElementFocus(frm.inpClaveNew);
juanpablo@378
    45
    mensaje(7);
juanpablo@378
    46
    return false;
juanpablo@378
    47
    } else if (frm.inpClaveNew2.value==null || frm.inpClaveNew2.value=="") {
gorka@1028
    48
    setWindowElementFocus(frm.inpClaveNew2);
juanpablo@378
    49
    mensaje(7);
juanpablo@378
    50
    return false;
juanpablo@378
    51
    } else if (frm.inpClaveNew.value != frm.inpClaveNew2.value) {
gorka@1028
    52
    setWindowElementFocus(frm.inpClaveNew);
juanpablo@378
    53
    mensaje(20);
juanpablo@378
    54
    return false;
juanpablo@378
    55
  }
juanpablo@378
    56
  return true;
juanpablo@378
    57
}
juanpablo@378
    58
function onloadFunctions() {
juanpablo@378
    59
juanpablo@378
    60
  // init combos
juanpablo@378
    61
  document.frmMain.language.value = document.frmInput.inputLanguage.value;
juanpablo@378
    62
  document.frmMain.role.value = document.frmInput.inputRole.value;
juanpablo@378
    63
  refreshRole();
juanpablo@378
    64
  document.frmMain.client.value = document.frmInput.inputEntity.value;
juanpablo@378
    65
  refreshEntity();
juanpablo@378
    66
  document.frmMain.organization.value = document.frmInput.inputOrg.value;
juanpablo@378
    67
  document.frmMain.warehouse.value = document.frmInput.inputWarehouse.value;       
juanpablo@378
    68
juanpablo@378
    69
  if (document.frmInput.saveok.value == "true") {
juanpablo@378
    70
    // Refresh menu
juanpablo@378
    71
    opener.top.document.getElementById("paramFrameMenu").src = "../utility/VerticalMenu.html";
juanpablo@378
    72
    // Refresh main window
juanpablo@378
    73
    opener.top.document.getElementById("paramFrame1").src = "../utility/Home.html";
juanpablo@378
    74
  }
juanpablo@378
    75
juanpablo@378
    76
}
juanpablo@378
    77
juanpablo@378
    78
function refreshRole() {
juanpablo@378
    79
  var cmbRole = document.frmMain.role;
juanpablo@378
    80
  var cmbEntidad = document.frmMain.client;    
juanpablo@378
    81
  cambiarListaCombo(cmbEntidad, arrClientes, cmbRole.options[cmbRole.selectedIndex].value, false);
juanpablo@378
    82
  cambiarListaCombo(document.frmMain.organization, arrOrgs, cmbRole.options[cmbRole.selectedIndex].value, false);
juanpablo@378
    83
  cambiarListaCombo(document.frmMain.warehouse, arrWare, cmbRole.options[cmbRole.selectedIndex].value + "-" + cmbEntidad.options[cmbEntidad.selectedIndex].value, false);
juanpablo@378
    84
  return true;
juanpablo@378
    85
}
juanpablo@378
    86
function refreshEntity() {
juanpablo@378
    87
  var cmbRole = document.frmMain.role;
juanpablo@378
    88
  var cmbEntidad = document.frmMain.client;    
juanpablo@378
    89
  cambiarListaCombo(document.frmMain.warehouse, arrWare, cmbRole.options[cmbRole.selectedIndex].value + '-' + cmbEntidad.options[cmbEntidad.selectedIndex].value, false);
juanpablo@378
    90
  return true;
juanpablo@378
    91
}
juanpablo@378
    92
function saveOptions() {
juanpablo@378
    93
  submitCommandForm("SAVE", false);
david@741
    94
  window.opener.setMenuLoading(true);
juanpablo@378
    95
  return false;
juanpablo@378
    96
}
juanpablo@378
    97
</script>
juanpablo@378
    98
juanpablo@378
    99
<script language="JavaScript" type="text/javascript" id="paramArrayClientes">
juanpablo@378
   100
var arrClientes=null;
juanpablo@378
   101
</script>
juanpablo@378
   102
<script language="JavaScript" type="text/javascript" id="paramArrayOrganizaciones">
juanpablo@378
   103
var arrOrgs=null;
juanpablo@378
   104
</script>
juanpablo@378
   105
<script language="JavaScript" type="text/javascript" id="paramArrayWarehouse">
juanpablo@378
   106
var arrWare=null;
juanpablo@378
   107
</script>
juanpablo@378
   108
  <script language="JavaScript" type="text/javascript">
juanpablo@378
   109
  var gUnfolded = "sessionOptions";
juanpablo@378
   110
  var gUnfolded_MenuItem = gUnfolded + "_MenuItem";
juanpablo@378
   111
   function unfold(id) {
juanpablo@378
   112
     if (gUnfolded) document.getElementById(gUnfolded).style.display = "none";
juanpablo@378
   113
     if (gUnfolded_MenuItem) document.getElementById(gUnfolded_MenuItem).className = "Popup_Client_UserOps_LabelLink";
juanpablo@378
   114
     initialize_MessageBox("messageBoxID");
juanpablo@378
   115
     gUnfolded = id;
juanpablo@378
   116
     gUnfolded_MenuItem = id + "_MenuItem";
juanpablo@378
   117
     document.getElementById(gUnfolded).style.display = "";
juanpablo@378
   118
     document.getElementById(gUnfolded_MenuItem).className = "Popup_Client_UserOps_LabelLink_Selected";
juanpablo@378
   119
   }
juanpablo@378
   120
  </script>
juanpablo@378
   121
juanpablo@378
   122
juanpablo@378
   123
juanpablo@378
   124
  <script>
juanpablo@378
   125
    function submitPassword() {
juanpablo@378
   126
      if (!depurar()) return false
juanpablo@378
   127
      try {
juanpablo@378
   128
        return submitXmlHttpRequest(callback, frmMain, "CHANGE", "Role.html", false);
juanpablo@378
   129
      }
juanpablo@378
   130
      catch (e) {
juanpablo@378
   131
      }
juanpablo@378
   132
    }
juanpablo@378
   133
juanpablo@378
   134
    function callback() {
juanpablo@378
   135
      var strText;
juanpablo@378
   136
      if (getReadyStateHandler(xmlreq,null,false)) {
juanpablo@378
   137
        try {
juanpablo@378
   138
          if (xmlreq.responseXML) strText = xmlreq.responseXML;
juanpablo@378
   139
        } catch (e) {
juanpablo@378
   140
          initialize_MessageBox('messageBoxID');
juanpablo@378
   141
          setValues_MessageBox('messageBoxID','ERROR','ERROR',e);
juanpablo@378
   142
        }
juanpablo@378
   143
        if (strText != null) {
juanpablo@378
   144
          var node = strText.getElementsByTagName("xml-structure");
juanpablo@378
   145
          node = node[0].getElementsByTagName("status");
juanpablo@378
   146
          var type = node[0].getElementsByTagName("type");
juanpablo@378
   147
          var title = node[0].getElementsByTagName("title");
juanpablo@378
   148
          var description = node[0].getElementsByTagName("description");
juanpablo@378
   149
          initialize_MessageBox('messageBoxID');
juanpablo@378
   150
          setValues_MessageBox('messageBoxID',getChildText(type[0]),getChildText(title[0]),getChildText(description[0]));
juanpablo@378
   151
          if (getChildText(type[0]) == 'Success') document.frmMain.reset();
juanpablo@378
   152
        }
juanpablo@378
   153
      }
juanpablo@378
   154
      return true;
juanpablo@378
   155
    }
juanpablo@378
   156
  </script>
juanpablo@378
   157
asier@528
   158
	<SCRIPT language="JavaScript" type="text/javascript">
asier@528
   159
	function onLoadDo(){
asier@528
   160
		this.windowTables = new Array(
asier@528
   161
		  new windowTableId('clientIndex'),
david@628
   162
		  new windowTableId('sessionOptions', null, 'buttonOK'),
david@628
   163
		  new windowTableId('changePassword', null, 'buttonChange')
david@628
   164
		  
asier@528
   165
		);
asier@528
   166
		setWindowTableParentElement();
asier@528
   167
		enableShortcuts('popup');
asier@528
   168
		
asier@528
   169
		unfold(gUnfolded);
asier@528
   170
		resizeAreaUserOps();
asier@528
   171
		try {
asier@528
   172
		  onloadFunctions();
asier@528
   173
		} catch (e) {}
juanpablo@378
   174
asier@528
   175
		setWindowElementFocus('firstElement');
asier@528
   176
	}
asier@528
   177
asier@528
   178
	function onResizeDo(){
asier@528
   179
		resizeAreaUserOps();
asier@528
   180
	}
asier@528
   181
	</SCRIPT>
asier@528
   182
</HEAD>
asier@528
   183
asier@528
   184
<BODY  leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
juanpablo@378
   185
juanpablo@378
   186
<div class="Popup_ContentPane_CircleLogo">
juanpablo@378
   187
  <div class="Popup_WindowLogo">
juanpablo@378
   188
    <img class="Popup_WindowLogo_Icon Popup_WindowLogo_Icon_userContact" src="../../../../../web/images/blank.gif" border=0/></img>
juanpablo@378
   189
  </div>
juanpablo@378
   190
</div>
juanpablo@378
   191
juanpablo@378
   192
juanpablo@378
   193
juanpablo@378
   194
<form action="Role.html" method="post" name="frmMain">
juanpablo@378
   195
  <input type="hidden" name="Command" value="">
juanpablo@378
   196
<INPUT type="hidden" name="IsPopUpCall" value="1">
juanpablo@378
   197
juanpablo@378
   198
  <table cellspacing="0" cellpadding="0" width="100%">
juanpablo@378
   199
    <tr>
juanpablo@378
   200
      <td id="tdNavigation">
juanpablo@378
   201
        <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_NavBar">
juanpablo@378
   202
          <tr class="Popup_NavBar_bg"><td></td>
juanpablo@378
   203
            <td class="Popup_NavBar_separator_cell"></td>
juanpablo@378
   204
            <td class="Popup_NavBar_bg_logo_left"></td>
juanpablo@378
   205
            <td class="Popup_NavBar_bg_logo" width="1" onclick="abrirNuevoBrowser('http://www.openbravo.com', 'Openbravo');return false;"><img src="../../../../../web/images/blank.gif" alt="Openbravo" title="Openbravo" border="0" id="openbravoLogo" class="Popup_NavBar_logo" /></td>
juanpablo@378
   206
            <td class="Popup_NavBar_bg_logo_right"></td>
juanpablo@378
   207
            <td class="Popup_NavBar_Popup_title_cell"><span>User options: <i id="fieldUser">xxOpenbravo</i></a></td>
juanpablo@378
   208
            <td class="Popup_NavBar_separator_cell"></td>
juanpablo@378
   209
          </tr>
juanpablo@378
   210
        </table>
juanpablo@378
   211
      </td>
juanpablo@378
   212
    </tr>
juanpablo@378
   213
    <tr>
juanpablo@378
   214
      <td id="tdSeparator">
juanpablo@378
   215
        <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_SeparatorBar">
juanpablo@378
   216
          <tr>
juanpablo@378
   217
            <td class="Popup_SeparatorBar_bg"></td>
juanpablo@378
   218
          </tr>
juanpablo@378
   219
juanpablo@378
   220
        </table>
juanpablo@378
   221
      </td>
juanpablo@378
   222
    </tr>
juanpablo@378
   223
    <tr valign="top">
juanpablo@378
   224
      <td>
juanpablo@378
   225
        <div class="Popup_ContentPane_Client" style="overflow: auto;">
juanpablo@378
   226
juanpablo@378
   227
juanpablo@378
   228
          <table cellspacing="0" cellpadding="0" class="Popup_Client_TableUserOps">
juanpablo@378
   229
juanpablo@378
   230
            <tr>
juanpablo@378
   231
juanpablo@378
   232
              <td>
juanpablo@378
   233
                <div class="Popup_Client_UserOps_SubMenu" style="overflow: auto; display: none;" id="clientIndex">
juanpablo@378
   234
                  <table class="Popup_Client_TableUserOps_SubMenu" cellpadding="0" cellspacing="0" border="0">
juanpablo@378
   235
juanpablo@378
   236
                    <tr>
juanpablo@378
   237
                      <td>
juanpablo@378
   238
                        <table class="FieldGroup" cellspacing="0" cellpadding="0" border="0">
juanpablo@378
   239
                          <tr class="FieldGroup_TopMargin"></tr>
juanpablo@378
   240
                          <tr>
juanpablo@378
   241
                            <td class="FieldGroupTitle_Left"><img class="FieldGroupTitle_Left_bg" border="0" src="../../../../../web/images/blank.gif"></img></td>
juanpablo@378
   242
                            <td class="FieldGroupTitle">Options</td>
juanpablo@378
   243
                            <td class="FieldGroupTitle_Right"><img class="FieldGroupTitle_Right_bg" border="0" src="../../../../../web/images/blank.gif"></img></td>
juanpablo@378
   244
                          </tr>
juanpablo@378
   245
                          <tr class="FieldGroup_BottomMargin"></tr>
juanpablo@378
   246
                        </table>
juanpablo@378
   247
                      </td>
juanpablo@378
   248
                    </tr>
juanpablo@378
   249
juanpablo@378
   250
                    <tr>
juanpablo@378
   251
                      <td class="TitleCell" style="text-align:left;"><span class="LabelText"><a class="Popup_Client_UserOps_LabelLink_Selected" href="#" onmouseover="window.status='Session options';return true;" onmouseout="window.status='';return true;" onClick="unfold('sessionOptions');return false;" id="sessionOptions_MenuItem">Session options</a></span></td>
juanpablo@378
   252
                    </tr>
juanpablo@378
   253
                  
juanpablo@378
   254
                    <tr>
juanpablo@378
   255
                      <td class="TitleCell" style="text-align:left;"><span class="LabelText"><a class="Popup_Client_UserOps_LabelLink" href="#" onmouseover="window.status='Change password';return true;" onmouseout="window.status='';return true;" onClick="unfold('changePassword');return false;" id="changePassword_MenuItem">Change password</a></span></td>
juanpablo@378
   256
                    </tr>
juanpablo@378
   257
juanpablo@378
   258
                  </table>
juanpablo@378
   259
                </div>
juanpablo@378
   260
              </td>
juanpablo@378
   261
              <td class="Popup_Client_UserOps_VertSeparator" id="tdVerSeparator"></td>
juanpablo@378
   262
              <td valign="top">
juanpablo@378
   263
juanpablo@378
   264
                <div class="Popup_Client_UserOps_SubClient" style="overflow: auto; display: none;" id="client">
juanpablo@378
   265
juanpablo@378
   266
          <!-- START MessageBox -->
juanpablo@378
   267
          <table cellpadding="0" cellspacing="0" id="messageBoxID" class="MessageBoxyy">
juanpablo@378
   268
            <tbody>
juanpablo@378
   269
            <tr class="MessageBox_TopMargin">
juanpablo@378
   270
              <td class="MessageBox_LeftMargin"></td>
juanpablo@378
   271
              <td></td>
juanpablo@378
   272
              <td class="MessageBox_RightMargin"></td>
juanpablo@378
   273
            </tr>
juanpablo@378
   274
            <tr>
juanpablo@378
   275
              <td class="MessageBox_LeftMargin"></td>
juanpablo@378
   276
              <td>
juanpablo@378
   277
juanpablo@378
   278
                <table cellpadding="0" cellspacing="0" style="width: 100%;">
juanpablo@378
   279
                  <tbody>
juanpablo@378
   280
                  <tr>
juanpablo@378
   281
                    <td>
juanpablo@378
   282
                      <div class="MessageBox_TopLeft"></div>
juanpablo@378
   283
                      <div class="MessageBox_Left"></div>
juanpablo@378
   284
                    </td>
juanpablo@378
   285
                    <td class="MessageBox_bg">
juanpablo@378
   286
juanpablo@378
   287
                      <table class="MessageBox_Top">
juanpablo@378
   288
                        <tbody>
juanpablo@378
   289
                        <tr>
juanpablo@378
   290
                          <td>
juanpablo@378
   291
                            <span>
juanpablo@378
   292
                              <table cellpadding="0" cellspacing="0" class="MessageBox_Body_ContentCell">
juanpablo@378
   293
                                <tbody>
juanpablo@378
   294
                                <tr>
juanpablo@378
   295
                                  <td class="MessageBox_Icon_ContentCell">
juanpablo@378
   296
                                    <div class="MessageBox_Icon"></div>
juanpablo@378
   297
                                  </td>
juanpablo@378
   298
                                  <td style="vertical-align: top;" id="messageBoxIDContent">
juanpablo@378
   299
                                    <span>
juanpablo@378
   300
                                      <div class="MessageBox_TextTitle" id="messageBoxIDTitle">
juanpablo@378
   301
                                        xxInfo: AccessTableWithNoView
juanpablo@378
   302
                                      </div>
juanpablo@378
   303
                                      <div class="MessageBox_TextDescription" id="messageBoxIDMessage">
juanpablo@378
   304
                                        xxThe current information is empty.
juanpablo@378
   305
                                      </div>
juanpablo@378
   306
                                      <div class="MessageBox_TextSeparator"></div>
juanpablo@378
   307
                                    </span>
juanpablo@378
   308
                                  </td>
juanpablo@378
   309
                                </tr>
juanpablo@378
   310
                                </tbody>
juanpablo@378
   311
                              </table>
juanpablo@378
   312
                            </span>
juanpablo@378
   313
                          </td>
juanpablo@378
   314
                        </tr>
juanpablo@378
   315
                        </tbody>
juanpablo@378
   316
                      </table>
juanpablo@378
   317
juanpablo@378
   318
                    </td>
juanpablo@378
   319
                    <td class="MessageBox_RightTrans">
juanpablo@378
   320
                      <div class="MessageBox_TopRight"></div>
juanpablo@378
   321
                      <div class="MessageBox_Right"></div>
juanpablo@378
   322
                    </td>
juanpablo@378
   323
                  </tr>
juanpablo@378
   324
                  <tr>
juanpablo@378
   325
                    <td rowspan="2" class="MessageBox_BottomLeft">
juanpablo@378
   326
                    </td>
juanpablo@378
   327
                    <td class="MessageBox_BottomTrans MessageBox_bg">
juanpablo@378
   328
                    </td>
juanpablo@378
   329
                    <td rowspan="2" class="MessageBox_BottomRight">
juanpablo@378
   330
                    </td>
juanpablo@378
   331
                  </tr>
juanpablo@378
   332
                  <tr>
juanpablo@378
   333
                    <td class="MessageBox_Bottom">
juanpablo@378
   334
                    </td>
juanpablo@378
   335
                  </tr>
juanpablo@378
   336
                  </tbody>
juanpablo@378
   337
                </table>
juanpablo@378
   338
juanpablo@378
   339
              </td>
juanpablo@378
   340
              <td class="MessageBox_RightMargin"></td>
juanpablo@378
   341
            </tr>
juanpablo@378
   342
            <tr class="MessageBox_BottomMargin">
juanpablo@378
   343
              <td class="MessageBox_LeftMargin"></td>
juanpablo@378
   344
              <td></td>
juanpablo@378
   345
              <td class="MessageBox_RightMargin"></td>
juanpablo@378
   346
            </tr>
juanpablo@378
   347
            </tbody>
juanpablo@378
   348
          </table>
juanpablo@378
   349
          <!-- END MessageBox -->
juanpablo@378
   350
juanpablo@378
   351
juanpablo@378
   352
                  <div style="display: none;" id="sessionOptions">
juanpablo@378
   353
                    <table cellspacing="0" cellpadding="0" class="Popup_Client_TablePopup">
juanpablo@378
   354
juanpablo@378
   355
                      <tr>
juanpablo@378
   356
                        <td class="TableEdition_OneCell_width"></td>
juanpablo@378
   357
                        <td class="TableEdition_OneCell_width"></td>
juanpablo@378
   358
                        <td class="TableEdition_OneCell_width"></td>
juanpablo@378
   359
                        <td class="TableEdition_OneCell_width"></td>
juanpablo@378
   360
                      </tr>
juanpablo@378
   361
juanpablo@378
   362
                      <tr>
juanpablo@378
   363
                        <td colspan=4>
juanpablo@378
   364
                          <table class="FieldGroup" cellspacing="0" cellpadding="0" border="0">
juanpablo@378
   365
                          <tr class="FieldGroup_TopMargin"></tr>
juanpablo@378
   366
                          <tr>
juanpablo@378
   367
                          <td class="FieldGroupTitle_Left"><img class="FieldGroupTitle_Left_bg" border="0" src="../../../../../web/images/blank.gif"></img></td>
juanpablo@378
   368
                          <td class="FieldGroupTitle" id="paramRoleInfo">xxRoleInfo</td>
juanpablo@378
   369
                          <td class="FieldGroupTitle_Right"><img class="FieldGroupTitle_Right_bg" border="0" src="../../../../../web/images/blank.gif"></img></td>
juanpablo@378
   370
                          <td class="FieldGroupContent"></td>
juanpablo@378
   371
juanpablo@378
   372
                          </tr>
juanpablo@378
   373
                          <tr class="FieldGroup_BottomMargin"></tr>
juanpablo@378
   374
                          </table>
juanpablo@378
   375
                        </td>
juanpablo@378
   376
                      </tr>
juanpablo@378
   377
juanpablo@378
   378
                      <tr>
juanpablo@378
   379
                        <td class="TitleCell"><span class="LabelText" id="paramRole">xxRole</span></td>
juanpablo@378
   380
                        <td class="ReadOnly_Text_ContentCell" colspan=3 style="text-align:left;"><span class="Label_ReadOnly_Text" id="fieldRole">xxGardenWorldAdmin</span></td>
juanpablo@378
   381
                      </tr>
juanpablo@378
   382
juanpablo@378
   383
                      <tr class="Popup_Client_RelatedInfo_LineSeparator"><td colspan=4></td></tr>
juanpablo@378
   384
juanpablo@378
   385
                      <div id="sectionDetail"> 
juanpablo@378
   386
                      <tr>
juanpablo@378
   387
                        <td class="TitleCell"><span class="LabelText" id="paramClient">xxCustomer</span></td>
juanpablo@378
   388
                        <td class="ReadOnly_Text_ContentCell" style="text-align:left;"><span class="Label_ReadOnly_Text" id="fieldClient">xxSystem</span></td>
juanpablo@378
   389
                        <td class="TitleCell"><span class="LabelText" id="paramOrg">xxOrganization</span></td>
juanpablo@378
   390
                        <td class="ReadOnly_Text_ContentCell" style="text-align:left;"><span class="Label_ReadOnly_Text" id="fieldOrg">*</span></td>
juanpablo@378
   391
                      </tr>
juanpablo@378
   392
                      </div>
juanpablo@378
   393
                    </table>
juanpablo@378
   394
                    <table cellspacing="0" cellpadding="0" class="Popup_Client_TablePopup">
juanpablo@378
   395
                      <tr>
juanpablo@378
   396
                        <td class="TableEdition_OneCell_width"></td>
juanpablo@378
   397
                        <td class="TableEdition_OneCell_width"></td>
juanpablo@378
   398
                        <td class="TableEdition_OneCell_width"></td>
juanpablo@378
   399
                        <td class="TableEdition_OneCell_width"></td>
juanpablo@378
   400
                      </tr>
juanpablo@378
   401
                      <tr>
juanpablo@378
   402
                        <td colspan="4">
juanpablo@378
   403
                          <table class="FieldGroup" cellspacing="0" cellpadding="0" border="0">
juanpablo@378
   404
                          <tr class="FieldGroup_TopMargin"></tr>
juanpablo@378
   405
                          <tr>
juanpablo@378
   406
                          <td class="FieldGroupTitle_Left"><img class="FieldGroupTitle_Left_bg" border="0" src="../../../../../web/images/blank.gif"></img></td>
juanpablo@378
   407
                          <td class="FieldGroupTitle">Session options</td>
juanpablo@378
   408
                          <td class="FieldGroupTitle_Right"><img class="FieldGroupTitle_Right_bg" border="0" src="../../../../../web/images/blank.gif"></img></td>
juanpablo@378
   409
                          <td class="FieldGroupContent"></td>
juanpablo@378
   410
juanpablo@378
   411
                          </tr>
juanpablo@378
   412
                          <tr class="FieldGroup_BottomMargin"></tr>
juanpablo@378
   413
                          </table>
juanpablo@378
   414
                        </td>
juanpablo@378
   415
                      </tr>
juanpablo@378
   416
juanpablo@378
   417
                      <tr>
juanpablo@378
   418
                        <td class="TitleCell"><span class="LabelText">Role</span></td>
juanpablo@378
   419
                        <td class="Combo_ContentCell">
juanpablo@378
   420
                          <select name="role" id="sectionRol" onchange="return refreshRole();" class="Combo Combo_OneCell_width">
juanpablo@378
   421
                            <option value="es" id="fieldClaveRol">xxrol1</option>
juanpablo@378
   422
                          </select>
juanpablo@378
   423
                        </td>
juanpablo@378
   424
                          <td class="TitleCell"><span class="LabelText">Language</span></td>
juanpablo@378
   425
                          <td class="Combo_ContentCell">
juanpablo@378
   426
                            <select name="language" id="sectionLang" class="Combo Combo_OneCell_width">
juanpablo@378
   427
                              <option value="es" id="fieldClaveLanguage"></option>
juanpablo@378
   428
                            </select>
juanpablo@378
   429
                         </td>
juanpablo@378
   430
                      </tr>
juanpablo@378
   431
                      <tr>
juanpablo@378
   432
                        <td></td>
juanpablo@378
   433
juanpablo@378
   434
                      <td></td>
juanpablo@378
   435
                      </tr>
juanpablo@378
   436
                      <tr>
juanpablo@378
   437
                        <td class="TitleCell"><span class="LabelText">Entity</span></td>
juanpablo@378
   438
                        <td class="Combo_ContentCell">
juanpablo@378
   439
                          <select name="client" id="sectionCliente" onchange="return refreshEntity()" class="Combo Combo_OneCell_width">
juanpablo@378
   440
                            <option value="es" id="fieldClaveCliente">xxCustomer1</option>
juanpablo@378
   441
                          </select>
juanpablo@378
   442
                        </td>
juanpablo@378
   443
                        <td class="TitleCell"><span class="LabelText">Organization</span></td>
juanpablo@378
   444
                        <td class="Combo_ContentCell">
juanpablo@378
   445
                          <select name="organization" id="sectionOrganizacion" class="Combo Combo_OneCell_width">
juanpablo@378
   446
                            <option value="es" id="fieldClaveOrganizacion">xxOrganization1</option>
juanpablo@378
   447
                          </select>
juanpablo@378
   448
                        </td>
juanpablo@378
   449
                      </tr>
juanpablo@378
   450
                      <tr>
juanpablo@378
   451
                        <td></td>
juanpablo@378
   452
juanpablo@378
   453
                        <td></td>
juanpablo@378
   454
                      </tr>
juanpablo@378
   455
                      <tr> 
juanpablo@378
   456
                        <td class="TitleCell"><span class="LabelText">Warehouse</span></td>
juanpablo@378
   457
                        <td class="Combo_ContentCell">
juanpablo@378
   458
                          <select name="warehouse" id="sectionAlmacen" class="Combo Combo_OneCell_width">
juanpablo@378
   459
                            <option value="es" id="fieldClaveAlmacen">xxWarehouse1</option>
juanpablo@378
   460
                          </select>
juanpablo@378
   461
                        </td>
juanpablo@378
   462
                        <td class="TitleCell"><span class="LabelText">Set as default</span></td>
juanpablo@378
   463
                        <td class="Radio_Check_ContentCell">
asier@528
   464
                            <SPAN class="Checkbox_container_NOT_Focused"><INPUT type="checkbox" name="setasdefault" value="Y"></INPUT></SPAN>
juanpablo@378
   465
                        </td>
juanpablo@378
   466
                        <td></td>
juanpablo@378
   467
                      </tr>
juanpablo@378
   468
                      <tr><td height="10px"></td></td>
juanpablo@378
   469
                      <tr>
juanpablo@378
   470
                        <td></td>
juanpablo@378
   471
                        <td class="Button_CenterAlign_ContentCell">
juanpablo@378
   472
                          <div>
david@628
   473
                            <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='OK'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="return saveOptions();" id="buttonOK">
juanpablo@378
   474
                              <table class="Button" onmousedown="this.className='Button_active'; return true;" onmouseup="this.className='Button'; return true;" onmouseover="this.className='Button_hover'; window.status='OK'; return true;" onmouseout="this.className='Button'; window.status=''; return true;">
juanpablo@378
   475
                                <tr>
juanpablo@378
   476
                                  <td class="Button_left"><img class="Button_Icon Button_Icon_ok" alt="OK" title="OK" src="../../../../../web/images/blank.gif" border="0/"></img></td>
juanpablo@378
   477
                                  <td class="Button_text Button_width">OK</td>
juanpablo@378
   478
                                  <td class="Button_right"></td>
juanpablo@378
   479
                                </tr>
juanpablo@378
   480
                              </table>
juanpablo@378
   481
                            </a>
juanpablo@378
   482
                          </div>
juanpablo@378
   483
                        </td>
juanpablo@378
   484
                        <td></td>
juanpablo@378
   485
                        <td></td>
juanpablo@378
   486
                      </tr>
juanpablo@378
   487
                    </table>
juanpablo@378
   488
                  </div>
juanpablo@378
   489
juanpablo@378
   490
                  <div style="display: none;" id="changePassword">
juanpablo@378
   491
                    <table cellspacing="0" cellpadding="0" class="Popup_Client_TablePopup">
juanpablo@378
   492
                      <tr>
juanpablo@378
   493
                        <td colspan=4>
juanpablo@378
   494
                          <table class="FieldGroup" cellspacing="0" cellpadding="0" border="0">
juanpablo@378
   495
                          <tr class="FieldGroup_TopMargin"></tr>
juanpablo@378
   496
                          <tr>
juanpablo@378
   497
                          <td class="FieldGroupTitle_Left"><img class="FieldGroupTitle_Left_bg" border="0" src="../../../../../web/images/blank.gif"></img></td>
juanpablo@378
   498
                          <td class="FieldGroupTitle">Change password</td>
juanpablo@378
   499
                          <td class="FieldGroupTitle_Right"><img class="FieldGroupTitle_Right_bg" border="0" src="../../../../../web/images/blank.gif"></img></td>
juanpablo@378
   500
                          <td class="FieldGroupContent"></td>
juanpablo@378
   501
juanpablo@378
   502
                          </tr>
juanpablo@378
   503
                          <tr class="FieldGroup_BottomMargin"></tr>
juanpablo@378
   504
                          </table>
juanpablo@378
   505
                        </td>
juanpablo@378
   506
                      </tr>
juanpablo@378
   507
juanpablo@378
   508
                      <tr>
juanpablo@378
   509
                        <td></td>
juanpablo@378
   510
                        <td class="TitleCell"><span class="LabelText">Actual password</span></td>
juanpablo@378
   511
                        <td class="TextBox_ContentCell">
juanpablo@378
   512
                          <input class="dojoValidateValid TextBox_TwoCells_width" type="password" name="inpClaveOld" size="40" maxlength="40" value=""></input>
juanpablo@378
   513
                        </td>
juanpablo@378
   514
                        <td></td>
juanpablo@378
   515
                      </tr>
juanpablo@378
   516
                      <tr><td height="10px"></td></tr>
juanpablo@378
   517
                      <tr>
juanpablo@378
   518
                        <td></td>
juanpablo@378
   519
                        <td class="TitleCell"><span class="LabelText">New password</span></td>
juanpablo@378
   520
                        <td class="TextBox_ContentCell">
juanpablo@378
   521
                          <input class="dojoValidateValid TextBox_TwoCells_width" type="password" name="inpClaveNew" size="40" maxlength="40" value=""></input>
juanpablo@378
   522
                        </td>
juanpablo@378
   523
                        <td></td>
juanpablo@378
   524
                      </tr>
juanpablo@378
   525
                      <tr>
juanpablo@378
   526
juanpablo@378
   527
                        <td></td>
juanpablo@378
   528
                        <td class="TitleCell"><span class="LabelText">Retype new password</span></td>
juanpablo@378
   529
                        <td class="TextBox_ContentCell">
juanpablo@378
   530
                          <input class="dojoValidateValid TextBox_TwoCells_width" type="password" name="inpClaveNew2" size="40" maxlength="40" value=""></input>
juanpablo@378
   531
                        </td>
juanpablo@378
   532
                        <td></td>
juanpablo@378
   533
                      </tr>
juanpablo@378
   534
juanpablo@378
   535
                      <tr><td height="20px"></td></tr>
juanpablo@378
   536
juanpablo@378
   537
                      <tr>
juanpablo@378
   538
                        <td></td>
juanpablo@378
   539
                        <td class="Button_RightAlign_ContentCell">
juanpablo@378
   540
                          <div>
david@628
   541
                            <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Change password'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="submitPassword();return false;" id="buttonChange">
juanpablo@378
   542
                              <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='Change password';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
juanpablo@378
   543
                                <tr>
juanpablo@378
   544
                                  <td class="Button_left"><img class="Button_Icon Button_Icon_password" alt="Change password" title="Change password" src="../../../../../web/images/blank.gif" border=0/></td>
juanpablo@378
   545
                                  <td class="Button_text Button_width">Change</td>
juanpablo@378
   546
                                  <td class="Button_right"></td>
juanpablo@378
   547
                                </tr>
juanpablo@378
   548
                              </table>
juanpablo@378
   549
                            </a>
juanpablo@378
   550
                          </div>
juanpablo@378
   551
                        </td>
juanpablo@378
   552
juanpablo@378
   553
                        <td class="Button_LeftAlign_ContentCell">
juanpablo@378
   554
                          <div>
asier@528
   555
                            <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Clear'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="document.frmMain.reset();return false;">
juanpablo@378
   556
                              <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='Clear';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
juanpablo@378
   557
                                <tr>
juanpablo@378
   558
                                  <td class="Button_left"><img class="Button_Icon Button_Icon_clear" alt="Clear" title="Clear" src="../../../../../web/images/blank.gif" border=0/></td>
juanpablo@378
   559
                                  <td class="Button_text Button_width">Clear</td>
juanpablo@378
   560
                                  <td class="Button_right"></td>
juanpablo@378
   561
                                </tr>
juanpablo@378
   562
                              </table>
juanpablo@378
   563
                            </a>
juanpablo@378
   564
                          </div>
juanpablo@378
   565
                        </td>
juanpablo@378
   566
                        <td></td>
juanpablo@378
   567
                      </tr>
juanpablo@378
   568
juanpablo@378
   569
                    </table>
juanpablo@378
   570
                  </div>
juanpablo@378
   571
juanpablo@378
   572
                </div>
juanpablo@378
   573
              </td>
juanpablo@378
   574
            </tr>
juanpablo@378
   575
          </table>
juanpablo@378
   576
        </div>
juanpablo@378
   577
      </td>
juanpablo@378
   578
    </tr>
juanpablo@378
   579
  </table>
juanpablo@378
   580
juanpablo@378
   581
</form>
juanpablo@378
   582
juanpablo@378
   583
<form name="frmInput">
juanpablo@378
   584
  <input type="hidden" name="saveok" id="saveok" value=""></input>
juanpablo@378
   585
juanpablo@378
   586
  <input type="hidden" name="inputLanguage" id="inputLanguage" value=""></input>
juanpablo@378
   587
  <input type="hidden" name="inputRole" id="inputRole" value=""></input>
juanpablo@378
   588
  <input type="hidden" name="inputEntity" id="inputEntity" value=""></input>
juanpablo@378
   589
  <input type="hidden" name="inputOrg" id="inputOrg" value=""></input>
juanpablo@378
   590
  <input type="hidden" name="inputWarehouse" id="inputWarehouse" value=""></input>
juanpablo@378
   591
</form>
juanpablo@378
   592
juanpablo@378
   593
</body>
juanpablo@378
   594
</html>