res_logentries fixes and cleanup

This commit is contained in:
following
2013-08-08 20:44:39 +02:00
parent d14e4948fd
commit ac31ee5c07
4 changed files with 14 additions and 21 deletions

View File

@@ -8,7 +8,7 @@
{if $tagloadlogs}<ocloadlogs>{/if}
{if $header==true}
{if $header_footer}
<div class="content2-container bg-blue02" id="logentries">
<p class="content-title-noshade-size2">
<img src="resource2/{$opt.template.style}/images/description/22x22-logs.png" style="align: left; margin-right: 10px;" width="22" height="22" alt="Logs" />
@@ -25,34 +25,27 @@
</div>
<div class="content2-container">
{/if}
{foreach from=$logs item=logItem name=log}
{include file="res_logentry_logitem.tpl" logs=$logs cache=$cache}
{/foreach}
{if $footer==true && !$tagloadlogs}
{if $footbacklink==true}
<p><span style="font-weight: 400;">[<a href="viewcache.php?wp={$cache.wpoc|urlencode}">{t}Back to the Geocache{/t}</a>]</span></p>
{/if}
{foreach from=$logs item=logItem name=log}
{include file="res_logentry_logitem.tpl" logs=$logs cache=$cache}
{/foreach}
{if $header_footer}
{if $footbacklink && !$tagloadlogs}
<p><span style="font-weight: 400;">[<a href="viewcache.php?wp={$cache.wpoc|urlencode}">{t}Back to the Geocache{/t}</a>]</span></p>
{/if}
</div>
{* $footer==true *}
{/if}
{if tagloadlogs}</ocloadlogs>{/if}
{if $tagloadlogs}</ocloadlogs>{/if}
{* $log != "N" *}
{/if}
<script type="text/javascript">
<!--
init_enlargeit_for_logentries();
-->
</script>
{/if}

View File

@@ -510,7 +510,7 @@
<!-- Logs -->
<div id="logblock">
{include file="res_logentry.tpl" header=true footer=true footbacklink=false logs=$logs cache=$cache}
{include file="res_logentry.tpl" header_footer=true footbacklink=false logs=$logs cache=$cache}
{if $showalllogs}
<div class="content2-container bg-blue02">

View File

@@ -399,7 +399,7 @@
<tr><td class="spacer-print"><br /></td></tr>
<tr>
<td class="inner-print">
{include file="res_logentry.tpl" header=true footer=true footbacklink=false logs=$logs cache=$cache}
{include file="res_logentry.tpl" header_footer=true footbacklink=false logs=$logs cache=$cache}
</td>
</tr>
</table>

View File

@@ -4,4 +4,4 @@
* Unicode Reminder メモ
***************************************************************************}
{* OCSTYLE *}
{include file="res_logentry.tpl" header=true footer=true footbacklink=true cache=$cache logs=$logs}
{include file="res_logentry.tpl" header_footer=true footbacklink=true cache=$cache logs=$logs}