mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-19 00:01:00 +08:00
change special section permission deny notice text
This commit is contained in:
7
lang/chs/lang_speical.php
Normal file
7
lang/chs/lang_speical.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
$lang_special = [
|
||||
'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>",
|
||||
];
|
||||
@@ -2,6 +2,7 @@
|
||||
require_once("../include/bittorrent.php");
|
||||
dbconn(true);
|
||||
require_once(get_langfile_path('torrents.php'));
|
||||
require_once(get_langfile_path('speical.php'));
|
||||
loggedinorreturn();
|
||||
parked();
|
||||
|
||||
@@ -15,7 +16,7 @@ switch (CURRENT_SCRIPT) {
|
||||
httperr();
|
||||
}
|
||||
if (get_user_class() < get_setting('authority.view_special_torrent')) {
|
||||
permissiondenied();
|
||||
stderr($lang_special['std_sorry'],$lang_special['std_permission_denied_only'].get_user_class_name(get_setting('authority.view_special_torrent'),false,true,true).$lang_special['std_or_above_can_view'],false);
|
||||
}
|
||||
$sectiontype = $specialcatmode;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user