|
@@ -2,27 +2,45 @@ |
|
|
block discarded – undo |
|
2
|
2
|
<form action = '' method = 'POST' enctype="multipart/form-data"> |
|
3
|
3
|
<div class ="form-group"> |
|
4
|
4
|
<label>Название сайта</label> |
|
5
|
|
- <input class ="form-control" type = 'text' name = 'site_name' value = '<?php if (!empty(\App::$primary->config['site']['name'])) echo \App::$primary->config['site']['name']; ?>' /> |
|
|
5
|
+ <input class ="form-control" type = 'text' name = 'site_name' value = '<?php if (!empty(\App::$primary->config['site']['name'])) { |
|
|
6
|
+ echo \App::$primary->config['site']['name']; |
|
|
7
|
+} |
|
|
8
|
+?>' /> |
|
6
|
9
|
</div> |
|
7
|
10
|
<div class ="form-group"> |
|
8
|
11
|
<label>Название компании</label> |
|
9
|
|
- <input class ="form-control" type = 'text' name = 'company_name' value = '<?php if (!empty(\App::$primary->config['site']['company_name'])) echo \App::$primary->config['site']['company_name']; ?>' /> |
|
|
12
|
+ <input class ="form-control" type = 'text' name = 'company_name' value = '<?php if (!empty(\App::$primary->config['site']['company_name'])) { |
|
|
13
|
+ echo \App::$primary->config['site']['company_name']; |
|
|
14
|
+} |
|
|
15
|
+?>' /> |
|
10
|
16
|
</div> |
|
11
|
17
|
<div class ="form-group"> |
|
12
|
18
|
<label>Основной домен</label> |
|
13
|
|
- <input class ="form-control" type = 'text' name = 'site_domain' value = '<?php if (!empty(\App::$primary->config['site']['domain'])) echo \App::$primary->config['site']['domain']; ?>' /> |
|
|
19
|
+ <input class ="form-control" type = 'text' name = 'site_domain' value = '<?php if (!empty(\App::$primary->config['site']['domain'])) { |
|
|
20
|
+ echo \App::$primary->config['site']['domain']; |
|
|
21
|
+} |
|
|
22
|
+?>' /> |
|
14
|
23
|
</div> |
|
15
|
24
|
<div class ="form-group"> |
|
16
|
25
|
<label>Контактный email</label> |
|
17
|
|
- <input class ="form-control" type = 'text' name = 'site_email' value = '<?php if (!empty(\App::$primary->config['site']['email'])) echo \App::$primary->config['site']['email']; ?>' /> |
|
|
26
|
+ <input class ="form-control" type = 'text' name = 'site_email' value = '<?php if (!empty(\App::$primary->config['site']['email'])) { |
|
|
27
|
+ echo \App::$primary->config['site']['email']; |
|
|
28
|
+} |
|
|
29
|
+?>' /> |
|
18
|
30
|
</div> |
|
19
|
31
|
<div class ="form-group"> |
|
20
|
32
|
<label>Ключевые слова</label> |
|
21
|
|
- <input class ="form-control" type = 'text' name = 'site_keywords' value = '<?php if (!empty(\App::$primary->config['site']['keywords'])) echo \App::$primary->config['site']['keywords']; ?>' /> |
|
|
33
|
+ <input class ="form-control" type = 'text' name = 'site_keywords' value = '<?php if (!empty(\App::$primary->config['site']['keywords'])) { |
|
|
34
|
+ echo \App::$primary->config['site']['keywords']; |
|
|
35
|
+} |
|
|
36
|
+?>' /> |
|
22
|
37
|
</div> |
|
23
|
38
|
<div class ="form-group"> |
|
24
|
39
|
<label>Краткое описание сайта</label> |
|
25
|
|
- <input class ="form-control" type = 'text' name = 'site_description' value = '<?php if (!empty(\App::$primary->config['site']['description'])) echo \App::$primary->config['site']['description']; ?>' /> |
|
|
40
|
+ <input class ="form-control" type = 'text' name = 'site_description' value = '<?php if (!empty(\App::$primary->config['site']['description'])) { |
|
|
41
|
+ echo \App::$primary->config['site']['description']; |
|
|
42
|
+} |
|
|
43
|
+?>' /> |
|
26
|
44
|
</div> |
|
27
|
45
|
<?php |
|
28
|
46
|
$form = new Ui\Form(); |