X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=WEB-INF%2Ftemplates%2Fmobile%2Ftime_edit.tpl;h=8c6a14142d18291befd1709833134c90e81b0e9e;hb=182ed39acb3600d991ff4742848a75c5ed2ba728;hp=729d3ce9e6cb9ce30af891b443617696edde34a6;hpb=a781da5661a1932521e0d1feb4be340b97edce9a;p=timetracker.git
diff --git a/WEB-INF/templates/mobile/time_edit.tpl b/WEB-INF/templates/mobile/time_edit.tpl
index 729d3ce9..8c6a1414 100644
--- a/WEB-INF/templates/mobile/time_edit.tpl
+++ b/WEB-INF/templates/mobile/time_edit.tpl
@@ -1,224 +1,22 @@
-
+{include file="time_script.tpl"}
{$forms.timeRecordForm.open}
-
+
-
+ |
-{if in_array('cl', explode(',', $user->plugins))}
+{if $user->isPluginEnabled('cl')}
{$i18n.label.client}: |
{$forms.timeRecordForm.client.control} |
{/if}
-{if in_array('iv', explode(',', $user->plugins))}
+{if $user->isPluginEnabled('iv')}
|
{/if}
{if ($custom_fields && $custom_fields->fields[0])}
- {$custom_fields->fields[0]['label']|escape:'html'}: |
+ {$custom_fields->fields[0]['label']|escape}: |
{$forms.timeRecordForm.cf_1.control} |
{/if}
{if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
| |