Ignore:
Timestamp:
Mar 28, 2011, 2:41:09 PM (13 years ago)
Author:
plg
Message:

use combine_css for languageSwitch plugin

File:
1 edited

Legend:

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

    r5856 r9905  
    22<ul class="categoryActions">
    33<li class="menuf">
    4         <div>
    5                 <ul>
    6                         <li>
    7                                 <a rel="nofollow" href="#">
    8                                         <img class="flags" src="{$lang_switch.Active.img}" alt="{$lang_switch.Active.alt}" title="{$lang_switch.Active.alt}"/>
    9                                 </a>
    10                                 <!--[if lte IE 6]>
    11                                         <a rel="nofollow" href="#">
    12                                                 <img class="flags" src="{$lang_switch.Active.img}" alt="{$lang_switch.Active.alt}" title="{$lang_switch.Active.alt}"/>
    13                                                 <table>
    14                                                         <tr>
    15                                                                 <td>
    16                                 <![endif]-->
    17                                                                         <ul class="flag-pan">
    18                                                                         {foreach from=$lang_switch.flags key=code item=flag name=f}
    19                                                                                 <li>
    20                                                                                         <a rel="nofollow" href="{$SCRIPT_NAME}{$flag.url}">
    21                                                                                                 <img class="flags" src="{$flag.img}" alt="{$flag.alt}" title="{$flag.alt}"/>
    22                                                                                         </a>
    23                                                                                 </li>
    24                                                                         {/foreach}
    25                                                                         </ul>
    26                                 <!--[if lte IE 6]>
    27                                                                 </td>
    28                                                         </tr>
    29                                                 </table>
    30                                         </a>
    31                                 <![endif]-->
    32                         </li>
    33                 </ul>
    34         </div>
     4  <div>
     5    <ul>
     6      <li>
     7        <a rel="nofollow" href="#">
     8          <img class="flags" src="{$lang_switch.Active.img}" alt="{$lang_switch.Active.alt}" title="{$lang_switch.Active.alt}"/>
     9        </a>
     10<!--[if lte IE 6]>
     11        <a rel="nofollow" href="#">
     12          <img class="flags" src="{$lang_switch.Active.img}" alt="{$lang_switch.Active.alt}" title="{$lang_switch.Active.alt}"/>
     13          <table>
     14            <tr>
     15              <td>
     16<![endif]-->
     17        <ul class="flag-pan">
     18
     19{foreach from=$lang_switch.flags key=code item=flag name=f}
     20          <li>
     21            <a rel="nofollow" href="{$SCRIPT_NAME}{$flag.url}">
     22              <img class="flags" src="{$flag.img}" alt="{$flag.alt}" title="{$flag.alt}"/>
     23            </a>
     24          </li>
     25{/foreach}
     26
     27        </ul>
     28<!--[if lte IE 6]>
     29              </td>
     30            </tr>
     31          </table>
     32        </a>
     33<![endif]-->
     34      </li>
     35    </ul>
     36  </div>
    3537</li>
     38
     39{combine_css path="plugins/language_switch/language_switch-default.css"}
     40
     41{if $themeconf.name eq 'Sylvia'}
     42{combine_css path="plugins/language_switch/language_switch-Sylvia.css"}
     43{/if}
     44
    3645{html_head}
    37 {if $themeconf.name == 'Sylvia'}
    38 <link rel="stylesheet" type="text/css" href="{$ROOT_URL}{$LANGUAGE_SWITCH_PATH|@cat:'language_switch.css'}">
    39 {else}
    40 <link rel="stylesheet" type="text/css" href="{$ROOT_URL}{$LANGUAGE_SWITCH_PATH|@cat:'language_switch-default.css'}">
    41 {/if}
    42 {if Componant_exists($LANGUAGE_SWITCH_PATH, 'language_switch-local.css')}
    43 <link rel="stylesheet" type="text/css" href="{$ROOT_URL}{$LANGUAGE_SWITCH_PATH|@cat:'language_switch-local.css'}">
    44 {/if}
    4546<!--[if lte IE 6]>
    46 <link rel="stylesheet" type="text/css" href="{$ROOT_URL}{$LANGUAGE_SWITCH_PATH|@cat:'language_switch-ie6.css'}">
     47<link rel="stylesheet" type="text/css" href="{$ROOT_URL}plugins/language_switch/language_switch-ie6.css">
    4748<![endif]-->
    4849{/html_head}
Note: See TracChangeset for help on using the changeset viewer.