Documentation
Parameters
- ATTR: DataFormAttribute to search for, defaults to BASETOPIC
- THEWEB: web to examin, defaults to BASEWEB
Implementation
%STARTINCLUDE%<noautolink>
%DBQUERY{
"TopicType=~'\bDataForm\b'
AND text=~'\n\| *.*\b%ATTR{default="%BASETOPIC%"}%\b.* *\|'
"
web="%THEWEB{default="%BASEWEB%"}%"
hidenull="on"
header="<h2>%TRANSLATE{"<nop>DataForms that use the '[_1]' attribute" args="%ATTR{default="%BASETOPIC%"}%"}%</h2>
| *#* | *Name* | *Summary* | *Application* |$n"
format="| $index | [[$web.$topic][$topic]] | $formfield(Summary) | $percntIF{
\"'$formfield(WikiApplication)'='WikiWorkbench'\"
then=\"[[Applications.WebHome][WikiWorkbench]]\"
else=\"[[Applications.$formfield(WikiApplication).WebHome]]\"
}$percnt |"
}%
</noautolink>%STOPINCLUDE%
Test
Copyright
© 2006-2015 Michael Daum
http://michaeldaumconsulting.com
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.