Implementation

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

Mega Menu

%STARTSECTION{"mega"}%%USERACTIONS{
  guest="$login$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(managetags, ClassificationPluginEnabled)
   * $action(harvest, HarvestPluginEnabled)
---
<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(twofactorauth, TwoFactorAuthPluginEnabled)
   * $action(changepassword)
   * $action(changeemail)
   * $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(managetags, ClassificationPluginEnabled)
   * $action(harvest, HarvestPluginEnabled)
"
}%%ENDSECTION{"linear"}%
"Caution wake turbulence you're following a heavy 12 o'clock, three … no, let's make it five miles." --ORD Tower

Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding WAPAWeb? Send feedback
This website is using cookies. More info. That's Fine