Skip to content
Permalink
Browse files

fixed MSIE start page cache lists display

  • Loading branch information...
following5 committed May 16, 2013
1 parent 5a564ab commit de572aab21db8f2227823b947eee2db61d2101f2
@@ -10,20 +10,23 @@
<ul class="nodot">
{foreach name=newcaches from=$newcaches item=cacheitem}
<li class="newcache_list_multi" style="margin-bottom: 8px;">
{include file="res_cacheicon_22.tpl" cachetype=$cacheitem.type}
<div style="margin-left: 29px;">
{$cacheitem.date_created|date_format:$opt.format.date}&nbsp;
<b><a class="links" href="viewcache.php?cacheid={$cacheitem.cache_id}">{$cacheitem.name|escape}</a></b>
<table class="null" cellspacing="0" cellpadding="0"><tr>
<td style="vertical-align:top; padding-right:2px; padding-top:2px" rowspan="2">{include file="res_cacheicon_22.tpl" cachetype=$cacheitem.type}</td>
<td style="vertical-align:top; ">{$cacheitem.date_created|date_format:$opt.format.date}&nbsp;&nbsp;</td>
<td style="text-align:left; width:100%"><b><a class="links" href="viewcache.php?cacheid={$cacheitem.cache_id}">{$cacheitem.name|escape}</a></b>
{t}by{/t}
<b><a class="links" href="viewprofile.php?userid={$cacheitem.user_id}">{$cacheitem.username|escape}</a></b><br />
<b><a class="links" href="viewprofile.php?userid={$cacheitem.user_id}">{$cacheitem.username|escape}</a></b></td>
</tr>
<tr><td colspan="2">
<strong>
<p class="content-title-noshade">
{$cacheitem.adm1|escape} {if $cacheitem.adm1!=null & $cacheitem.adm2!=null} &gt; {/if}
{$cacheitem.adm2|escape} {if ($cacheitem.adm2!=null & $cacheitem.adm4!=null) | ($cacheitem.adm1!=null & $cacheitem.adm4!=null)} &gt; {/if}
{$cacheitem.adm4|escape}
</p>
</strong>
</div>
</td>
</tr></table>
</li>
{/foreach}
</ul>
@@ -5,19 +5,24 @@
***************************************************************************}
<ul class="nodot">
{foreach name=events from=$events item=eventitem}
<li class="newcache_list_multi" style="margin-bottom: 8px;">
<img src="resource2/{$opt.template.style}/images/cacheicon/event-rand{rand min=1 max=4}.gif" alt="{t}Event Geocache{/t}" border="0" width="22" height="22" align="left" style="margin-right: 5px;" />
{$eventitem.date_hidden|date_format:$opt.format.date}&nbsp;
<b><a class="links" href="viewcache.php?cacheid={$eventitem.cache_id}">{$eventitem.name|escape}</a></b>
<li class="newcache_list_multi" style="margin-bottom: 8px;"><br /> {* Firefox needs this <br> - why?? *}
<table class="null" cellspacing="0" cellpadding="0"><tr>
<td style="vertical-align:top; padding-right:2px; padding-top:2px" rowspan="2"><img src="resource2/{$opt.template.style}/images/cacheicon/event-rand{rand min=1 max=4}.gif" alt="{t}Event Geocache{/t}" border="0" width="22" height="22" align="left" style="margin-right: 5px;" /></td>
<td style="vertical-align:top; ">{$eventitem.date_hidden|date_format:$opt.format.date}&nbsp;&nbsp;</td>
<td style="text-align:left; width:100%"><b><a class="links" href="viewcache.php?cacheid={$eventitem.cache_id}">{$eventitem.name|escape}</a></b>
{t}by{/t}
<b><a class="links" href="viewprofile.php?userid={$eventitem.user_id}">{$eventitem.username|escape}</a></b><br />
<b><a class="links" href="viewprofile.php?userid={$eventitem.user_id}">{$eventitem.username|escape}</a></b></td>
</tr>
<tr><td colspan="2">
<strong>
<p class="content-title-noshade">
{$eventitem.adm1|escape} {if $eventitem.adm1!=null & $eventitem.adm2!=null} &gt; {/if}
{$eventitem.adm2|escape} {if ($eventitem.adm2!=null & $eventitem.adm4!=null) | ($eventitem.adm1!=null & $eventitem.adm4!=null)} &gt; {/if}
{$eventitem.adm4|escape}
</p>
</strong>
</td>
</tr></table>
</li>
{/foreach}
</ul>
</ul>
@@ -6,22 +6,28 @@
<ul class="nodot">
{foreach name=topratings from=$topratings item=cacheitem}
<li class="newcache_list_multi" style="margin-bottom: 8px;">
{include file="res_cacheicon_22.tpl" cachetype=$cacheitem.type}
<table class="null" cellspacing="0" cellpadding="0"><tr>
<td style="vertical-align:top; padding-right:2px; padding-top:2px" rowspan="2">{include file="res_cacheicon_22.tpl" cachetype=$cacheitem.type}</td>
<td style="vertical-align:top; ">
{if $cacheitem.cRatings>=1}<img src="images/rating-star.gif" border="0" alt="{t 1=$cacheitem.cRatings}%1 Recommendations in the last 30 days{/t}">{/if}
{if $cacheitem.cRatings>=2}<img src="images/rating-star.gif" border="0" alt="{t 1=$cacheitem.cRatings}%1 Recommendations in the last 30 days{/t}">{/if}
{if $cacheitem.cRatings==3}<img src="images/rating-star.gif" border="0" alt="{t 1=$cacheitem.cRatings}%1 Recommendations in the last 30 days{/t}">{/if}
{if $cacheitem.cRatings>3}<img src="images/rating-plus.gif" border="0" alt="{t 1=$cacheitem.cRatings}%1 Recommendations in the last 30 days{/t}">{/if}
&nbsp;
<b><a class="links" href="viewcache.php?cacheid={$cacheitem.cache_id}">{$cacheitem.name|escape}</a></b>
{t}by{/t}
<b><a class="links" href="viewprofile.php?userid={$cacheitem.user_id}">{$cacheitem.username|escape}</a></b><br />
<b><a class="links" href="viewprofile.php?userid={$cacheitem.user_id}">{$cacheitem.username|escape}</a></b></td>
</tr>
<tr><td colspan="2">
<strong>
<p class="content-title-noshade">
{$cacheitem.adm1|escape} {if $cacheitem.adm1!=null & $cacheitem.adm2!=null} &gt; {/if}
{$cacheitem.adm2|escape} {if ($cacheitem.adm2!=null & $cacheitem.adm4!=null) | ($cacheitem.adm1!=null & $cacheitem.adm4!=null)} &gt; {/if}
{$cacheitem.adm4|escape}
</p>
</strong>
</td>
</tr></table>
</li>
{/foreach}
</ul>
@@ -66,7 +66,9 @@
{t 1=$usercountry|escape}The next events in %1{/t}
</p>
</div>
{include file="res_newevents.tpl" events=$events}
<div style="padding:2px 0 6px 0">
{include file="res_newevents.tpl" events=$events}
</div>

{* new logpix *}
<div class="content2-container bg-blue02" style="margin-bottom:6px">

0 comments on commit de572aa

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