aboutsummaryrefslogtreecommitdiffstats
path: root/template/default/admin/thumbnail.tpl
blob: f03ae1748e6fe137be2a84e18908387a3444aff6 (plain)
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
<!-- BEGIN directory_list -->
<div class="admin">{L_THUMBNAIL_TITLE}</div>
<ul class="menu">
  <!-- BEGIN directory -->
  <li>[<a href="{directory_list.directory.URL}">{directory_list.directory.DIRECTORY}</a>] {directory_list.directory.NB_MISSING} {L_MISSING_THUMBNAILS}</li>
  <!-- END directory -->
</ul>
<!-- END directory_list -->
<!-- BEGIN warning -->
<div style="text-align:center;font-weight:bold;margin:10px;"> [ 0 {L_UNLINK} ]</div>
<!-- END warning -->

<!-- BEGIN errors -->
<div class="errors">
<ul>
  <!-- BEGIN error -->
  <li>{errors.error.ERROR}</li>
  <!-- END error -->
</ul>
</div>
<!-- END errors -->

<!-- BEGIN results -->
<div class="admin">{L_RESULTS}</div>
<table style="width:100%;">
  <tr class="throw">
    <th>&nbsp;</td>
    <th>{L_TN_PICTURE}</td>
    <th>{L_FILESIZE}</td>
    <th>{L_WIDTH}</td>
    <th>{L_HEIGHT}</td>
    <th>{L_GENERATED}</th>
    <th>{L_THUMBNAIL}</td>
    <th>{L_FILESIZE}</td>
    <th>{L_WIDTH}</td>
    <th>{L_HEIGHT}</td>
  </tr>
  <!-- BEGIN picture -->
  <tr class="{results.picture.T_CLASS}">
    <td>{results.picture.NB_IMG}</td>
    <td>{results.picture.FILE_IMG}</td>
    <td style="text-align:right;">{results.picture.FILESIZE_IMG}</td>
    <td style="text-align:right;">{results.picture.WIDTH_IMG}</td>
    <td style="text-align:right;">{results.picture.HEIGHT_IMG}</td>
    <th>
      <div style="text-align:right;margin-right:5px;color:{results.picture.T_COLOR};">{results.picture.GEN_TIME}</div>
    </th>
    <td><img src="{results.picture.TN_FILE_IMG}" /></td>
    <td style="text-align:right;">{results.picture.TN_FILESIZE_IMG}</td>
    <td style="text-align:right;">{results.picture.TN_WIDTH_IMG}</td>
    <td style="text-align:right;">{results.picture.TN_HEIGHT_IMG}</td>
  </tr>
  <!-- END picture -->
  <tr>
    <td colspan="10">&nbsp;</td>
  </tr>
</table>
<table class="table2">
  <tr class="throw">
    <th colspan="2">{L_TN_STATS}</td>
  </tr>
  <tr>
    <td>{L_TN_NB_STATS}</td>
    <td style="text-align:center;">{results.TN_NB}</td>
  </tr>
  <tr>
    <td>{L_TN_TOTAL}</td>
    <td style="text-align:right;">{results.TN_TOTAL}</td>
  </tr>
  <tr>
    <td>{L_TN_MAX}</td>
    <td style="text-align:right;color:red;">{results.TN_MAX}</td>
  </tr>
  <tr>
    <td>{L_TN_MIN}</td>
    <td style="text-align:right;color:#33FF00;">{results.TN_MIN}</td>
  </tr>
  <tr>
    <td>{L_TN_AVERAGE}</td>
    <td style="text-align:right;">{results.TN_AVERAGE}</td>
  </tr>
</table>
<br />
<!-- END results -->

<!-- BEGIN params -->
<form method="post" action="{params.F_ACTION}">
  <table style="width:100%;">
    <tr>
      <th class="admin" colspan="3">{L_PARAMS}</th>
    </tr>
    <tr><td colspan="3">&nbsp;</td></tr>
    <tr>
      <td><div class="key">{L_GD}</div></td>
      <td class="choice">
        <input type="radio" name="gd" value="2" {params.GD2_CHECKED} />2.x
        <input type="radio" name="gd" value="1" {params.GD1_CHECKED} />1.x
      </td>
      <td style="width:50%;" class="row2">{L_GD_INFO}</td>
    </tr>
    <tr>
      <td><div class="key">{L_WIDTH}</div></td>
      <td class="choice">
        <input type="text" name="width" value="{params.WIDTH_TN}"/>
      </td>
      <td>{L_WIDTH_INFO}</td>
    </tr>
    <tr>
      <td><div class="key">{L_HEIGHT}</div></td>
      <td class="choice">
        <input type="text" name="height" value="{params.HEIGHT_TN}"/>
      </td>
      <td>{L_HEIGHT_INFO}</td>
    </tr>
    <tr>
      <td><div class="key">{L_CREATE}</div></td>
      <td class="choice">
        <select name="n">
          <option selected>5</option>
          <option>10</option>
          <option>20</option>
          <option>40</option>
        </select>
      </td>
      <td>{L_CREATE_INFO}</td>
    </tr>
    <tr>
      <td><div class="key">{L_FORMAT}</div></td>
      <td class="choice"><span style="font-weight:bold;">jpeg</span></td>
      <td>{L_FORMAT_INFO}</td>
    </tr>
    <tr>
      <td colspan="3" style="text-align:center;">
        <input type="submit" name="submit" class="bouton" value="{L_SUBMIT}"/>
      </td>
    </tr>
  </table>
</form>
<!-- END params -->

<!-- BEGIN remainings -->
<div class="admin">{remainings.TOTAL_IMG} {L_REMAINING}</div>
<table style="width:100%;">
  <tr class="throw">
    <th>&nbsp;</td>
    <th style="width:60%;">{L_TN_PICTURE}</td>
    <th>{L_FILESIZE}</td>
    <th>{L_WIDTH}</td>
    <th>{L_HEIGHT}</td>
  </tr>
  <!-- BEGIN remaining -->
  <tr class="{remainings.remaining.T_CLASS}">
    <td>{remainings.remaining.NB_IMG}</td>
    <td><div style="margin-left:10px;">{remainings.remaining.FILE_TN}</div></td>
    <td><div style="margin-left:10px;">{remainings.remaining.FILESIZE_IMG}</div></td>
    <td><div style="margin-left:10px;">{remainings.remaining.WIDTH_IMG}</div></td>
    <td><div style="margin-left:10px;">{remainings.remaining.HEIGHT_IMG}</div></td>
  </tr>
  <!-- END remaining -->
</table>
<!-- END remainings -->