diff options
author | mistic100 <mistic@strangeplanet.fr> | 2015-07-24 22:44:39 +0200 |
---|---|---|
committer | mistic100 <mistic@strangeplanet.fr> | 2015-07-26 19:11:36 +0200 |
commit | 4e71ba9d3ea40cd2d817965e5eed4a2fe1b876b3 (patch) | |
tree | af7f5291540806e5fde21db1d98d590579549055 /plugins/language_switch/flags.tpl | |
parent | 32138f1fbd7637dffaaad0c8ca677e43a0d13831 (diff) |
Remove core plugins from core repository
Diffstat (limited to 'plugins/language_switch/flags.tpl')
-rw-r--r-- | plugins/language_switch/flags.tpl | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/plugins/language_switch/flags.tpl b/plugins/language_switch/flags.tpl deleted file mode 100644 index 089e39604..000000000 --- a/plugins/language_switch/flags.tpl +++ /dev/null @@ -1,33 +0,0 @@ -<li id="languageSwitch">{strip}<a id="languageSwitchLink" title="{'Language'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> - <span class="pwg-icon langflag-{$lang_switch.Active.code}"> </span><span class="pwg-button-text">{'Language'|@translate}</span> -</a> -<div id="languageSwitchBox" class="switchBox"> - <div class="switchBoxTitle">{'Language'|@translate}</div> - {foreach from=$lang_switch.flags item=flag name=f} - <a rel="nofollow" href="{$flag.url}"> - {if $lang_info.direction=="ltr"}<span class="pwg-icon langflag-{$flag.code}">{$flag.alt}</span>{$flag.title}{else}{$flag.title}<span class="pwg-icon langflag-{$flag.code}">{$flag.alt}</span>{/if} - </a> - {if ($smarty.foreach.f.index+1)%3 == 0}<br>{/if} - {/foreach} -</div> -{/strip}</li> - -{footer_script require='jquery'}{literal} -jQuery("#languageSwitchLink").click(function() { - var elt = jQuery("#languageSwitchBox"); - elt.css("left", Math.min(jQuery(this).offset().left, jQuery(window).width() - elt.outerWidth(true) - 5)) - .css("top", jQuery(this).offset().top + jQuery(this).outerHeight(true)) - .toggle(); -}); -jQuery("#languageSwitchBox").on("mouseleave", function() { - jQuery(this).hide(); -}); -{/literal}{/footer_script} - -{* <!-- stylish for themes missing .switchBox styles --> *} -{if $LANGUAGE_SWITCH_LOAD_STYLE} -{combine_css path=$LANGUAGE_SWITCH_PATH|@cat:"style.css"} -{/if} - -{* <!-- common style specific for LanguageSwitch --> *} -{combine_css path=$LANGUAGE_SWITCH_PATH|@cat:"language_switch.css"}
\ No newline at end of file |