diff --git a/app/Config/Constants.php b/app/Config/Constants.php index d3303f0..4a44262 100644 --- a/app/Config/Constants.php +++ b/app/Config/Constants.php @@ -167,15 +167,6 @@ define('AUTH_ADAPTERS', [ 'TOKEN_NAME' => getenv('auth.google.client.token_name') ?: "access_token", ], ]); -//등급 관련 -define('FORM_OPTIONS', [ - 'ROLE' => [ - 'guest' => '비회원', 'user' => '일반회원', 'vip' => 'VIP회원', - 'bronze' => '일반판매자', 'silver' => '고급판매자', 'gold' => '파워리셀러', - 'manager' => '관리자', 'cloudflare' => "Cloudflare관리자", 'director' => '감독자', 'master' => "마스터", - ], - 'STATUS' => ["use" => "사용", "unuse" => "사용않함",], -]); //Upload , Download 관련 define('PATHS', [ diff --git a/app/Language/ko/Board.php b/app/Language/ko/Board.php index a08d63d..1f82e4c 100644 --- a/app/Language/ko/Board.php +++ b/app/Language/ko/Board.php @@ -18,5 +18,5 @@ return [ 'updated_at' => "수정일", 'created_at' => "작성일" ], - "STATUS" => FORM_OPTIONS['STATUS'], + 'STATUS' => ['use' => '사용', 'unuse' => '사용않함'], ]; diff --git a/app/Language/ko/BoardConfig.php b/app/Language/ko/BoardConfig.php index 6d49c20..f7fad60 100644 --- a/app/Language/ko/BoardConfig.php +++ b/app/Language/ko/BoardConfig.php @@ -1,4 +1,9 @@ '일반회원', 'vip' => 'VIP회원', + 'bronze' => '일반판매자', 'silver' => '고급판매자', 'gold' => '파워리셀러', + 'manager' => '관리자', 'cloudflare' => "Cloudflare관리자", 'director' => '감독자', 'master' => "마스터", +]; return [ 'title' => "게시판설정 정보", 'label' => [ @@ -16,11 +21,12 @@ return [ 'updated_at' => "수정일", 'created_at' => "작성일" ], - "ISACCESS" => FORM_OPTIONS['ROLE'], - "ISREAD" => FORM_OPTIONS['ROLE'], - "ISWRITE" => FORM_OPTIONS['ROLE'], - "ISREPLY" => FORM_OPTIONS['ROLE'], - "ISUPLOAD" => FORM_OPTIONS['ROLE'], - "ISDOWNLOAD" => FORM_OPTIONS['ROLE'], - "STATUS" => FORM_OPTIONS['STATUS'], + "ISACCESS" => $roles, + "ISREAD" => $roles, + "ISWRITE" => $roles, + "ISREPLY" => $roles, + "ISUPLOAD" => $roles, + "ISDOWNLOAD" => $roles, + "STATUS" => $roles, + 'STATUS' => ['use' => '사용', 'unuse' => '사용않함'], ]; diff --git a/app/Language/ko/Category.php b/app/Language/ko/Category.php index 0f9e1fb..fb2f2e2 100644 --- a/app/Language/ko/Category.php +++ b/app/Language/ko/Category.php @@ -13,5 +13,5 @@ return [ 'updated_at' => "수정일", 'created_at' => "작성일" ], - "STATUS" => FORM_OPTIONS['STATUS'], + 'STATUS' => ['use' => '사용', 'unuse' => '사용않함'], ]; diff --git a/app/Language/ko/User.php b/app/Language/ko/User.php index c54c9ba..857209b 100644 --- a/app/Language/ko/User.php +++ b/app/Language/ko/User.php @@ -13,6 +13,10 @@ return [ 'updated_at' => '수정일', 'created_at' => '작성일' ], - 'ROLE' => FORM_OPTIONS['ROLE'], - 'STATUS' => FORM_OPTIONS['STATUS'], + 'ROLE' => [ + 'user' => '일반회원', 'vip' => 'VIP회원', + 'bronze' => '일반판매자', 'silver' => '고급판매자', 'gold' => '파워리셀러', + 'manager' => '관리자', 'cloudflare' => "Cloudflare관리자", 'director' => '감독자', 'master' => "마스터", + ], + 'STATUS' => ['use' => '사용', 'unuse' => '사용않함'], ]; diff --git a/app/Views/templates/admin/header.php b/app/Views/templates/admin/header.php index edb803d..f8a2e17 100644 --- a/app/Views/templates/admin/header.php +++ b/app/Views/templates/admin/header.php @@ -1,3 +1,3 @@
-

+

\ No newline at end of file diff --git a/app/Views/templates/front/header.php b/app/Views/templates/front/header.php index edb803d..f8a2e17 100644 --- a/app/Views/templates/front/header.php +++ b/app/Views/templates/front/header.php @@ -1,3 +1,3 @@
-

+

\ No newline at end of file