Skip to content
Permalink
Browse files

#1022 - fix wrong links

  • Loading branch information...
teiling88 committed Dec 28, 2016
1 parent b52495e commit 4ece2976c47c4ceacdf84317c7b8011ea1dff0d3
Showing with 8 additions and 1 deletion.
  1. +8 −1 htdocs/templates2/ocstyle/res_countrylinks.tpl
@@ -4,4 +4,11 @@
* Unicode Reminder メモ
***************************************************************************}
{assign var='lastCountry' value=''}
{foreach name=newCaches from=$newCaches item=newCache}{if $newCache.country_name!=$lastCountry}{if $lastCountry != ''}, {/if}<a href="#country_{$newCache.country}" class="systemlink">{$newCache.country_name}</a>{/if}{assign var='lastCountry' value=$newCache.country_name}{/foreach}
{foreach name=newCaches from=$newCaches item=newCache}
{if $newCache.country_name!=$lastCountry}{if $lastCountry != ''}, {/if}
<a href="{$smarty.server.PHP_SELF}#country_{$newCache.country}" class="systemlink">
{$newCache.country_name}
</a>
{/if}
{assign var='lastCountry' value=$newCache.country_name}
{/foreach}

0 comments on commit 4ece297

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