Render the tab containing the business details of an
EmployeePortal
Documentation
TODO
Parameters
- SOURCE: topic to render the business details for, defaults to BASETOPIC
Css
- empBusinessDetails
- empDetailsTable
- empDepartment
- empTableFirstCol
- empWebLink
- empTableEven
- empTableOdd
Implementation
%STARTINCLUDE%
~~~
%~~ DBQUERY{
~~~ topic="%IFDEFINED{"%SOURCE%" then="%SOURCE%" else="%BASEWEB%.%BASETOPIC%"}%"
~~~ remote="force"
~~~ format="
~~~ <div class=\"empBusinessDetails\">
~~~ <table class=\"empDetailsTable\" cellspacing=\"0\" cellpadding=\"0\">
~~~ <tr class=\"empTableOdd\">
~~~ <th class=\"empTableFirstCol\">Company</th>
~~~ <td>
~~~ $formfield(Company)
*~~ $expand(': ' and Title)
~~~ $expand('<a class=\"nop empWebLink\" href=\"'
~~~ and CompanyURL
~~~ and '\" target=\"_blank\">
*~~ <img src=\"%PUBURLPATH%/Applications/EmployeePortalApp/icn_weblink.gif\" border=\"0\" />
*~~ </a>')
~~~ </td>
~~~ </tr>
~~~ <tr class=\"empTableEven\">
~~~ <th class=\"empTableFirstCol\">Industry</th>
~~~ <td> $formfield(Industry) </td>
~~~ </tr>
~~~ <tr class=\"empTableOdd\">
~~~ <th class=\"empTableFirstCol\">Other Companies</th>
~~~ <td>
~~~ $formfield(OtherCompanies)
*~~ $expand(': ' and OtherCompaniesTitle)
~~~ $expand('<a class=\"nop empWebLink\" href=\"'
~~~ and OtherCompaniesURL
~~~ and '\" target=\"_blank\">
*~~ <img src=\"%PUBURLPATH%/Applications/EmployeePortalApp/icn_weblink.gif\" border=\"0\" />
*~~ </a>')
~~~ </td>
~~~ </tr>
~~~ <tr class=\"empTableEven\">
~~~ <th class=\"empTableFirstCol\">Previous Companies</th>
~~~ <td>
~~~ $formfield(PreviousCompanies)
*~~ $expand(': ' and PreviousCompaniesTitle)
~~~ $expand('<a class=\"nop empWebLink\" href=\"'
~~~ and PreviousCompaniesURL
~~~ and '\" target=\"_blank\">
*~~ <img src=\"%PUBURLPATH%/Applications/EmployeePortalApp/icn_weblink.gif\" border=\"0\" />
*~~ </a>')
~~~ </td>
~~~ </tr>
~~~ <tr class=\"empTableOdd\">
~~~ <th class=\"empTableFirstCol\">Universities</th>
~~~ <td> $formfield(Universities) </td>
~~~ </tr>
~~~ <tr class=\"empTableEven\">
~~~ <th class=\"empTableFirstCol\">Organizations</th>
~~~ <td> $formfield(Organizations) </td>
~~~ </tr>
~~~ <tr class=\"empTableOdd\">
~~~ <th class=\"empTableFirstCol\">Contacts</th>
~~~ <td> $formfield(Contacts) </td>
~~~ </tr>
~~~ <tr class=\"empTableEven\">
~~~ <th class=\"empTableFirstCol\">Groups</th>
~~~ <td> $formfield(Groups) </td>
~~~ </tr>
~~~ <tr class=\"empTableOdd\">
~~~ <th class=\"empTableFirstCol\">Courses</th>
~~~ <td> $formfield(Courses) </td>
~~~ </tr>
~~~ <tr class=\"empTableEven\">
~~~ <th class=\"empTableFirstCol\">Language skills</th>
~~~ <td> $formfield(LanguageSkills) </td>
~~~ </tr>
~~~ <tr class=\"empTableOdd\">
~~~ <th class=\"empTableFirstCol\">Projects</th>
~~~ <td> $formfield(Projects) </td>
~~~ </tr>
~~~ <tr class=\"empTableEven\">
~~~ <th class=\"empTableFirstCol\">KnowHow</th>
~~~ <td> $formfield(KnowHow) </td>
~~~ </tr>
~~~ </table>
~~~ $percntIFDEFINEDTHEN{\"$formfield(BusinessDetailsTimeStamp)\"}$percnt
~~~ <div class=\"empTimeStamp\">Last modified $formatTime(BusinessDetailsTimeStamp)</div>
~~~ $percntFIDEFINED$percnt
~~~ </div>"
~~~ }%
~~~
%STOPINCLUDE%
Test
| Company | |
| Industry | |
| Other Companies | |
| Previous Companies | |
| Universities | |
| Organizations | |
| Contacts | |
| Groups | |
| Courses | |
| Language skills | |
| Projects | |
| KnowHow | |
Calls to 'RenderBusinessDetails'
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.