Renders the business editor for a
TriPage
Documentation
This function is called by the edit templates to render the fields of the
TriPage that are to be edited
as part of the business details.
Parameters
- SOURCE: topic for which we render a business details editor
Css
Implementation
%STARTINCLUDE%
~~~ <h2>Business details</h2>
~~~ <style type="text/css">
~~~ @import url('%PUBURLPATH%/Applications/EmployeePortalApp/styles.css');
~~~ </style>
~~~ <script type="text/javascript" src="%PUBURL%/Applications/EmployeePortalApp/emp.js"></script>
~~~ <input type="hidden" name="BusinessDetailsTimeStamp" value="%DISPLAYTIME{"$epoch"}%" />
~~~ <div class="empHolder empEditHolder">
~~~ <div class="empTabNavigation">
~~~ <ul>
~~~ <li id="tab1" class="empCurrentTab"><a href="javascript:toggleTab('tab1', 'bd')">
*~~ Business Details</a>
*~~ </li>
~~~ <li id="tab2" ><a href="javascript:toggleTab('tab2', 'bd')">Help</a></li>
~~~ </ul>
~~~ </div>
~~~ <table class="empBox empTopBox" cellspacing="0" cellpadding="0" border="0">
~~~ <tr>
~~~ <td class="empBoxTopLeft" colspan="2"> </td>
~~~ <td class="empBoxTopRight" colspan="2"> </td>
~~~ </tr>
~~~ <tr>
~~~ <td class="empBoxLeft"> </td>
~~~ <td class="empBoxContent" colspan="2">
~~~ <noautolink>
~~~ <div class="empBusinessDetails" id="bd">
%~~ DBQUERY{topic="%SOURCE%"
~~~ format="
~~~ <div>
~~~ <table class=\"empDetailsTable\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">
~~~ <tr>
~~~ <th class=\"empTableFirstCol\">
~~~ Branches of trade
~~~ </th>
~~~ <td>
~~~ $percntDBCALL{\"Applications.EmployeePortalApp.RenderCheckBox\"
~~~ NAME=\"BranchOfTrade\"
~~~ SELECTED=\"$formfield(BranchOfTrade)\"
~~~ }$percnt
~~~ <td>
~~~ </tr>
~~~ <tr>
~~~ <th class=\"empTableFirstCol\">
~~~ Education
~~~ </th>
~~~ <td>
~~~ <textarea cols=\"75\" rows=\"5\" name=\"EducationEN\">$n
*~~ $formfield(EducationEN)
*~~ </textarea>
~~~ </td>
~~~ </tr>
~~~ <tr>
~~~ <th class=\"empTableFirstCol\">
~~~ Certificates
~~~ </th>
~~~ <td>
~~~ $percntDBCALL{\"Applications.EmployeePortalApp.RenderCheckBox\"
~~~ NAME=\"CertificatesOfCompetence\"
~~~ SELECTED=\"$formfield(CertificatesOfCompetence)\"
~~~ }$percnt
~~~ <td>
~~~ </tr>
~~~ <tr>
~~~ <th class=\"empTableFirstCol\">
~~~ Language skills
~~~ </th>
~~~ <td>
~~~ $percntDBCALL{\"Applications.EmployeePortalApp.RenderCheckBox\"
~~~ NAME=\"LanguageSkillsEN\"
~~~ SELECTED=\"$formfield(LanguageSkillsEN)\"
~~~ }$percnt
~~~ <div class=\"empOtherLanguageSkillsEN\">
~~~ <span>Other language skills:</span>
~~~ <input type=\"text\" size=\"30\" name=\"OtherLanguageSkillsEN\"
~~~ value=\"$percntENCODE{\"$formfield(OtherLanguageSkillsEN)\" type=\"entity\"}$percnt\" />
~~~ </div>
~~~ <td>
~~~ </tr>
~~~ <tr>
~~~ <th class=\"empTableFirstCol\">
~~~ Service responsibility
~~~ </th>
~~~ <td>
~~~ <textarea cols=\"75\" rows=\"5\" name=\"ServiceResponsibility\">$n
*~~ $formfield(ServiceResponsibility)
*~~ </textarea>
~~~ </td>
~~~ </tr>
~~~ <tr>
~~~ <th class=\"empTableFirstCol\">
~~~ Internal systems
~~~ </th>
~~~ <td>
~~~ <textarea cols=\"75\" rows=\"5\" name=\"InternalSystems\">$n
*~~ $formfield(InternalSystems)
*~~ </textarea>
~~~ </td>
~~~ </tr>
~~~ </table>
~~~ </div>
~~~ "
~~~ }%
~~~ <div style="display:none">
~~~ <!-- -->%DBCALL{"Applications.EmployeePortalApp.TriPageHelp" section="businessdetails"}%
~~~ </div>
~~~ </div>
~~~ </noautolink>
~~~ </td>
~~~ <td class="empBoxRight"> </td>
~~~ </tr>
~~~ <tr>
~~~ <td class="empBoxBottomLeft" colspan="2"> </td>
~~~ <td class="empBoxBottomRight" colspan="2"> </td>
~~~ </tr>
~~~ </table></div>
~~~
%STOPINCLUDE%
Test
Business details
| | |
| |
Help on the business details editor | |
| | |
Calls to 'RenderTvdBusinessDetailsEditor'
Copyright
© 2007 Michael Daum
http://wikiring.de
This file is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version. For
more details read the
LICENSE.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.