-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathcopyrights.tpl
101 lines (100 loc) · 3.47 KB
/
copyrights.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
90
91
92
93
94
95
96
97
98
99
100
101
<h2>{tr}Copyrights:{/tr} <a href="tiki-index.php?page={$page|escape:"url"}">{$page}</a></h2>
<table class="formcolor">
{section name=i loop=$copyrights}
<tr>
<td>
<form action="copyrights.php?page={$page}" method="post">
<input type="hidden" name="page" value="{$page|escape}">
<input type="hidden" name="copyrightId" value="{$copyrights[i].copyrightId|escape}">
<table class="formcolor">
<tr>
<td>
<label for="copyleft-title">{tr}Title:{/tr}</label>
</td>
<td>
<input size="40" class="wikitext" type="text" name="copyrightTitle" id="copyleft-title" value="{$copyrights[i].title|escape}">
</td>
</tr>
<tr>
<td>
<label for="copyleft-year">{tr}Year:{/tr}</label>
</td>
<td>
<input size="4" class="wikitext" type="text" name="copyrightYear" id="copyleft-year" value="{$copyrights[i].year|escape}">
</td>
</tr>
<tr>
<td>
<label for="copyleft-authors">{tr}Authors:{/tr}</label>
</td>
<td>
<input size="40" class="wikitext" type="text" name="copyrightAuthors" id="copyleft-authors" value="{$copyrights[i].authors|escape}">
</td>
</tr>
<tr>
<td>
<label for="copyleft-holder">{tr}Copyright Holder:{/tr}</label>
</td>
<td>
<input size="40" class="wikitext" type="text" name="copyrightHolder" id="copyleft-holder" value="{$copyrights[i].holder|escape}">
</td>
</tr>
</table>
</td>
<td align="right">
<input type="submit" name="editcopyright" value="{tr}Edit{/tr}">
<br>
<a title="{tr}Delete{/tr}" href="copyrights.php?page={$page|escape:"url"}&action=delete&copyrightId={$copyrights[i].copyrightId}" >{icon _id='cross' alt="{tr}Remove{/tr}"}</a>
<a href="copyrights.php?page={$page|escape:"url"}&action=up&copyrightId={$copyrights[i].copyrightId}">{icon _id='resultset_up'}</a>
<a href="copyrights.php?page={$page|escape:"url"}&action=down&copyrightId={$copyrights[i].copyrightId}">{icon _id='resultset_down'}</a>
</form>
</td>
</tr>
{/section}
<tr>
<td>
<form action="copyrights.php?page={$page}">
<table class="formcolor">
<tr>
<td>
<label for="copyleft-tit">{tr}Title:{/tr}</label>
</td>
<td>
<input size="40" class="wikitext" type="text" name="copyrightTitle" id="copyleft-tit" value="{$copyrights[i].title|escape}">
</td>
</tr>
<tr>
<td>
<label for="copyleft-yyyy">{tr}Year:{/tr}</label>
</td>
<td>
<input size="4" class="wikitext" type="text" name="copyrightYear" id="copyleft-yyyy" value="{$copyrights[i].year|escape}">
</td>
</tr>
<tr>
<td>
<label for="copyleft-auth">{tr}Authors:{/tr}</label>
</td>
<td>
<input size="40" class="wikitext" type="text" name="copyrightAuthors" id="copyleft-auth" value="{$copyrights[i].authors|escape}">
</td>
</tr>
<tr>
<td>
<label for="copyleft-hold">{tr}Copyright Holder:{/tr}</label>
</td>
<td>
<input size="40" class="wikitext" type="text" name="copyrightHolder" id="copyleft-hold" value="{$copyrights[i].holder|escape}">
</td>
</tr>
<tr>
<td>
<input type="submit" name="addcopyright" value="{tr}Add{/tr}">
</td>
</tr>
</table>
<input type="hidden" name="page" value="{$page|escape}">
</form>
</td>
</tr>
</table>