aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/language_switch/flags.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/language_switch/flags.tpl')
-rw-r--r--plugins/language_switch/flags.tpl81
1 files changed, 41 insertions, 40 deletions
diff --git a/plugins/language_switch/flags.tpl b/plugins/language_switch/flags.tpl
index 6d51cad38..eb855fc69 100644
--- a/plugins/language_switch/flags.tpl
+++ b/plugins/language_switch/flags.tpl
@@ -1,48 +1,49 @@
</ul>
<ul class="categoryActions">
<li class="menuf">
- <div>
- <ul>
- <li>
- <a rel="nofollow" href="#">
- <img class="flags" src="{$lang_switch.Active.img}" alt="{$lang_switch.Active.alt}" title="{$lang_switch.Active.alt}"/>
- </a>
- <!--[if lte IE 6]>
- <a rel="nofollow" href="#">
- <img class="flags" src="{$lang_switch.Active.img}" alt="{$lang_switch.Active.alt}" title="{$lang_switch.Active.alt}"/>
- <table>
- <tr>
- <td>
- <![endif]-->
- <ul class="flag-pan">
- {foreach from=$lang_switch.flags key=code item=flag name=f}
- <li>
- <a rel="nofollow" href="{$SCRIPT_NAME}{$flag.url}">
- <img class="flags" src="{$flag.img}" alt="{$flag.alt}" title="{$flag.alt}"/>
- </a>
- </li>
- {/foreach}
- </ul>
- <!--[if lte IE 6]>
- </td>
- </tr>
- </table>
- </a>
- <![endif]-->
- </li>
- </ul>
- </div>
+ <div>
+ <ul>
+ <li>
+ <a rel="nofollow" href="#">
+ <img class="flags" src="{$lang_switch.Active.img}" alt="{$lang_switch.Active.alt}" title="{$lang_switch.Active.alt}"/>
+ </a>
+<!--[if lte IE 6]>
+ <a rel="nofollow" href="#">
+ <img class="flags" src="{$lang_switch.Active.img}" alt="{$lang_switch.Active.alt}" title="{$lang_switch.Active.alt}"/>
+ <table>
+ <tr>
+ <td>
+<![endif]-->
+ <ul class="flag-pan">
+
+{foreach from=$lang_switch.flags key=code item=flag name=f}
+ <li>
+ <a rel="nofollow" href="{$SCRIPT_NAME}{$flag.url}">
+ <img class="flags" src="{$flag.img}" alt="{$flag.alt}" title="{$flag.alt}"/>
+ </a>
+ </li>
+{/foreach}
+
+ </ul>
+<!--[if lte IE 6]>
+ </td>
+ </tr>
+ </table>
+ </a>
+<![endif]-->
+ </li>
+ </ul>
+ </div>
</li>
-{html_head}
-{if $themeconf.name == 'Sylvia'}
-<link rel="stylesheet" type="text/css" href="{$ROOT_URL}{$LANGUAGE_SWITCH_PATH|@cat:'language_switch.css'}">
-{else}
-<link rel="stylesheet" type="text/css" href="{$ROOT_URL}{$LANGUAGE_SWITCH_PATH|@cat:'language_switch-default.css'}">
-{/if}
-{if Componant_exists($LANGUAGE_SWITCH_PATH, 'language_switch-local.css')}
-<link rel="stylesheet" type="text/css" href="{$ROOT_URL}{$LANGUAGE_SWITCH_PATH|@cat:'language_switch-local.css'}">
+
+{combine_css path="plugins/language_switch/language_switch-default.css"}
+
+{if $themeconf.name eq 'Sylvia'}
+{combine_css path="plugins/language_switch/language_switch-Sylvia.css"}
{/if}
+
+{html_head}
<!--[if lte IE 6]>
-<link rel="stylesheet" type="text/css" href="{$ROOT_URL}{$LANGUAGE_SWITCH_PATH|@cat:'language_switch-ie6.css'}">
+<link rel="stylesheet" type="text/css" href="{$ROOT_URL}plugins/language_switch/language_switch-ie6.css">
<![endif]-->
{/html_head} \ No newline at end of file