Ignore:
Timestamp:
Mar 28, 2011, 3:51:43 PM (13 years ago)
Author:
plg
Message:

Language Switch:

  • display language name next to flag (and enlarge the flag box to ~400px)
  • force the links color inside the language box because the background color is

forced : on a theme like "grum dark II", the result is really awful, impossible
to read.

  • the current language is not removed from the list, this ways the list is not

reorganized depending on the current language

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/language_switch/flags.tpl

    r9905 r9906  
    55    <ul>
    66      <li>
    7         <a rel="nofollow" href="#">
     7        <a rel="nofollow" href="#" class="activeFlag">
    88          <img class="flags" src="{$lang_switch.Active.img}" alt="{$lang_switch.Active.alt}" title="{$lang_switch.Active.alt}"/>
    99        </a>
     
    1616<![endif]-->
    1717        <ul class="flag-pan">
     18         <li class="languageSwitchBoxTitle">{'Language'|@translate}</li>
    1819
    1920{foreach from=$lang_switch.flags key=code item=flag name=f}
    2021          <li>
    2122            <a rel="nofollow" href="{$SCRIPT_NAME}{$flag.url}">
    22               <img class="flags" src="{$flag.img}" alt="{$flag.alt}" title="{$flag.alt}"/>
     23              <img class="flags" src="{$flag.img}" alt="{$flag.alt}" title="{$flag.alt}"/> {$flag.title}
    2324            </a>
    2425          </li>
Note: See TracChangeset for help on using the changeset viewer.