Fixes illegal use of icon tpl plugin in acp
authorMatthias Schmidt <gravatronics@live.com>
Fri, 2 Mar 2012 08:41:48 +0000 (09:41 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Fri, 2 Mar 2012 08:41:48 +0000 (09:41 +0100)
wcfsetup/install/files/acp/templates/footer.tpl
wcfsetup/install/files/acp/templates/header.tpl

index 96e19be82d0cbda645a3bf3a99f16c6104b55b6a..9ac54d997c7fac4a179319929539afea9e6a71d4 100644 (file)
@@ -11,7 +11,7 @@
                                <ul>
                                        <li id="toTopLink" class="toTopLink"><a href="{$__wcf->getAnchor('top')}" title="{lang}wcf.global.scrollUp{/lang}" class="jsTooltip"><img src="{@RELATIVE_WCF_DIR}icon/toTop.svg" alt="" /> <span class="invisible">{lang}wcf.global.scrollUp{/lang}</span></a></li>
                                        {if SHOW_CLOCK}
-                                               <li class="separator"><p><img src="{icon size='S'}time{/icon}" alt="" /> <span>{@TIME_NOW|plainTime}</span></p></li>
+                                               <li class="separator"><p><img src="{@$__wcf->getPath()}icon/time.svg" alt="" /> <span>{@TIME_NOW|plainTime}</span></p></li>
                                        {/if}
                                </ul>
                        </nav>
index 36f65a50ca22b9ea757f07f784733085b161ddc0..608061a6bd496bd10b58da8ed877adc23470aedc 100644 (file)
@@ -73,7 +73,7 @@
                                'wcf.global.confirmation.title': '{lang}wcf.global.confirmation.title{/lang}'
                        });
                        WCF.Icon.addObject({
-                               'wcf.icon.loading': '{if PACKAGE_ID}{icon size='S'}spinner1{/icon}{else}wcf/icon/spinner1.svg{/if}'
+                               'wcf.icon.loading': '{if PACKAGE_ID}{@$__wcf->getPath()}{else}wcf/{/if}icon/spinner1.svg'
                        });
                        new WCF.Date.Time();
                        new WCF.Effect.SmoothScroll();