diff --git a/lang/chs/lang_settings.php b/lang/chs/lang_settings.php index 45ecc1dd..b5afd556 100644 --- a/lang/chs/lang_settings.php +++ b/lang/chs/lang_settings.php @@ -262,7 +262,7 @@ $lang_settings = array 'text_uploaded_amount_above' => "且其上传量大于", 'text_ratio_limit_default' => " GB时,他不能交换更多的上传量。默认'6','50'。将分享率设为'0'来禁止此规则。", 'row_buy_an_invite' => "购买邀请名额", - 'text_buy_an_invite_note' => "个魔力值,如果他选择交换一个邀请名额。默认'1000'。", + 'text_buy_an_invite_note' => "个魔力值,如果他选择交换一个邀请名额。默认'1000'。将魔力值设为'0'来禁止购买。", 'row_custom_title' => "自定义头衔", 'text_custom_title_note' => "个魔力值,如果他选择自定义一次头衔。默认'5000'。", 'row_vip_status' => "贵宾待遇", @@ -800,7 +800,7 @@ $lang_settings = array 'text_protected_forum' => '输入开启隐私保护的论坛板块ID,该版块的回复仅楼主作者及管理员以上可见,使用逗号分割(如:1,2,3)', 'forum_format_error' => '论坛ID格式错误,请检查输入!', 'row_buy_an_tmp_invite' => '购买临时邀请名额', - 'text_buy_an_tmp_invite_note' => "个魔力值,如果他选择交换一个临时邀请名额。默认'500'。", + 'text_buy_an_tmp_invite_note' => "个魔力值,如果他选择交换一个临时邀请名额。默认'500'。将魔力值设为'0'来禁止购买。", 'row_buy_rainbow_id' => '购买彩虹 ID', 'text_buy_rainbow_id_note' => "个魔力值,如果他选择交换一个彩虹 ID,有效期 30 天。默认'5,000'。", 'row_buy_change_username_card' => '购买改名卡', diff --git a/lang/cht/lang_settings.php b/lang/cht/lang_settings.php index 21979107..5ff7624b 100644 --- a/lang/cht/lang_settings.php +++ b/lang/cht/lang_settings.php @@ -262,7 +262,7 @@ $lang_settings = array 'text_uploaded_amount_above' => "且其上傳量大于", 'text_ratio_limit_default' => " GB時,他無法交換更多的上傳量。預設'6','50'。將分享率設為'0'來禁止此規則。", 'row_buy_an_invite' => "購買邀請名額", - 'text_buy_an_invite_note' => "個魔力值,如果他選取交換一個邀請名額。預設'1000'。", + 'text_buy_an_invite_note' => "個魔力值,如果他選取交換一個邀請名額。預設'1000'。將魔力值設為'0'來禁止購買。", 'row_custom_title' => "自訂頭銜", 'text_custom_title_note' => "個魔力值,如果他選取自訂一次頭銜。預設'5000'。", @@ -800,7 +800,7 @@ $lang_settings = array 'text_protected_forum' => '輸入開啟隱私保護的論壇板塊ID,該版塊的回覆僅樓主作者及管理員以上可見,使用逗號分割(如:1,2,3)', 'forum_format_error' => '論壇ID格式錯誤,請核查校對!', 'row_buy_an_tmp_invite' => '購買臨時邀請名額', - 'text_buy_an_tmp_invite_note' => "個魔力值,如果他選擇交換一個臨時邀請名額。默認'500'。", + 'text_buy_an_tmp_invite_note' => "個魔力值,如果他選擇交換一個臨時邀請名額。默認'500'。將魔力值設為'0'來禁止購買。", 'row_buy_rainbow_id' => '購買彩虹 ID', 'text_buy_rainbow_id_note' => "個魔力值,如果他選擇交換一個彩虹 ID,有效期 30 天。默認'5,000'。", 'row_buy_change_username_card' => '購買改名卡', diff --git a/lang/en/lang_settings.php b/lang/en/lang_settings.php index 874de49b..88a7a893 100644 --- a/lang/en/lang_settings.php +++ b/lang/en/lang_settings.php @@ -262,7 +262,7 @@ $lang_settings = array 'text_uploaded_amount_above' => " and uploaded amount above ", 'text_ratio_limit_default' => " GB cannot exchange for uploading credit. Default '6', '50'. Set ratio to '0' to disable the limit.", 'row_buy_an_invite' => "Buy an invite", - 'text_buy_an_invite_note' => " bonus points to get a invite. Default '1000'.", + 'text_buy_an_invite_note' => " bonus points to get a invite. Default '1000'.Set ratio to '0' to disable the purchase.", 'row_custom_title' => "Custom title", 'text_custom_title_note' => " bonus points to custom his title. Default '5000'.", 'row_vip_status' => "VIP status", @@ -800,7 +800,7 @@ $lang_settings = array 'text_protected_forum' => 'The IDs of forums\' which enables privacy protection , seperated by commas(e.g. 1,2,3)', 'forum_format_error' => 'The format of forums is wrong, please check it again!', 'row_buy_an_tmp_invite' => 'Buy an temporary invite', - 'text_buy_an_tmp_invite_note' => " bonus points to get a temporary invite. Default '500'.", + 'text_buy_an_tmp_invite_note' => " bonus points to get a temporary invite. Default '500'.Set ratio to '0' to disable the purchase.", 'row_buy_rainbow_id' => 'Buy Rainbow ID', 'text_buy_rainbow_id_note' => " bonus points to get a rainbow ID, valid for 30 days. Default '5,000'.", 'row_buy_change_username_card' => 'Buy Change username card', diff --git a/public/mybonus.php b/public/mybonus.php index dea011ef..577ff04f 100644 --- a/public/mybonus.php +++ b/public/mybonus.php @@ -391,6 +391,7 @@ for ($i=0; $i < count($allBonus); $i++) if($CURUSER['seedbonus'] >= $bonusarray['points']) { + $permission = 'sendinvite'; if ($bonusarray['art'] == 'gift_1'){ print("