projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added Serbian translation
[timetracker.git]
/
WEB-INF
/
templates
/
header.tpl
diff --git
a/WEB-INF/templates/header.tpl
b/WEB-INF/templates/header.tpl
index
90a4289
..
3affffc
100644
(file)
--- a/
WEB-INF/templates/header.tpl
+++ b/
WEB-INF/templates/header.tpl
@@
-160,11
+160,11
@@
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
$err->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">
- {foreach $err
ors
->getErrors() as $error}
+ {foreach $err->getErrors() as $error}
{$error.message}<br> {* No need to escape as they are not coming from user and may contain a link. *}
{/foreach}
</td>
{$error.message}<br> {* No need to escape as they are not coming from user and may contain a link. *}
{/foreach}
</td>
@@
-174,11
+174,11
@@
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
$msg->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">
- {foreach $m
essages
->getErrors() as $message}
+ {foreach $m
sg
->getErrors() as $message}
{$message.message}<br> {* No need to escape. *}
{/foreach}
</td>
{$message.message}<br> {* No need to escape. *}
{/foreach}
</td>