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
<!--
 *************************************************************************
 * The contents of this file are subject to the Openbravo  Public  License
 * Version  1.0  (the  "License"),  being   the  Mozilla   Public  License
 * Version 1.1  with a permitted attribution clause; you may not  use this
 * file except in compliance with the License. You  may  obtain  a copy of
 * the License at http://www.openbravo.com/legal/license.html 
 * Software distributed under the License  is  distributed  on  an "AS IS"
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
 * License for the specific  language  governing  rights  and  limitations
 * under the License. 
 * The Original Code is Openbravo ERP. 
 * The Initial Developer of the Original Code is Openbravo SL 
 * All portions are Copyright (C) 2001-2007 Openbravo SL 
 * All Rights Reserved. 
 * Contributor(s):  ______________________________________.
 ************************************************************************
-->
<html>
<head>

<LINK rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Popup/Popup.css" id="paramCSS"></LINK>

      <script language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></script>
      <script language="JavaScript" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></script>
      <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
      <SCRIPT language="JavaScript" type="text/javascript" id="paramDirection">var baseDirection = "http://yourSite/web/";</SCRIPT>
      <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
      <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
      <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
      <SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">	LNG_POR_DEFECTO = "en_US";</SCRIPT>

      <script type="text/javascript">
        dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
      </script>
  	<SCRIPT language="JavaScript" type="text/javascript">
	function onLoadDo(){
		this.windowTables = new Array(
		  new windowTableId('client', 'linkButtonSaveRelation')
		);
		setWindowTableParentElement();
		enableShortcuts('popup');

		setWindowElementFocus('firstElement');
	}

	function onResizeDo(){
	}
	</SCRIPT>
</head>


<body onload="onLoadDo();" onresize="onResizeDo();">

<div class="Popup_ContentPane_CircleLogo">
  <div class="Popup_WindowLogo">
    <img class="Popup_WindowLogo_Icon Popup_WindowLogo_Icon_attachment" src="../../../../../web/images/blank.gif" border=0/></img>
  </div>
</div>

<table cellspacing="0" cellpadding="0" width="100%">
<FORM name="frmMain" method="POST" action="TabAttachments_Edition.html" enctype="multipart/form-data" id="sectionDetail">
  <INPUT type="hidden" name="Command">
<INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
  <INPUT type="hidden" name="inpTabId" value="xx" id="paramTabId"></INPUT>
  <INPUT type="hidden" name="inpwindowId" value="xx" id="paramWindow"></INPUT> 
  <INPUT type="hidden" name="inpKey" value="xx" id="paramKey"></INPUT>
  <INPUT type="hidden" name="inpcFileId" value="" id="C_File_ID"></INPUT>

  <tr>
    <td>
      <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_NavBar">
        <tr class="Popup_NavBar_bg"><td></td>
          <td class="Popup_NavBar_separator_cell"></td>
          <td class="Popup_NavBar_bg_logo_left"></td>
          <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>
          <td class="Popup_NavBar_bg_logo_right"></td>
          <td class="Popup_NavBar_Popup_title_cell"><span>Attachment</span></td>
          <td class="Popup_NavBar_separator_cell"></td>
        </tr>
      </table>
    </td>
  </tr>

  <tr>
    <td>
      <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_SeparatorBar">
        <tr>
          <td class="Popup_SeparatorBar_bg"></td>
        </tr>
      </table>
    </td>
  </tr>

  
  <tr>
    <td>
      <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client">
        <table cellspacing="0" cellpadding="0" class="Popup_Client_TablePopup">

          <tr>
            <td class="TableEdition_OneCell_width"></td>
            <td class="TableEdition_OneCell_width"></td>
            <td class="TableEdition_OneCell_width"></td>
            <td class="TableEdition_OneCell_width"></td>
          </tr>

          <tr>
            <td class="TitleCell"><SPAN class="LabelText">Attached to</SPAN></td>
            <td class="ContentCell" colspan="2"> <span class="Label_ReadOnly_Text" id="paramRecordIdentifier">xxAtachedRecord</span></td>
            <td></td>
          </tr>
          
          <TR> 
            <TD class="TitleCell"><SPAN class="LabelText">File</SPAN></TD>
            <TD class="TextBox_ContentCell" colspan="2"> 
              <INPUT type="file" size="40" name="inpname" value="" class="TextBox_TwoCells_width" id="editDiscard"></INPUT> 
              <SPAN id="newDiscard"> 
                <INPUT type="text" class="dojoValidateValid TextBox_TwoCells_width" name="inpname" value="" disabled="" id="Name"></INPUT>
              </SPAN>
            </TD>
	    
	    <td></td>	
          </TR>
          <TR> 
            <TD class="TitleCell"><SPAN class="LabelText">Format</SPAN></TD>
            <TD class="Combo_ContentCell" colspan="2"> 
                <SELECT class="Combo Combo_TwoCells_width" name="inpadDatatypeId" id="reportAD_Datatype_ID_D">
                </SELECT>
            </TD>
            <td/>
          <TR> 
            <TD class="TitleCell"><SPAN class="LabelText">Description</SPAN></TD>
            <TD class="ContentCell" colspan="2"> <TEXTAREA class="dojoValidateValid TextArea_TwoCells_width" name="inptext"  class="TextBox_TwoCells_width" rows="3" id="Text"></TEXTAREA></TD>
	    
	          <td/>
          </TR>
        

          <tr><td height="20px"></td></tr>

          <tr>
            <td></td>
            <td class="Button_RightAlign_ContentCell">
              <div>
                <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">
                  <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;">
                    <tr>
                      <td class="Button_left"><img class="Button_Icon Button_Icon_save" alt="Save" title="Save" src="../../../../../web/images/blank.gif" border=0/></td>
                      <td class="Button_text Button_width">Save</td>
                      <td class="Button_right"></td>
                    </tr>
                  </table>
                </a>
              </div>
            </td>
            <td class="Button_LeftAlign_ContentCell">
              <div>
                <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;">
                  <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;">
                    <tr>
                      <td class="Button_left"><img class="Button_Icon Button_Icon_cancel" alt="Cancel" title="Cancel" src="../../../../../web/images/blank.gif" border=0/></td>
                      <td class="Button_text Button_width">Cancel</td>
                      <td class="Button_right"></td>
                    </tr>
                  </table>
                </a>
              </div>
            </td>
            <td></td>
          </tr>

        </table>
      </div>
    </td>
  </tr>
  </FORM>
</table>

</body>
</html>