{*************************************************************************** * You can find the license in the docs directory * * Unicode Reminder メモ ***************************************************************************}

{include file="res_logtype.tpl" type=$logItem.type} {if $logItem.recommended==1} {t}Recommended{/t} {/if} {$logItem.date|date_format:$opt.format.datelong} {capture name=username} {$logItem.username|escape} {/capture} {if $logItem.type==1} {t 1=$smarty.capture.username}%1 found the Geocache{/t} {elseif $logItem.type==2} {t 1=$smarty.capture.username}%1 didn't find the Geoacache{/t} {elseif $logItem.type==3} {t 1=$smarty.capture.username}%1 wrote a note{/t} {elseif $logItem.type==7} {t 1=$smarty.capture.username}%1 has visited the event{/t} {elseif $logItem.type==8} {t 1=$smarty.capture.username}%1 wants to visit the event{/t} {else} {t 1=$smarty.capture.username}%1{/t} {/if}

{if $cache.userid==$login.userid || $logItem.userid==$login.userid}

{if $logItem.userid==$login.userid && ($cache.userid==$login.userid || $cache.status!=6)} [{t}Edit{/t}] {/if} {if $cache.userid==$login.userid || $logItem.userid==$login.userid} [{t}Delete{/t}] {/if} {if $logItem.userid==$login.userid && $cache.status!=6} [{t}Upload picture{/t}] {/if}

{/if}
{if $logItem.texthtml}

{$logItem.text}

{else}

{$logItem.text|smiley|hyperlink}

{/if} {foreach from=$logItem.pictures item=pictureItem name=pictures} {if $smarty.foreach.pictures.first} {t}Pictures for this logentry:{/t}
{/if} {$pictureItem.title|escape} {if $logItem.userid==$login.userid} [{t}Delete{/t}] {/if}
{/foreach}