3 <meta http-equiv="content-type" content="text/html; charset={$smarty.const.CHARSET}">
4 <meta name="viewport" content="width=device-width, initial-scale=1.0">
5 <link rel="icon" href="../favicon.ico" type="image/x-icon">
6 <link rel="shortcut icon" href="../favicon.ico" type="image/x-icon">
7 <link href="../{$smarty.const.DEFAULT_CSS}" rel="stylesheet" type="text/css">
8 {if $i18n.language.rtl}
9 <link href="../{$smarty.const.RTL_CSS}" rel="stylesheet" type="text/css">
11 <title>Time Tracker{if $title} - {$title}{/if}</title>
12 <script src="../js/strftime.js"></script>
14 {* Setup locale for strftime *}
17 <script src="../js/strptime.js"></script>
20 <body leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" {$onload}>
22 {assign var="tab_width" value="300"}
24 <table height="100%" cellspacing="0" cellpadding="0" width="320" border="0">
26 <td valign="top" align="center"> <!-- This is to centrally align all our content. -->
29 <table cellspacing="0" cellpadding="0" width="100%" border="0">
31 {if $user->custom_logo}
34 <td bgcolor="#a6ccf7" background="../images/top_bg.gif" align="center">
36 <table cellspacing="0" cellpadding="0" width="{$tab_width}" border="0">
39 <table cellspacing="0" cellpadding="0" width="100%" border="0">
40 <tr><td height="6" colspan="2"><img width="1" height="6" src="../images/1x1.gif" border="0"></td></tr>
42 {if $user->custom_logo}
43 <td height="55" align="center"><img alt="Time Tracker" width="300" height="43" src="{$mobile_custom_logo}" border="0"></td>
45 <td height="55" align="center"><img alt="Anuko Time Tracker" width="300" height="43" src="../images/tt_logo.png" border="0"></td>
55 <!-- End of top image -->
57 <!-- Output errors -->
59 <table cellspacing="4" cellpadding="7" width="{$tab_width}" border="0">
62 {foreach $err->getErrors() as $error}
63 {$error.message}<br> {* No need to escape as they are not coming from user and may contain a link. *}
69 <!-- End of output errors -->
71 <!-- Output messages -->
73 <table cellspacing="4" cellpadding="7" width="{$tab_width}" border="0">
75 <td class="info_message">
76 {foreach $msg->getErrors() as $message}
77 {$message.message}<br> {* No need to escape. *}
83 <!-- End of output messages -->