-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadmin_adv_extras.html
executable file
·97 lines (70 loc) · 3.14 KB
/
admin_adv_extras.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!-- Breadcrumbs -->
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="./">{lang.R_CPINDEX}</a></li>
<li class="breadcrumb-item">{lang.R_EXTRA}</li>
<IF NAME="current_smt == he">
<li class="breadcrumb-item active">{lang.ADD_HEADER_EXTRA}</li>
<ELSEIF NAME="current_smt == fe">
<li class="breadcrumb-item active">{lang.ADD_FOOTER_EXTRA}</li>
</IF>
</ol>
<form method="post" action="{action}" id="extra_form">
<IF NAME="current_smt == he">
<div class="card">
<div class="card-body">
{lang.EX_HEADER_N}
</div>
</div>
<br>
<div id="accordion" role="tablist">
<LOOP NAME="extra_pages.header">
<div class="card mt-2">
<div class="card-header" role="tab" id="heading{{name}}">
<h6 class="mb-0">
<a data-toggle="collapse" href="#collapse{{name}}" aria-expanded="true" aria-controls="collapse{{name}}">
{olang.ADVANCED_EXTRAS_APPEAR_PAGE}: {{title}}
</a>
</h6>
</div>
<div id="collapse{{name}}" class="collapse " role="tabpanel" aria-labelledby="heading{{name}}" data-parent="#accordion">
<div class="card-body">
<div class="form-group">
<textarea id="ex_header_{{name}}" name="ex_header_x[{{name}}]" class="form-control" rows="8">{{value}}</textarea>
</div>
</div>
</div>
</div>
</LOOP>
</div>
<ELSEIF NAME="current_smt == fe">
<div class="card">
<div class="card-body">
{lang.EX_FOOTER_N}
</div>
</div>
<br>
<div id="accordion" role="tablist">
<LOOP NAME="extra_pages.footer">
<div class="card mt-2">
<div class="card-header" role="tab" id="heading{{name}}">
<h6 class="mb-0">
<a data-toggle="collapse" href="#collapse{{name}}" aria-expanded="true" aria-controls="collapse{{name}}">
{olang.ADVANCED_EXTRAS_APPEAR_PAGE}: {{title}}
</a>
</h6>
</div>
<div id="collapse{{name}}" class="collapse " role="tabpanel" aria-labelledby="heading{{name}}" data-parent="#accordion">
<div class="card-body">
<div class="form-group">
<textarea id="ex_footer_{{name}}" name="ex_footer_x[{{name}}]" class="form-control" rows="8">{{value}}</textarea>
</div>
</div>
</div>
</div>
</LOOP>
</div>
</IF>
<br>
<input type="submit" name="submit" value="{lang.UPDATE_EXTRA}" class="btn btn-primary">
{H_FORM_KEYS}
</form>