src/org/openbravo/erpCommon/businessUtility/TabAttachments_Edition.html
author David Baz Fayos <david.baz@openbravo.com>
Tue, 27 May 2008 15:26:10 +0000
changeset 1044 8691bbc94032
parent 1008 99e46a99c056
child 1234 a3040b82c671
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
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>
carlos@0
    25
      <script language="JavaScript" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></script>
carlos@0
    26
      <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
carlos@0
    27
      <SCRIPT language="JavaScript" type="text/javascript" id="paramDirection">var baseDirection = "http://yourSite/web/";</SCRIPT>
asier@528
    28
      <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
asier@528
    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" type="text/javascript" id="paramLanguage">	LNG_POR_DEFECTO = "en_US";</SCRIPT>
carlos@0
    32
carlos@0
    33
      <script type="text/javascript">
carlos@0
    34
        dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
carlos@0
    35
      </script>
asier@528
    36
  	<SCRIPT language="JavaScript" type="text/javascript">
asier@528
    37
	function onLoadDo(){
asier@528
    38
		this.windowTables = new Array(
david@1044
    39
		  new windowTableId('client', 'linkButtonSaveRelation')
asier@528
    40
		);
asier@528
    41
		setWindowTableParentElement();
asier@528
    42
		enableShortcuts('popup');
carlos@0
    43
asier@528
    44
		setWindowElementFocus('firstElement');
asier@528
    45
	}
asier@528
    46
asier@528
    47
	function onResizeDo(){
asier@528
    48
	}
asier@528
    49
	</SCRIPT>
carlos@0
    50
</head>
carlos@0
    51
carlos@0
    52
asier@528
    53
<body onload="onLoadDo();" onresize="onResizeDo();">
carlos@0
    54
carlos@0
    55
<div class="Popup_ContentPane_CircleLogo">
carlos@0
    56
  <div class="Popup_WindowLogo">
carlos@0
    57
    <img class="Popup_WindowLogo_Icon Popup_WindowLogo_Icon_attachment" src="../../../../../web/images/blank.gif" border=0/></img>
carlos@0
    58
  </div>
carlos@0
    59
</div>
carlos@0
    60
carlos@0
    61
<table cellspacing="0" cellpadding="0" width="100%">
carlos@0
    62
<FORM name="frmMain" method="POST" action="TabAttachments_Edition.html" enctype="multipart/form-data" id="sectionDetail">
carlos@0
    63
  <INPUT type="hidden" name="Command">
carlos@0
    64
<INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
carlos@0
    65
  <INPUT type="hidden" name="inpTabId" value="xx" id="paramTabId"></INPUT>
carlos@0
    66
  <INPUT type="hidden" name="inpwindowId" value="xx" id="paramWindow"></INPUT> 
carlos@0
    67
  <INPUT type="hidden" name="inpKey" value="xx" id="paramKey"></INPUT>
carlos@0
    68
  <INPUT type="hidden" name="inpcFileId" value="" id="C_File_ID"></INPUT>
carlos@0
    69
carlos@0
    70
  <tr>
carlos@0
    71
    <td>
carlos@0
    72
      <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_NavBar">
carlos@0
    73
        <tr class="Popup_NavBar_bg"><td></td>
carlos@0
    74
          <td class="Popup_NavBar_separator_cell"></td>
carlos@0
    75
          <td class="Popup_NavBar_bg_logo_left"></td>
carlos@0
    76
          <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
    77
          <td class="Popup_NavBar_bg_logo_right"></td>
carlos@0
    78
          <td class="Popup_NavBar_Popup_title_cell"><span>Attachment</span></td>
carlos@0
    79
          <td class="Popup_NavBar_separator_cell"></td>
carlos@0
    80
        </tr>
carlos@0
    81
      </table>
carlos@0
    82
    </td>
carlos@0
    83
  </tr>
carlos@0
    84
carlos@0
    85
  <tr>
carlos@0
    86
    <td>
carlos@0
    87
      <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_SeparatorBar">
carlos@0
    88
        <tr>
carlos@0
    89
          <td class="Popup_SeparatorBar_bg"></td>
carlos@0
    90
        </tr>
carlos@0
    91
      </table>
carlos@0
    92
    </td>
carlos@0
    93
  </tr>
carlos@0
    94
carlos@0
    95
  
carlos@0
    96
  <tr>
carlos@0
    97
    <td>
asier@528
    98
      <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client">
carlos@0
    99
        <table cellspacing="0" cellpadding="0" class="Popup_Client_TablePopup">
carlos@0
   100
carlos@0
   101
          <tr>
carlos@0
   102
            <td class="TableEdition_OneCell_width"></td>
carlos@0
   103
            <td class="TableEdition_OneCell_width"></td>
carlos@0
   104
            <td class="TableEdition_OneCell_width"></td>
carlos@0
   105
            <td class="TableEdition_OneCell_width"></td>
carlos@0
   106
          </tr>
carlos@0
   107
carlos@0
   108
          <tr>
asier@528
   109
            <td class="TitleCell"><SPAN class="LabelText">Attached to</SPAN></td>
carlos@0
   110
            <td class="ContentCell" colspan="2"> <span class="Label_ReadOnly_Text" id="paramRecordIdentifier">xxAtachedRecord</span></td>
carlos@0
   111
            <td></td>
carlos@0
   112
          </tr>
carlos@0
   113
          
carlos@0
   114
          <TR> 
asier@528
   115
            <TD class="TitleCell"><SPAN class="LabelText">File</SPAN></TD>
carlos@0
   116
            <TD class="TextBox_ContentCell" colspan="2"> 
carlos@0
   117
              <INPUT type="file" size="40" name="inpname" value="" class="TextBox_TwoCells_width" id="editDiscard"></INPUT> 
carlos@0
   118
              <SPAN id="newDiscard"> 
david@1008
   119
                <INPUT type="text" class="dojoValidateValid TextBox_TwoCells_width" name="inpname" value="" disabled="" id="Name"></INPUT>
carlos@0
   120
              </SPAN>
carlos@0
   121
            </TD>
carlos@0
   122
	    
carlos@0
   123
	    <td></td>	
carlos@0
   124
          </TR>
carlos@0
   125
          <TR> 
asier@528
   126
            <TD class="TitleCell"><SPAN class="LabelText">Format</SPAN></TD>
carlos@0
   127
            <TD class="Combo_ContentCell" colspan="2"> 
david@1008
   128
                <SELECT class="Combo Combo_TwoCells_width" name="inpadDatatypeId" id="reportAD_Datatype_ID_D">
carlos@0
   129
                </SELECT>
carlos@0
   130
            </TD>
carlos@0
   131
            <td/>
carlos@0
   132
          <TR> 
asier@528
   133
            <TD class="TitleCell"><SPAN class="LabelText">Description</SPAN></TD>
david@1008
   134
            <TD class="ContentCell" colspan="2"> <TEXTAREA class="dojoValidateValid TextArea_TwoCells_width" name="inptext"  class="TextBox_TwoCells_width" rows="3" id="Text"></TEXTAREA></TD>
carlos@0
   135
	    
carlos@0
   136
	          <td/>
carlos@0
   137
          </TR>
carlos@0
   138
        
carlos@0
   139
carlos@0
   140
          <tr><td height="20px"></td></tr>
carlos@0
   141
carlos@0
   142
          <tr>
carlos@0
   143
            <td></td>
carlos@0
   144
            <td class="Button_RightAlign_ContentCell">
carlos@0
   145
              <div>
david@1008
   146
                <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Save'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="submitCommandForm('SAVE_xx_RELATION', false, null, 'TabAttachments_Edition.html', '_self');return false;" id="linkButtonSaveRelation">
david@1008
   147
                  <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='Save';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
david@1008
   148
                    <tr>
david@1008
   149
                      <td class="Button_left"><img class="Button_Icon Button_Icon_save" alt="Save" title="Save" src="../../../../../web/images/blank.gif" border=0/></td>
david@1008
   150
                      <td class="Button_text Button_width">Save</td>
david@1008
   151
                      <td class="Button_right"></td>
david@1008
   152
                    </tr>
david@1008
   153
                  </table>
david@1008
   154
                </a>
carlos@0
   155
              </div>
carlos@0
   156
            </td>
carlos@0
   157
            <td class="Button_LeftAlign_ContentCell">
carlos@0
   158
              <div>
david@1008
   159
                <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Cancel'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="submitCommandForm('DEFAULT', false, null, 'TabAttachments_F1.html', '_self');return false;">
david@1008
   160
                  <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='Cancel';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
david@1008
   161
                    <tr>
david@1008
   162
                      <td class="Button_left"><img class="Button_Icon Button_Icon_cancel" alt="Cancel" title="Cancel" src="../../../../../web/images/blank.gif" border=0/></td>
david@1008
   163
                      <td class="Button_text Button_width">Cancel</td>
david@1008
   164
                      <td class="Button_right"></td>
david@1008
   165
                    </tr>
david@1008
   166
                  </table>
david@1008
   167
                </a>
carlos@0
   168
              </div>
carlos@0
   169
            </td>
carlos@0
   170
            <td></td>
carlos@0
   171
          </tr>
carlos@0
   172
carlos@0
   173
        </table>
carlos@0
   174
      </div>
carlos@0
   175
    </td>
carlos@0
   176
  </tr>
carlos@0
   177
  </FORM>
carlos@0
   178
</table>
carlos@0
   179
carlos@0
   180
</body>
carlos@0
   181
</html>