-
Notifications
You must be signed in to change notification settings - Fork 1
/
fileupload.tpl
89 lines (89 loc) · 3.31 KB
/
fileupload.tpl
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
<section class="content container-fluid">
<div class="col-xs-12 col-xs-offset-0 col-sm-10 col-sm-offset-1 col-md-10 col-md-offset-1 col-lg-10 col-lg-offset-1 no-padding">
{if !empty($error)}
<div class="alert alert-danger">{$error}</div>
{/if}
{if !empty($noerror)}
<div class="alert alert-info">{$noerror}</div>
{/if}
{if $newserverversion !== true AND !empty($serverinfo['virtualserver_version'])}
<div class="alert alert-warning">{$lang['serverupdateav']}{$newserverversion}</div>
{/if}
</div>
<div class="row">
<div class="col-xs-12 col-xs-offset-0 col-sm-8 col-sm-offset-2 col-md-6 col-md-offset-3 col-lg-4 col-lg-offset-4">
<form enctype="multipart/form-data" action="index.php?site=fileupload&sid={$sid}" method="post">
<div class="box box-primary">
<div class="box-header">
<h3 class="box-title">{$lang['iconupload']}</h3>
</div>
<div class="box-body">
<p>{$lang['iconupinfo']}</p>
<div class="form-group">
<input type="hidden" name="max_file_size" value="81920" />
<input name="thefile" type="file" class="" />
</div>
<div class="form-group no-margin">
<input type="submit" class="btn btn-flat btn-block btn-primary" name="upload" value="{$lang['iconupload']}" />
</div>
</div>
</div>
</form>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-xs-offset-0 col-sm-10 col-sm-offset-1 col-md-10 col-md-offset-1 col-xs-12 col-xs-offset-0 col-sm-10 col-sm-offset-1 col-md-10 col-md-offset-1 col-lg-10 col-lg-offset-1">
<div class="box box-info">
<div class="box-body">
<form method="post" action="index.php?site=fileupload&sid={$sid}">
<div class="table-responsive">
<table class="table table-striped table-vert-mid">
<tr>
<th width="5%"></th>
<th>{$lang['name']}</th>
<th class="text-center">{$lang['id']}</th>
<th class="text-center">Maße</th>
<th class="text-center">Type</th>
<th width="25%" class="text-center">
<div class="checkbox-inline">
<label>
<input type="checkbox" name="checkall" value="0" onclick="check(2)" />
<b>{$lang['delete']} {$lang['selectall']}</b>
</label>
</div>
</th>
</tr>
{foreach key=key item=value from=$allicons}
<tr>
<td class="no-padding text-center"><img width="16" height="16" src="site/showfile.php?name=icon_{$value.name}&port={$port}" alt="{$key}" /></td>
<td>{$key}</td>
<td class="text-center">{$value.id}</td>
<td class="text-center">{$value.info.0}*{$value.info.1}</td>
<td class="text-center">
{if $value.info.2 == 1}
.gif
{elseif $value.info.2 == 2}
.jpg
{elseif $value.info.2 == 3}
.png
{/if}
</td>
<td class="text-center">
<input type="checkbox" id="list{$value['virtualserver_id']}" name="delicons[]" value="/{$key}" />
</td>
</tr>
{/foreach}
<tr>
<td colspan="5"></td>
<td>
<input type="submit" name="delaction" class="btn btn-danger btn-flat btn-block" value="{$lang['delete']}" />
</td>
</tr>
</table>
</div>
</form>
</div>
</div>
</div>
</div>
</section>