mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-03 14:10:57 +08:00
only vip or above can see staff
This commit is contained in:
@@ -27,7 +27,10 @@ $lang_staff = array
|
||||
'text_apply_for_it' => "申请加入",
|
||||
'text_forum_moderators' => "论坛版主",
|
||||
'text_forum_moderators_note' => "论坛版主负责论坛的日常管理。",
|
||||
'text_forums' => "版块"
|
||||
'text_forums' => "版块",
|
||||
'std_sorry' => "对不起...",
|
||||
'std_permission_denied_only' => "你没有该权限。只有",
|
||||
'std_or_above_can_view' => "及以上等级的用户才能查看管理组。<br /><br />请查看<a class=faqlink href=faq.php#id22><b>常见问题</b></a>了解更多关于用户等级和权限的信息。<br /><br /><b></p>" .$SITENAME."管理组</b>",
|
||||
);
|
||||
|
||||
?>
|
||||
|
||||
@@ -27,7 +27,10 @@ $lang_staff = array
|
||||
'text_apply_for_it' => "申請加入",
|
||||
'text_forum_moderators' => "論壇版主",
|
||||
'text_forum_moderators_note' => "論壇版主負責論壇的日常管理。",
|
||||
'text_forums' => "版塊"
|
||||
'text_forums' => "版塊",
|
||||
'std_sorry' => "對不起...",
|
||||
'std_permission_denied_only' => "你沒有該權限。只有",
|
||||
'std_or_above_can_view' => "及以上等級的用戶才能查看管理組。<br /><br />請查看<a class=faqlink href=faq.php#id22><b>常見問題</b></a>了解更多關於用戶等級和權限的信息。<br /><br /><b></p>" .$SITENAME."管理組</b>",
|
||||
);
|
||||
|
||||
?>
|
||||
|
||||
@@ -27,7 +27,10 @@ $lang_staff = array
|
||||
'text_apply_for_it' => "Apply to join",
|
||||
'text_forum_moderators' => "Forum Moderators",
|
||||
'text_forum_moderators_note' => "Forum moderators are responsible for daily management of forums.",
|
||||
'text_forums' => "Forums"
|
||||
'text_forums' => "Forums",
|
||||
'std_sorry' => "Sorry...",
|
||||
'std_permission_denied_only' => "Permission denied. Only ",
|
||||
'std_or_above_can_view' => " or above could view Staff. <br /><br /> Please see the <a class=faqlink href=faq.php#id22><b>FAQ</b></a> for more information on different user classes and what they can do.<br /><br /><b></p>The " .$SITENAME." Staff</b>",
|
||||
);
|
||||
|
||||
?>
|
||||
|
||||
@@ -3,6 +3,10 @@ require "../include/bittorrent.php";
|
||||
dbconn();
|
||||
require_once(get_langfile_path());
|
||||
loggedinorreturn(true);
|
||||
if (get_user_class() < UC_VIP)
|
||||
{
|
||||
stderr($lang_log['std_sorry'],$lang_log['std_permission_denied_only'].get_user_class_name(UC_VIP,false,true,true).$lang_log['std_or_above_can_view'],false);
|
||||
}
|
||||
stdhead($lang_staff['head_staff']);
|
||||
|
||||
$Cache->new_page('staff_page', 900, true);
|
||||
|
||||
Reference in New Issue
Block a user