mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +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");
|
require_once("../include/bittorrent.php");
|
||||||
dbconn(true);
|
dbconn(true);
|
||||||
require_once(get_langfile_path('torrents.php'));
|
require_once(get_langfile_path('torrents.php'));
|
||||||
|
require_once(get_langfile_path('speical.php'));
|
||||||
loggedinorreturn();
|
loggedinorreturn();
|
||||||
parked();
|
parked();
|
||||||
|
|
||||||
@@ -15,7 +16,7 @@ switch (CURRENT_SCRIPT) {
|
|||||||
httperr();
|
httperr();
|
||||||
}
|
}
|
||||||
if (get_user_class() < get_setting('authority.view_special_torrent')) {
|
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;
|
$sectiontype = $specialcatmode;
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user