Skip to content
Permalink
Browse files

enable log autoloading for logged-off users; updates #785

  • Loading branch information...
following5 committed Aug 15, 2015
1 parent 881bc7f commit 112659c6421e936c0837ce9a81fd79da6a3ef6d7
Showing with 4 additions and 4 deletions.
  1. +2 −2 htdocs/templates2/ocstyle/viewcache.tpl
  2. +2 −2 htdocs/viewcache.php
@@ -555,7 +555,7 @@ function showalllists()
<div id="logblock">
{include file="res_logentry.tpl" header_footer=true footbacklink=false logs=$logs cache=$cache}
{if $showalllogs}
{if $morelogs}
<div class="content2-container bg-blue02">
<p id="showalllogs" class="content-title-noshade-size2">
<img id="showalllogs_img" src="resource2/{$opt.template.style}/images/action/16x16-showall.png" style="margin-right: 10px;" width="16" height="16" alt="{t}Show all logentries{/t}" />
@@ -566,7 +566,7 @@ function showalllists()
{/if}
</div>
{if $showalllogs && $autoload_logs}
{if $morelogs && $autoload_logs}
<script type="text/javascript">
window.onscroll = onScroll;
</script>
@@ -242,7 +242,7 @@ function getChildWaypoints($cacheid)
if (isset($logs[$rscount]))
{
unset($logs[$rscount]);
$tpl->assign('showalllogs', true);
$tpl->assign('morelogs', true);
}
$loganz = sizeof($logs);
$tpl->assign('logs', $logs);
@@ -326,7 +326,7 @@ function getChildWaypoints($cacheid)
}
else
{
$autoload_logs = false;
$autoload_logs = true;
}
$tpl->assign('userzoom', $userzoom);
$tpl->assign('autoload_logs', $autoload_logs);

0 comments on commit 112659c

Please sign in to comment.
You can’t perform that action at this time.