projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Introduced isPost() function to keep things shorter
[timetracker.git]
/
WEB-INF
/
templates
/
header.tpl
diff --git
a/WEB-INF/templates/header.tpl
b/WEB-INF/templates/header.tpl
index
2d3bb20
..
2e058ef
100644
(file)
--- a/
WEB-INF/templates/header.tpl
+++ b/
WEB-INF/templates/header.tpl
@@
-55,7
+55,7
@@
With 101% height we essentially force the scrollbar to always appear. -->
</tr>
</table>
<!-- End of top image -->
</tr>
</table>
<!-- End of top image -->
-
+
{if $authenticated}
{if $user->isAdmin()}
<!-- Top menu for admin -->
{if $authenticated}
{if $user->isAdmin()}
<!-- Top menu for admin -->
@@
-160,7
+160,7
@@
With 101% height we essentially force the scrollbar to always appear. -->
<!-- End of page title and user details -->
<!-- Output errors -->
<!-- End of page title and user details -->
<!-- Output errors -->
-{if
!$errors->isEmpty
()}
+{if
$errors->yes
()}
<table cellspacing="4" cellpadding="7" width="{$tab_width}" border="0">
<tr>
<td class="error">
<table cellspacing="4" cellpadding="7" width="{$tab_width}" border="0">
<tr>
<td class="error">
@@
-174,7
+174,7
@@
With 101% height we essentially force the scrollbar to always appear. -->
<!-- End of output errors -->
<!-- Output messages -->
<!-- End of output errors -->
<!-- Output messages -->
-{if
!$messages->isEmpty
()}
+{if
$messages->yes
()}
<table cellspacing="4" cellpadding="7" width="{$tab_width}" border="0">
<tr>
<td class="info_message">
<table cellspacing="4" cellpadding="7" width="{$tab_width}" border="0">
<tr>
<td class="info_message">
@@
-185,4
+185,4
@@
With 101% height we essentially force the scrollbar to always appear. -->
</tr>
</table>
{/if}
</tr>
</table>
{/if}
- <!-- End of output messages -->
\ No newline at end of file
+ <!-- End of output messages -->