enabled external tool extensions in adminreports interface
This commit is contained in:
@ -178,6 +178,10 @@
|
||||
$tpl->assign('lastmodified', $record['lastmodified']);
|
||||
$tpl->assign('cachename', $record['cachename']);
|
||||
$tpl->assign('ownerid', $record['ownerid']);
|
||||
if (isset($opt['logic']['adminreports']['cachexternal']))
|
||||
$tpl->assign('cachexternal', $opt['logic']['adminreports']['cachexternal']);
|
||||
else
|
||||
$tpl->assign('cachexternal', array());
|
||||
}
|
||||
sql_free_result($rs);
|
||||
|
||||
|
@ -53,7 +53,12 @@
|
||||
<p style="line-height: 2.5m;">{t}(*) New reports{/t}</p>
|
||||
{/if}
|
||||
{else}
|
||||
<p style="line-height: 1.6em;">{t}Details for report of {/t} <a href="viewcache.php?cacheid={$cacheid}" target="_blank">{$cachename|escape}</a> {t} by {/t} <a href="viewprofile.php?userid={$userid}" target="_blank">{$usernick|escape}</a></p>
|
||||
<p style="line-height: 1.6em;">{t}Details for report of {/t} <a href="viewcache.php?cacheid={$cacheid}" target="_blank">{$cachename|escape}</a> {t} by {/t} <a href="viewprofile.php?userid={$userid}" target="_blank">{$usernick|escape}</a>
|
||||
|
||||
{foreach from=$cachexternal key=extname item=exturl}
|
||||
[<a href="{$exturl|replace:_cache_id_:$cacheid}" target="_blank">{$extname}</a>]
|
||||
{/foreach}
|
||||
</p>
|
||||
{if $created != null}
|
||||
<p style="line-height: 1.6em;"><b>{t}Created at{/t}:</b> {$created|date_format:$opt.format.datelong}</p>
|
||||
{/if}
|
||||
|
Reference in New Issue
Block a user