잉여개발기 (SPDV) %!s(int64=3) %!d(string=hai) anos
pai
achega
9989f409ce
Modificáronse 4 ficheiros con 10 adicións e 6 borrados
  1. 3 3
      route/recent_change.py
  2. 2 2
      route/recent_history_tool.py
  3. 1 1
      version.json
  4. 4 0
      views/main_css/css/main.css

+ 3 - 3
route/recent_change.py

@@ -105,8 +105,8 @@ def recent_change(name = None, tool = ''):
 
                 if data[6] == 'O':
                     if admin == 1:
-                        style[0] = 'id="toron_color_grey"'
-                        style[1] = 'id="toron_color_grey"'
+                        style[0] = 'class="opennamu_history_blind"'
+                        style[1] = 'class="opennamu_history_blind"'
                     else:
                         ip = ''
                         ban = ''
@@ -114,7 +114,7 @@ def recent_change(name = None, tool = ''):
                         send = ''
 
                         style[0] = 'style="display: none;"'
-                        style[1] = 'id="toron_color_grey"'
+                        style[1] = 'class="opennamu_history_blind"'
 
                 if tool == 'history':
                     title = '<a href="/w_rev/' + data[0] + '/' + url_pas(name) + '">r' + data[0] + '</a> '

+ 2 - 2
route/recent_history_tool.py

@@ -23,7 +23,7 @@ def recent_history_tool(name = 'Test', rev = 1):
         data += '</ul>'
 
         if admin_check(6) == 1:
-            data += '<h3>admin</h3>'
+            data += '<h3>' + load_lang('admin') + '</h3>'
             data += '<ul class="inside_ul">'
             curs.execute(db_change('' + \
                 'select title from history ' + \
@@ -39,7 +39,7 @@ def recent_history_tool(name = 'Test', rev = 1):
             data += '</ul>'
 
         if admin_check() == 1:
-            data += '<h3>owner</h3>'
+            data += '<h3>' + load_lang('owner') + '</h3>'
             data += '<ul class="inside_ul">'
             data += '<li><a href="/history_delete/' + num + '/' + url_pas(name) + '">' + load_lang('history_delete') + '</li>'
             data += '<li><a href="/history_send/' + num + '/' + url_pas(name) + '">' + load_lang('send_edit') + '</li>'

+ 1 - 1
version.json

@@ -1,6 +1,6 @@
 {
     "beta" : {
-        "r_ver" : "v3.4.5 (stable2) (beta3) (dev53)",
+        "r_ver" : "v3.4.5 (stable2) (beta3) (dev54)",
         "c_ver" : "3500114",
         "s_ver" : "3500110"
     }

+ 4 - 0
views/main_css/css/main.css

@@ -241,6 +241,10 @@ s:hover, strike:hover, del:hover {
     background: aquamarine;
 }
 
+.opennamu_history_blind {
+    background: gainsboro;
+}
+
 /* 기타 */
 .main_hr {
     border: none;