ClassifiedTopicEditTemplate
Editor for ClassifiedTopics, NatSkin version

02 May 2019 - 06:19 | Version 1

%{
}%
%TMPL:INCLUDE{"Applications.WikiTopicEdit"}%
%{
}%

%{
}%
%TMPL:DEF{"catfield"}%Category%TMPL:END%
%{
}%

%{
}%
%TMPL:DEF{"categorieslabel"}%%TRANSLATE{"Categories" web="Applications.ClassificationApp"}%%TMPL:END%
%{
}%

%{
}%
%TMPL:DEF{"tagslabel"}%%TRANSLATE{"Tags" web="Applications.ClassificationApp"}%%TMPL:END%
%{
}%

%{
}%
%TMPL:DEF{"categoriestab"}%<!-- -->
%TAB{"%TMPL:P{"categorieslabel"}%"
  url="%SCRIPTURL{"rest"}%/RenderPlugin/tag?topic=%BASEWEB%.%BASETOPIC%;name=RENDERFOREDIT;formstyle=above;field=%TMPL:P{"catfield"}%;form=%TMPL:P{"formdefinition"}%;%IF{"defined '%TMPL:P{"catfield"}%'" then="value=%URLPARAM{"%TMPL:P{"catfield"}%" multiple="on" encode="url" separator=","}%;"}%render=on;t=%GMTIME{"$epoch"}%"
}%
%JQICON{"fa-spinner" animate="spin"}%
<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>
%ENDTAB%
<!-- -->%TMPL:END%
%{
}%

%{
}%
%TMPL:DEF{"tagstab"}%<!-- -->
%TAB{
  "%TMPL:P{"tagslabel"}%" 
  url="%SCRIPTURL{"rest"}%/RenderPlugin/tag?topic=%BASEWEB%.%BASETOPIC%;name=RENDERFOREDIT;formstyle=above;field=Tag;form=%TMPL:P{"formdefinition"}%;%IF{"defined 'Tag'" then="value=%URLPARAM{"Tag" multiple="on" separator="," encode="url"}%;"}%render=on;t=%GMTIME{"$epoch"}%"
}%
%JQICON{"fa-spinner" animate="spin"}%
%JQREQUIRE{"ui, blockui"}%<!-- -->
<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"}%%TMPL:PREV%
%TMPL:P{"categoriestab"}%
%TMPL:P{"tagstab"}%
<!-- -->%TMPL:END%
%{
}%
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Flatiron Institute Documentation Center? Send feedback
This website is using cookies. More info. That's Fine