Customized site-level configuration for the
SiteTopicActions WebComponent.
Implementation
%STARTINCLUDE%%INCLUDE{"%USERSWEB%.SiteTopicActions" section="%NATSKIN_MENU_STYLE{default="mega"}%"}%%STOPINCLUDE%
%STARTSECTION{"mega"}%%USERACTIONS{
guest="$action(share, SocialSharePluginEnabled)"
restrictedactions="attach,delete,diff,edit,edit_form,edit_raw,edit_settings,harvest,managetags,more,move,raw,restore,translatetopic"
format="$edit$new$menu"
history="<div class='natHistoryTopicActions'>$edit$raw$print$view$history$first$prev$next$last$action(close)</div>"
menu_header="<div class='natMoreActionsMenu' data-menu='.natMegaMenu'><span class='natTopicAction natMoreActionsTopicAction'>%TMPL:P{"MENU_ICON"}%$label</span>
<div class='natMegaMenu clearfix' style='display:none' data-theme='info' data-arrow='on' data-position='left'>"
menu_footer="</div></div>"
menu="<div class='natMegaMenuCol'>
<h3 >%MAKETEXT{"View"}%</h3>
* $action(raw)
* $action(raw_data)
* $action(attachments)
* $action(sections, SectionListPluginEnabled)
* $action(backlinks)
* $action(childtopics)
* $action(print)
* $action(pdf, can_generate_pdf)
---
<h3 >%MAKETEXT{"History"}%</h3>
* $action(history)
* $action(prev)
* $action(diff)
* $action(restore)
---
<h3 >%MAKETEXT{"Tools"}%</h3>
* $action(subscribe)
* $action(managetags, ClassificationPluginEnabled)
* $action(harvest, HarvestPluginEnabled)
</div><div class='natMegaMenuCol'>
<h3 >%MAKETEXT{"Change"}%</h3>
* $action(attach)
* $action(edit_raw)
* $action(edit_settings)
* $action(edit_form)
* $action(copy_topic)
* $action(move)
* $action(delete)
---
<h3 >%MAKETEXT{"Account"}%</h3>
* $action(profile)
* $action(twofactorauth, TwoFactorAuthPluginEnabled)
* $action(changepassword)
* $action(changeemail)
* $action(logout)
---
<h3 >%MAKETEXT{"Social"}%</h3>
* $action(favorite, ListyPluginEnabled)
* $action(like, LikePluginEnabled)
* $action(share, SocialSharePluginEnabled)
* $action(chat, WebSocketPluginEnabled)
</div>"
}%%ENDSECTION{"mega"}%
%STARTSECTION{"linear"}%%USERACTIONS{
guest="$action(share, SocialSharePluginEnabled)"
restrictedactions="attach,delete,diff,edit,edit_form,edit_raw,edit_settings,harvest,managetags,more,move,raw,restore,translatetopic"
format="$new$edit$menu"
history="<div class='natHistoryTopicActions'>$edit$raw$print$view$history$first$prev$next$last$action(close)</div>"
menu="
* $action(attach)
* $action(move)
* $action(delete)
* $action(edit_raw)
* $action(edit_settings)
* $action(edit_form)
* $action(copy_topic)
* <hr />
* $action(favorite, ListyPluginEnabled)
* $action(like, LikePluginEnabled)
* $action(share, SocialSharePluginEnabled)
* $action(chat, WebSocketPluginEnabled)
* <hr />
* $action(prev)
* $action(diff)
* $action(restore)
* $action(history)
* <hr />
* $action(raw)
* $action(raw_data)
* $action(attachments)
* $action(print)
* $action(backlinks)
* $action(childtopics)
* $action(pdf, can_generate_pdf)
* <hr />
* $action(subscribe)
* $action(changelanguage, i18n_enabled) %IF{"$MULTILINGUAL = 'on'" then="
* $action(translatetopic, i18n_enabled)"}%
* $action(managetags, ClassificationPluginEnabled)
* $action(harvest, HarvestPluginEnabled)
* $action(webdavdir)
"
}%%ENDSECTION{"linear"}%