瀏覽代碼

Format code

LaurentTreguier 9 年之前
父節點
當前提交
d513e019de
共有 5 個文件被更改,包括 6 次插入13 次删除
  1. 2
    1
      .gitignore
  2. 1
    3
      controllers/data.php
  3. 1
    3
      controllers/files.php
  4. 1
    3
      controllers/login.php
  5. 1
    3
      controllers/promo.php

+ 2
- 1
.gitignore 查看文件

1
 .idea/
1
 .idea/
2
-*.swp
2
+*.swp
3
+.tags

+ 1
- 3
controllers/data.php 查看文件

2
 
2
 
3
 function data()
3
 function data()
4
 {
4
 {
5
-    return html("data.html.php");
5
+    return html('data.html.php');
6
 }
6
 }
7
 
7
 
8
 function data_extract()
8
 function data_extract()
14
 {
14
 {
15
     // TODO
15
     // TODO
16
 }
16
 }
17
-
18
-?>

+ 1
- 3
controllers/files.php 查看文件

2
 
2
 
3
 function files()
3
 function files()
4
 {
4
 {
5
-    return html("files.html.php");
5
+    return html('files.html.php');
6
 }
6
 }
7
 
7
 
8
 function add_file()
8
 function add_file()
19
 {
19
 {
20
     // TODO
20
     // TODO
21
 }
21
 }
22
-
23
-?>

+ 1
- 3
controllers/login.php 查看文件

2
 
2
 
3
 function login()
3
 function login()
4
 {
4
 {
5
-    return html("login.html.php");
5
+    return html('login.html.php');
6
 }
6
 }
7
 
7
 
8
 function check_login()
8
 function check_login()
9
 {
9
 {
10
     // TODO
10
     // TODO
11
 }
11
 }
12
-
13
-?>

+ 1
- 3
controllers/promo.php 查看文件

2
 
2
 
3
 function promo()
3
 function promo()
4
 {
4
 {
5
-    return html("promo.html.php");
5
+    return html('promo.html.php');
6
 }
6
 }
7
 
7
 
8
 function add_promo()
8
 function add_promo()
19
 {
19
 {
20
     // TODO
20
     // TODO
21
 }
21
 }
22
-
23
-?>