Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Item14291: multiple improvements
   * added support for Foswiki:Extensions/LikePlugin
   * added "Responsible Person" to Category topics
   * replace css and js inline with proper files created by <nop>AttachContentPlugin ... fixes [[Item14224]]
   * hide the sidebar on categories by default
   * improvements to <nop>ControlledTopics and <nop>ClassifiedControlledTopics
   * added quality checks to <nop>ClassifiedTopics: missing tags, missing categories, duplicate h1
   * improved view tempalte for workflow history
   * removed old <nop>IconSet: now using =icon= formfield of <nop>MoreFormfieldsPlugin
   * improved visualization of workflows using <nop>GraphvizPlugin
   * fixed <nop>WebDAV view for categorized content
   * some fixes to cat and tag formfields
   * rewrite of core code to be more oo-ish
   * new REST hander =updateCache= to refresh the classification cache occasionally
   * new notification handler that lets you subscribe to any changes within a category
   * auto-subscribe <nop>ResponsiblePerson to its category: may be switched on/off by AUTOSCUBSCRIBE_RESPONSIBLE_PERSON preference
   * fixed memory leaks
   * add support for Foswiki:Extensions/MultiLingualPlugin to make categories translatable
   * implement special ACLs to control edit rights on categories
  • Loading branch information
MichaelDaum committed Jan 23, 2017
1 parent 2c74608 commit 2509c8a
Show file tree
Hide file tree
Showing 379 changed files with 104,011 additions and 2,079 deletions.
18 changes: 10 additions & 8 deletions .gitignore
@@ -1,4 +1,7 @@
*~
igp_*
graphviz_*
DirectedGraphPlugin_*
*.gz
*,v
*.swp
Expand All @@ -11,12 +14,11 @@ pub/System/ClassificationPlugin/jquery.tagselector.js
pub/System/ClassificationPlugin/jquery.tagsuggestion.js
pub/System/ClassificationPlugin/renametag.js
pub/System/ClassificationPlugin/styles.css
ClassificationPlugin.md5
ClassificationPlugin.sha1
ClassificationPlugin.tgz
ClassificationPlugin.txt
ClassificationPlugin.zip
ClassificationPlugin_installer
ClassificationPlugin_installer.pl
/ClassificationPlugin.md5
/ClassificationPlugin.sha1
/ClassificationPlugin.tgz
/ClassificationPlugin.txt
/ClassificationPlugin.zip
/ClassificationPlugin_installer
/ClassificationPlugin_installer.pl
.changes
DirectedGraphPlugin_1.png
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" comment="" date="1437132754" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" comment="" date="1485174319" format="1.1" version="1"}%
%META:TOPICPARENT{name="SupportForum"}%
%DBCALL{"Applications.ClassificationApp.RenderCategory"}%

Expand Down
4 changes: 2 additions & 2 deletions data/Applications/ClassificationApp/ApplicationLicense.txt
@@ -1,11 +1,11 @@
%META:TOPICINFO{author="ProjectContributor" comment="" date="1437132754" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" comment="" date="1485174319" format="1.1" version="1"}%
%META:TOPICPARENT{name="TopicType"}%


%META:FORM{name="Applications.TopicStub"}%
%META:FIELD{name="TopicType" title="TopicType" value="TopicStub, ApplicationTopic, WikiTopic"}%
%META:FIELD{name="TopicTitle" title="<nop>TopicTitle" value=""}%
%META:FIELD{name="Summary" title="Summary" value="License for WikiApplications"}%
%META:FIELD{name="Summary" title="Summary" value=""}%
%META:FIELD{name="WikiApplication" title="WikiApplication" value="WikiWorkbench"}%
%META:FIELD{name="Target" title="Target" value="Applications.ApplicationLicense"}%
%META:FIELD{name="Section" title="Section" value=""}%
4 changes: 2 additions & 2 deletions data/Applications/ClassificationApp/ApplicationTopic.txt
@@ -1,9 +1,9 @@
%META:TOPICINFO{author="ProjectContributor" comment="" date="1437132754" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" comment="" date="1485174319" format="1.1" version="1"}%
%META:TOPICPARENT{name="TopicType"}%

%META:FORM{name="Applications.TopicStub"}%
%META:FIELD{name="TopicType" attributes="" title="TopicType" value="TopicStub, TopicType"}%
%META:FIELD{name="Summary" attributes="" title="Summary" value="A topic that is part of an application"}%
%META:FIELD{name="Summary" attributes="" title="Summary" value=""}%
%META:FIELD{name="WikiApplication" attributes="" title="WikiApplication" value="WikiWorkbench"}%
%META:FIELD{name="Target" attributes="" title="Target" value="Applications.ApplicationTopic"}%
%META:FIELD{name="Section" attributes="" title="Section" value=""}%
@@ -0,0 +1,16 @@
%META:TOPICINFO{author="ProjectContributor" comment="" date="1485174319" format="1.1" version="1"}%
%META:TOPICPARENT{name="WorkflowEmailTemplate"}%
%DBCALL{"Applications.ClassificationApp.RenderWorkflowEmail"}%

%META:FORM{name="Applications/ClassificationApp.WorkflowEmailTemplate"}%
%META:FIELD{name="TopicType" title="TopicType" value="WorkflowEmailTemplate, WikiTopic"}%
%META:FIELD{name="TopicTitle" title="<nop>TopicTitle" value=""}%
%META:FIELD{name="Summary" title="Summary" value=""}%
%META:FIELD{name="From" title="From" value="foo@bar.com"}%
%META:FIELD{name="To" title="To" value="baz@bar.com"}%
%META:FIELD{name="Cc" title="Cc" value=""}%
%META:FIELD{name="Subject" title="Subject" value="This is a test"}%
%META:FIELD{name="RelatedWorkflow" title="Related Workflow" value="SimpleApprovalWorkflow"}%
%META:FIELD{name="PlainText" title="Plain Text" value="qwe%0d%0a%0d%0aqweqweq"}%
%META:FIELD{name="HTMLText" title="HTML Text" value=""}%
%META:WORKFLOW{name="draft" LASTCOMMENT_draft="" LASTTIME_draft="06 Nov 2015 - 17:23" LASTUSER_draft="Home.MichaelDaum" LASTVERSION_draft="3"}%
2 changes: 1 addition & 1 deletion data/Applications/ClassificationApp/ArticlesCategory.txt
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" comment="" date="1437132754" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" comment="" date="1485174319" format="1.1" version="1"}%
%META:TOPICPARENT{name="ToolsAndServicesCategory"}%
%DBCALL{"Applications.ClassificationApp.RenderCategory"}%

Expand Down
2 changes: 1 addition & 1 deletion data/Applications/ClassificationApp/BlogsCategory.txt
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" comment="" date="1437132754" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" comment="" date="1485174319" format="1.1" version="1"}%
%META:TOPICPARENT{name="ToolsAndServicesCategory"}%
%DBCALL{"Applications.ClassificationApp.RenderCategory"}%

Expand Down
2 changes: 1 addition & 1 deletion data/Applications/ClassificationApp/BookmarksCategory.txt
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" comment="" date="1437132754" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" comment="" date="1485174319" format="1.1" version="1"}%
%META:TOPICPARENT{name="ToolsAndServicesCategory"}%
%DBCALL{"Applications.ClassificationApp.RenderCategory"}%

Expand Down
2 changes: 1 addition & 1 deletion data/Applications/ClassificationApp/BugReportsForum.txt
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" comment="" date="1437132754" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" comment="" date="1485174319" format="1.1" version="1"}%
%META:TOPICPARENT{name="DevelopmentForum"}%
%DBCALL{"Applications.ClassificationApp.RenderCategory"}%

Expand Down
2 changes: 1 addition & 1 deletion data/Applications/ClassificationApp/BusinessStructure.txt
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" comment="" date="1437132754" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" comment="" date="1485174319" format="1.1" version="1"}%
%META:TOPICPARENT{name="CorporateCategory"}%
%DBCALL{"Applications.ClassificationApp.RenderCategory"}%

Expand Down
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" comment="" date="1437132754" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" comment="" date="1485174319" format="1.1" version="1"}%
%META:TOPICPARENT{name="MarketingCategory"}%
%DBCALL{"Applications.ClassificationApp.RenderCategory"}%

Expand Down
12 changes: 6 additions & 6 deletions data/Applications/ClassificationApp/CategorizedTopic.txt
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" comment="" date="1437132754" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" comment="" date="1485174319" format="1.1" version="1"}%
%META:TOPICPARENT{name="TopicType"}%
%TOC{depth="2"}%

Expand All @@ -24,7 +24,7 @@ See also: ClassifiedTopic, TaggedTopic

---++ <nop>%TOPIC% form
| *Name:*| *Type:* | *Size:* | *Values:* | *Description:* | *Attributes:* | *Default:* |
| TopicType | label | 1 | CategorizedTopic, WikiTopic | structural type | | |
| TopicType | label | 1 | CategorizedTopic, WikiTopic | document type | | CategorizedTopic, WikiTopic |
| <nop>TopicTitle | text | 75 | | | | |
| Summary | text | 75 | | short description or tagline | c | |
| Category | cat | 1 | | categories | c | |
Expand All @@ -33,9 +33,9 @@ See also: ClassifiedTopic, TaggedTopic
%META:FORM{name="Applications.TopicType"}%
%META:FIELD{name="TopicType" title="TopicType" value="TopicType, DataForm, DocuTopic, ApplicationTopic, WikiTopic"}%
%META:FIELD{name="TopicTitle" title="<nop>TopicTitle" value=""}%
%META:FIELD{name="Inheritance" title="Inheritance" value="WikiTopic"}%
%META:FIELD{name="Summary" title="Summary" value="wiki topic that can be filed to a category"}%
%META:FIELD{name="Icon" title="Icon" value="fa-tag"}%
%META:FIELD{name="Editor" title="Editor" value="Applications/ClassificationApp.CategorizedTopicEditTemplate"}%
%META:FIELD{name="Summary" title="Summary" value="content organized by categories"}%
%META:FIELD{name="Icon" title="Icon" value="fa-pagelines"}%
%META:FIELD{name="Editor" title="Editor" value="Applications.ClassificationApp.CategorizedTopicEditTemplate"}%
%META:FIELD{name="Template" title="Template" value=""}%
%META:FIELD{name="TopicNaming" title="Topic Naming" value=""}%
%META:FIELD{name="WikiApplication" title="WikiApplication" value="ClassificationApp"}%
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" comment="" date="1437132754" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" comment="" date="1485174319" format="1.1" version="1"}%
%META:TOPICPARENT{name="TopicView"}%
%{<verbatim class="tml">}%
%TMPL:INCLUDE{"Applications.ClassificationApp.ClassifiedTopicEdit"}%
Expand Down
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" comment="" date="1437132754" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" comment="" date="1485174319" format="1.1" version="1"}%
%META:TOPICPARENT{name="TopicFunction"}%
%TOC{depth="2"}%

Expand All @@ -17,7 +17,7 @@ a summary for an object listed within the Category topic.
%STARTINCLUDE%%DBQUERY{topic="%OBJECT%"
format="<div class='clsIndexItem clsTopicItem clsCategorizedTopicItem clearfix'>
$percntDBCALL{\"Applications.RenderTopicThumbnail\" TYPE=\"plain\"}$percnt<!-- -->
[[$web.$topic][$expand(topictitle)]] $percntREDDOT{\"$web.$topic\"}$percnt
[[$web.$topic][$expand(topictitle)]]%IF{"context RedDotPluginEnabled" then="$dollarpercntREDDOT{\\"$web.$topic\\"}$dollarpercnt"}%
$expand('<div class=\"foswikiTopicSummary\">' and Summary and '</div>')
<div class='foswikiTopicInfo'>
<span class='clsAuthorDateInfo'>
Expand All @@ -31,9 +31,13 @@ a summary for an object listed within the Category topic.
</span>
$percntCATINFO{\"$web.$topic\"
header=\" <span class='foswikiRevisionSep'>&#124;</span> <span class='clsCatInfo'>\"
exclude=\"TopCategory|%URLPARAM{"catname" default="%BASETOPIC%"}%\"
separator=\"&#44; \"
footer=\"</span>\"
}$percnt<!-- -->
$percntIF{\"'$expand(total_likes)'>0\"
then=\"<span class='foswikiRevisionSep'>&#124;</span> <span class='clsLikeInfo'>$percntTRANSLATE{\"[quant,_1,like,likes]\" args=\"$expand(total_likes)\"}$percnt</span>\"
}$percnt<!-- -->
</div>
</div>"
}%%STOPINCLUDE%
Expand Down
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" comment="" date="1437132754" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" comment="" date="1485174319" format="1.1" version="1"}%
%META:TOPICPARENT{name="TopicView"}%
%{<verbatim class="tml">}%
%TMPL:INCLUDE{"Applications.ClassificationApp.ClassifiedTopicView"}%
Expand Down
44 changes: 33 additions & 11 deletions data/Applications/ClassificationApp/Category.txt
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" comment="" date="1437132754" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" comment="" date="1485174319" format="1.1" version="1"}%
%META:TOPICPARENT{name="TopicType"}%
%TOC%
%DBCALL{"Applications.RenderTopicInstaller"
Expand All @@ -18,9 +18,14 @@ See also: See [[CategorizedTopic]], [[ClassifiedTopic]], [[TaggedTopic]], [[Cate
%ENDSECTION{name="documentation" type="section"}%

%STARTINCLUDE%<!-- -->
%DBCALL{"%WEB%.%TOPIC%" section="%IF{"'%URLPARAM{"web" default="%BASEWEB%"}%.TopCategory' allows 'CHANGE'" then="readwrite" else="readonly"}%"}%
<!-- -->%STOPINCLUDE%

<verbatim class="tml">
%STARTSECTION{"readwrite"}%<!-- -->
%TWISTY{
link="%BUTTON{
"%IF{"defined 'LABEL'" then="%LABEL%" else="%MAKETEXT{"New"}%"}%"
"%LABEL{default="%MAKETEXT{"New"}%"}%"
icon="add"
style="margin-bottom:2px;"
}%%CLEAR%"
Expand All @@ -39,29 +44,46 @@ See also: See [[CategorizedTopic]], [[ClassifiedTopic]], [[TaggedTopic]], [[Cate
MODE=\"edit\"
BUTTONS=\"filter, refresh\"
}$percnt"
}%<!-- -->%STOPINCLUDE%
}%<!-- -->%ENDSECTION{"readwrite"}%
</verbatim>

<verbatim class="tml">
%STARTSECTION{"readonly"}%<!-- -->
%IF{
"'%HIERARCHY{
web="%URLPARAM{"web" default="%BASEWEB%"}%"
nullformat="$count"
depth="0"
}%'!=0"
then="$percntDBCALL{\"Applications.ClassificationApp.RenderCategoryBrowser\"
THEWEB=\"%URLPARAM{"web" default="%BASEWEB%"}%\"
MODE=\"browse\"
BUTTONS=\"filter, refresh\"
}$percnt"
}%<!-- -->%ENDSECTION{"readonly"}%
</verbatim>

---++ %TOPIC% form
| *Name:*| *Type:* | *Size:* | *Values:* | *Description:* | *Attributes:* | *Default:* |
| TopicType | label | 3 |Category,CategorizedTopic| Document type | | |
| TopicType | label | 3 | Category,CategorizedTopic, WikiTopic | Document type | | Category,CategorizedTopic, WikiTopic |
| <nop>TopicTitle | text | 75 | | | | |
| Summary | text | 75 | | short description of this category | c | |
| Redirect | text | 75 | | topic where to redirect to when visiting this category, e.g. a portal page representing this category | | |
| Category | cat | 1 | | one or more parent categories that this category is filed to | | |
| Icon | icon | 30 | cat="Silk" exclude="_add,_delete,arrow_,osx,border_,_start,_stop,_go,_edit,_play,_record,control_,_decrease,_increase,_next,_prev,_error,_eject,_pause,_toggle,_link,_magnify,shapes?_,sort_,text_" | icon to be displayed listing this category | | |
| Category | cat | 1 | | one or more parent categories that this category is filed to | c | |
| Icon | icon | 30 | cat="Silk" exclude="_add, _delete, arrow_, osx, border_, _start, _stop, _go, _edit, _play, _record, control_, _decrease, _increase, _next, _prev, _error, _eject, _pause, _toggle, _link, _magnify, shapes?_, sort_, text_" | icon to be displayed listing this category | | |
| <nop>ImportedCategory | text | 75 | | import a root category from another web; all categories below it will be imported to this web in a virtual way | | |
| <nop>SubCategories | textarea | 80x25 | | specify sub-categories inline as a bullet list | | |
| Order | text | 5 | | number used in sorting categories | | |
| Responsible Person | user+multi | 30 | | person taking care of this category | | %WIKINAME% |

%DBCALL{"Applications.RenderDataFormList" THEWEB="%URLPARAM{"web" default="%BASEWEB%"}%"}%


%META:FORM{name="Applications.TopicType"}%
%META:FIELD{name="TopicType" title="TopicType" value="TopicType, DataForm, DocuTopic, ApplicationTopic, WikiTopic"}%
%META:FIELD{name="TopicTitle" title="<nop>TopicTitle" value=""}%
%META:FIELD{name="Inheritance" title="Inheritance" value="CategorizedTopic, WikiTopic"}%
%META:FIELD{name="Summary" title="Summary" value="create a hierarchy to organize your topics"}%
%META:FIELD{name="Summary" title="Summary" value="a node in a hierarchic taxonomy"}%
%META:FIELD{name="Icon" title="Icon" value="fa-sitemap"}%
%META:FIELD{name="Editor" title="Editor" value="Applications/ClassificationApp.CategoryEditTemplate"}%
%META:FIELD{name="Template" title="Template" value="Applications/ClassificationApp.CategoryTemplate"}%
%META:FIELD{name="Editor" title="Editor" value="Applications.ClassificationApp.CategoryEditTemplate"}%
%META:FIELD{name="Template" title="Template" value="Applications.ClassificationApp.CategoryTemplate"}%
%META:FIELD{name="TopicNaming" title="Topic Naming" value=""}%
%META:FIELD{name="WikiApplication" title="WikiApplication" value="ClassificationApp"}%
2 changes: 1 addition & 1 deletion data/Applications/ClassificationApp/CategoryBrowser.txt
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" comment="" date="1437132754" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" comment="" date="1485174319" format="1.1" version="1"}%
%META:TOPICPARENT{name="WebTool"}%
%DBCALL{"Applications.RenderTopicInstaller"}%

Expand Down
36 changes: 21 additions & 15 deletions data/Applications/ClassificationApp/CategoryEditTemplate.txt
@@ -1,11 +1,11 @@
%META:TOPICINFO{author="ProjectContributor" comment="" date="1437132754" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" comment="" date="1485174319" format="1.1" version="1"}%
%META:TOPICPARENT{name="TopicView"}%
%{<verbatim class="tml">}%
%TMPL:INCLUDE{"Applications.ClassificationApp.ClassifiedTopicEdit"}%
%{</verbatim>}%

%{<verbatim class="tml">}%
%TMPL:DEF{"topictype"}%%MAKETEXT{"category"}%%TMPL:END%
%TMPL:DEF{"topictype"}%%TRANSLATE{"category"}%%TMPL:END%
%TMPL:DEF{"formdefinition"}%Applications.ClassificationApp.Category%TMPL:END%
%{</verbatim>}%

Expand All @@ -15,10 +15,10 @@

%{<verbatim class="tml">}%
%TMPL:DEF{"detailstab"}%<!-- -->
%TAB{"%MAKETEXT{"Details"}%"}%
%TAB{"%TRANSLATE{"Details"}%"}%
%RENDERFOREDIT{
exclude="^(TopicType|Category|ImportedCategory|SubCategories)$"
TopicTitle_title="%MAKETEXT{"Title"}%"
TopicTitle_title="%TRANSLATE{"Title"}%"
}%
%ENDTAB%
<!-- -->%TMPL:END%
Expand All @@ -34,19 +34,19 @@

%{<verbatim class="tml">}%
%TMPL:DEF{"notestab"}%<!-- -->
%TAB{"%MAKETEXT{"Notes"}%"}%
%TAB{"%TRANSLATE{"Notes"}%"}%
%TMPL:P{"textarea"}%
%ENDTAB%
<!-- -->%TMPL:END%
%{</verbatim>}%

%{<verbatim class="tml">}%
%TMPL:DEF{"subcategoriestab"}%<!-- -->
%TAB{"%MAKETEXT{"Sub-Categories"}%"}%
%TAB{"%TRANSLATE{"Sub-Categories"}%"}%
%RENDERFOREDIT{
fields="ImportedCategory, SubCategories"
ImportedCategory_title="%MAKETEXT{"Import"}%"
SubCategories_title="%MAKETEXT{"Text"}%"
ImportedCategory_title="%TRANSLATE{"Import"}%"
SubCategories_title="%TRANSLATE{"Text"}%"
header="$percntTABPANE{class=\"plain\"}$percnt"
format="$percntTAB{\"$title\" after=\"jQuery(window).trigger('resize')\"}$percnt
<div class='foswikiPageForm'>$n$edit$n
Expand All @@ -55,23 +55,29 @@
$percntENDTAB$percnt"
separator="$n"
footer="$percntENDTABPANE$percnt"
}%
%JQREQUIRE{"natedit"}%<literal>
<script>
}%%JQREQUIRE{"natedit"}%%ADDTOZONE{"script"
text="<script type='text/javascript' src='%PUBURLPATH%/Applications/ClassificationApp/CategoryEditTemplate/category-edit.js'></script>"
id="CATEGORYEDIT::JS"
requires="JQUERYPLUGIN::NATEDIT"
}%%ENDTAB%
<!-- -->%TMPL:END%
%{</verbatim>}%

%{<verbatim class="js">}%
%STARTATTACH{"category-edit.js"}%
"use strict";
jQuery(function($) {
var natedit = $("textarea[name='SubCategories']").natedit({
autoMaxExpand: true
}).data("natedit");
natedit.bottomHeight = 130;
});
</script>
</literal>
%ENDTAB%
<!-- -->%TMPL:END%
%ENDATTACH%
%{</verbatim>}%

%META:FORM{name="Applications.TopicView"}%
%META:FIELD{name="TopicType" title="TopicType" value="TopicView, ApplicationTopic, WikiTopic"}%
%META:FIELD{name="TopicTitle" title="<nop>TopicTitle" value=""}%
%META:FIELD{name="Summary" title="Summary" value="Editor for category topics"}%
%META:FIELD{name="WikiApplication" title="WikiApplication" value="ClassificationApp"}%
%META:FILEATTACHMENT{name="category-edit.js" attachment="category-edit.js" attr="" comment="Generated by <nop>AttachContentPlugin" date="1485174319" path="category-edit.js" size="181" user="ProjectContributor" version="1"}%
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" comment="" date="1437132754" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" comment="" date="1485174319" format="1.1" version="1"}%
%META:TOPICPARENT{name="TopicFunction"}%
%TOC{depth="2"}%

Expand All @@ -25,7 +25,7 @@ a summary for an object of type ClassifiedTopic.
morechildren="<a href='$url' title='%MAKETEXT{"more"}%'>...</a>"
format="<div class='clsIndexItem clsCategoryItem clearfix'>
$icon<!-- -->
<a href='$url'>%IF{"defined TITLE" then="%TITLE%" else="$title"}%</a>$percntIF{
<a href='$url'>%TITLE{default="$title"}%</a>$percntIF{
\"'$count'>'0'\" then=\"&nbsp;($count)\"
}$percnt<!-- -->
$percntIF{\"'$percntENCODE{\"$summary\" type=\"entity\"}$percnt'!=''\" then=\"<div class='foswikiTopicInfo'>$summary</div>\"}$percnt<!-- -->
Expand Down
2 changes: 1 addition & 1 deletion data/Applications/ClassificationApp/CategoryTemplate.txt
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" comment="" date="1437132754" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" comment="" date="1485174319" format="1.1" version="1"}%
%META:TOPICPARENT{name="TopicTemplate"}%
%DBCALL{"Applications.ClassificationApp.RenderCategory"}%

Expand Down
5 changes: 3 additions & 2 deletions data/Applications/ClassificationApp/CategoryViewTemplate.txt
@@ -1,7 +1,8 @@
%META:TOPICINFO{author="ProjectContributor" comment="" date="1437132754" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" comment="" date="1485174319" format="1.1" version="1"}%
%META:TOPICPARENT{name="TopicView"}%
%{<verbatim class="tml">}%
%TMPL:INCLUDE{"Applications.WikiTopicView"}%
%TMPL:DEF{"sidebar"}%%TMPL:END%
%{</verbatim>}%

%{<verbatim class="tml">}%
Expand Down Expand Up @@ -41,7 +42,7 @@

%{<verbatim class="tml">}%
%TMPL:DEF{"title"}%%HTMLTITLE{
separator=" %IF{"defined 'HTMLTITLESEP'" then="%HTMLTITLESEP%" else="-"}% "
separator=" %HTMLTITLESEP{default="-"}% "
title="%TMPL:P{"categorytitle"}%"
}%%TMPL:END%
%{</verbatim>}%
Expand Down

0 comments on commit 2509c8a

Please sign in to comment.