aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/language_switch/flags.tpl
diff options
context:
space:
mode:
authorvdigital <vdigital@piwigo.org>2009-05-29 21:46:58 +0000
committervdigital <vdigital@piwigo.org>2009-05-29 21:46:58 +0000
commitd5cd582ca257cf5eb9dc38d5f9f25ab7afaade4b (patch)
treed18cfe930022d9d222cb03e2e4b41927c02e710a /plugins/language_switch/flags.tpl
parent24ce31b9b3c4fa98fd5df10eb1b3c132e833d64e (diff)
Merge: 3368
+ Language Switch enhanced design and concepts. git-svn-id: http://piwigo.org/svn/trunk@3369 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'plugins/language_switch/flags.tpl')
-rw-r--r--plugins/language_switch/flags.tpl48
1 files changed, 48 insertions, 0 deletions
diff --git a/plugins/language_switch/flags.tpl b/plugins/language_switch/flags.tpl
new file mode 100644
index 000000000..7a30553ee
--- /dev/null
+++ b/plugins/language_switch/flags.tpl
@@ -0,0 +1,48 @@
+</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="{$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.template=='yoga' and $themeconf.theme=='Sylvia'}
+<link rel="stylesheet" type="text/css" href="{$LANGUAGE_SWITCH_PATH|@cat:'language_switch.css'}">
+{else}
+<link rel="stylesheet" type="text/css" href="{$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="{$LANGUAGE_SWITCH_PATH|@cat:'language_switch-local.css'}">
+{/if}
+<!--[if lte IE 6]>
+<link rel="stylesheet" type="text/css" href="{$LANGUAGE_SWITCH_PATH|@cat:'language_switch-ie6.css'}">
+<![endif]-->
+{/html_head} \ No newline at end of file