Added Twitter account for German news
authorMarcel Werk <burntime@woltlab.com>
Mon, 27 May 2013 15:39:18 +0000 (17:39 +0200)
committerMarcel Werk <burntime@woltlab.com>
Mon, 27 May 2013 15:39:18 +0000 (17:39 +0200)
wcfsetup/install/files/acp/templates/index.tpl

index 18f7d567fa43269f4dd505690306f53b3983a9c8..9270892dd0c466fbc4a7e6c92cdae22816f4aad8 100644 (file)
        
        {if ENABLE_WOLTLAB_NEWS}
                <div id="news" class="container containerPadding hidden tabMenuContent">
-                       <a class="twitter-timeline" href="https://twitter.com/woltlab" data-chrome="nofooter transparent" data-widget-id="335166618281865217">Tweets by @woltlab</a>
+                       {if $__wcf->language->languageCode == 'de'}
+                               <a class="twitter-timeline" href="https://twitter.com/woltlab_de" data-chrome="nofooter transparent" data-widget-id="339042086949093376">Tweets von @woltlab_de</a>
+                       {else}
+                               <a class="twitter-timeline" href="https://twitter.com/woltlab" data-chrome="nofooter transparent" data-widget-id="335166618281865217">Tweets by @woltlab</a>
+                       {/if}
                        {literal}
                                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
                        {/literal}