projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fremdschlüssel-Constraint für oe und employee (über ID) hinzugefügt. Beim harten...
[kivitendo-erp.git]
/
templates
/
webpages
/
dbupgrade
/
units_services_de.html
diff --git
a/templates/webpages/dbupgrade/units_services_de.html
b/templates/webpages/dbupgrade/units_services_de.html
index
211d96d
..
0304c38
100644
(file)
--- a/
templates/webpages/dbupgrade/units_services_de.html
+++ b/
templates/webpages/dbupgrade/units_services_de.html
@@
-1,17
+1,14
@@
-<div class="listtop">Schritt 2 von 3: Dienstleistungen</div>
+
[% USE HTML %]
<div class="listtop">Schritt 2 von 3: Dienstleistungen</div>
<form name="Form" method="post" action="login.pl">
<form name="Form" method="post" action="login.pl">
- <input type="hidden" name="path" value="<TMPL_VAR path ESCAPE=HTML>">
- <input type="hidden" name="login" value="<TMPL_VAR login ESCAPE=HTML>">
- <input type="hidden" name="hashed_password" value="<TMPL_VAR password ESCAPE=HTML>">
<input type="hidden" name="unit_type" value="service">
<input type="hidden" name="action" value="login">
<input type="hidden" name="action2" value="">
<input type="hidden" name="unit_type" value="service">
<input type="hidden" name="action" value="login">
<input type="hidden" name="action2" value="">
- <TMPL_IF saved_message>
- <p>
<TMPL_VAR saved_message>
</p>
- </TMPL_IF>
+ [% IF saved_message %]
+ <p>
[% saved_message %]
</p>
+ [% END %]
<div class="subsubheading">Einheit hinzufügen</div>
<div class="subsubheading">Einheit hinzufügen</div>
@@
-21,7
+18,7
@@
<p>
Die folgenden Einheiten existieren bereits:
<p>
Die folgenden Einheiten existieren bereits:
- <TMPL_LOOP NEW_BASE_UNIT_DDBOX><TMPL_IF name><TMPL_VAR name ESCAPE=HTML><TMPL_UNLESS __last__>; </TMPL_UNLESS></TMPL_IF></TMPL_LOOP>
+ [% FOREACH row = NEW_BASE_UNIT_DDBOX %][% IF row.name %][% HTML.escape(row.name) %][% UNLESS loop.last %]; [% END %][% END %][% END %]
</p>
<hr>
</p>
<hr>
@@
-35,7
+32,7
@@
<th align="right">Basiseinheit</th>
<td>
<select name="new_base_unit">
<th align="right">Basiseinheit</th>
<td>
<select name="new_base_unit">
- <TMPL_LOOP NEW_BASE_UNIT_DDBOX><option <TMPL_VAR selected>><TMPL_VAR name></option></TMPL_LOOP>
+ [% FOREACH row = NEW_BASE_UNIT_DDBOX %]<option [% row.selected %]>[% row.name %]</option>[% END %]
</select>
</td>
</tr>
</select>
</td>
</tr>
@@
-62,19
+59,19
@@
<th class="listheading">Neue Einheit</th>
</tr>
<th class="listheading">Neue Einheit</th>
</tr>
- <TMPL_LOOP UNKNOWN_PART_UNITS>
- <tr class="listrow
<TMPL_IF __odd__>1<TMPL_ELSE>0</TMPL_IF>
">
+ [% FOREACH row = UNKNOWN_PART_UNITS %]
+ <tr class="listrow
[% loop.count % 2 %]
">
<td>
<td>
- <TMPL_VAR name ESCAPE=HTML>
- <input type="hidden" name="old_unit_
<TMPL_VAR __counter__>" value="<TMPL_VAR name ESCAPE=HTML>
">
+ [% HTML.escape(row.name) %]
+ <input type="hidden" name="old_unit_
[% loop.count %]" value="[% HTML.escape(row.name) %]
">
</td>
<td>
</td>
<td>
- <select name="new_unit_
<TMPL_VAR __counter__>
">
- <TMPL_LOOP NEW_UNITS><option><TMPL_VAR name ESCAPE=HTML></option></TMPL_LOOP>
+ <select name="new_unit_
[% loop.count %]
">
+ [% FOREACH row_new = row.NEW_UNITS %]<option>[% HTML.escape(row_new.name) %]</option>[% END %]
</select>
</td>
</select>
</td>
- <TMPL_IF __last__><input type="hidden" name="rowcount" value="<TMPL_VAR __counter__>"></TMPL_IF>
- </TMPL_LOOP>
+ [% IF loop.last %]<input type="hidden" name="rowcount" value="[% loop.count %]">[% END %]
+ [% END %]
</table>
<input type="submit" onclick="document.Form.action2.value = 'assign_units'; document.Form.submit();" name="dummy" value="Einheiten zuweisen">
</table>
<input type="submit" onclick="document.Form.action2.value = 'assign_units'; document.Form.submit();" name="dummy" value="Einheiten zuweisen">