design improvements for new caches and new logs lists
This commit is contained in:
@@ -2142,7 +2142,7 @@ function toggle_attribselection(bSaveCookies)
|
||||
{* popup box for permalink *}
|
||||
<div id="permalink_box" class="mappermalink mapboxframe mapboxshadow" style="display:none">
|
||||
<table>
|
||||
<tr><td><img src="resource2/ocstyle/images/viewcache/link.png" alt="" height="16" width="16" /> {t}Link to this map view{/t}:</td><td align="right"><a href="javascript:permalinkbox_hide()"><img src="resource2/ocstyle/images/navigation/close-medium.png" style="opacity:0.7" ></a></td></tr>
|
||||
<tr><td><img src="resource2/ocstyle/images/viewcache/link.png" alt="" height="16" width="16" /> {t}Link to this map view{/t}:</td><td align="right"><a href="javascript:permalinkbox_hide()"><img src="resource2/ocstyle/images/navigation/19x19-close.png" style="opacity:0.7" ></a></td></tr>
|
||||
<tr><td><input id="permalink_text" type="text" value="" size="55"/></td></tr>
|
||||
<tr id="permalink_addFavorites"><td align="right"><input type="button" value="{t}Add to favorites...{/t}" onclick="addFavorites_click()" /></td></tr>
|
||||
</table>
|
||||
@@ -2172,7 +2172,7 @@ function toggle_attribselection(bSaveCookies)
|
||||
<form action="map2.php?mode={if $bFullscreen}full{else}normal{/if}screen" method="post" style="display:inline;">
|
||||
<input type="hidden" name="submit" value="1" />
|
||||
<table>
|
||||
<tr><td><span style="font-size:1.2em; font-weight:bold">{t}Settings{/t}</strong></td><td style="text-align:right"><a href="javascript:toggle_settings()"><img src="resource2/ocstyle/images/navigation/close-medium.png" style="opacity:0.7" /></a></tr>
|
||||
<tr><td><span style="font-size:1.2em; font-weight:bold">{t}Settings{/t}</strong></td><td style="text-align:right"><a href="javascript:toggle_settings()"><img src="resource2/ocstyle/images/navigation/19x19-close.png" style="opacity:0.7" /></a></tr>
|
||||
<tr><td>{t}Menu option 'Map' shows{/t}:</td><td><select name="opt_menumap"><option id="opt_menumap0" value="0">{t}small map{/t}</option><option id="opt_menumap1" value="1">{t}fullscreen map{/t}</option></select></td></tr>
|
||||
<tr><td>{t}Show overview map{/t}:</td><td><input type="checkbox" id="opt_overview" name="opt_overview" value="1" /></td></tr>
|
||||
<tr><td>{t 1=$min_maxrecords 2=$max_maxrecords}Maximum caches on map<br />(%1-%2, 0=automatic){/t}:</td><td><input type="text" id="opt_maxcaches" name="opt_maxcaches" size="6" /></td></tr>
|
||||
@@ -2191,7 +2191,7 @@ function toggle_attribselection(bSaveCookies)
|
||||
|
||||
<div id="cachepicbox" class="default mapboxframe mapboxshadow" style="position:absolute; {if $bFullscreen}left:4px; top:7px;{else}left:0; top:0;{/if} background:#fdfdfd; display:none; z-index:60">
|
||||
<div style="position:absolute; right:-19px; top:2px; opacity:0.7">
|
||||
<img src="resource2/ocstyle/images/navigation/close-smaller.png" onclick="hide_picture()" style="cursor:pointer"/>
|
||||
<img src="resource2/ocstyle/images/navigation/15x15-smallclose.png" onclick="hide_picture()" style="cursor:pointer"/>
|
||||
</div>
|
||||
<div>
|
||||
<a id="cachepiccontainer" class="nooutline"><img id="cachepic"/></a>
|
||||
|
||||
@@ -11,38 +11,44 @@
|
||||
|
||||
<table width="100%" class="table">
|
||||
<tr>
|
||||
<td class="header-small">
|
||||
<td colspan="3" class="header-small">
|
||||
{include file="res_browse_left.tpl" page="newcaches"}
|
||||
|
||||
{section name=page start=$firstpage loop=$lastpage+1 step=100}
|
||||
{if $smarty.section.page.index!=$startat}
|
||||
<a href="newcaches.php?startat={$smarty.section.page.index}">{$smarty.section.page.index/$perpage+1}</a>
|
||||
{else}
|
||||
{$smarty.section.page.index/$perpage+1}
|
||||
<b>{$smarty.section.page.index/$perpage+1}</b>
|
||||
{/if}
|
||||
{/section}
|
||||
|
||||
{include file="res_browse_right.tpl" page="newcaches"}
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td class="spacer"></td></tr>
|
||||
|
||||
{foreach name=newCaches from=$newCaches item=newCache}
|
||||
<tr><td>{$newCache.date_created|date_format:$opt.format.date} ({$newCache.country}): <img src="resource2/{$opt.template.style}/images/cacheicon/{$newCache.icon_large}" width="16" height="16" border="0" alt="Cache" title="Cache" style="margin-top:4px;" /> <a href="viewcache.php?wp={$newCache.wpoc}">{$newCache.cachename|escape}</a> {t}by{/t} <a href="viewprofile.php?userid={$newCache.userid}">{$newCache.username|escape}</a></td></tr>
|
||||
<tr>
|
||||
<td style="width:1%; vertical-align:center">{$newCache.date_created|date_format:$opt.format.date}</td>
|
||||
<td class="listicon"><img src="resource2/{$opt.template.style}/images/cacheicon/16x16-{$newCache.type}.gif" width="16" height="16" border="0" /></td><td style="vertical-align:center"> <a href="viewcache.php?wp={$newCache.wpoc}">{$newCache.cachename|escape}</a> {t}by{/t} <a href="viewprofile.php?userid={$newCache.userid}">{$newCache.username|escape}</a> {if $newCache.country != $defaultcountry} <img src="images/flags/{$newCache.country|lower}.gif" width="16px" height="11px">{/if} </td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
<tr><td class="spacer"></td></tr>
|
||||
<tr>
|
||||
<td class="header-small">
|
||||
<td colspan="3" class="header-small">
|
||||
{include file="res_browse_left.tpl" page="newcaches"}
|
||||
|
||||
{section name=page start=$firstpage loop=$lastpage+1 step=100}
|
||||
{if $smarty.section.page.index!=$startat}
|
||||
<a href="newcaches.php?startat={$smarty.section.page.index}">{$smarty.section.page.index/$perpage+1}</a>
|
||||
{else}
|
||||
{$smarty.section.page.index/$perpage+1}
|
||||
<b>{$smarty.section.page.index/$perpage+1}</b>
|
||||
{/if}
|
||||
{/section}
|
||||
|
||||
{include file="res_browse_right.tpl" page="newcaches"}
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td class="spacer"></td></tr>
|
||||
</table>
|
||||
+10
-2
@@ -15,9 +15,17 @@
|
||||
{foreach name=newCaches from=$newCaches item=newCache}
|
||||
{if $newCache.country_name!=$lastCountry}
|
||||
<tr><td class="spacer"></td></tr>
|
||||
<tr><td><p class="content-title-noshade-size1"><b>{$newCache.country_name|escape}</b></p></td><tr>
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
<table cellspacing="0" cellpadding="0"><tr>
|
||||
<td class="content-title-flag"><img src="images/flags/{$newCache.country|lower}.gif" width="16px" height="11px"></td>
|
||||
<td><p class="content-title-noshade-size08">{$newCache.country_name|escape}</p></td>
|
||||
</tr></table>
|
||||
<td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr><td>{$newCache.date_created|date_format:$opt.format.date} - <img src="resource2/{$opt.template.style}/images/cacheicon/{$newCache.icon_large}" width="16" height="16" border="0" alt="Cache" title="Cache" style="margin-top:4px;" /> <a href="viewcache.php?wp={$newCache.wpoc}">{$newCache.cachename|escape}</a> {t}by{/t} <a href="viewprofile.php?userid={$newCache.userid}">{$newCache.username|escape}</a></td></tr>
|
||||
<tr><td width="1%">{$newCache.date_created|date_format:$opt.format.date}</td><td class="listicon"><img src="resource2/{$opt.template.style}/images/cacheicon/16x16-{$newCache.type}.gif" width="16" height="16" border="0" /></td><td><a href="viewcache.php?wp={$newCache.wpoc}">{$newCache.cachename|escape}</a> {t}by{/t} <a href="viewprofile.php?userid={$newCache.userid}">{$newCache.username|escape}</a></td></tr>
|
||||
{assign var='lastCountry' value=$newCache.country_name}
|
||||
{/foreach}
|
||||
<tr><td class="spacer"></td></tr>
|
||||
</table>
|
||||
@@ -16,12 +16,19 @@
|
||||
{if $newLogsPerCountry}
|
||||
{if $newLog.country_name!=$lastCountry}
|
||||
<tr><td class="spacer"></td></tr>
|
||||
<tr><td><b>{$newLog.country_name|escape}</b></td><tr>
|
||||
<tr><td colspan="3">
|
||||
<table cellspacing="0" cellpadding="0"><tr>
|
||||
<td class="content-title-flag" ><img src="images/flags/{$newLog.country|lower}.gif" width="16px" height="11px"></td>
|
||||
<td><b class="content-title-noshade-size08">{$newLog.country_name|escape}</b> </b></td>
|
||||
</tr></table>
|
||||
</td></tr>
|
||||
{/if}
|
||||
{/if}
|
||||
<tr>
|
||||
<td>
|
||||
{$newLog.date_created|date_format:$opt.format.date} -
|
||||
{$newLog.date_created|date_format:$opt.format.date}
|
||||
</td>
|
||||
<td class="listicon">
|
||||
{if $newLog.type==1}
|
||||
<img src="resource2/{$opt.template.style}/images/log/16x16-found.png" width="16" height="16" border="0" alt="" style="margin-top:4px;" />
|
||||
{elseif $newLog.type==2}
|
||||
@@ -33,7 +40,8 @@
|
||||
{elseif $newLog.type==8}
|
||||
<img src="resource2/{$opt.template.style}/images/log/16x16-will_attend.png" width="16" height="16" border="0" alt="" style="margin-top:4px;" />
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
<td>
|
||||
{capture name=cachename}
|
||||
<a href="viewcache.php?wp={$newLog.wp_oc}">{$newLog.cachename|escape}</a>
|
||||
{/capture}
|
||||
@@ -67,4 +75,5 @@
|
||||
</tr>
|
||||
{assign var='lastCountry' value=$newLog.country_name}
|
||||
{/foreach}
|
||||
<tr><td class="spacer"></td></tr>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user