ACP menu and title translations

v1.18.x
Peter Jaszkowiak 8 years ago committed by Julian Lam
parent bae1daf5dc
commit 38eba81933

@ -0,0 +1,6 @@
{
"alert.confirm-reload": "Are you sure you wish to reload NodeBB?",
"alert.confirm-restart": "Are you sure you wish to restart NodeBB?",
"acp-title": "%1 | NodeBB Admin Control Panel"
}

@ -0,0 +1,74 @@
{
"section-general": "General",
"general/dashboard": "Dashboard",
"general/homepage": "Home Page",
"general/navigation": "Navigation",
"general/languages": "Languages",
"general/sounds": "Sounds",
"general/social": "Social",
"section-manage": "Manage",
"manage/categories": "Categories",
"manage/tags": "Tags",
"manage/users": "Users",
"manage/registration": "Registration Queue",
"manage/groups": "Groups",
"manage/flags": "Flags",
"manage/ip-blacklist": "IP Blacklist",
"section-settings": "Settings",
"settings/general": "General",
"settings/reputation": "Reputation",
"settings/email": "Email",
"settings/user": "User",
"settings/group": "Group",
"settings/guest": "Guests",
"settings/uploads": "Uploads",
"settings/post": "Post",
"settings/chat": "Chat",
"settings/pagination": "Pagination",
"settings/tags": "Tags",
"settings/notifications": "Notifications",
"settings/cookies": "Cookies",
"settings/web-crawler": "Web Crawler",
"settings/sockets": "Sockets",
"settings/advanced": "Advanced",
"settings.page-title": "%1 Settings",
"section-appearance": "Appearance",
"appearance/themes": "Themes",
"appearance/skins": "Skins",
"appearance/customise": "Custom HTML & CSS",
"section-extend": "Extend",
"extend/plugins": "Plugins",
"extend/widgets": "Widgets",
"extend/rewards": "Rewards",
"section-social-auth": "Social Authentication",
"section-plugins": "Plugins",
"extend/plugins.install": "Install Plugins",
"section-advanced": "Advanced",
"advanced/database": "Database",
"advanced/events": "Events",
"advanced/logs": "Logs",
"advanced/errors": "Errors",
"advanced/cache": "Cache",
"development/logger": "Logger",
"reload-forum": "Reload Forum",
"restart-forum": "Restart Forum",
"logout": "Log out",
"view-forum": "View Forum",
"search.placeholder": "Search...",
"search.no-results": "No results...",
"search.search-forum": "Search the forum for <strong></strong>",
"search.keep-typing": "Type more to see results...",
"search.start-typing": "Start typing to see results...",
"connection-lost": "Connection to %1 has been lost, attempting to reconnect..."
}

@ -9,16 +9,12 @@
}
logoutTimer = setTimeout(function () {
require(['translator'], function (translator) {
translator.translate('[[login:logged-out-due-to-inactivity]]', function (translated) {
bootbox.alert({
closeButton: false,
message: translated,
callback: function () {
window.location.reload();
}
});
});
bootbox.alert({
closeButton: false,
message: '[[login:logged-out-due-to-inactivity]]',
callback: function () {
window.location.reload();
}
});
}, 3600000);
}
@ -69,11 +65,9 @@
}
function setupKeybindings() {
require(['mousetrap'], function (mousetrap) {
require(['mousetrap', 'admin/modules/instance'], function (mousetrap, instance) {
mousetrap.bind('ctrl+shift+a r', function () {
require(['admin/modules/instance'], function (instance) {
instance.reload();
});
instance.reload();
});
mousetrap.bind('ctrl+shift+a R', function () {
@ -89,43 +83,60 @@
}
function selectMenuItem(url) {
url = url
.replace(/\/\d+$/, '')
.split('/').slice(0, 3).join('/')
.split('?')[0];
// If index is requested, load the dashboard
if (url === 'admin') {
url = 'admin/general/dashboard';
}
require(['translator'], function (translator) {
url = url
.replace(/\/\d+$/, '')
.split('/').slice(0, 3).join('/')
.split('?')[0];
// If index is requested, load the dashboard
if (url === 'admin') {
url = 'admin/general/dashboard';
}
$('#main-menu li').removeClass('active');
$('#main-menu a').removeClass('active').each(function () {
var menu = $(this),
href = menu.attr('href'),
isLink = menu.parent().attr('data-link') === '1';
url = [config.relative_path, url].join('/');
if (!isLink && href && href === [config.relative_path, url].join('/')) {
$('#main-menu li').removeClass('active');
$('#main-menu a').removeClass('active').filter('[href="' + url + '"]').each(function () {
var menu = $(this);
menu
.parent().addClass('active')
.parents('.menu-item').addClass('active');
var match = menu.attr('href').match(/admin\/((.+?)\/.+?)$/);
if (!match) {
return;
}
var str = '[[admin/menu:' + match[1] + ']]';
if (match[2] === 'settings') {
str = translator.compile('admin/menu:settings.page-title', str);
}
translator.translate(str, function (text) {
$('#main-page-title').text(text);
});
});
$('#main-page-title').text(menu.text() + (menu.parents('.menu-item').children('a').text() === 'Settings' ? ' Settings' : ''));
var title;
if (/admin\/general\/dashboard$/.test(url)) {
title = '[[admin/menu:general/dashboard]]';
} else {
title = url.match(/admin\/(.+?)\/(.+?)$/);
title = '[[admin/menu:section-' + title[1] + ']]' +
(title[2] ? (' > [[admin/menu:' +
title[1] + '/' + title[2] + ']]') : '');
}
});
var acpPath = url.replace('admin/', '').split('/');
acpPath.forEach(function (path, i) {
acpPath[i] = path.charAt(0).toUpperCase() + path.slice(1);
});
acpPath = acpPath.join(' > ');
title = '[[admin/admin:acp-title, ' + title + ']]';
document.title = (url === 'admin/general/dashboard' ? 'Dashboard' : acpPath) + ' | NodeBB Admin Control Panel';
translator.translate(title, function (title) {
document.title = title.replace(/&gt;/g, '>');
});
});
}
function setupRestartLinks() {
$('.reload').off('click').on('click', function () {
bootbox.confirm('Are you sure you wish to reload NodeBB?', function (confirm) {
bootbox.confirm('[[admin/admin:alert.confirm-reload]]', function (confirm) {
if (confirm) {
require(['admin/modules/instance'], function (instance) {
instance.reload();
@ -135,7 +146,7 @@
});
$('.restart').off('click').on('click', function () {
bootbox.confirm('Are you sure you wish to restart NodeBB?', function (confirm) {
bootbox.confirm('[[admin/admin:alert.confirm-restart]]', function (confirm) {
if (confirm) {
require(['admin/modules/instance'], function (instance) {
instance.restart();
@ -143,7 +154,7 @@
}
});
});
};
}
function launchSnackbar(params) {
var message = (params.title ? "<strong>" + params.title + "</strong>" : '') + (params.message ? params.message : '');

@ -9,7 +9,7 @@ blacklistController.get = function (req, res, next) {
if (err) {
return next(err);
}
res.render('admin/manage/ip-blacklist', {rules: rules, title: 'IP Blacklist'});
res.render('admin/manage/ip-blacklist', { rules: rules });
});
};

@ -65,7 +65,6 @@ flagsController.get = function (req, res, next) {
sortByCount: sortBy === 'count',
sortByTime: sortBy === 'time',
pagination: pagination.create(page, pageCount, req.query),
title: '[[pages:flagged-posts]]'
};
res.render('admin/manage/flags', data);
});

@ -1,72 +1,72 @@
<nav id="menu" class="visible-xs visible-sm">
<section class="menu-section">
<h3 class="menu-section-title">General</h3>
<h3 class="menu-section-title">[[admin/menu:section-general]]</h3>
<ul class="menu-section-list">
<a href="{relative_path}/admin/general/dashboard">Dashboard</a>
<li><a href="{relative_path}/admin/general/homepage">Home Page</a></li>
<li><a href="{relative_path}/admin/general/navigation">Navigation</a></li>
<li><a href="{relative_path}/admin/general/languages">Languages</a></li>
<li><a href="{relative_path}/admin/general/sounds">Sounds</a></li>
<li><a href="{relative_path}/admin/general/social">Social</a></li>
<a href="{relative_path}/admin/general/dashboard">[[admin/menu:general/dashboard]]</a>
<li><a href="{relative_path}/admin/general/homepage">[[admin/menu:general/homepage]]</a></li>
<li><a href="{relative_path}/admin/general/navigation">[[admin/menu:general/navigation]]</a></li>
<li><a href="{relative_path}/admin/general/languages">[[admin/menu:general/languages]]</a></li>
<li><a href="{relative_path}/admin/general/sounds">[[admin/menu:general/sounds]]</a></li>
<li><a href="{relative_path}/admin/general/social">[[admin/menu:general/social]]</a></li>
</ul>
</section>
<section class="menu-section">
<h3 class="menu-section-title">Manage</h3>
<h3 class="menu-section-title">[[admin/menu:section-manage]]</h3>
<ul class="menu-section-list">
<li><a href="{relative_path}/admin/manage/categories">Categories</a></li>
<li><a href="{relative_path}/admin/manage/tags">Tags</a></li>
<li><a href="{relative_path}/admin/manage/users">Users</a></li>
<li><a href="{relative_path}/admin/manage/registration">Registration Queue</a></li>
<li><a href="{relative_path}/admin/manage/groups">Groups</a></li>
<li><a href="{relative_path}/admin/manage/flags">Flags</a></li>
<li><a href="{relative_path}/admin/manage/ip-blacklist">IP Blacklist</a></li>
<li><a href="{relative_path}/admin/manage/categories">[[admin/menu:manage/categories]]</a></li>
<li><a href="{relative_path}/admin/manage/tags">[[admin/menu:manage/tags]]</a></li>
<li><a href="{relative_path}/admin/manage/users">[[admin/menu:manage/users]]</a></li>
<li><a href="{relative_path}/admin/manage/registration">[[admin/menu:manage/registration]]</a></li>
<li><a href="{relative_path}/admin/manage/groups">[[admin/menu:manage/groups]]</a></li>
<li><a href="{relative_path}/admin/manage/flags">[[admin/menu:manage/flags]]</a></li>
<li><a href="{relative_path}/admin/manage/ip-blacklist">[[admin/menu:manage/ip-blacklist]]</a></li>
</ul>
</section>
<section class="menu-section">
<h3 class="menu-section-title">Settings</h3>
<h3 class="menu-section-title">[[admin/menu:section-settings]]</h3>
<ul class="menu-section-list">
<li><a href="{relative_path}/admin/settings/general">General</a></li>
<li><a href="{relative_path}/admin/settings/reputation">Reputation</a></li>
<li><a href="{relative_path}/admin/settings/email">Email</a></li>
<li><a href="{relative_path}/admin/settings/user">User</a></li>
<li><a href="{relative_path}/admin/settings/group">Group</a></li>
<li><a href="{relative_path}/admin/settings/guest">Guests</a></li>
<li><a href="{relative_path}/admin/settings/uploads">Uploads</a></li>
<li><a href="{relative_path}/admin/settings/post">Post</a></li>
<li><a href="{relative_path}/admin/settings/chat">Chat</a></li>
<li><a href="{relative_path}/admin/settings/pagination">Pagination</a></li>
<li><a href="{relative_path}/admin/settings/tags">Tags</a></li>
<li><a href="{relative_path}/admin/settings/notifications">Notifications</a></li>
<li><a href="{relative_path}/admin/settings/cookies">Cookies</a></li>
<li><a href="{relative_path}/admin/settings/web-crawler">Web Crawler</a></li>
<li><a href="{relative_path}/admin/settings/sockets">Sockets</a></li>
<li><a href="{relative_path}/admin/settings/advanced">Advanced</a></li>
<li><a href="{relative_path}/admin/settings/general">[[admin/menu:section-general]]</a></li>
<li><a href="{relative_path}/admin/settings/reputation">[[admin/menu:settings/reputation]]</a></li>
<li><a href="{relative_path}/admin/settings/email">[[admin/menu:settings/email]]</a></li>
<li><a href="{relative_path}/admin/settings/user">[[admin/menu:settings/user]]</a></li>
<li><a href="{relative_path}/admin/settings/group">[[admin/menu:settings/group]]</a></li>
<li><a href="{relative_path}/admin/settings/guest">[[admin/menu:settings/guest]]</a></li>
<li><a href="{relative_path}/admin/settings/uploads">[[admin/menu:settings/uploads]]</a></li>
<li><a href="{relative_path}/admin/settings/post">[[admin/menu:settings/post]]</a></li>
<li><a href="{relative_path}/admin/settings/chat">[[admin/menu:settings/chat]]</a></li>
<li><a href="{relative_path}/admin/settings/pagination">[[admin/menu:settings/pagination]]</a></li>
<li><a href="{relative_path}/admin/settings/tags">[[admin/menu:manage/tags]]</a></li>
<li><a href="{relative_path}/admin/settings/notifications">[[admin/menu:settings/notifications]]</a></li>
<li><a href="{relative_path}/admin/settings/cookies">[[admin/menu:settings/cookies]]</a></li>
<li><a href="{relative_path}/admin/settings/web-crawler">[[admin/menu:settings/web-crawler]]</a></li>
<li><a href="{relative_path}/admin/settings/sockets">[[admin/menu:settings/sockets]]</a></li>
<li><a href="{relative_path}/admin/settings/advanced">[[admin/menu:settings/advanced]]</a></li>
</ul>
</section>
<section class="menu-section">
<h3 class="menu-section-title">Appearance</h3>
<h3 class="menu-section-title">[[admin/menu:section-appearance]]</h3>
<ul class="menu-section-list">
<li><a href="{relative_path}/admin/appearance/themes">Themes</a></li>
<li><a href="{relative_path}/admin/appearance/skins">Skins</a></li>
<li><a href="{relative_path}/admin/appearance/customise">Custom HTML &amp; CSS</a></li>
<li><a href="{relative_path}/admin/appearance/themes">[[admin/menu:appearance/themes]]</a></li>
<li><a href="{relative_path}/admin/appearance/skins">[[admin/menu:appearance/skins]]</a></li>
<li><a href="{relative_path}/admin/appearance/customise">[[admin/menu:appearance/customise]]</a></li>
</ul>
</section>
<section class="menu-section">
<h3 class="menu-section-title">Extend</h3>
<h3 class="menu-section-title">[[admin/menu:section-extend]]</h3>
<ul class="menu-section-list">
<li><a href="{relative_path}/admin/extend/plugins">Plugins</a></li>
<li><a href="{relative_path}/admin/extend/widgets">Widgets</a></li>
<li><a href="{relative_path}/admin/extend/rewards">Rewards</a></li>
<li><a href="{relative_path}/admin/extend/plugins">[[admin/menu:extend/plugins]]</a></li>
<li><a href="{relative_path}/admin/extend/widgets">[[admin/menu:extend/widgets]]</a></li>
<li><a href="{relative_path}/admin/extend/rewards">[[admin/menu:extend/rewards]]</a></li>
</ul>
</section>
<!-- IF authentication.length -->
<section class="menu-section">
<h3 class="menu-section-title">Social Authentication</h3>
<h3 class="menu-section-title">[[admin/menu:section-social-auth]]</h3>
<ul class="menu-section-list">
<!-- BEGIN authentication -->
<li>
@ -79,7 +79,7 @@
<!-- IF plugins.length -->
<section class="menu-section">
<h3 class="menu-section-title">Plugins</h3>
<h3 class="menu-section-title">[[admin/menu:section-plugins]]</h3>
<ul class="menu-section-list">
<!-- BEGIN plugins -->
<li>
@ -91,15 +91,15 @@
<!-- ENDIF plugins.length -->
<section class="menu-section">
<h3 class="menu-section-title">Advanced</h3>
<h3 class="menu-section-title">[[admin/menu:section-advanced]]</h3>
<ul class="menu-section-list">
<li><a href="{relative_path}/admin/advanced/database">Database</a></li>
<li><a href="{relative_path}/admin/advanced/events">Events</a></li>
<li><a href="{relative_path}/admin/advanced/logs">Logs</a></li>
<li><a href="{relative_path}/admin/advanced/errors">Errors</a></li>
<li><a href="{relative_path}/admin/advanced/cache">Cache</a></li>
<li><a href="{relative_path}/admin/advanced/database">[[admin/menu:advanced/database]]</a></li>
<li><a href="{relative_path}/admin/advanced/events">[[admin/menu:advanced/events]]</a></li>
<li><a href="{relative_path}/admin/advanced/logs">[[admin/menu:advanced/logs]]</a></li>
<li><a href="{relative_path}/admin/advanced/errors">[[admin/menu:advanced/errors]]</a></li>
<li><a href="{relative_path}/admin/advanced/cache">[[admin/menu:advanced/cache]]</a></li>
<!-- IF env -->
<li><a href="{relative_path}/admin/development/logger">Logger</a></li>
<li><a href="{relative_path}/admin/development/logger">[[admin/menu:development/logger]]</a></li>
<!-- ENDIF env -->
</ul>
</section>
@ -123,47 +123,47 @@
</a>
<ul id="user-control-list" class="dropdown-menu" aria-labelledby="user_dropdown">
<li>
<a href="#" class="reload" title="Reload Forum">
Reload Forum
<a href="#" class="reload" title="[[admin/menu:reload-forum]]">
[[admin/menu:reload-forum]]
</a>
</li>
<li>
<a href="#" class="restart" title="Restart Forum">
Restart Forum
<a href="#" class="restart" title="[[admin/menu:restart-forum]]">
[[admin/menu:restart-forum]]
</a>
</li>
<li role="presentation" class="divider"></li>
<li component="logout">
<a href="#">Log out</a>
<a href="#">[[admin/menu:logout]]</a>
</li>
</ul>
</li>
<li class="pull-right">
<a href="{config.relative_path}/">
<i class="fa fa-fw fa-home" title="View Forum"></i>
<i class="fa fa-fw fa-home" title="[[admin/menu:view-forum]]"></i>
</a>
</li>
<form class="pull-right hidden-sm hidden-xs" role="search">
<div class="" id="acp-search" >
<div class="dropdown">
<input type="text" data-toggle="dropdown" class="form-control" placeholder="Search...">
<input type="text" data-toggle="dropdown" class="form-control" placeholder="[[admin/menu:search.placeholder]]">
<ul class="dropdown-menu dropdown-menu-right state-start-typing" role="menu">
<li role="presentation" class="no-results">
<a>No results...</a>
<a>[[admin/menu:search.no-results]]</a>
</li>
<li role="presentation" class="divider search-forum"></li>
<li role="presentation" class="search-forum">
<a role="menuitem" target="_top" href="#">
Search the forum for <strong></strong>
[[admin/menu:search.search-forum]]
</a>
</li>
<li role="presentation" class="keep-typing">
<a>Type more to see results...</a>
<a>[[admin/menu:search.keep-typing]]</a>
</li>
<li role="presentation" class="start-typing">
<a>Start typing to see results...</a>
<a>[[admin/menu:search.start-typing]]</a>
</li>
</ul>
</div>
@ -172,70 +172,70 @@
</ul>
<ul id="main-menu">
<li class="menu-item">
<a href="{relative_path}/admin/general/dashboard">Dashboard</a>
<a href="{relative_path}/admin/general/dashboard">[[admin/menu:general/dashboard]]</a>
</li>
<li class="dropdown menu-item">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">General</a>
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">[[admin/menu:section-general]]</a>
<ul class="dropdown-menu" role="menu">
<li><a href="{relative_path}/admin/general/homepage">Home Page</a></li>
<li><a href="{relative_path}/admin/general/navigation">Navigation</a></li>
<li><a href="{relative_path}/admin/general/languages">Languages</a></li>
<li><a href="{relative_path}/admin/general/sounds">Sounds</a></li>
<li><a href="{relative_path}/admin/general/social">Social</a></li>
<li><a href="{relative_path}/admin/general/homepage">[[admin/menu:general/homepage]]</a></li>
<li><a href="{relative_path}/admin/general/navigation">[[admin/menu:general/navigation]]</a></li>
<li><a href="{relative_path}/admin/general/languages">[[admin/menu:general/languages]]</a></li>
<li><a href="{relative_path}/admin/general/sounds">[[admin/menu:general/sounds]]</a></li>
<li><a href="{relative_path}/admin/general/social">[[admin/menu:general/social]]</a></li>
</ul>
</li>
<li class="dropdown menu-item">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Manage</a>
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">[[admin/menu:section-manage]]</a>
<ul class="dropdown-menu" role="menu">
<li><a href="{relative_path}/admin/manage/categories">Categories</a></li>
<li><a href="{relative_path}/admin/manage/tags">Tags</a></li>
<li><a href="{relative_path}/admin/manage/users">Users</a></li>
<li><a href="{relative_path}/admin/manage/registration">Registration Queue</a></li>
<li><a href="{relative_path}/admin/manage/groups">Groups</a></li>
<li><a href="{relative_path}/admin/manage/flags">Flags</a></li>
<li><a href="{relative_path}/admin/manage/ip-blacklist">IP Blacklist</a></li>
<li><a href="{relative_path}/admin/manage/categories">[[admin/menu:manage/categories]]</a></li>
<li><a href="{relative_path}/admin/manage/tags">[[admin/menu:manage/tags]]</a></li>
<li><a href="{relative_path}/admin/manage/users">[[admin/menu:manage/users]]</a></li>
<li><a href="{relative_path}/admin/manage/registration">[[admin/menu:manage/registration]]</a></li>
<li><a href="{relative_path}/admin/manage/groups">[[admin/menu:manage/groups]]</a></li>
<li><a href="{relative_path}/admin/manage/flags">[[admin/menu:manage/flags]]</a></li>
<li><a href="{relative_path}/admin/manage/ip-blacklist">[[admin/menu:manage/ip-blacklist]]</a></li>
</ul>
</li>
<li class="dropdown menu-item">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Settings</a>
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">[[admin/menu:section-settings]]</a>
<ul class="dropdown-menu" role="menu">
<li><a href="{relative_path}/admin/settings/general">General</a></li>
<li><a href="{relative_path}/admin/settings/reputation">Reputation</a></li>
<li><a href="{relative_path}/admin/settings/email">Email</a></li>
<li><a href="{relative_path}/admin/settings/user">User</a></li>
<li><a href="{relative_path}/admin/settings/group">Group</a></li>
<li><a href="{relative_path}/admin/settings/guest">Guests</a></li>
<li><a href="{relative_path}/admin/settings/uploads">Uploads</a></li>
<li><a href="{relative_path}/admin/settings/post">Post</a></li>
<li><a href="{relative_path}/admin/settings/chat">Chat</a></li>
<li><a href="{relative_path}/admin/settings/pagination">Pagination</a></li>
<li><a href="{relative_path}/admin/settings/tags">Tags</a></li>
<li><a href="{relative_path}/admin/settings/notifications">Notifications</a></li>
<li><a href="{relative_path}/admin/settings/cookies">Cookies</a></li>
<li><a href="{relative_path}/admin/settings/web-crawler">Web Crawler</a></li>
<li><a href="{relative_path}/admin/settings/sockets">Sockets</a></li>
<li><a href="{relative_path}/admin/settings/advanced">Advanced</a></li>
<li><a href="{relative_path}/admin/settings/general">[[admin/menu:section-general]]</a></li>
<li><a href="{relative_path}/admin/settings/reputation">[[admin/menu:settings/reputation]]</a></li>
<li><a href="{relative_path}/admin/settings/email">[[admin/menu:settings/email]]</a></li>
<li><a href="{relative_path}/admin/settings/user">[[admin/menu:settings/user]]</a></li>
<li><a href="{relative_path}/admin/settings/group">[[admin/menu:settings/group]]</a></li>
<li><a href="{relative_path}/admin/settings/guest">[[admin/menu:settings/guest]]</a></li>
<li><a href="{relative_path}/admin/settings/uploads">[[admin/menu:settings/uploads]]</a></li>
<li><a href="{relative_path}/admin/settings/post">[[admin/menu:settings/post]]</a></li>
<li><a href="{relative_path}/admin/settings/chat">[[admin/menu:settings/chat]]</a></li>
<li><a href="{relative_path}/admin/settings/pagination">[[admin/menu:settings/pagination]]</a></li>
<li><a href="{relative_path}/admin/settings/tags">[[admin/menu:manage/tags]]</a></li>
<li><a href="{relative_path}/admin/settings/notifications">[[admin/menu:settings/notifications]]</a></li>
<li><a href="{relative_path}/admin/settings/cookies">[[admin/menu:settings/cookies]]</a></li>
<li><a href="{relative_path}/admin/settings/web-crawler">[[admin/menu:settings/web-crawler]]</a></li>
<li><a href="{relative_path}/admin/settings/sockets">[[admin/menu:settings/sockets]]</a></li>
<li><a href="{relative_path}/admin/settings/advanced">[[admin/menu:settings/advanced]]</a></li>
</ul>
</li>
<li class="dropdown menu-item">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Appearance</a>
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">[[admin/menu:section-appearance]]</a>
<ul class="dropdown-menu" role="menu">
<li><a href="{relative_path}/admin/appearance/themes">Themes</a></li>
<li><a href="{relative_path}/admin/appearance/skins">Skins</a></li>
<li><a href="{relative_path}/admin/appearance/customise">Custom HTML &amp; CSS</a></li>
<li><a href="{relative_path}/admin/appearance/themes">[[admin/menu:appearance/themes]]</a></li>
<li><a href="{relative_path}/admin/appearance/skins">[[admin/menu:appearance/skins]]</a></li>
<li><a href="{relative_path}/admin/appearance/customise">[[admin/menu:appearance/customise]]</a></li>
</ul>
</li>
<li class="dropdown menu-item">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Extend</a>
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">[[admin/menu:section-extend]]</a>
<ul class="dropdown-menu" role="menu">
<li><a href="{relative_path}/admin/extend/plugins">Plugins</a></li>
<li><a href="{relative_path}/admin/extend/widgets">Widgets</a></li>
<li><a href="{relative_path}/admin/extend/rewards">Rewards</a></li>
<li><a href="{relative_path}/admin/extend/plugins">[[admin/menu:extend/plugins]]</a></li>
<li><a href="{relative_path}/admin/extend/widgets">[[admin/menu:extend/widgets]]</a></li>
<li><a href="{relative_path}/admin/extend/rewards">[[admin/menu:extend/rewards]]</a></li>
</ul>
</li>
<!-- IF authentication.length -->
<li class="dropdown menu-item">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Social Authentication</a>
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">[[admin/menu:section-social-auth]]</a>
<ul class="dropdown-menu" role="menu">
<!-- BEGIN authentication -->
<li>
@ -247,7 +247,7 @@
<!-- ENDIF authentication.length -->
<!-- IF plugins.length -->
<li class="dropdown menu-item">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Plugins</a>
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">[[admin/menu:section-plugins]]</a>
<ul class="dropdown-menu" role="menu">
<!-- BEGIN plugins -->
<li>
@ -256,21 +256,21 @@
<!-- END plugins -->
<li class="divider"></li>
<li data-link="1">
<a href="{relative_path}/admin/extend/plugins">Install Plugins</a>
<a href="{relative_path}/admin/extend/plugins">[[admin/menu:extend/plugins.install]]</a>
</li>
</ul>
</li>
<!-- ENDIF plugins.length -->
<li class="dropdown menu-item">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Advanced</a>
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">[[admin/menu:section-advanced]]</a>
<ul class="dropdown-menu" role="menu">
<li><a href="{relative_path}/admin/advanced/database">Database</a></li>
<li><a href="{relative_path}/admin/advanced/events">Events</a></li>
<li><a href="{relative_path}/admin/advanced/logs">Logs</a></li>
<li><a href="{relative_path}/admin/advanced/errors">Errors</a></li>
<li><a href="{relative_path}/admin/advanced/cache">Cache</a></li>
<li><a href="{relative_path}/admin/advanced/database">[[admin/menu:advanced/database]]</a></li>
<li><a href="{relative_path}/admin/advanced/events">[[admin/menu:advanced/events]]</a></li>
<li><a href="{relative_path}/admin/advanced/logs">[[admin/menu:advanced/logs]]</a></li>
<li><a href="{relative_path}/admin/advanced/errors">[[admin/menu:advanced/errors]]</a></li>
<li><a href="{relative_path}/admin/advanced/cache">[[admin/menu:advanced/cache]]</a></li>
<!-- IF env -->
<li><a href="{relative_path}/admin/development/logger">Logger</a></li>
<li><a href="{relative_path}/admin/development/logger">[[admin/menu:development/logger]]</a></li>
<!-- ENDIF env -->
</ul>
</li>
@ -278,7 +278,7 @@
<ul class="nav navbar-nav navbar-right hidden-xs reconnect-spinner">
<li>
<a href="#" id="reconnect" class="hide" title="Connection to {title} has been lost, attempting to reconnect...">
<a href="#" id="reconnect" class="hide" title="[[admin/menu:connection-lost, {title}]]">
<i class="fa fa-check"></i>
</a>
</li>

Loading…
Cancel
Save