3 [%- USE HTML %][%- USE LxERP %]
11 <p><div class="listtop">[% title %] [% HTML.escape(project.projectnumber) %]</div></p>
13 <form method="post" action="projects.pl">
15 <input type="hidden" name="project.id" value="[% HTML.escape(project.id) %]">
16 <input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
18 <ul id="maintab" class="shadetabs">
19 <li class="selected"><a href="#" rel="basic_data">[% 'Basic Data' | $T8 %]</a></li>
20 [%- IF CUSTOM_VARIABLES.size %]
21 <li><a href="#" rel="custom_variables">[% 'Custom Variables' | $T8 %]</a></li>
25 <div class="tabcontentstyle">
27 <div id="basic_data" class="tabcontent">
31 <th align="right">[% 'Number' | $T8 %]</th>
32 <td><input name="project.projectnumber" size="20" value="[% HTML.escape(project.projectnumber) %]"></td>
36 <th align="right">[% 'Description' | $T8 %]</th>
38 [%- SET rows = LxERP.numtextrows(project.description, 60) %]
40 <textarea name="project.description" rows="[% rows %]" cols="60" style="width: 100%" wrap="soft">[% HTML.escape(project.description) %]</textarea>
42 <input name="project.description" size="60" value="[% HTML.escape(project.description) %]">
49 <th align="right"> </th>
51 <input type="radio" name="project.active" id="active_1" value="1"[% IF project.active %] checked[% END %]><label for="active_1">[% 'Active' | $T8 %]</label>
52 <input type="radio" name="project.active" id="active_0" value="0"[% IF !project.active %] checked[% END %]><label for="active_0">[% 'Inactive' | $T8 %]</label>
58 <br style="clear: left" />
61 [%- IF CUSTOM_VARIABLES.size %]
62 <div id="custom_variables" class="tabcontent">
66 [%- FOREACH var = CUSTOM_VARIABLES %]
68 <td align="right" valign="top">[% HTML.escape(var.description) %]</td>
69 <td valign="top">[% var.HTML_CODE %]</td>
75 <br style="clear: left" />
82 [% L.online_help_tag('add_project') %]
83 <input type="submit" class="submit" name="action" value="[% 'Save' | $T8 %]">
85 <input type="submit" class="submit" name="action" value="[% 'Save as new' | $T8 %]">
86 [%- IF project.orphaned %]
87 <input type="submit" class="submit" name="action" value="[% 'Delete' | $T8 %]">
89 <input type="button" onclick="set_history_window([% HTML.escape(project.id) %]);" name="history" id="history" value="[% 'history' | $T8 %]">
94 <script type="text/javascript">
96 var maintab = new ddtabcontent("maintab");
97 maintab.setpersist(true);
98 maintab.setselectedClassTarget("link"); //"link" or "linkparent"
103 [% PROCESS 'common/help_overlay.html' %]