src/org/openbravo/erpCommon/ad_forms/Role.html
author Gorka Gil <gorka.gil@openbravo.com>
Fri, 08 Oct 2010 12:51:46 +0200
changeset 7936 9910242bf439
parent 7328 7607166be4d6
child 8539 b699dc071e86
permissions -rw-r--r--
[demo] Customization of demo to work with 2.50MP20
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. 
ggi@6702
    13
* The Initial Developer of the Original Code is Openbravo SLU 
ggi@6702
    14
* All portions are Copyright (C) 2001-2010 Openbravo SLU 
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>
david@3131
    21
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
juanpablo@378
    22
<title>Role information</title>
david@3113
    23
<link rel="shortcut icon" href="../../../../../web/images/favicon.ico" type="image/x-icon" />
david@1989
    24
<link rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Openbravo_ERP_250.css" id="paramCSS"></link>
juanpablo@1605
    25
<script language="JavaScript" type="text/javascript" id="paramDirectory">
juanpablo@1605
    26
  var baseDirectory = "../../../../../web/";
juanpablo@378
    27
</script>
juanpablo@378
    28
<script language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></script>
david@3509
    29
<script language="JavaScript" src="../utility/DynamicJS.js" type="text/javascript"></script>
juanpablo@378
    30
<script language="JavaScript" type="text/javascript" id="paramLanguage">
juanpablo@1605
    31
  defaultLang = "en_US";
juanpablo@378
    32
</script>
asier@528
    33
<script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
juanpablo@378
    34
<script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
asier@528
    35
<script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
juanpablo@378
    36
<script language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></script>
juanpablo@378
    37
<script language="JavaScript" src="../../../../../web/js/default/MessageBox.js" type="text/javascript"></script>
juanpablo@378
    38
<script language="JavaScript" type="text/javascript">
ivan@3955
    39
ivan@5360
    40
window.onunload = reloadOpener; // reloads opener on closing
ivan@5360
    41
 
ivan@3955
    42
juanpablo@1605
    43
function validate() {
juanpablo@378
    44
  var frm = document.frmMain;
juanpablo@378
    45
  if (frm.inpClaveOld.value==null || frm.inpClaveOld.value=="") {
gorka@1028
    46
    setWindowElementFocus(frm.inpClaveOld);
juanpablo@1605
    47
    showJSMessage(7);
juanpablo@378
    48
    return false;
juanpablo@378
    49
    } else if (frm.inpClaveNew.value==null || frm.inpClaveNew.value=="") {
gorka@1028
    50
    setWindowElementFocus(frm.inpClaveNew);
juanpablo@1605
    51
    showJSMessage(7);
juanpablo@378
    52
    return false;
juanpablo@378
    53
    } else if (frm.inpClaveNew2.value==null || frm.inpClaveNew2.value=="") {
gorka@1028
    54
    setWindowElementFocus(frm.inpClaveNew2);
juanpablo@1605
    55
    showJSMessage(7);
juanpablo@378
    56
    return false;
juanpablo@378
    57
    } else if (frm.inpClaveNew.value != frm.inpClaveNew2.value) {
gorka@1028
    58
    setWindowElementFocus(frm.inpClaveNew);
juanpablo@1605
    59
    showJSMessage(20);
juanpablo@378
    60
    return false;
juanpablo@378
    61
  }
juanpablo@378
    62
  return true;
juanpablo@378
    63
}
juanpablo@378
    64
function onloadFunctions() {
juanpablo@378
    65
juanpablo@378
    66
  // init combos
juanpablo@378
    67
  document.frmMain.language.value = document.frmInput.inputLanguage.value;
juanpablo@378
    68
  document.frmMain.role.value = document.frmInput.inputRole.value;
juanpablo@378
    69
  refreshRole();
juanpablo@378
    70
  document.frmMain.client.value = document.frmInput.inputEntity.value;
juanpablo@378
    71
  refreshEntity();
juanpablo@378
    72
  document.frmMain.organization.value = document.frmInput.inputOrg.value;
juanpablo@378
    73
  document.frmMain.warehouse.value = document.frmInput.inputWarehouse.value;       
juanpablo@378
    74
juanpablo@378
    75
  if (document.frmInput.saveok.value == "true") {
david@6544
    76
    getFrame('main').document.location.href="../security/Menu.html";
david@1883
    77
  }
juanpablo@378
    78
    // Refresh menu
david@6544
    79
//    getFrame('main').document.getElementById("paramFrameMenu").src = "../utility/VerticalMenu.html";
juanpablo@378
    80
    // Refresh main window
david@6544
    81
//    getFrame('main').document.getElementById("paramFrame1").src = "../utility/Home.html";
david@1883
    82
//  }
juanpablo@378
    83
juanpablo@378
    84
}
juanpablo@378
    85
juanpablo@378
    86
function refreshRole() {
juanpablo@378
    87
  var cmbRole = document.frmMain.role;
juanpablo@378
    88
  var cmbEntidad = document.frmMain.client;    
juanpablo@1605
    89
  changeComboData(cmbEntidad, arrClientes, cmbRole.options[cmbRole.selectedIndex].value, false);
juanpablo@1605
    90
  changeComboData(document.frmMain.organization, arrOrgs, cmbRole.options[cmbRole.selectedIndex].value, false);
juanpablo@1605
    91
  changeComboData(document.frmMain.warehouse, arrWare, cmbRole.options[cmbRole.selectedIndex].value + "-" + cmbEntidad.options[cmbEntidad.selectedIndex].value, false);
juanpablo@378
    92
  return true;
juanpablo@378
    93
}
juanpablo@378
    94
function refreshEntity() {
juanpablo@378
    95
  var cmbRole = document.frmMain.role;
juanpablo@378
    96
  var cmbEntidad = document.frmMain.client;    
juanpablo@1605
    97
  changeComboData(document.frmMain.warehouse, arrWare, cmbRole.options[cmbRole.selectedIndex].value + '-' + cmbEntidad.options[cmbEntidad.selectedIndex].value, false);
juanpablo@378
    98
  return true;
juanpablo@378
    99
}
juanpablo@378
   100
function saveOptions() {
david@1883
   101
  if (document.frmMain.TextDirection.value=="RTL") {
david@6544
   102
    getFrame('main').isRTL=true;
david@1883
   103
  } else {
david@6544
   104
    getFrame('main').isRTL=false;
david@1883
   105
  }
juanpablo@378
   106
  submitCommandForm("SAVE", false);
david@6544
   107
  getFrame('frameMenu').setMenuLoading(true);
juanpablo@378
   108
  return false;
juanpablo@378
   109
}
juanpablo@378
   110
</script>
juanpablo@378
   111
juanpablo@378
   112
<script language="JavaScript" type="text/javascript" id="paramArrayClientes">
juanpablo@378
   113
var arrClientes=null;
juanpablo@378
   114
</script>
juanpablo@378
   115
<script language="JavaScript" type="text/javascript" id="paramArrayOrganizaciones">
juanpablo@378
   116
var arrOrgs=null;
juanpablo@378
   117
</script>
juanpablo@378
   118
<script language="JavaScript" type="text/javascript" id="paramArrayWarehouse">
juanpablo@378
   119
var arrWare=null;
juanpablo@378
   120
</script>
juanpablo@378
   121
  <script language="JavaScript" type="text/javascript">
juanpablo@378
   122
  var gUnfolded = "sessionOptions";
juanpablo@378
   123
  var gUnfolded_MenuItem = gUnfolded + "_MenuItem";
asier@1085
   124
   function unfold(id, reset) {
asier@1085
   125
     if (reset==null) reset=true;
juanpablo@378
   126
     if (gUnfolded) document.getElementById(gUnfolded).style.display = "none";
juanpablo@378
   127
     if (gUnfolded_MenuItem) document.getElementById(gUnfolded_MenuItem).className = "Popup_Client_UserOps_LabelLink";
asier@1085
   128
     if (reset==true) initialize_MessageBox("messageBoxID");
juanpablo@378
   129
     gUnfolded = id;
juanpablo@378
   130
     gUnfolded_MenuItem = id + "_MenuItem";
juanpablo@378
   131
     document.getElementById(gUnfolded).style.display = "";
juanpablo@378
   132
     document.getElementById(gUnfolded_MenuItem).className = "Popup_Client_UserOps_LabelLink_Selected";
juanpablo@378
   133
   }
juanpablo@378
   134
  </script>
juanpablo@378
   135
juanpablo@378
   136
juanpablo@378
   137
juanpablo@378
   138
  <script>
juanpablo@378
   139
    function submitPassword() {
juanpablo@1605
   140
      if (!validate()) return false
juanpablo@378
   141
      try {
david@3682
   142
        var paramXMLReq = null;
david@3682
   143
        return submitXmlHttpRequest(callback, frmMain, "CHANGE", "Role.html", false, null, paramXMLReq);
juanpablo@378
   144
      }
juanpablo@378
   145
      catch (e) {
juanpablo@378
   146
      }
juanpablo@378
   147
    }
juanpablo@378
   148
david@3682
   149
    function callback(paramXMLParticular, XMLHttpRequestObj) {
juanpablo@378
   150
      var strText;
david@3682
   151
      if (getReadyStateHandler(XMLHttpRequestObj,null,false)) {
juanpablo@378
   152
        try {
david@3682
   153
          if (XMLHttpRequestObj.responseXML) strText = XMLHttpRequestObj.responseXML;
juanpablo@378
   154
        } catch (e) {
juanpablo@378
   155
          initialize_MessageBox('messageBoxID');
juanpablo@378
   156
          setValues_MessageBox('messageBoxID','ERROR','ERROR',e);
juanpablo@378
   157
        }
juanpablo@378
   158
        if (strText != null) {
juanpablo@378
   159
          var node = strText.getElementsByTagName("xml-structure");
juanpablo@378
   160
          node = node[0].getElementsByTagName("status");
juanpablo@378
   161
          var type = node[0].getElementsByTagName("type");
juanpablo@378
   162
          var title = node[0].getElementsByTagName("title");
juanpablo@378
   163
          var description = node[0].getElementsByTagName("description");
juanpablo@378
   164
          initialize_MessageBox('messageBoxID');
juanpablo@378
   165
          setValues_MessageBox('messageBoxID',getChildText(type[0]),getChildText(title[0]),getChildText(description[0]));
juanpablo@378
   166
          if (getChildText(type[0]) == 'Success') document.frmMain.reset();
juanpablo@378
   167
        }
juanpablo@378
   168
      }
juanpablo@378
   169
      return true;
juanpablo@378
   170
    }
juanpablo@378
   171
  </script>
juanpablo@378
   172
david@1989
   173
	<script language="JavaScript" type="text/javascript">
asier@528
   174
	function onLoadDo(){
asier@1097
   175
    if (document.getElementById('messageBoxID').className.indexOf('MessageBoxError') != -1) {
david@6544
   176
      getFrame('frameMenu').setMenuLoading(false);
david@1088
   177
    }
asier@528
   178
		this.windowTables = new Array(
asier@528
   179
		  new windowTableId('clientIndex'),
david@1044
   180
		  new windowTableId('sessionOptions', 'buttonOK'),
david@1044
   181
		  new windowTableId('changePassword', 'buttonChange')
david@628
   182
		  
asier@528
   183
		);
asier@528
   184
		setWindowTableParentElement();
asier@528
   185
		enableShortcuts('popup');
david@1325
   186
		setBrowserAutoComplete(false);
asier@528
   187
		
asier@1085
   188
		unfold(gUnfolded, false);
asier@528
   189
		resizeAreaUserOps();
asier@528
   190
		try {
asier@528
   191
		  onloadFunctions();
asier@528
   192
		} catch (e) {}
juanpablo@378
   193
asier@528
   194
		setWindowElementFocus('firstElement');
asier@528
   195
	}
asier@528
   196
asier@528
   197
	function onResizeDo(){
asier@528
   198
		resizeAreaUserOps();
asier@528
   199
	}
david@1989
   200
	</script>
david@1989
   201
</head>
asier@528
   202
david@1989
   203
<body  leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
juanpablo@378
   204
juanpablo@378
   205
<div class="Popup_ContentPane_CircleLogo">
juanpablo@378
   206
  <div class="Popup_WindowLogo">
juanpablo@378
   207
    <img class="Popup_WindowLogo_Icon Popup_WindowLogo_Icon_userContact" src="../../../../../web/images/blank.gif" border=0/></img>
juanpablo@378
   208
  </div>
juanpablo@378
   209
</div>
juanpablo@378
   210
juanpablo@378
   211
juanpablo@378
   212
juanpablo@378
   213
<form action="Role.html" method="post" name="frmMain">
david@1883
   214
<input type="hidden" name="Command" value="">
david@1989
   215
<input type="hidden" name="IsPopUpCall" value="1">
david@1989
   216
<input type="hidden" id="TextDirection" name="TextDirection" value="XX">
juanpablo@378
   217
juanpablo@378
   218
  <table cellspacing="0" cellpadding="0" width="100%">
juanpablo@378
   219
    <tr>
juanpablo@378
   220
      <td id="tdNavigation">
juanpablo@378
   221
        <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_NavBar">
juanpablo@378
   222
          <tr class="Popup_NavBar_bg"><td></td>
juanpablo@378
   223
            <td class="Popup_NavBar_separator_cell"></td>
juanpablo@378
   224
            <td class="Popup_NavBar_bg_logo_left"></td>
juanpablo@1605
   225
            <td class="Popup_NavBar_bg_logo" width="1" onclick="openNewBrowser('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
   226
            <td class="Popup_NavBar_bg_logo_right"></td>
juanpablo@378
   227
            <td class="Popup_NavBar_Popup_title_cell"><span>User options: <i id="fieldUser">xxOpenbravo</i></a></td>
juanpablo@378
   228
            <td class="Popup_NavBar_separator_cell"></td>
juanpablo@378
   229
          </tr>
juanpablo@378
   230
        </table>
juanpablo@378
   231
      </td>
juanpablo@378
   232
    </tr>
juanpablo@378
   233
    <tr>
juanpablo@378
   234
      <td id="tdSeparator">
juanpablo@378
   235
        <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_SeparatorBar">
juanpablo@378
   236
          <tr>
juanpablo@378
   237
            <td class="Popup_SeparatorBar_bg"></td>
juanpablo@378
   238
          </tr>
juanpablo@378
   239
juanpablo@378
   240
        </table>
juanpablo@378
   241
      </td>
juanpablo@378
   242
    </tr>
juanpablo@378
   243
    <tr valign="top">
juanpablo@378
   244
      <td>
juanpablo@378
   245
        <div class="Popup_ContentPane_Client" style="overflow: auto;">
juanpablo@378
   246
juanpablo@378
   247
juanpablo@378
   248
          <table cellspacing="0" cellpadding="0" class="Popup_Client_TableUserOps">
juanpablo@378
   249
juanpablo@378
   250
            <tr>
juanpablo@378
   251
juanpablo@378
   252
              <td>
juanpablo@378
   253
                <div class="Popup_Client_UserOps_SubMenu" style="overflow: auto; display: none;" id="clientIndex">
juanpablo@378
   254
                  <table class="Popup_Client_TableUserOps_SubMenu" cellpadding="0" cellspacing="0" border="0">
juanpablo@378
   255
juanpablo@378
   256
                    <tr>
juanpablo@378
   257
                      <td>
juanpablo@378
   258
                        <table class="FieldGroup" cellspacing="0" cellpadding="0" border="0">
juanpablo@378
   259
                          <tr class="FieldGroup_TopMargin"></tr>
juanpablo@378
   260
                          <tr>
juanpablo@378
   261
                            <td class="FieldGroupTitle_Left"><img class="FieldGroupTitle_Left_bg" border="0" src="../../../../../web/images/blank.gif"></img></td>
juanpablo@378
   262
                            <td class="FieldGroupTitle">Options</td>
juanpablo@378
   263
                            <td class="FieldGroupTitle_Right"><img class="FieldGroupTitle_Right_bg" border="0" src="../../../../../web/images/blank.gif"></img></td>
david@6572
   264
                            <td class="FieldGroupContent_Empty"></td>
juanpablo@378
   265
                          </tr>
juanpablo@378
   266
                          <tr class="FieldGroup_BottomMargin"></tr>
juanpablo@378
   267
                        </table>
juanpablo@378
   268
                      </td>
juanpablo@378
   269
                    </tr>
juanpablo@378
   270
juanpablo@378
   271
                    <tr>
david@1111
   272
                      <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');setTimeout('isInsideWindowTable(document.getElementById(\'sectionRol\')); setWindowElementFocus(\'sectionRol\',\'id\');',50);return false;" id="sessionOptions_MenuItem">Session options</a></span></td>
juanpablo@378
   273
                    </tr>
juanpablo@378
   274
                  
juanpablo@378
   275
                    <tr>
david@1111
   276
                      <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');setTimeout('isInsideWindowTable(document.getElementById(\'sectionActual\')); setWindowElementFocus(\'sectionActual\',\'id\');',50);return false;" id="changePassword_MenuItem">Change password</a></span></td>
juanpablo@378
   277
                    </tr>
juanpablo@378
   278
juanpablo@378
   279
                  </table>
juanpablo@378
   280
                </div>
juanpablo@378
   281
              </td>
juanpablo@378
   282
              <td class="Popup_Client_UserOps_VertSeparator" id="tdVerSeparator"></td>
juanpablo@378
   283
              <td valign="top">
juanpablo@378
   284
juanpablo@378
   285
                <div class="Popup_Client_UserOps_SubClient" style="overflow: auto; display: none;" id="client">
juanpablo@378
   286
juanpablo@378
   287
          <!-- START MessageBox -->
juanpablo@378
   288
          <table cellpadding="0" cellspacing="0" id="messageBoxID" class="MessageBoxyy">
juanpablo@378
   289
            <tbody>
juanpablo@378
   290
            <tr class="MessageBox_TopMargin">
juanpablo@378
   291
              <td class="MessageBox_LeftMargin"></td>
juanpablo@378
   292
              <td></td>
juanpablo@378
   293
              <td class="MessageBox_RightMargin"></td>
juanpablo@378
   294
            </tr>
juanpablo@378
   295
            <tr>
juanpablo@378
   296
              <td class="MessageBox_LeftMargin"></td>
juanpablo@378
   297
              <td>
juanpablo@378
   298
david@6584
   299
                <table cellpadding="0" cellspacing="0" class="MessageBox_Container">
juanpablo@378
   300
                  <tbody>
juanpablo@378
   301
                  <tr>
david@5135
   302
                    <td class="MessageBox_LeftTrans">
david@5135
   303
                      <table style="width: 100%; height: 100%" cellpadding="0" cellspacing="0">
david@5135
   304
                        <tbody>
david@5135
   305
                        <tr>
david@5135
   306
                          <td class="MessageBox_TopLeft"></td>
david@5135
   307
                        </tr>
david@5135
   308
                        <tr>
david@5135
   309
                          <td class="MessageBox_Left"></td>
david@5135
   310
                        </tr>
david@5135
   311
                        </tbody>
david@5135
   312
                      </table>
juanpablo@378
   313
                    </td>
juanpablo@378
   314
                    <td class="MessageBox_bg">
juanpablo@378
   315
juanpablo@378
   316
                      <table class="MessageBox_Top">
juanpablo@378
   317
                        <tbody>
juanpablo@378
   318
                        <tr>
juanpablo@378
   319
                          <td>
juanpablo@378
   320
                            <span>
juanpablo@378
   321
                              <table cellpadding="0" cellspacing="0" class="MessageBox_Body_ContentCell">
juanpablo@378
   322
                                <tbody>
juanpablo@378
   323
                                <tr>
juanpablo@378
   324
                                  <td class="MessageBox_Icon_ContentCell">
juanpablo@378
   325
                                    <div class="MessageBox_Icon"></div>
juanpablo@378
   326
                                  </td>
juanpablo@378
   327
                                  <td style="vertical-align: top;" id="messageBoxIDContent">
juanpablo@378
   328
                                    <span>
juanpablo@378
   329
                                      <div class="MessageBox_TextTitle" id="messageBoxIDTitle">
juanpablo@378
   330
                                        xxInfo: AccessTableWithNoView
juanpablo@378
   331
                                      </div>
juanpablo@378
   332
                                      <div class="MessageBox_TextDescription" id="messageBoxIDMessage">
juanpablo@378
   333
                                        xxThe current information is empty.
juanpablo@378
   334
                                      </div>
juanpablo@378
   335
                                      <div class="MessageBox_TextSeparator"></div>
juanpablo@378
   336
                                    </span>
juanpablo@378
   337
                                  </td>
juanpablo@378
   338
                                </tr>
juanpablo@378
   339
                                </tbody>
juanpablo@378
   340
                              </table>
juanpablo@378
   341
                            </span>
juanpablo@378
   342
                          </td>
juanpablo@378
   343
                        </tr>
juanpablo@378
   344
                        </tbody>
juanpablo@378
   345
                      </table>
juanpablo@378
   346
juanpablo@378
   347
                    </td>
juanpablo@378
   348
                    <td class="MessageBox_RightTrans">
david@5135
   349
                      <table style="width: 100%; height: 100%" cellpadding="0" cellspacing="0">
david@5135
   350
                        <tbody>
david@5135
   351
                        <tr>
david@5135
   352
                          <td class="MessageBox_TopRight"></td>
david@5135
   353
                        </tr>
david@5135
   354
                        <tr>
david@5135
   355
                          <td class="MessageBox_Right"></td>
david@5135
   356
                        </tr>
david@5135
   357
                        </tbody>
david@5135
   358
                      </table>
juanpablo@378
   359
                    </td>
juanpablo@378
   360
                  </tr>
juanpablo@378
   361
                  <tr>
juanpablo@378
   362
                    <td rowspan="2" class="MessageBox_BottomLeft">
juanpablo@378
   363
                    </td>
juanpablo@378
   364
                    <td class="MessageBox_BottomTrans MessageBox_bg">
juanpablo@378
   365
                    </td>
juanpablo@378
   366
                    <td rowspan="2" class="MessageBox_BottomRight">
juanpablo@378
   367
                    </td>
juanpablo@378
   368
                  </tr>
juanpablo@378
   369
                  <tr>
juanpablo@378
   370
                    <td class="MessageBox_Bottom">
juanpablo@378
   371
                    </td>
juanpablo@378
   372
                  </tr>
juanpablo@378
   373
                  </tbody>
juanpablo@378
   374
                </table>
juanpablo@378
   375
juanpablo@378
   376
              </td>
juanpablo@378
   377
              <td class="MessageBox_RightMargin"></td>
juanpablo@378
   378
            </tr>
juanpablo@378
   379
            <tr class="MessageBox_BottomMargin">
juanpablo@378
   380
              <td class="MessageBox_LeftMargin"></td>
juanpablo@378
   381
              <td></td>
juanpablo@378
   382
              <td class="MessageBox_RightMargin"></td>
juanpablo@378
   383
            </tr>
juanpablo@378
   384
            </tbody>
juanpablo@378
   385
          </table>
juanpablo@378
   386
          <!-- END MessageBox -->
juanpablo@378
   387
juanpablo@378
   388
juanpablo@378
   389
                  <div style="display: none;" id="sessionOptions">
asier@7328
   390
                    
juanpablo@378
   391
                    <table cellspacing="0" cellpadding="0" class="Popup_Client_TablePopup">
juanpablo@378
   392
                      <tr>
juanpablo@378
   393
                        <td class="TableEdition_OneCell_width"></td>
juanpablo@378
   394
                        <td class="TableEdition_OneCell_width"></td>
juanpablo@378
   395
                        <td class="TableEdition_OneCell_width"></td>
juanpablo@378
   396
                        <td class="TableEdition_OneCell_width"></td>
juanpablo@378
   397
                      </tr>
juanpablo@378
   398
                      <tr>
juanpablo@378
   399
                        <td colspan="4">
juanpablo@378
   400
                          <table class="FieldGroup" cellspacing="0" cellpadding="0" border="0">
juanpablo@378
   401
                          <tr class="FieldGroup_TopMargin"></tr>
juanpablo@378
   402
                          <tr>
juanpablo@378
   403
                          <td class="FieldGroupTitle_Left"><img class="FieldGroupTitle_Left_bg" border="0" src="../../../../../web/images/blank.gif"></img></td>
juanpablo@378
   404
                          <td class="FieldGroupTitle">Session options</td>
juanpablo@378
   405
                          <td class="FieldGroupTitle_Right"><img class="FieldGroupTitle_Right_bg" border="0" src="../../../../../web/images/blank.gif"></img></td>
juanpablo@378
   406
                          <td class="FieldGroupContent"></td>
juanpablo@378
   407
juanpablo@378
   408
                          </tr>
juanpablo@378
   409
                          <tr class="FieldGroup_BottomMargin"></tr>
juanpablo@378
   410
                          </table>
juanpablo@378
   411
                        </td>
juanpablo@378
   412
                      </tr>
juanpablo@378
   413
juanpablo@378
   414
                      <tr>
juanpablo@378
   415
                        <td class="TitleCell"><span class="LabelText">Role</span></td>
juanpablo@378
   416
                        <td class="Combo_ContentCell">
juanpablo@378
   417
                          <select name="role" id="sectionRol" onchange="return refreshRole();" class="Combo Combo_OneCell_width">
juanpablo@378
   418
                            <option value="es" id="fieldClaveRol">xxrol1</option>
juanpablo@378
   419
                          </select>
juanpablo@378
   420
                        </td>
juanpablo@378
   421
                          <td class="TitleCell"><span class="LabelText">Language</span></td>
juanpablo@378
   422
                          <td class="Combo_ContentCell">
juanpablo@378
   423
                            <select name="language" id="sectionLang" class="Combo Combo_OneCell_width">
juanpablo@378
   424
                              <option value="es" id="fieldClaveLanguage"></option>
juanpablo@378
   425
                            </select>
juanpablo@378
   426
                         </td>
juanpablo@378
   427
                      </tr>
juanpablo@378
   428
                      <tr>
juanpablo@378
   429
                        <td></td>
juanpablo@378
   430
juanpablo@378
   431
                      <td></td>
juanpablo@378
   432
                      </tr>
juanpablo@378
   433
                      <tr>
juanpablo@378
   434
                        <td class="TitleCell"><span class="LabelText">Entity</span></td>
juanpablo@378
   435
                        <td class="Combo_ContentCell">
juanpablo@378
   436
                          <select name="client" id="sectionCliente" onchange="return refreshEntity()" class="Combo Combo_OneCell_width">
juanpablo@378
   437
                            <option value="es" id="fieldClaveCliente">xxCustomer1</option>
juanpablo@378
   438
                          </select>
juanpablo@378
   439
                        </td>
juanpablo@378
   440
                        <td class="TitleCell"><span class="LabelText">Organization</span></td>
juanpablo@378
   441
                        <td class="Combo_ContentCell">
juanpablo@378
   442
                          <select name="organization" id="sectionOrganizacion" class="Combo Combo_OneCell_width">
juanpablo@378
   443
                            <option value="es" id="fieldClaveOrganizacion">xxOrganization1</option>
juanpablo@378
   444
                          </select>
juanpablo@378
   445
                        </td>
juanpablo@378
   446
                      </tr>
juanpablo@378
   447
                      <tr>
juanpablo@378
   448
                        <td></td>
juanpablo@378
   449
juanpablo@378
   450
                        <td></td>
juanpablo@378
   451
                      </tr>
juanpablo@378
   452
                      <tr> 
juanpablo@378
   453
                        <td class="TitleCell"><span class="LabelText">Warehouse</span></td>
juanpablo@378
   454
                        <td class="Combo_ContentCell">
juanpablo@378
   455
                          <select name="warehouse" id="sectionAlmacen" class="Combo Combo_OneCell_width">
juanpablo@378
   456
                            <option value="es" id="fieldClaveAlmacen">xxWarehouse1</option>
juanpablo@378
   457
                          </select>
juanpablo@378
   458
                        </td>
juanpablo@378
   459
                        <td class="TitleCell"><span class="LabelText">Set as default</span></td>
juanpablo@378
   460
                        <td class="Radio_Check_ContentCell">
david@1989
   461
                            <span class="Checkbox_container_NOT_Focused"><input type="checkbox" name="setasdefault" value="Y"></input></span>
juanpablo@378
   462
                        </td>
juanpablo@378
   463
                        <td></td>
juanpablo@378
   464
                      </tr>
juanpablo@378
   465
                      <tr><td height="10px"></td></td>
juanpablo@378
   466
                      <tr>
juanpablo@378
   467
                        <td></td>
juanpablo@378
   468
                        <td class="Button_CenterAlign_ContentCell">
juanpablo@378
   469
                          <div>
david@3502
   470
                            <button type="button" 
david@3502
   471
                              id="buttonOK" 
david@3502
   472
                              class="ButtonLink" 
david@3502
   473
                              onclick="return saveOptions();" 
david@3502
   474
                              onfocus="buttonEvent('onfocus', this); window.status='Accept'; return true;" 
david@3502
   475
                              onblur="buttonEvent('onblur', this);" 
david@3502
   476
                              onkeyup="buttonEvent('onkeyup', this);" 
david@3502
   477
                              onkeydown="buttonEvent('onkeydown', this);" 
david@3502
   478
                              onkeypress="buttonEvent('onkeypress', this);" 
david@3502
   479
                              onmouseup="buttonEvent('onmouseup', this);" 
david@3502
   480
                              onmousedown="buttonEvent('onmousedown', this);" 
david@3502
   481
                              onmouseover="buttonEvent('onmouseover', this); window.status='Accept'; return true;" 
david@3502
   482
                              onmouseout="buttonEvent('onmouseout', this);">
david@3502
   483
                              <table class="Button">
juanpablo@378
   484
                                <tr>
david@3502
   485
                                  <td class="Button_left"><img class="Button_Icon Button_Icon_ok" alt="Accept" title="Accept" src="../../../../../web/images/blank.gif" border="0" /></td>
juanpablo@378
   486
                                  <td class="Button_text Button_width">OK</td>
juanpablo@378
   487
                                  <td class="Button_right"></td>
juanpablo@378
   488
                                </tr>
juanpablo@378
   489
                              </table>
david@3502
   490
                            </button>
juanpablo@378
   491
                          </div>
juanpablo@378
   492
                        </td>
juanpablo@378
   493
                        <td></td>
juanpablo@378
   494
                        <td></td>
juanpablo@378
   495
                      </tr>
juanpablo@378
   496
                    </table>
juanpablo@378
   497
                  </div>
juanpablo@378
   498
gorka@7936
   499
                  <div id="changePassword" style="display: none;">
juanpablo@378
   500
juanpablo@378
   501
                </div>
juanpablo@378
   502
              </td>
juanpablo@378
   503
            </tr>
juanpablo@378
   504
          </table>
juanpablo@378
   505
        </div>
juanpablo@378
   506
      </td>
juanpablo@378
   507
    </tr>
juanpablo@378
   508
  </table>
juanpablo@378
   509
juanpablo@378
   510
</form>
juanpablo@378
   511
juanpablo@378
   512
<form name="frmInput">
juanpablo@378
   513
  <input type="hidden" name="saveok" id="saveok" value=""></input>
juanpablo@378
   514
juanpablo@378
   515
  <input type="hidden" name="inputLanguage" id="inputLanguage" value=""></input>
juanpablo@378
   516
  <input type="hidden" name="inputRole" id="inputRole" value=""></input>
juanpablo@378
   517
  <input type="hidden" name="inputEntity" id="inputEntity" value=""></input>
juanpablo@378
   518
  <input type="hidden" name="inputOrg" id="inputOrg" value=""></input>
juanpablo@378
   519
  <input type="hidden" name="inputWarehouse" id="inputWarehouse" value=""></input>
juanpablo@378
   520
</form>
juanpablo@378
   521
juanpablo@378
   522
</body>
juanpablo@378
   523
</html>