src/org/openbravo/erpCommon/info/UserContact_F1.html
author David Baz Fayos <david.baz@openbravo.com>
Thu, 10 Apr 2008 17:23:23 +0000
changeset 628 492ad1a5c917
parent 528 7aa737db257f
child 799 fef2c5e2feb7
permissions -rw-r--r--
Merge with keyboard shortcuts r3385
carlos@0
     1
<!--
carlos@0
     2
 *************************************************************************
carlos@0
     3
 * The contents of this file are subject to the Openbravo  Public  License
carlos@0
     4
 * Version  1.0  (the  "License"),  being   the  Mozilla   Public  License
carlos@0
     5
 * Version 1.1  with a permitted attribution clause; you may not  use this
carlos@0
     6
 * file except in compliance with the License. You  may  obtain  a copy of
carlos@0
     7
 * the License at http://www.openbravo.com/legal/license.html 
carlos@0
     8
 * Software distributed under the License  is  distributed  on  an "AS IS"
carlos@0
     9
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
carlos@0
    10
 * License for the specific  language  governing  rights  and  limitations
carlos@0
    11
 * under the License. 
carlos@0
    12
 * The Original Code is Openbravo ERP. 
carlos@0
    13
 * The Initial Developer of the Original Code is Openbravo SL 
carlos@0
    14
 * All portions are Copyright (C) 2001-2007 Openbravo SL 
carlos@0
    15
 * All Rights Reserved. 
carlos@0
    16
 * Contributor(s):  ______________________________________.
carlos@0
    17
 ************************************************************************
carlos@0
    18
-->
carlos@0
    19
<HTML>
carlos@0
    20
<HEAD>
carlos@0
    21
<TITLE>User selector</TITLE>
carlos@0
    22
<LINK rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Popup/Popup.css" id="paramCSS"></LINK>
carlos@0
    23
carlos@0
    24
      <script language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></script>
asier@528
    25
      <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
carlos@0
    26
      <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
asier@528
    27
      <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
carlos@0
    28
      <script language="JavaScript" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></script>
carlos@0
    29
      <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
carlos@0
    30
      <SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">	LNG_POR_DEFECTO = "en_US";</SCRIPT>
carlos@0
    31
      <SCRIPT language="JavaScript" type="text/javascript" id="paramDirection">var baseDirection = "../../../../../web/";</SCRIPT>
carlos@0
    32
      <SCRIPT language="JavaScript" src="../../../../../web/js/TypeAheadCombo.js" type="text/javascript"></SCRIPT>
carlos@0
    33
      <SCRIPT language="JavaScript" src="../../../../../web/js/calculator.js" type="text/javascript"></SCRIPT>
carlos@0
    34
<SCRIPT language="JavaScript" src="../../../../../web/js/jscalendar/calendar.js" type="text/javascript"></SCRIPT>
carlos@0
    35
<SCRIPT language="JavaScript" src="../../../../../web/js/jscalendar/lang/calendar-es.js" type="text/javascript" id="fieldCalendar"></SCRIPT>
carlos@0
    36
<SCRIPT language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></SCRIPT>
carlos@0
    37
<SCRIPT language="JavaScript" src="../../../../../web/js/String.js" type="text/javascript"></SCRIPT>
carlos@0
    38
carlos@0
    39
      <script type="text/javascript">
carlos@0
    40
        dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
carlos@0
    41
      </script>
carlos@0
    42
carlos@0
    43
<SCRIPT language="JavaScript" type="text/javascript">
asier@528
    44
function onloadFunctions() {
asier@528
    45
	keyArray[keyArray.length] = new keyArrayItem("B", "submitCommandForm('FIND', false, null, null, 'medio');", null, "ctrlKey");
asier@528
    46
}
carlos@0
    47
carlos@0
    48
</SCRIPT>
carlos@0
    49
<SCRIPT language="JavaScript" type="text/javascript">
carlos@0
    50
function depurar() {
carlos@0
    51
	var frm = document.frmSelector;
carlos@0
    52
	if ((frm.inpKey.value==null || frm.inpKey.value=="") && (frm.inpLastResult.value==null || frm.inpLastResult.value=="") && (frm.inpFax.value==null || frm.inpFax.value=="") && (frm.inpTelephone.value==null || frm.inpTelephone.value=="")) {
carlos@0
    53
		frm.inpKey.focus();
carlos@0
    54
		mensaje(7);
carlos@0
    55
		return false;
carlos@0
    56
	}
carlos@0
    57
	return true;
carlos@0
    58
}
carlos@0
    59
</SCRIPT>
asier@528
    60
	<SCRIPT language="JavaScript" type="text/javascript">
asier@528
    61
	function onLoadDo(){
asier@528
    62
		this.windowTables = new Array(
david@628
    63
		  new windowTableId('client', 'superior', 'buttonSearch', 'superior'),
david@628
    64
		  new windowTableId('client', 'medio', 'buttonOK', 'inferior'),
david@628
    65
		  new windowTableId('client', 'inferior', 'buttonOK', 'inferior')
asier@528
    66
		);
asier@528
    67
		setWindowTableParentElement();
asier@528
    68
		enableShortcuts('popup');
asier@528
    69
		
asier@528
    70
		try {
asier@528
    71
		  onloadFunctions();
asier@528
    72
		} catch (e) {}
asier@528
    73
asier@528
    74
		setWindowElementFocus('firstElement');
asier@528
    75
	}
asier@528
    76
asier@528
    77
	function onResizeDo(){
asier@528
    78
	}
asier@528
    79
	</SCRIPT>
carlos@0
    80
</HEAD>
asier@528
    81
<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
carlos@0
    82
<FORM name="frmSelector" method="POST" action="UserContact_F2.html" target="medio">
carlos@0
    83
  <INPUT type="hidden" name="Command">
carlos@0
    84
<INPUT type="hidden" name="IsPopUpCall" value="1">
carlos@0
    85
  
carlos@0
    86
  
carlos@0
    87
  
carlos@0
    88
  
carlos@0
    89
  
carlos@0
    90
  <div class="Popup_ContentPane_CircleLogo">
carlos@0
    91
  <div class="Popup_WindowLogo">
carlos@0
    92
    <img class="Popup_WindowLogo_Icon Popup_WindowLogo_Icon_userContact" src="../../../../../web/images/blank.gif" border=0/></img>
carlos@0
    93
  </div>
carlos@0
    94
</div>
carlos@0
    95
carlos@0
    96
<table cellspacing="0" cellpadding="0" width="100%">
carlos@0
    97
carlos@0
    98
  <tr>
carlos@0
    99
    <td>
carlos@0
   100
      <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_NavBar">
carlos@0
   101
        <tr class="Popup_NavBar_bg"><td></td>
carlos@0
   102
          <td class="Popup_NavBar_separator_cell"></td>
carlos@0
   103
          <td class="Popup_NavBar_bg_logo_left"></td>
carlos@0
   104
          <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>
carlos@0
   105
          <td class="Popup_NavBar_bg_logo_right"></td>
carlos@0
   106
          <td class="Popup_NavBar_Popup_title_cell"><span>User Selector</span></a></td>
carlos@0
   107
          <td class="Popup_NavBar_separator_cell"></td>
carlos@0
   108
        </tr>
carlos@0
   109
      </table>
carlos@0
   110
    </td>
carlos@0
   111
  </tr>
carlos@0
   112
carlos@0
   113
  <tr>
carlos@0
   114
    <td>
carlos@0
   115
      <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_SeparatorBar">
carlos@0
   116
        <tr>
carlos@0
   117
          <td class="Popup_SeparatorBar_bg"></td>
carlos@0
   118
        </tr>
carlos@0
   119
      </table>
carlos@0
   120
    </td>
carlos@0
   121
  </tr>
carlos@0
   122
  
carlos@0
   123
   <tr>
carlos@0
   124
    <td>
asier@528
   125
      <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client">
carlos@0
   126
        <table cellspacing="0" cellpadding="0" class="Popup_Client_TableSelector">
carlos@0
   127
carlos@0
   128
          <tr>
carlos@0
   129
            <td class="TableEdition_OneCell_width"></td>
carlos@0
   130
            <td class="TableEdition_OneCell_width"></td>
carlos@0
   131
            <td class="TableEdition_OneCell_width"></td>
carlos@0
   132
            <td class="TableEdition_OneCell_width"></td>
carlos@0
   133
            <td class="TableEdition_OneCell_width"></td>
carlos@0
   134
            <td class="TableEdition_OneCell_width"></td>
carlos@0
   135
          </tr>
carlos@0
   136
carlos@0
   137
          <TR>
carlos@0
   138
          <TD colspan="6">
carlos@0
   139
            <TABLE class="FieldGroup" cellspacing="0" cellpadding="0" border="0">
carlos@0
   140
              <TR class="FieldGroup_TopMargin"></TR>
carlos@0
   141
              <TR>
carlos@0
   142
                <TD class="FieldGroupTitle_Left"><IMG class="FieldGroupTitle_Left_bg" border="0" src="../../../../../web/images/blank.gif"></IMG></TD>
carlos@0
   143
                <TD class="FieldGroupTitle">Primary Filters</TD>
carlos@0
   144
                <TD class="FieldGroupTitle_Right"><IMG class="FieldGroupTitle_Right_bg" border="0" src="../../../../../web/images/blank.gif"></IMG></TD>
carlos@0
   145
                <TD class="FieldGroupContent"></TD>
carlos@0
   146
carlos@0
   147
              </TR>
carlos@0
   148
              <TR class="FieldGroup_BottomMargin"></TR>
carlos@0
   149
            </TABLE>
carlos@0
   150
          </TD>
carlos@0
   151
          </TR>
carlos@0
   152
         
carlos@0
   153
       </tr>
carlos@0
   154
       <tr>
asier@528
   155
         <TD class="TitleCell"><SPAN class="LabelText">Name</SPAN></TD>
carlos@0
   156
         <TD class="TextBox_ContentCell"> <INPUT type="text" name="inpKey" value="" id="fieldKey"/></TD>
carlos@0
   157
         
carlos@0
   158
         <td/>
carlos@0
   159
         <td/>
carlos@0
   160
         
asier@528
   161
         <TD class="TitleCell"><SPAN class="LabelText">Last result</SPAN></TD>
carlos@0
   162
         <TD class="TextBox_ContentCell"> <INPUT name="inpLastResult" value="" type="text"/></TD>             
carlos@0
   163
       </tr>
carlos@0
   164
       <tr>
asier@528
   165
         <TD class="TitleCell"><SPAN class="LabelText">Fax</SPAN></TD>
carlos@0
   166
         <TD class="TextBox_ContentCell"> <INPUT type="text" name="inpFax" value=""/></TD>
carlos@0
   167
         
carlos@0
   168
         <td/>
carlos@0
   169
         <td/>
carlos@0
   170
         
asier@528
   171
         <TD class="TitleCell"><SPAN class="LabelText">Phone:</SPAN></TD>
carlos@0
   172
         <TD class="TextBox_ContentCell"> <INPUT name="inpTelephone" value="" type="text"/></TD>             
carlos@0
   173
       </tr>
carlos@0
   174
       
carlos@0
   175
       <tr>
carlos@0
   176
            <td></td>
carlos@0
   177
            <td class="Button_LeftAlign_ContentCell">
carlos@0
   178
              <div>
carlos@0
   179
                <a class="ButtonLink" href="#"
asier@528
   180
                  onfocus="setWindowElementFocus(this); window.status='Search'; return true;"
asier@528
   181
                  onblur="window.status=''; return true;"
carlos@0
   182
                  onkeypress="this.className='ButtonLink_active'; return true;"
asier@528
   183
                  onkeyup="this.className='ButtonLink_focus'; return true;"
david@628
   184
                  onclick="submitCommandForm('FIND', false, null, null, 'medio');return false;"
david@628
   185
                  id="buttonSearch">
carlos@0
   186
                  <table class="Button"
carlos@0
   187
                    onmousedown="this.className='Button_active'; return true;"
carlos@0
   188
                    onmouseup="this.className='Button'; return true;"
carlos@0
   189
                    onmouseover="this.className='Button_hover'; window.status='Search'; return true;"
carlos@0
   190
                    onmouseout="this.className='Button'; window.status=''; return true;">
carlos@0
   191
                    <tr>
carlos@0
   192
                      <td class="Button_left"><img class="Button_Icon Button_Icon_search" alt="Search" title="Search" src="../../../../../web/images/blank.gif" border=0/></td>
carlos@0
   193
                      <td class="Button_text Button_width">Search</td>
carlos@0
   194
                      <td class="Button_right"></td>
carlos@0
   195
                    </tr>
carlos@0
   196
                  </table>
carlos@0
   197
                </a>
carlos@0
   198
              </div>
carlos@0
   199
            </td>
carlos@0
   200
            <td></td>
carlos@0
   201
            <td></td>
carlos@0
   202
            <td></td>
carlos@0
   203
            <td></td>
carlos@0
   204
          </tr>
carlos@0
   205
       </table>
carlos@0
   206
       </div>
carlos@0
   207
       </td>
carlos@0
   208
       
carlos@0
   209
       
carlos@0
   210
       </table>
carlos@0
   211
       
carlos@0
   212
</FORM>
carlos@0
   213
</BODY>
carlos@0
   214
</HTML>