SiteTopicActions

Default SiteTopicActions component. Please do not modify. Use SiteTopicActions instead.

Implementation

%STARTINCLUDE%%INCLUDE{"%USERSWEB%.SiteTopicActions" section="%NATSKIN_MENU_STYLE{default="mega"}%"}%%STOPINCLUDE%

Mega Menu

%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="$new$edit$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{"Tools"}%</h3>
   * $action(subscribe)
   * $action(changelanguage, i18n_enabled) 
   * $action(translatetopic, MultiLingualPluginEnabled)
   * $action(managetags, ClassificationPluginEnabled)
   * $action(harvest, HarvestPluginEnabled)
   * $action(webdavdir)
---
<h3 >%MAKETEXT{"Social"}%</h3>
   * $action(favorite, ListyPluginEnabled)
   * $action(like, LikePluginEnabled)
   * $action(share, SocialSharePluginEnabled)
   * $action(chat, WebSocketPluginEnabled)
</div><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)
</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(logout)
</div>"
}%%ENDSECTION{"mega"}%

Linear Menu

%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"}%
Topic revision: r2 - 15 Dec 2020, PeteJones - This page was cached on 05 Nov 2024 - 19:34.

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 Foswiki? Send feedback