forked from GithubBackups/tinyib
Sort management panel page links
This commit is contained in:
parent
f6ee0ef162
commit
306e3e5cf8
36
inc/html.php
36
inc/html.php
@ -866,33 +866,33 @@ function adminBar() {
|
|||||||
return $return;
|
return $return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$output = '[<a href="?manage">' . __('Status') . '</a>] [';
|
$output = '';
|
||||||
if ($isadmin) {
|
if ($isadmin) {
|
||||||
if ($account['role'] == TINYIB_SUPER_ADMINISTRATOR) {
|
if ($account['role'] == TINYIB_SUPER_ADMINISTRATOR) {
|
||||||
$output .= '<a href="?manage&accounts">' . __('Accounts') . '</a>] [';
|
$output .= ' [<a href="?manage&accounts">' . __('Accounts') . '</a>]';
|
||||||
}
|
}
|
||||||
$output .= '<a href="?manage&bans">' . __('Bans') . '</a>] [';
|
$output .= ' [<a href="?manage&bans">' . __('Bans') . '</a>]';
|
||||||
$output .= '<a href="?manage&keywords">' . __('Keywords') . '</a>] [';
|
$output .= ' [<a href="?manage&keywords">' . __('Keywords') . '</a>]';
|
||||||
|
if (TINYIB_DBMIGRATE) {
|
||||||
|
$output .= ' [<a href="?manage&dbmigrate"><b>' . __('Migrate Database') . '</b></a>]';
|
||||||
}
|
}
|
||||||
$output .= '<a href="?manage&moderate">' . __('Moderate Post') . '</a>] [';
|
}
|
||||||
|
$output .= ' [<a href="?manage&moderate">' . __('Moderate Post') . '</a>]';
|
||||||
if ($isadmin) {
|
if ($isadmin) {
|
||||||
$output .= '<a href="?manage&modlog">' . __('Moderation Log') . '</a>] [';
|
$output .= ' [<a href="?manage&modlog">' . __('Moderation Log') . '</a>]';
|
||||||
}
|
$output .= ' [<a href="?manage&rebuildall">' . __('Rebuild All') . '</a>]';
|
||||||
$output .= '<a href="?manage&staffpost">' . __('Staff Post') . '</a>] [';
|
|
||||||
if ($isadmin) {
|
|
||||||
$output .= '<a href="?manage&rebuildall">' . __('Rebuild All') . '</a>] [';
|
|
||||||
if (TINYIB_REPORT) {
|
if (TINYIB_REPORT) {
|
||||||
$output .= '<a href="?manage&reports">' . __('Reports') . '</a>] [';
|
$output .= ' [<a href="?manage&reports">' . __('Reports') . '</a>]';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$output .= ' [<a href="?manage&staffpost">' . __('Staff Post') . '</a>]';
|
||||||
|
$output .= ' [<a href="?manage">' . __('Status') . '</a>]';
|
||||||
if ($isadmin && installedViaGit()) {
|
if ($isadmin && installedViaGit()) {
|
||||||
$output .= '<a href="?manage&update">' . __('Update') . '</a>] [';
|
$output .= ' [<a href="?manage&update">' . __('Update') . '</a>]';
|
||||||
}
|
}
|
||||||
if ($isadmin && TINYIB_DBMIGRATE) {
|
$output .= ' · [<a href="?manage&changepassword">' . __('Change Password') . '</a>]';
|
||||||
$output .= '<a href="?manage&dbmigrate"><b>' . __('Migrate Database') . '</b></a>] [';
|
$output .= ' [<a href="?manage&logout">' . __('Log Out') . '</a>]';
|
||||||
}
|
$output .= ' · ' . $return;
|
||||||
$output .= '<a href="?manage&changepassword">' . __('Change password') . '</a>] [';
|
|
||||||
$output .= '<a href="?manage&logout">' . __('Log Out') . '</a>] · ' . $return;
|
|
||||||
return $output;
|
return $output;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1106,7 +1106,7 @@ EOF;
|
|||||||
}
|
}
|
||||||
|
|
||||||
function manageChangePasswordForm() {
|
function manageChangePasswordForm() {
|
||||||
$txt_header = __('Change password');
|
$txt_header = __('Change Password');
|
||||||
$txt_submit = __('Submit');
|
$txt_submit = __('Submit');
|
||||||
return <<<EOF
|
return <<<EOF
|
||||||
<form id="tinyib" name="tinyib" method="post" action="?manage&changepassword">
|
<form id="tinyib" name="tinyib" method="post" action="?manage&changepassword">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user