Explorar el Código

버그 수정 및 문구 추가

2DU hace 9 años
padre
commit
dd7dd0e2a2
Se han modificado 2 ficheros con 4 adiciones y 1 borrados
  1. 3 0
      views/login.tpl
  2. 1 1
      views/read.tpl

+ 3 - 0
views/login.tpl

@@ -58,4 +58,7 @@
         % end
     % end
     <button class="btn btn-primary" type="submit">{{enter}}</button>
+    <br>
+    <br>
+    <span>만약 HTTPS 연결이 아닌 경우 데이터가 유출 될 가능성이 있습니다. 이에 대해 책임 지지 않습니다.</span>
 </form>

+ 1 - 1
views/read.tpl

@@ -5,7 +5,7 @@
         <a class="menu-item selected" href="#" onclick="return false">
             문서
         </a>
-        % if(defined('data_none')):
+        % if(data_none == True):
             <a class="menu-item" href="/edit/{{page}}">생성</a>
         % else:
             <a class="menu-item" href="/edit/{{page}}">수정</a>