Browse Source

스킨 설정 개편

Surplus_Up (2DU) 6 years ago
parent
commit
f796d58c64
3 changed files with 4 additions and 7 deletions
  1. 1 0
      language/en-US.json
  2. 2 1
      language/ko-KR.json
  3. 1 6
      views/marisa/js/skin_set.js

+ 1 - 0
language/en-US.json

@@ -181,6 +181,7 @@
         "admin_group" : "Admin group",
         "topic_setting" : "Topic setting(s)",
         "old_page" : "Old decument(s)",
+        "skin_set" : "Skin setting(s)",
         "_comment_2.1_" : "Filter",
             "_comment_2.1.1_" : "List",
                 "interwiki_list" : "Interwiki(s) list",

+ 2 - 1
language/ko-KR.json

@@ -298,5 +298,6 @@
     "link": "링크",
     "icon": "아이콘",
     "topic_setting" : "토론 설정",
-    "old_page" : "오래된 문서"
+    "old_page" : "오래된 문서",
+    "skin_set" : "스킨 설정"
 }

+ 1 - 6
views/marisa/js/skin_set.js

@@ -81,7 +81,6 @@ function skin_set() {
                 "default" : "Default",
                 "change_to_normal" : "Change to normal text",
                 "delete" : "Delete",
-                "skin_setting" : "Skin settings",
                 "include_link" : "Using include link",
                 "save" : "Save",
                 "strike" : "Strike",
@@ -92,7 +91,6 @@ function skin_set() {
                 "default" : "기본값",
                 "change_to_normal" : "일반 텍스트로 변경",
                 "delete" : "삭제",
-                "skin_setting" : "스킨 설정",
                 "include_link" : "틀 링크 사용",
                 "save" : "저장",
                 "strike" : "취소선",
@@ -111,11 +109,8 @@ function skin_set() {
         if(!language in set_language) {
             language = "en-US";
         }
-
-        document.getElementById("main_top").innerHTML = '<h1>' + set_language[language]['skin_setting'] + '</h1>';
-        document.title = document.title.replace(/.*(\- .*)$/, set_language[language]['skin_setting'] + " $1");
         
-        data = document.getElementById("main_data");
+        data = document.getElementById("main_skin_set");
         set_data = {};
 
         if(cookies.match(regex_data('del_strike'))) {