X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fmobile%2Ftimer.tpl;h=631f4977dc4fd7ab6226f29f3fad4892432486c9;hb=0a0a4488fe34267f070436a9e34b733388581728;hp=5b9e3aa5edb3906992c76fee37567109e4dfe150;hpb=c2422b1c289617775ca58ba490586e81864044cd;p=timetracker.git
diff --git a/WEB-INF/templates/mobile/timer.tpl b/WEB-INF/templates/mobile/timer.tpl
index 5b9e3aa5..631f4977 100644
--- a/WEB-INF/templates/mobile/timer.tpl
+++ b/WEB-INF/templates/mobile/timer.tpl
@@ -1,166 +1,7 @@
-
-
-
+{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
+ |
|