| 1 |
lars |
1 |
{include file="header.tpl" focus=document.projekt.p_name}
|
|
|
2 |
{if $display}
|
|
|
3 |
<table width="740" cellspacing="0" cellpadding="0">
|
|
|
4 |
<tr>
|
|
|
5 |
<td valign="top">
|
|
|
6 |
<form action="{$SCRIPT_NAME}" method="post" onSubmit="return check_projekt_form();" name="projekt">
|
|
|
7 |
<table width="662">
|
|
|
8 |
<tr>
|
|
|
9 |
<td colspan="4" class="links">Projektliste</td>
|
|
|
10 |
</tr>
|
|
|
11 |
<tr>
|
|
|
12 |
<td class="links_projekt">Projektname</td>
|
|
|
13 |
<td class="rechts" width="480">
|
|
|
14 |
<input type="text" name="p_name" value="{$projekt->p_name}" size="40">
|
|
|
15 |
</td>
|
|
|
16 |
</tr>
|
|
|
17 |
<tr>
|
|
|
18 |
<td class="links_projekt">Projektleiter</td>
|
|
|
19 |
<td class="rechts">
|
|
|
20 |
{html_options values=$projekt_leiter_ids output=$projekt_leiter selected=$projekt->p_leiter_id name="p_leiter_id"}
|
|
|
21 |
</td>
|
|
|
22 |
</tr>
|
|
|
23 |
<tr>
|
|
|
24 |
<td class="links_projekt">Projektbeginn</td>
|
|
|
25 |
<td class="rechts">
|
|
|
26 |
{html_options name="p_von[Date_Day]" output=$tag_opts selected=$tag_sel_von values=$tag_val}
|
|
|
27 |
{html_options name="p_von[Date_Month]" output=$mon_opts selected=$mon_sel_von values=$mon_val}
|
|
|
28 |
{html_options name="p_von[Date_Year]" output=$y_opts selected=$y_sel_von values=$y_val} </td>
|
|
|
29 |
</tr>
|
|
|
30 |
<tr>
|
|
|
31 |
<td class="links_projekt">Projektende</td>
|
|
|
32 |
<td class="rechts">
|
|
|
33 |
{html_options name="p_bis[Date_Day]" output=$tag_opts selected=$tag_sel_bis values=$tag_val}
|
|
|
34 |
{html_options name="p_bis[Date_Month]" output=$mon_opts selected=$mon_sel_bis values=$mon_val}
|
|
|
35 |
{html_options name="p_bis[Date_Year]" output=$y_opts selected=$y_sel_bis values=$y_val}
|
|
|
36 |
</td>
|
|
|
37 |
</tr>
|
|
|
38 |
<tr>
|
|
|
39 |
<td class="links_projekt">Projektort</td>
|
|
|
40 |
<td class="rechts">
|
|
|
41 |
{html_options values=$projekt_ort_ids output=$projekt_orte selected=$projekt->p_ort_id name="p_ort_id"}
|
|
|
42 |
</td>
|
|
|
43 |
</tr>
|
|
|
44 |
<tr>
|
|
|
45 |
<td class="links_projekt">Beschreibung</td>
|
|
|
46 |
<td class="rechts">
|
|
|
47 |
<textarea name="p_beschreibung" cols="40" rows="10">{$projekt->p_beschreibung}</textarea>
|
|
|
48 |
</td>
|
|
|
49 |
</tr>
|
|
|
50 |
{if $action=="update"}
|
|
|
51 |
<tr>
|
|
|
52 |
<td colspan="2">
|
|
|
53 |
{include file="dokumente.tpl"}
|
|
|
54 |
</td>
|
|
|
55 |
</tr>
|
|
|
56 |
{/if}
|
|
|
57 |
<tr>
|
|
|
58 |
<td colspan="2" class="links" align="center">
|
|
|
59 |
<input type="submit" value="eintragen">
|
|
|
60 |
</td>
|
|
|
61 |
</tr>
|
|
|
62 |
</table>
|
|
|
63 |
<input type="hidden" name="action" value="{$action}">
|
|
|
64 |
<input type="hidden" name="p_id" value="{$projekt->p_id}">
|
|
|
65 |
</form>
|
|
|
66 |
</td>
|
|
|
67 |
<td width="77" align="right" valign="top">
|
|
|
68 |
{include file="buttons.tpl"}
|
|
|
69 |
</td>
|
|
|
70 |
</tr>
|
|
|
71 |
</table>
|
|
|
72 |
{else}
|
|
|
73 |
<table width="740" cellspacing="0" cellpadding="0">
|
|
|
74 |
<tr>
|
|
|
75 |
<td valign="top">
|
|
|
76 |
<table width="662" cellspacing="0" cellpadding="0">
|
|
|
77 |
<tr>
|
|
|
78 |
<td class="links">Keine Daten vorhanden!</td>
|
|
|
79 |
</tr>
|
|
|
80 |
</table>
|
|
|
81 |
</td>
|
|
|
82 |
<td width="77" align="right" valign="top">
|
|
|
83 |
{include file="buttons.tpl"}
|
|
|
84 |
</td>
|
|
|
85 |
</tr>
|
|
|
86 |
</table>
|
|
|
87 |
{/if}
|
|
|
88 |
{include file="footer.tpl"}
|