| 98 |
lars |
1 |
{include file="header.tpl" focus="album.a_name"}
|
|
|
2 |
<form name="album" method="post" enctype="multipart/form-data" action="{$SCRIPT_NAME}" onsubmit="return check_album_form();">
|
|
|
3 |
<table>
|
|
|
4 |
<tr>
|
|
|
5 |
<th>{$L_PROPERTY}</th>
|
|
|
6 |
<th>{$L_VALUE}</th>
|
|
|
7 |
</tr>
|
|
|
8 |
<tr>
|
|
|
9 |
<td>{$L_ALBUM_NAME}</td>
|
|
|
10 |
<td><input type="text" name="a_name" value="{$a_name}" size="50"></td>
|
|
|
11 |
</tr>
|
|
|
12 |
<tr>
|
|
|
13 |
<td>{$L_YEAR}</td>
|
|
|
14 |
<td><input type="text" name="a_year" value="{$a_year}" size="4"></td>
|
|
|
15 |
</tr>
|
|
|
16 |
<tr>
|
|
|
17 |
<td>{$L_ARTIST}</td>
|
|
|
18 |
<td>{html_options name="a_artist" options=$artists selected=$cur_a_artist}</td>
|
|
|
19 |
</tr>
|
|
|
20 |
<tr>
|
|
|
21 |
<td>{$L_GENRE}</td>
|
|
|
22 |
<td>{html_options name="a_genre" options=$genres selected=$cur_genre}</td>
|
|
|
23 |
</tr>
|
|
|
24 |
<tr class="row3">
|
|
|
25 |
<td>Bild</td>
|
|
|
26 |
<td><input type="file" class="post" name="a_pic" accept="image/gif,image/jpeg,image/x-png"></td>
|
|
|
27 |
</tr>
|
|
|
28 |
{if $a_pic}
|
|
|
29 |
<tr>
|
|
|
30 |
<td>{$L_ALBUM_PIC}</td>
|
|
|
31 |
<td><img src="../images/alben/{$a_pic}" border="0" width="100"> <input type="checkbox" name="del" value=1>löschen</td>
|
|
|
32 |
</tr>
|
|
|
33 |
{else}
|
|
|
34 |
<tr>
|
|
|
35 |
<td><input type="hidden" name="del" value="0"></td>
|
|
|
36 |
<td></td>
|
|
|
37 |
</tr>
|
|
|
38 |
{/if}
|
|
|
39 |
<tr>
|
|
|
40 |
<td class="catBottom" colspan="2"><input class="mainoption" type="submit" value="{$L_SAVE}"></td>
|
|
|
41 |
</tr>
|
|
|
42 |
</table>
|
|
|
43 |
<input type="hidden" name="mode" value="{$new_mode}">
|
|
|
44 |
<input type="hidden" name="id" value="{$id}">
|
|
|
45 |
</form>
|
|
|
46 |
{include file="footer.tpl"}
|