admins can log locked caches
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
{* Ocprop: /\?logid=([0-9a-f\-]+)" *}
|
||||
{if $cache.userid==$login.userid || $logItem.userid==$login.userid}
|
||||
<p class="editlog"><img src="images/trans.gif" border="0" width="16" height="16" alt="" title="" />
|
||||
{if $logItem.userid==$login.userid && ($cache.userid==$login.userid || $cache.status!=6)}
|
||||
{if $logItem.userid==$login.userid && ($cache.userid==$login.userid || $cache.status!=6 || $cache.adminlog)}
|
||||
<a href="editlog.php?logid={$logItem.id|urlencode}"><img src="resource2/{$opt.template.style}/images/action/16x16-properties.png" border="0" align="middle" border="0" width="16" height="16" alt="" /></a>
|
||||
[<a href="editlog.php?logid={$logItem.id|urlencode}">{t}Edit{/t}</a>]
|
||||
{/if}
|
||||
|
||||
@@ -80,8 +80,8 @@
|
||||
<ul id="cachemenu">
|
||||
<li class="title" >Cache Menu</li>
|
||||
{if $login.userid!=0}
|
||||
{if $cache.log_allowed}
|
||||
<li class="group"><a style="background-image: url(resource2/{$opt.template.style}/images/viewcache/new-entry-18.png);background-repeat:no-repeat;" href="log.php?cacheid={$cache.cacheid|urlencode}">{t}Log this cache{/t}</a></li>
|
||||
{if $cache.log_allowed || $cache.adminlog}
|
||||
<li class="group {if $cache.adminlog}hilite{/if}"><a style="background-image: url(resource2/{$opt.template.style}/images/viewcache/new-entry-18.png);background-repeat:no-repeat;" href="log.php?cacheid={$cache.cacheid|urlencode}">{t}Log this cache{/t}</a></li>
|
||||
{/if}
|
||||
|
||||
{if $watched==1}
|
||||
|
||||
Reference in New Issue
Block a user