mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
#1851 보완
This commit is contained in:
parent
75978c77fe
commit
024c69390d
3 changed files with 11 additions and 11 deletions
|
|
@ -100,7 +100,7 @@ class boardController extends board
|
|||
$logged_info = Context::get('logged_info');
|
||||
|
||||
// Set anonymous information
|
||||
if($this->module_info->use_anonymous == 'Y' && ($this->module_info->anonymous_except_admin != 'Y' || !$this->grant->manager))
|
||||
if($this->module_info->use_anonymous == 'Y' && (!$this->grant->manager || ($this->module_info->anonymous_except_admin ?? 'N') !== 'Y'))
|
||||
{
|
||||
if(!$obj->document_srl)
|
||||
{
|
||||
|
|
@ -140,7 +140,7 @@ class boardController extends board
|
|||
if($oDocument->get('status') == DocumentModel::getConfigStatus('temp'))
|
||||
{
|
||||
// if use anonymous, set the member_srl to a negative number
|
||||
if($this->module_info->use_anonymous == 'Y' && ($this->module_info->anonymous_except_admin != 'Y' || !$this->grant->manager))
|
||||
if($this->module_info->use_anonymous == 'Y' && (!$this->grant->manager || ($this->module_info->anonymous_except_admin ?? 'N') !== 'Y'))
|
||||
{
|
||||
$obj->member_srl = abs($oDocument->get('member_srl')) * -1;
|
||||
$oDocument->add('member_srl', $obj->member_srl);
|
||||
|
|
@ -197,7 +197,7 @@ class boardController extends board
|
|||
else
|
||||
{
|
||||
// if use anonymous, set the member_srl to a negative number
|
||||
if($this->module_info->use_anonymous == 'Y' && ($this->module_info->anonymous_except_admin != 'Y' || !$this->grant->manager))
|
||||
if($this->module_info->use_anonymous == 'Y' && (!$this->grant->manager || ($this->module_info->anonymous_except_admin ?? 'N') !== 'Y'))
|
||||
{
|
||||
$obj->member_srl = $logged_info->member_srl * -1;
|
||||
}
|
||||
|
|
@ -449,7 +449,7 @@ class boardController extends board
|
|||
}
|
||||
|
||||
// For anonymous use, remove writer's information and notifying information
|
||||
if($this->module_info->use_anonymous == 'Y' && ($this->module_info->anonymous_except_admin != 'Y' || !$this->grant->manager))
|
||||
if($this->module_info->use_anonymous == 'Y' && (!$this->grant->manager || ($this->module_info->anonymous_except_admin ?? 'N') !== 'Y'))
|
||||
{
|
||||
$this->module_info->admin_mail = '';
|
||||
$obj->notify_message = 'N';
|
||||
|
|
@ -757,7 +757,7 @@ class boardController extends board
|
|||
|
||||
// get the module information
|
||||
$module_info = ModuleModel::getModuleInfoByMid($mid);
|
||||
if(empty($module_info->module) || $module_info->module !== 'board' || ($module_info->use_anonymous === 'Y' && ($this->module_info->anonymous_except_admin != 'Y' || !$this->grant->manager)))
|
||||
if(empty($module_info->module) || $module_info->module !== 'board' || $module_info->use_anonymous === 'Y')
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ $lang->except_notice = 'Exclude Notices';
|
|||
$lang->use_bottom_list = 'Display Bottom List';
|
||||
$lang->customize_bottom_list = 'Customize Bottom List';
|
||||
$lang->use_anonymous = 'Use Anonymous';
|
||||
$lang->anonymous_except_admin = 'Except Admin about Anonymous';
|
||||
$lang->anonymous_except_admin = 'Anonymous Except Admin';
|
||||
$lang->anonymous_name = 'Anonymous Name for Display';
|
||||
$lang->cmd_manage_menu = 'Manage Menus';
|
||||
$lang->list_target_item = 'Target Item';
|
||||
|
|
@ -33,7 +33,7 @@ $lang->about_use_bottom_list = 'Display the list at the bottom when viewing an a
|
|||
$lang->about_customize_bottom_list = 'Calculating the bottom list consumes a lot of server resources.<br />You may be able to reduce DB load by not calculating it exactly when not needed.<br />This should have no effect on SEO.';
|
||||
$lang->about_use_anonymous_part1 = 'Hide the author\'s nickname to turn this board into an anonymous board.';
|
||||
$lang->about_use_anonymous_part2 = 'It is more useful if you also hide the nickname in the skin.<br>Please also turn off document history, or the author\'s information may be revealed by the history.';
|
||||
$lang->about_anonymous_except_admin = 'Administrator members\' nicknames would not be hidden.';
|
||||
$lang->about_anonymous_except_admin = 'The administrator\'s nickname will not be hidden.';
|
||||
$lang->about_anonymous_name = 'You can customize the anonymous name that is displayed instead of the author\'s nickname.<br><b>$NUM</b> will be replaced with a random number that is unique to each member. (e.g. anon_$NUM → anon_12345678)<br><b>$DAILYNUM</b> will be replaced with a random number that is unique to each member but changes every day.<br><b>$DOCNUM</b> will be replaced with a random number that is unique to each member and changes from document to document.<br><b>$DOCDAILYNUM</b> will be replaced with a random number that is unique to each member and changes every day from document to document.';
|
||||
$lang->about_board = 'This module is for creating and managing boards.';
|
||||
$lang->about_consultation = 'Non-administrator members would see their own articles. Non-members would not be able to write articles when using consultation.';
|
||||
|
|
@ -102,4 +102,4 @@ $lang->cmd_board_include_modules = 'Include Boards';
|
|||
$lang->cmd_board_include_modules_none = '(None)';
|
||||
$lang->cmd_board_include_days = 'Include Duration';
|
||||
$lang->about_board_include_days = 'Only combine recent documents. If this value is set to 0, all documents from selected boards will be combined.<br />Durations shorter than 1 day can be set as fractions of a day, e.g. 0.25 days = 6 hours.';
|
||||
$lang->cmd_board_include_notice = 'Include Notices';
|
||||
$lang->cmd_board_include_notice = 'Include Notices';
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ $lang->except_notice = '공지사항 제외';
|
|||
$lang->use_bottom_list = '하단목록 표시';
|
||||
$lang->customize_bottom_list = '하단목록 설정';
|
||||
$lang->use_anonymous = '익명 사용';
|
||||
$lang->anonymous_except_admin = '관리자 익명 적용';
|
||||
$lang->anonymous_except_admin = '관리자 익명 제외';
|
||||
$lang->anonymous_name = '익명 닉네임';
|
||||
$lang->cmd_manage_menu = '메뉴관리';
|
||||
$lang->list_target_item = '대상 항목';
|
||||
|
|
@ -34,7 +34,7 @@ $lang->about_use_bottom_list = '글읽기 화면 하단에도 목록을 표시
|
|||
$lang->about_customize_bottom_list = '게시물이 많은 경우 하단목록 계산에 많은 서버 자원이 소요됩니다.<br />불필요한 상황에서 하단목록을 계산하지 않도록 하면 DB 부하를 크게 줄일 수 있습니다.<br />검색 노출에는 영향을 주지 않습니다.';
|
||||
$lang->about_use_anonymous_part1 = '글쓴이의 정보를 제거하고 익명으로 게시판을 사용하도록 합니다.';
|
||||
$lang->about_use_anonymous_part2 = '스킨 설정에서 글쓴이 정보 등을 숨기도록 설정하면 더욱 유용합니다.<br>추가 설정에서 문서 히스토리가 켜져 있으면 문서 수정시 작성자가 표시될 수 있으니 주의하십시오.';
|
||||
$lang->about_anonymous_except_admin = '관리권한이 있는 회원은 익명 기능을 적용하지 않도록 합니다.';
|
||||
$lang->about_anonymous_except_admin = '관리권한이 있는 회원은 익명으로 표시되지 않도록 합니다.';
|
||||
$lang->about_anonymous_name = '익명 기능을 사용할 때 표시할 익명 닉네임을 정할 수 있습니다.<br><b>$NUM</b>을 사용하면 회원마다 고유한 난수를 부여할 수 있습니다. (예: 익명_$NUM → 익명_12345678)<br><b>$DAILYNUM</b>을 사용하면 매일 난수가 변경되고, <b>$DOCNUM</b>을 사용하면 문서마다 변경됩니다.<br><b>$DOCDAILYNUM</b>을 사용하면 문서마다 각각, 그리고 매일 변경됩니다.';
|
||||
$lang->about_board = '게시판을 생성하고 관리할 수 있습니다.';
|
||||
$lang->about_consultation = '상담 기능은 관리권한이 없는 회원은 자신이 쓴 글만 보이도록 하는 기능입니다. 단 상담기능 사용시 비회원 글쓰기는 자동으로 금지됩니다.';
|
||||
|
|
@ -114,4 +114,4 @@ $lang->cmd_board_include_modules = '포함할 게시판 선택';
|
|||
$lang->cmd_board_include_modules_none = '(포함하지 않음)';
|
||||
$lang->cmd_board_include_days = '포함할 기간';
|
||||
$lang->about_board_include_days = '최근 글만 모으도록 설정할 수 있습니다. 0을 입력하면 위에서 선택한 게시판의 모든 글을 모아서 보여 줍니다.<br />1일 미만의 기간은 소수로 표현할 수 있습니다. 예: 0.25일 = 6시간';
|
||||
$lang->cmd_board_include_notice = '공지글 포함';
|
||||
$lang->cmd_board_include_notice = '공지글 포함';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue