src/org/openbravo/erpCommon/info/ImageInfo_F2.html
author David Baz Fayos <david.baz@openbravo.com>
Tue, 27 May 2008 15:26:10 +0000
changeset 1044 8691bbc94032
parent 984 736fbb305c78
child 1325 af371d42d754
permissions -rw-r--r--
Removed old frame parameter of windowTableId
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>Image Selector</title>
carlos@0
    22
carlos@0
    23
<link rel="SHORTCUT ICON" href="../../../../../web/images/favicon.ico"></link> 
carlos@0
    24
carlos@0
    25
<link rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Popup/Popup.css" id="paramCSS"></link>
carlos@0
    26
carlos@0
    27
      <script language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></script>
asier@528
    28
      <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
carlos@0
    29
      <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
asier@528
    30
      <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
carlos@0
    31
      <script language="JavaScript" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></script>
carlos@0
    32
      <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
carlos@0
    33
      <script language="JavaScript" type="text/javascript" id="paramDirection">var baseDirection = "../../../../../web/";</script>
carlos@0
    34
     <script language="JavaScript" type="text/javascript" id="paramLanguage">	LNG_POR_DEFECTO = "en_US";</script>
carlos@0
    35
      <script type="text/javascript">
carlos@0
    36
        dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
carlos@0
    37
      </script>
carlos@0
    38
carlos@0
    39
carlos@0
    40
<script language="JavaScript" type="text/javascript">
david@984
    41
    function loadData(text, position) {
david@984
    42
      document.frmSelector.inpLastKeySelected.value = position;
david@984
    43
      document.frmSelector.inpTexto.value=text;
david@984
    44
      return true;
david@984
    45
    }
carlos@0
    46
david@984
    47
    var selectedRow = "";
david@984
    48
    function selectActual(obj) {
david@984
    49
      if (selectedRow != "") {
david@984
    50
        selectedRow.className = selectedRow.className.replace(' DataGrid_Body_Row_selected', '');
david@984
    51
      }
david@984
    52
      selectedRow = obj;
david@984
    53
      selectedRow.className += " DataGrid_Body_Row_selected";
david@984
    54
      selectedCheck = selectedRow.id.toString().replace('funcEvenOddRow', 'CheckNum');
david@984
    55
      document.getElementById(selectedCheck).checked = true;
david@984
    56
    }
carlos@0
    57
david@984
    58
    function HoverCell(cell) {
david@984
    59
      cell.className = cell.className + ' DataGrid_Body_Cell_hover';
david@984
    60
    }
david@984
    61
david@984
    62
    function unHoverCell(cell) {
david@984
    63
      cell.className = cell.className.replace(' DataGrid_Body_Cell_hover', '');
david@984
    64
    }
carlos@0
    65
</script>
asier@528
    66
	<SCRIPT language="JavaScript" type="text/javascript">
asier@528
    67
	function onLoadDo(){
asier@528
    68
		this.windowTables = new Array(
david@1044
    69
		  new windowTableId('client', 'buttonSearch'),
david@1044
    70
		  new windowTableId('client', 'buttonOK'),
david@1044
    71
		  new windowTableId('client', 'buttonOK')
asier@528
    72
		);
asier@528
    73
		setWindowTableParentElement();
asier@528
    74
		enableShortcuts('popup');
david@984
    75
    resizeArea();
asier@528
    76
	}
asier@528
    77
asier@528
    78
	function onResizeDo(){
david@984
    79
    resizeArea();
asier@528
    80
	}
asier@528
    81
	</SCRIPT>
asier@528
    82
</HEAD>
asier@528
    83
<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
carlos@0
    84
<form name="frmSelector" method="POST" action="">
carlos@0
    85
  <input type="hidden" name="inpTexto"></input>
carlos@0
    86
  <input type="hidden" name="inpLastKeySelected"></input>
carlos@0
    87
<INPUT type="hidden" name="IsPopUpCall" value="1">
david@984
    88
david@984
    89
  <table height="100%" border="0" cellpadding="0" cellspacing="0" id="main">
carlos@0
    90
    <tr>
david@984
    91
      <td valign="top" class="Popup_Client_Selector_DataGrid_LeftMargin">
david@984
    92
        <table width="100%" border="0" cellspacing="0" cellpadding="0" id="tdleftSeparator">
david@984
    93
          <tr><td class="Popup_Client_Selector_DataGrid_LeftMargin"></td></tr>
carlos@0
    94
        </table>
carlos@0
    95
      </td>
david@984
    96
      <td valign="top">
david@984
    97
david@984
    98
        <div style="overflow: auto; display: none;" id="client">
david@984
    99
david@984
   100
          <table cellspacing="0" cellpadding="0" width="100%" class="DataGrid_Header_Table DataGrid_Body_Table" style="table-layout: auto;">
david@984
   101
            <tr class="DataGrid_Body_Row"> 
david@984
   102
              <th width="3%"  class="DataGrid_Header_LineNoCell">&nbsp;</th>
david@984
   103
              <th width="3%"  class="DataGrid_Header_Cell">&nbsp;</th>
david@984
   104
              <th width="36%" class="DataGrid_Header_Cell">Name</th>
david@984
   105
              <th width="58%" class="DataGrid_Header_Cell">URL</th>
david@984
   106
            </tr>
david@984
   107
david@984
   108
            <div id="sectionDetail"> 
david@984
   109
              <tr class="DataGrid_Body_Row DataGrid_Body_Row_yy" onclick="selectActual(this); loadData('xx', 'hh'); return true;"  ondblclick="parent.inferior.depurarSelector('SAVE'); return true;" id="funcEvenOddRowxx">
david@984
   110
                <td class="DataGrid_Body_LineNoCell DataGrid_Body_Cell_RadioButton">
david@984
   111
                  <input type="radio" name="inpClave" value="xx" id="CheckNumxx" class="DataGrid_RadioButton">
david@984
   112
                </td>
david@984
   113
                <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);"><img src="../../../../../web/images/xx" alt="Image" title="Image" border="0" height="20" width="24" id="fieldImageTD"/></td>
david@984
   114
                <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldNombreTD">xx</td>
david@984
   115
                <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldImageURLTD">xx</td>
david@984
   116
              </tr>
david@984
   117
            </div>
david@984
   118
          </table>
david@984
   119
david@984
   120
          <table cellspacing="0" cellpadding="0" width="100%" style="text-align:-moz-center;_text-align:center;border-collapse:collapse;">
david@984
   121
            <tr>
david@984
   122
              <td align=left width=50% style="padding-left: 7px;">
david@984
   123
                <table cellspacing="0" cellpadding="0" id="hasPrevious">
david@984
   124
                  <tr>
david@984
   125
                    <td class="Main_ToolBar_textlabel_bg_left">
david@984
   126
                      <a href="#" onClick="return false;" class="Main_ToolBar_Button" onMouseOver="window.status='Reference';return true;" onMouseOut="window.status='';return true;" onclick="this.hideFocus=true" onblur="this.hideFocus=false" id="linkButtonRelatedInfo"><img class="Main_ToolBar_Button_Icon Main_ToolBar_Button_Icon_Previous" src="../../../../../web/images/blank.gif" title="Reference" border="0" id="buttonRelatedInfo"></a>
david@984
   127
                    </td>
david@984
   128
                    <td class="Main_ToolBar_textlabel_bg_body" width=65px align="center"><a href="#" class="Main_ToolBar_text_relatedinfo">Previous</a></td>
david@984
   129
                    <td width="1"><img src="../../../../../web/images/blank.gif" class="Main_ToolBar_textlabel_bg_right" border="0"></img></td>
david@984
   130
                  </tr>
david@984
   131
                </table>
david@984
   132
                <span id="withoutPrevious"></span>
david@984
   133
              </td>
david@984
   134
              <td align=right width=50% style="padding-right: 7px;">
david@984
   135
                <table cellspacing="0" cellpadding="0" id="hasNext">
david@984
   136
                  <tr>
david@984
   137
                    <td width="1"><img src="../../../../../web/images/blank.gif" class="Main_ToolBar_textlabel_bg_left" border="0"></img></td>
david@984
   138
                    <td class="Main_ToolBar_textlabel_bg_body" width=65px align=center><a href="#" class="Main_ToolBar_text_relatedinfo">Next</a></td>
david@984
   139
                    <td class="Main_ToolBar_textlabel_bg_right">
david@984
   140
                      <a href="#" onClick="return false;" class="Main_ToolBar_Button" onMouseOver="window.status='Reference';return true;" onMouseOut="window.status='';return true;" onclick="this.hideFocus=true" onblur="this.hideFocus=false" id="linkButtonRelatedInfo"><img class="Main_ToolBar_Button_Icon Main_ToolBar_Button_Icon_Next" src="../../../../../web/images/blank.gif" title="Reference" border="0" id="buttonRelatedInfo"></a>
david@984
   141
                    </td>
david@984
   142
                  </tr>
david@984
   143
                </table>
david@984
   144
                <span id="withoutNext"></span>
david@984
   145
              </td>
david@984
   146
            </tr>
david@984
   147
          </table>
david@984
   148
david@984
   149
        </div>
david@984
   150
david@984
   151
      </td>
david@984
   152
david@984
   153
      <td valign="top" class="Popup_Client_Selector_DataGrid_RightMargin">
david@984
   154
        <table width="100%" border="0" cellspacing="0" cellpadding="0" id="tdrightSeparator">
david@984
   155
          <tr><td class="Popup_Client_Selector_DataGrid_RightMargin"></td></tr>
carlos@0
   156
        </table>
carlos@0
   157
      </td>
carlos@0
   158
    </tr>
carlos@0
   159
  </table>
david@984
   160
carlos@0
   161
</form>
carlos@0
   162
</body>
carlos@0
   163
</html>