]> git.sur5r.net Git - contagged/blobdiff - templates/list.tpl
only for edit: integrated new fields, check if field exist, restructuring
[contagged] / templates / list.tpl
index fe16dfd8d636d55833686c05907946e45624e353..99acd01c3260fb436ad6728360983c50eef71be4 100644 (file)
@@ -1,14 +1,24 @@
-<br><br>
+{include file="header.tpl"}
+
 <table cellspacing="0" cellpadding="0" width="100%" align="center">
-  {if $list == ''}
+  {if $conf.userlogreq == 1 && $user == ''}
     <tr>
       <td align="center">
-        {$lang.err_noentries}
+      {* include un truc *} {$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>
-<br><br><br>
+
+{include file="footer.tpl"}