X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=WEB-INF%2Ftemplates%2Fmobile%2Ftimer.tpl;h=631f4977dc4fd7ab6226f29f3fad4892432486c9;hb=aad90b9cf0d58c784171189c0ccec3c15e947c23;hp=929d5c23e469f16611091414ec19a9f5d7f42c76;hpb=2ae2b6401a0758b21e016148851eadea7dd3f619;p=timetracker.git
diff --git a/WEB-INF/templates/mobile/timer.tpl b/WEB-INF/templates/mobile/timer.tpl
index 929d5c23..631f4977 100644
--- a/WEB-INF/templates/mobile/timer.tpl
+++ b/WEB-INF/templates/mobile/timer.tpl
@@ -1,165 +1,6 @@
-
-
-
-
-00:00
+{include file="time_script.tpl"}
+
00:00
-{/if}
-
-
-{$forms.timerRecordForm.open}
+{$forms.timeRecordForm.open}
-
+
-
+ |
-{if in_array('cl', explode(',', $user->plugins))}
+{if $user->isPluginEnabled('cl')}
{$i18n.label.client}: |
- {$forms.timerRecordForm.client.control} |
+ {$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'}: |
- {$forms.timerRecordForm.cf_1.control} |
+ {$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)}
{$i18n.label.project}: |
- {$forms.timerRecordForm.project.control} |
+ {$forms.timeRecordForm.project.control} |
{/if}
{if ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
{$i18n.label.task}: |
- {$forms.timerRecordForm.task.control} |
+ {$forms.timeRecordForm.task.control} |
{/if}
|
- {$forms.timerRecordForm.btn_start.control} {$forms.timerRecordForm.btn_stop.control} |
+ {$forms.timeRecordForm.btn_start.control} {$forms.timeRecordForm.btn_stop.control} |
-{$forms.timerRecordForm.close}
+{$forms.timeRecordForm.close}
{if $time_records}
-
+
- {$i18n.label.day_total}: |
+ {$i18n.label.day_total}: |
{$day_total} |
- {$i18n.label.week_total}: |
+ {$i18n.label.week_total}: |
{$week_total} |
{/if}
-
\ No newline at end of file
+ |
|