%{
}%
%TMPL:INCLUDE{"Applications.WikiTopicEdit"}%
%{
}%
%{
}%
%TMPL:DEF{"topictype"}%%MAKETEXT{"classified topic"}%%TMPL:END%
%{
}%
%{
}%
%TMPL:DEF{"formbutton"}%%TMPL:END%
%{
}%
%{
}%
%TMPL:DEF{"catfield"}%Category%TMPL:END%
%{
}%
%{
}%
%TMPL:DEF{"formdefinition"}%Applications.ClassificationApp.ClassifiedTopic%TMPL:END%
%{
}%
%{
}%
%TMPL:DEF{"categorieslabel"}%%MAKETEXT{"Categories"}%%TMPL:END%
%{
}%
%{
}%
%TMPL:DEF{"tagslabel"}%%MAKETEXT{"Tags"}%%TMPL:END%
%{
}%
%{
}%
%TMPL:DEF{"categoriestab"}%<!-- -->
%TAB{
"%TMPL:P{"categorieslabel"}%"
url="%SCRIPTURL{"rest"}%/RenderPlugin/tag?topic=%BASEWEB%.%BASETOPIC%;name=RENDERFOREDIT;field=%TMPL:P{"catfield"}%;form=%TMPL:P{"formdefinition"}%;%IF{"defined '%TMPL:P{"catfield"}%'" then="value=%URLPARAM{"%TMPL:P{"catfield"}%" multiple="on" encode="url"}%;"}%render=on;t=%GMTIME{"$epoch"}%"
}%
<span class="jqAjaxLoader"> </span>
<noautolink>
<input type="hidden" name="%TMPL:P{"catfield"}%" value="%URLPARAM{"%TMPL:P{"catfield"}%" multiple="on" separator="," default="%ENCODE{"%FORMFIELD{"%TMPL:P{"catfield"}%"}%" type="entity"}%"}%" />
</noautolink>
%DBCALL{"Applications.ClassificationApp.RenderCategoryEditor" section="init"}%
%ENDTAB%
<!-- -->%TMPL:END%
%{
}%
%{
}%
%TMPL:DEF{"tagstab"}%<!-- -->
%TAB{
"%TMPL:P{"tagslabel"}%"
url="%SCRIPTURL{"rest"}%/RenderPlugin/tag?topic=%BASEWEB%.%BASETOPIC%;name=RENDERFOREDIT;field=Tag;form=%TMPL:P{"formdefinition"}%;%IF{"defined 'Tag'" then="value=%URLPARAM{"Tag" multiple="on" separator="," encode="url"}%;"}%render=on;t=%GMTIME{"$epoch"}%"
}%
<span class="jqAjaxLoader"> </span>
%JQREQUIRE{"ui"}%<!-- -->
%ADDTOZONE{
"script"
tag="tagsuggestion"
text="<script src='%PUBURLPATH%/%SYSTEMWEB%/ClassificationPlugin/jquery.tagsuggestion.js'></script>"
requires="JQUERYPLUGIN::UI"
}%<!-- -->
<noautolink>
<input type="hidden" name="Tag" value="%URLPARAM{"Tag" multiple="on" separator="," default="%ENCODE{"%FORMFIELD{"Tag"}%" type="entity"}%"}%" />
</noautolink>
%ENDTAB%
<!-- -->%TMPL:END%
%{
}%
%{
}%
%TMPL:DEF{"formfields"}%<!-- -->
<input type="hidden" name="action" value="text" />
%TMPL:P{"categoriestab"}%
%TMPL:P{"tagstab"}%
<!-- -->%TMPL:END%
%{
}%