]> git.sur5r.net Git - contagged/blobdiff - templates/list.tpl
Fixed problem with login check within Chrome 33.x and auto-completion
[contagged] / templates / list.tpl
index 9c3b02e9eed53975507a5fc8691cf831dcfe98e7..a413fb4907367feee5752a046e3e0f0621eef0f6 100644 (file)
@@ -1,15 +1,23 @@
 {include file="header.tpl"}
 
-<table cellspacing="0" cellpadding="0" width="100%" align="center">
-  {if $list == ''}
+<table cellspacing="0" cellpadding="0" width="100%" align="center" class="list">
+  {if $conf.userlogreq == 1 && $user == ''}
     <tr>
       <td align="center">
-        {$lang.err_noentries}
+      {$lang.msg_login}
       </td>
     </tr>
   {else}
-    {* $list is a concatenation of multiple list_entry.tpl *}
-    {$list}
+    {if $list == ''}
+      <tr>
+        <td align="center">
+          {$lang.err_noentries}
+        </td>
+      </tr>
+    {else}
+      {* $list is a concatenation of multiple list_entry.tpl *}
+      {$list}
+    {/if}
   {/if}
 </table>