1 [% USE HTML %][% USE LxERP %]<body>
9 <p><div class="listtop">[% title %]</div></p>
11 <form method="post" action="projects.pl">
13 <input type="hidden" name="project.id" value="[% HTML.escape(project.id) %]">
14 <input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
16 <ul id="maintab" class="shadetabs">
17 <li class="selected"><a href="#" rel="basic_data">Basisdaten</a></li>
18 [%- IF CUSTOM_VARIABLES.size %]
19 <li><a href="#" rel="custom_variables">Benutzerdefinierte Variablen</a></li>
23 <div class="tabcontentstyle">
25 <div id="basic_data" class="tabcontent">
29 <th align="right">Nummer</th>
30 <td><input name="project.projectnumber" size="20" value="[% HTML.escape(project.projectnumber) %]"></td>
34 <th align="right">Beschreibung</th>
36 [%- SET rows = LxERP.numtextrows(project.description, 60) %]
38 <textarea name="project.description" rows="rows" cols="60" style="width: 100%" wrap="soft">[% HTML.escape(project.description) %]</textarea>
40 <input name="project.description" size="60" value="[% HTML.escape(project.description) %]">
47 <th align="right"> </th>
49 <input type="radio" name="project.active" id="active_1" value="1"[% IF project.active %] checked[% END %]><label for="active_1">Aktiv</label>
50 <input type="radio" name="project.active" id="active_0" value="0"[% IF !project.active %] checked[% END %]><label for="active_0">Inaktiv</label>
56 <br style="clear: left" />
59 [%- IF CUSTOM_VARIABLES.size %]
60 <div id="custom_variables" class="tabcontent">
64 [%- FOREACH var = CUSTOM_VARIABLES %]
66 <td align="right" valign="top">[% HTML.escape(var.description) %]</td>
67 <td valign="top">[% var.HTML_CODE %]</td>
73 <br style="clear: left" />
80 <input type="submit" class="submit" name="action" value="Speichern">
82 <input type="submit" class="submit" name="action" value="als neu speichern">
83 [%- IF project.orphaned %]
84 <input type="submit" class="submit" name="action" value="Löschen">
86 <input type="button" onclick="set_history_window([% HTML.escape(project.id) %]);" name="history" id="history" value="Historie">
91 <script type="text/javascript">
93 var maintab = new ddtabcontent("maintab");
94 maintab.setpersist(true);
95 maintab.setselectedClassTarget("link"); //"link" or "linkparent"