blob: b19360bfed1ff7cf4641016c4118cc90df230e83 (
plain) (
blame)
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
|
<div class="generic-content-wrapper">
<div class="section-title-wrapper"><a title="{{$new}}" class="btn btn-primary btn-sm float-end" href="admin/profs/new"><i class="bi bi-plus-lg"></i> {{$new}}</a><h2>{{$title}}</h2>
<div class="clear"></div>
</div>
<div class="section-content-tools-wrapper">
<div class="section-content-info-wrapper">{{$all_desc}}
<br /><br />
{{$all}}
</div>
<form action="admin/profs" method="post">
{{include file="field_textarea.tpl" field=$basic}}
{{include file="field_textarea.tpl" field=$advanced}}
<input type="submit" name="submit" class="btn btn-primary" value="{{$submit}}" />
</form>
{{if $cust_fields}}
<br /><br />
<div><strong>{{$cust_field_desc}}</strong></div>
<br />
<table width="100%">
{{foreach $cust_fields as $field}}
<tr><td>{{$field.field_name}}</td><td>{{$field.field_desc}}</td><td><a class="btn btn-danger btn-sm" href="admin/profs/drop/{{$field.id}}" title="{{$drop}}"><i class="bi bi-trash"></i> {{$drop}}</a> <a class="btn btn-sm" title="{{$edit}}" href="admin/profs/{{$field.id}}" ><i class="bi bi-pencil"></i></a></td></tr>
{{/foreach}}
</table>
{{/if}}
</div>
</div>
|