X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Ftime_edit.tpl;h=f693215708fad973141081378ee19324edb2469c;hb=60d2288b7fca6caf0f5d9d3eee972f040eb24fb0;hp=ba8974fe1d749c75de0ba8a1c698469984b53275;hpb=9a23a8c0a51b7ec38a96f525484134f3cb85dc7e;p=timetracker.git
diff --git a/WEB-INF/templates/time_edit.tpl b/WEB-INF/templates/time_edit.tpl
index ba8974fe..f6932157 100644
--- a/WEB-INF/templates/time_edit.tpl
+++ b/WEB-INF/templates/time_edit.tpl
@@ -1,201 +1,4 @@
-
+{include file="time_script.tpl"}
{$forms.timeRecordForm.open}
@@ -203,15 +6,15 @@ function setNow(formField) {
-
+ |
-{if in_array('cl', explode(',', $user->plugins))}
+{if $user->isPluginEnabled('cl')}
- {$i18n.label.client}{if in_array('cm', explode(',', $user->plugins))} (*){/if}: |
+ {$i18n.label.client}{if $user->isPluginEnabled('cm')} (*){/if}: |
{$forms.timeRecordForm.client.control} |
{/if}
-{if in_array('iv', explode(',', $user->plugins))}
+{if $user->isPluginEnabled('iv')}
|
|
@@ -219,7 +22,7 @@ function setNow(formField) {
{/if}
{if ($custom_fields && $custom_fields->fields[0])}
- {$custom_fields->fields[0]['label']|escape:'html'}{if $custom_fields->fields[0]['required']} (*){/if}: | {$forms.timeRecordForm.cf_1.control} |
+ {$custom_fields->fields[0]['label']|escape}{if $custom_fields->fields[0]['required']} (*){/if}: | {$forms.timeRecordForm.cf_1.control} |
{/if}
{if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
@@ -230,7 +33,7 @@ function setNow(formField) {
{/if}
{if ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
- {$i18n.label.task} (*): |
+ {$i18n.label.task}: |
{$forms.timeRecordForm.task.control} |
{/if}
@@ -272,4 +75,4 @@ function setNow(formField) {
-{$forms.timeRecordForm.close}
\ No newline at end of file
+{$forms.timeRecordForm.close}
| |