src/org/openbravo/erpCommon/ad_help/DisplayHelp_Edit_Field_F1.html
author David Baz Fayos <david.baz@openbravo.com>
Tue, 27 May 2008 15:26:10 +0000
changeset 1044 8691bbc94032
parent 628 492ad1a5c917
child 1325 af371d42d754
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>
  <TITLE>Help edit</TITLE>
  <META http-equiv="Content-Type" content="text/html; charset=UTF-8"></META>
  <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/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" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></SCRIPT>
  <SCRIPT language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></SCRIPT>

  <SCRIPT type="text/javascript">
    dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
  </SCRIPT>

  <SCRIPT language="JavaScript" type="text/javascript" id="paramDirection">
    var baseDirection = "../../../../../web/";
  </SCRIPT>
  <SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">	LNG_POR_DEFECTO = "en_US";</SCRIPT>
  <SCRIPT type="text/javascript">
    _editor_url  = baseDirection + "js/xinha/";
    _editor_lang = LNG_POR_DEFECTO.substring(0,2);
  </SCRIPT>
  <SCRIPT type="text/javascript" src="../../../../../web/js/xinha/htmlarea.js"></SCRIPT>
  <SCRIPT type="text/javascript">
    xinha_editors = null;
    xinha_init    = null;
    xinha_config  = null;
    xinha_plugins = null;

    // This contains the names of textareas we will make into Xinha editors
    xinha_init = xinha_init ? xinha_init : function() {
      xinha_plugins = xinha_plugins ? xinha_plugins : [];
      if(!HTMLArea.loadPlugins(xinha_plugins, xinha_init)) return;
      xinha_editors = xinha_editors ? xinha_editors : ['idfieldHelp'];
      xinha_config = xinha_config ? xinha_config : new HTMLArea.Config();
      xinha_editors   = HTMLArea.makeEditors(xinha_editors, xinha_config, xinha_plugins);
      HTMLArea.startEditors(xinha_editors);
      window.onload = null;
    }

    //window.onload   = xinha_init;
    window.onunload = HTMLArea.collectGarbageForIE;
  </SCRIPT>
  <SCRIPT language="JavaScript" type="text/javascript">
    function depurar() {
      document.frmMain.inpHelp.value = xinha_editors.idfieldHelp.getHTML();
      return true;
    }
    function closeWindow() {
      top.close();
    }
  </SCRIPT>
  <SCRIPT language="JavaScript" type="text/javascript">
    function onLoadDo() {
      this.windowTables = new Array(
        new windowTableId('client', 'buttonOK')
      );
      setWindowTableParentElement();
      enableShortcuts('popup');
      setWindowElementFocus('firstElement');
      xinha_init();
    }
  </SCRIPT>
</HEAD>
<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();">
<FORM name="frmMain" action="DisplayHelp_Edit_Field_FS.html" method="POST" id="sectionDetail">
  <INPUT type="hidden" name="Command">
<INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
  <INPUT type="hidden" name="inpClave" value="" id="paramField"></INPUT>
  <INPUT type="hidden" name="inpType" value="" id="fieldSave"></INPUT>
  <INPUT type="hidden" name="inpEdit" value="" id="fieldEdit"></INPUT>

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

<TABLE cellspacing="0" cellpadding="0" width="100%">
  <TR>
    <TD id="tdNavigation">
      <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">Field Help</TD>
          <TD class="Popup_NavBar_separator_cell"></TD>
        </TR>
      </TABLE>
    </TD>
  </TR>
  <TR>
    <TD id="tdSeparator">
      <TABLE cellspacing="0" cellpadding="0" class="Popup_ContentPane_SeparatorBar">
        <TR>
          <TD class="Popup_SeparatorBar_bg"></TD>
        </TR>
      </TABLE>
    </TD>
  </TR>
  <TR valign="top">
    <TD>
      <DIV class="Popup_ContentPane_Client" style="overflow: auto;" id="client">
                            <!-- MessageBox -->
                            <table cellpadding="0" cellspacing="0" id="messageBoxID" class="MessageBoxyy">
                              <TBODY>
                              <tr class="MessageBox_TopMargin">
                                <td class="MessageBox_LeftMargin"></td>
                                <td></td>
                                <td class="MessageBox_RightMargin"></td>
                              </tr>
                              <tr>
                                <td class="MessageBox_LeftMargin"></td>
                                <td>

                                  <table cellpadding="0" cellspacing="0" style="width: 100%;">
                                    <TBODY>
                                    <tr>
                                      <td>
                                        <div class="MessageBox_TopLeft"></div>
                                        <div class="MessageBox_Left"></div>
                                      </td>
                                      <td class="MessageBox_bg">

                                        <table class="MessageBox_Top">
                                        <TBODY>
                                          <tr>
                                            <td>
                                              <span>
                                              <table cellpadding="0" cellspacing="0" class="MessageBox_Body_ContentCell">
                                                <TBODY>
                                                <tr>
                                                  <td class="MessageBox_Icon_ContentCell">
                                                    <div class="MessageBox_Icon"></div>
                                                  </td>
                                                  <td style="vertical-align: top;" id="messageBoxIDContent">
                                                    <span>
                                                      <div class="MessageBox_TextTitle" id="messageBoxIDTitle">
                                                        xxInfo: AccessTableWithNoView
                                                      </div>
                                                      <div class="MessageBox_TextDescription" id="messageBoxIDMessage">
                                                        xxThe current information is empty.
                                                      </div>
                                                      <div class="MessageBox_TextSeparator"></div>
                                                    </span>
                                                  </td>
                                                </tr>
                                                </TBODY>
                                              </table>
                                              </span>
                                            </td>
                                          </tr>
                                          </TBODY>
                                        </table>

                                      </td>
                                      <td class="MessageBox_RightTrans">
                                        <div class="MessageBox_TopRight"></div>
                                        <div class="MessageBox_Right"></div>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td rowspan="2" class="MessageBox_BottomLeft">
                                      </td>
                                      <td class="MessageBox_BottomTrans MessageBox_bg">
                                      </td>
                                      <td rowspan="2" class="MessageBox_BottomRight">
                                      </td>
                                    </tr>
                                    <tr>
                                      <td class="MessageBox_Bottom">
                                      </td>
                                    </tr>
                                    </TBODY>
                                  </table>

                                </td>
                                <td class="MessageBox_RightMargin"></td>
                              </tr>
                              <tr class="MessageBox_BottomMargin">
                                <td class="MessageBox_LeftMargin"></td>
                                <td></td>
                                <td class="MessageBox_RightMargin"></td>
                              </tr>
                              </TBODY>
                            </table>
                            <!-- MessageBox END -->
        <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 colspan="4">
              <TABLE class="FieldGroup" cellspacing="0" cellpadding="0" border="0">
                <TR class="FieldGroup_TopMargin"></TR>
                <TR>
                  <TD class="FieldGroupTitle_Left"><img class="FieldGroupTitle_Left_bg" border="0" src="../../../../../web/images/blank.gif"></IMG></TD>
                  <TD class="FieldGroupTitle" id="fieldOriginalName">xxProduct</TD>
                  <TD class="FieldGroupTitle_Right"><img class="FieldGroupTitle_Right_bg" border="0" src="../../../../../web/images/blank.gif"></img></TD>
                  <TD class="FieldGroupContent"></TD>
                  <TD class="FieldGroupTitle_Left"><img class="FieldGroupTitle_Left_bg" border="0" src="../../../../../web/images/blank.gif"></IMG></TD>
                  <TD class="FieldGroupTitle" style="padding-top:4px;" id="discardEdit">
                    <a href="#" onclick="submitCommandForm('ELEMENT', null, null, 'DisplayHelp_Edit_Field_FS.html');return false;" onmouseover="window.status='Edit';return true;" onmouseout="window.status='';return true;" class="Popup_Client_Help_Icon_LabelLink"><img class="Popup_Client_Help_Icon_edit" border="0" src="../../../../../web/images/blank.gif"></img></a>
                  </TD>
                  <TD class="FieldGroupTitle_Right"><img class="FieldGroupTitle_Right_bg" border="0" src="../../../../../web/images/blank.gif"></img></TD>
                </TR>
                <TR class="FieldGroup_BottomMargin"></TR>
              </TABLE>
            </TD>
          </TR>
          <TR>
            <TD class="TextBox_ContentCell" colspan="2"><INPUT class="dojoValidateValid TextBox_TwoCells_width" name="inpName" size="50" maxlength="50" id="fieldName" value="Tab name" type="text"></INPUT></TD>
            <TD class="TitleCell"><SPAN class="LabelText">Centrally maintained</SPAN></TD>
            <TD class="Radio_Check_ContentCell"><SPAN class="Checkbox_container_NOT_Focused"><INPUT type="checkbox" name="inpiscentrallymaintained" id="fieldIscentrallymaintained" value="Y"></INPUT></SPAN></TD>
          </TR>
          <TR>
            <TD colspan="4">
              <TEXTAREA name="inpHelp" cols="60" rows="16" wrap="VIRTUAL" id="idfieldHelp">help for the tab</TEXTAREA>
            </TD>
          </TR>
          <TR>
            <TD></TD>
            <TD class="Button_RightAlign_ContentCell">
              <DIV>
                <A class="ButtonLink" href="#" onfocus="this.className='ButtonLink_focus'; window.status='OK'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="submitCommandForm('SAVE_' + document.frmMain.inpType.value, true, frmMain, 'DisplayHelp.html', 'frameOculto');return false;" id="buttonOK">
                  <TABLE class="Button" onmousedown="this.className='Button_active'; return true;" onmouseup="this.className='Button'; return true;" onmouseover="this.className='Button_hover'; window.status='OK'; return true;" onmouseout="this.className='Button'; window.status=''; return true;">
                    <TR>
                      <TD class="Button_left"><IMG class="Button_Icon Button_Icon_ok" alt="OK" title="OK" src="../web/images/blank.gif" border="0/"></IMG></TD>
                      <TD class="Button_text Button_width">OK</TD>
                      <TD class="Button_right"></TD>
                    </TR>
                  </TABLE>
                </A>
              </DIV>
            </TD>
            <TD class="Button_LeftAlign_ContentCell">
              <DIV>
                <A class="ButtonLink" href="#" onfocus="this.className='ButtonLink_focus'; 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="closeWindow();return false;">
                  <TABLE class="Button" onmousedown="this.className='Button_active'; return true;" onmouseup="this.className='Button'; return true;" onmouseover="this.className='Button_hover'; window.status='Cancel'; return true;" onmouseout="this.className='Button'; window.status=''; 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/"></IMG></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>
</TABLE>
</FORM>
</BODY>
</HTML>