2019-03-16 11:31:10 +00:00
|
|
|
<div class="colstack_item colstack_head">
|
|
|
|
<div class="rowitem"><a href="/panel/">{{lang "panel_menu_head"}}</a></div>
|
|
|
|
</div>
|
|
|
|
<div class="colstack_item rowmenu">
|
|
|
|
<div class="rowitem passive">
|
|
|
|
<a href="/panel/users/">{{lang "panel_menu_users"}}</a> <a class="menu_stats" href="#">({{.Stats.Users}})</a>
|
|
|
|
</div>
|
|
|
|
<div class="rowitem passive">
|
|
|
|
<a href="/panel/groups/">{{lang "panel_menu_groups"}}</a> <a class="menu_stats" href="#">({{.Stats.Groups}})</a>
|
|
|
|
</div>
|
|
|
|
{{if .CurrentUser.Perms.ManageForums}}<div class="rowitem passive">
|
|
|
|
<a href="/panel/forums/">{{lang "panel_menu_forums"}}</a> <a class="menu_stats" href="#">({{.Stats.Forums}})</a>
|
|
|
|
</div>{{end}}
|
|
|
|
<div class="rowitem passive">
|
|
|
|
<a href="/panel/pages/">{{lang "panel_menu_pages"}}</a> <a class="menu_stats" href="#">({{.Stats.Pages}})</a>
|
|
|
|
</div>
|
|
|
|
{{if .CurrentUser.Perms.EditSettings}}<div class="rowitem passive">
|
|
|
|
<a href="/panel/settings/">{{lang "panel_menu_settings"}}</a> <a class="menu_stats" href="#">({{.Stats.Settings}})</a>
|
|
|
|
</div>
|
|
|
|
<div class="rowitem passive">
|
|
|
|
<a href="/panel/settings/word-filters/">{{lang "panel_menu_word_filters"}}</a> <a class="menu_stats" href="#">({{.Stats.WordFilters}})</a>
|
|
|
|
</div>{{end}}
|
|
|
|
{{if .CurrentUser.Perms.ManageThemes}}
|
|
|
|
<div class="rowitem passive">
|
|
|
|
<a href="/panel/themes/">{{lang "panel_menu_themes"}}</a> <a class="menu_stats" href="#">({{.Stats.Themes}})</a>
|
|
|
|
</div>
|
|
|
|
{{if eq .Zone "themes"}}
|
|
|
|
<div class="rowitem passive submenu"><a href="/panel/themes/menus/">{{lang "panel_menu_menus"}}</a></div>
|
|
|
|
<div class="rowitem passive submenu"><a href="/panel/themes/widgets/">{{lang "panel_menu_widgets"}}</a></div>
|
|
|
|
{{end}}
|
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
<div class="colstack_item colstack_head">
|
|
|
|
<div class="rowitem"><a href="#">{{lang "panel_menu_events"}}</a></div>
|
|
|
|
</div>
|
|
|
|
<div class="colstack_item rowmenu">
|
|
|
|
<div class="rowitem passive">
|
2020-02-23 09:08:47 +00:00
|
|
|
<a href="/panel/analytics/views/">{{lang "panel_menu_stats"}}</a>
|
2019-03-16 11:31:10 +00:00
|
|
|
</div>
|
|
|
|
{{if eq .Zone "analytics"}}
|
|
|
|
<div class="rowitem passive submenu">
|
2020-02-23 09:08:47 +00:00
|
|
|
<a href="/panel/analytics/posts/">{{lang "panel_menu_stats_posts"}}</a>
|
2019-03-16 11:31:10 +00:00
|
|
|
</div>
|
|
|
|
<div class="rowitem passive submenu">
|
2020-02-23 09:08:47 +00:00
|
|
|
<a href="/panel/analytics/topics/">{{lang "panel_menu_stats_topics"}}</a>
|
2019-03-16 11:31:10 +00:00
|
|
|
</div>
|
|
|
|
<div class="rowitem passive submenu">
|
2020-02-23 09:08:47 +00:00
|
|
|
<a href="/panel/analytics/forums/">{{lang "panel_menu_stats_forums"}}</a>
|
2019-03-16 11:31:10 +00:00
|
|
|
</div>
|
|
|
|
<div class="rowitem passive submenu">
|
2020-02-23 09:08:47 +00:00
|
|
|
<a href="/panel/analytics/routes/">{{lang "panel_menu_stats_routes"}}</a>
|
2019-03-16 11:31:10 +00:00
|
|
|
</div>
|
2020-02-28 05:09:55 +00:00
|
|
|
<div class="rowitem passive submenu">
|
|
|
|
<a href="/panel/analytics/routes-perf/">{{lang "panel_menu_stats_routes_perf"}}</a>
|
|
|
|
</div>
|
2019-03-16 11:31:10 +00:00
|
|
|
<div class="rowitem passive submenu">
|
2020-02-23 09:08:47 +00:00
|
|
|
<a href="/panel/analytics/agents/">{{lang "panel_menu_stats_agents"}}</a>
|
2019-03-16 11:31:10 +00:00
|
|
|
</div>
|
|
|
|
<div class="rowitem passive submenu">
|
2020-02-23 09:08:47 +00:00
|
|
|
<a href="/panel/analytics/systems/">{{lang "panel_menu_stats_systems"}}</a>
|
2019-03-16 11:31:10 +00:00
|
|
|
</div>
|
|
|
|
<div class="rowitem passive submenu">
|
2020-02-23 09:08:47 +00:00
|
|
|
<a href="/panel/analytics/langs/">{{lang "panel_menu_stats_languages"}}</a>
|
2019-03-16 11:31:10 +00:00
|
|
|
</div>
|
|
|
|
<div class="rowitem passive submenu">
|
2020-02-23 09:08:47 +00:00
|
|
|
<a href="/panel/analytics/referrers/">{{lang "panel_menu_stats_referrers"}}</a>
|
2019-03-16 11:31:10 +00:00
|
|
|
</div>
|
2019-05-01 06:59:51 +00:00
|
|
|
<div class="rowitem passive submenu">
|
2020-02-23 09:08:47 +00:00
|
|
|
<a href="/panel/analytics/memory/">{{lang "panel_menu_stats_memory"}}</a>
|
2019-05-01 06:59:51 +00:00
|
|
|
</div>
|
2019-05-09 06:58:55 +00:00
|
|
|
<div class="rowitem passive submenu">
|
2020-02-23 09:08:47 +00:00
|
|
|
<a href="/panel/analytics/active-memory/">{{lang "panel_menu_stats_active_memory"}}</a>
|
|
|
|
</div>
|
|
|
|
<div class="rowitem passive submenu">
|
|
|
|
<a href="/panel/analytics/perf/">{{lang "panel_menu_stats_perf"}}</a>
|
2019-05-09 06:58:55 +00:00
|
|
|
</div>
|
2019-03-16 11:31:10 +00:00
|
|
|
{{end}}
|
|
|
|
<div class="rowitem passive">
|
|
|
|
<a href="/forum/{{.ReportForumID}}">{{lang "panel_menu_reports"}}</a> <a class="menu_stats" href="#">({{.Stats.Reports}})</a>
|
|
|
|
</div>
|
|
|
|
<div class="rowitem passive">
|
|
|
|
<a href="/panel/logs/mod/">{{lang "panel_menu_logs"}}</a>
|
|
|
|
</div>
|
|
|
|
{{if eq .Zone "logs"}}
|
|
|
|
<div class="rowitem passive submenu"><a href="/panel/logs/regs/">{{lang "panel_menu_logs_registrations"}}</a></div>
|
|
|
|
<div class="rowitem passive submenu"><a href="/panel/logs/mod/">{{lang "panel_menu_logs_moderators"}}</a></div>
|
2019-11-06 02:00:44 +00:00
|
|
|
{{if .CurrentUser.Perms.ViewAdminLogs}}<div class="rowitem passive submenu"><a href="/panel/logs/admin/">{{lang "panel_menu_logs_administrators"}}</a></div>{{end}}
|
2019-03-16 11:31:10 +00:00
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
<div class="colstack_item colstack_head">
|
|
|
|
<div class="rowitem"><a href="#">{{lang "panel_menu_system"}}</a></div>
|
|
|
|
</div>
|
|
|
|
<div class="colstack_item rowmenu">
|
|
|
|
{{if .CurrentUser.Perms.ManagePlugins}}<div class="rowitem passive">
|
|
|
|
<a href="/panel/plugins/">{{lang "panel_menu_plugins"}}</a>
|
|
|
|
</div>{{end}}
|
|
|
|
{{if .CurrentUser.IsSuperAdmin}}<div class="rowitem passive">
|
|
|
|
<a href="/panel/backups/">{{lang "panel_menu_backups"}}</a>
|
|
|
|
</div>{{end}}
|
2021-01-02 21:46:24 +00:00
|
|
|
{{if .CurrentUser.IsAdmin}}
|
|
|
|
<div class="rowitem passive">
|
2019-03-16 11:31:10 +00:00
|
|
|
<a href="/panel/debug/">{{lang "panel_menu_debug"}}</a>
|
2021-01-02 21:46:24 +00:00
|
|
|
</div>
|
|
|
|
{{if .DebugAdmin}}<div class="rowitem passive">
|
|
|
|
<a href="/panel/debug/tasks/">{{lang "panel_menu_debug"}}</a>
|
2019-03-16 11:31:10 +00:00
|
|
|
</div>{{end}}
|
2021-01-02 21:46:24 +00:00
|
|
|
{{end}}
|
2019-10-12 22:49:08 +00:00
|
|
|
</div>
|