aw schriftzug.png aw logo 60x60.png

RenderCategorySettings
Renders the content of the settings tab in the category editor

2019-05-02 - 10:19 | Version 3 |

Documentation

This function is used by the rest handler to render the settings tab in the category editor

Parameters
  • BASETOPIC
  • TOPICPARENT

Implementation

%STARTINCLUDE%<!-- render category settings -->
<literal>
<table class="foswikiLayoutTable">
<tr>
  <th>%TRANSLATE{"Parent topic"}%:</th>
  <td><input class="foswikiInputField" type="text" name="topicparent" size="80" value="%TOPICPARENT{default=""}%" /></td>
</tr>
<tr>
  <th>%TRANSLATE{"Imported Categories"}%:</th>
  <td><input class="foswikiInputField" type="text" name="ImportedCategory" size="80" value="%FORMFIELD{topic="%BASEWEB%.%BASETOPIC%" "ImportedCategory"}%" /></td>
</tr>
<tr>
  <th valign="top">%TRANSLATE{"Icon"}%:</th>
  <td>
    %DBCALL{"Applications.ClassificationApp.RenderIconSelector"
      VALUE="%URLPARAM{"Icon" default="%FORMFIELD{topic="%BASEWEB%.%BASETOPIC%" "Icon"}%"}%"
      SOURCE="%CLASSIFICATIONPLUGIN_ICONSET%"
    }%
  </td>
</tr>
</table>
</literal>
<!-- //render category settings -->%STOPINCLUDE%

Test

Parent topic:
Imported Categories:
Icon:
anchor.png
application_cascade.png
application_double.png
application_form.png
application_home.png
application_lightning.png
application_view_columns.png
application_view_tile.png
arrow_switch.png
asterisk_orange.png
asterisk_yellow.png
attach.png
bell.png
bomb.png
book.png
bug.png
cake.png
calendar_view_day.png
car.png
cart.png
chart_bar.png
chart_curve.png
chart_organisation.png
clock.png
cog.png
coins.png
comment.png
comments.png
cube_molecule.png
database_key.png
door.png
door_open.png
drink.png
dvd.png
emoticon_grin.png
eye.png
female.png
find.png
folder.gif
folder_edit.png
folder_error.png
folder_explore.png
folder_find.png
folder_heart.png
folder_image.png
folder_key.png
folder_lock.gif
folder_palette.png
group.png
heart.png
help.png
house.png
image.png
information.png
ipod.png
ipod_cast.png
key.png
lightbulb.png
lightning.png
lorry.png
magnifier.png
male.png
medal_gold_3.png
money.png
money_dollar.png
money_euro.png
money_pound.png
money_yen.png
monitor.png
music.png
new.png
newspaper.png
note.png
page_copy.png
page_excel.png
page_white_acrobat.png
palette.png
pencil.png
phone.png
photos.png
pilcrow.png
pill.png
pipe.png
plugin.png
presentation.png
printer.png
rainbow.png
report.png
report_user.png
report_word.png
rosette.png
ruby.png
script.png
server.png
server_database.png
shield.png
sitemap.png
sport_basketball.png
sport_football.png
sport_golf.png
sport_soccer.png
status_away.png
status_busy.png
status_offline.png
status_online.png
tag_blue.png
telephone.png
television.png
text.png
tux.png
user.png
user_comment.png
user_suit.png
weather_clouds.png
weather_cloudy.png
weather_lightning.png
weather_rain.png
weather_snow.png
weather_sun.png
webcam.png
world.png
wrench.png
wrench_orange.png

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.
Warning: Can't find topic Applications/ClassificationApp.WebLeftBarExample

Impressum © Alexander Weimer GmbH