Correcting links in packageListPlugins
authorTim Düsterhus <timwolla@arcor.de>
Sat, 26 Nov 2011 12:41:48 +0000 (13:41 +0100)
committerTim Düsterhus <timwolla@arcor.de>
Sat, 26 Nov 2011 12:41:48 +0000 (13:41 +0100)
They were not using the {link}-Tag.

wcfsetup/install/files/acp/templates/packageListPlugins.tpl

index f281cfe29b908d444db820cfe0c599b50028d7db..18b0a9a147fe934ec0aa5eb4ccbc1ecbcab97eed 100644 (file)
@@ -1,7 +1,7 @@
 {foreach from=$plugins key=packageID item=package}
        <li class="infoPackagePlugin">
                <div>
-                       <a href="index.php/PackageView/{@$packageID}{@SID_ARG_1ST}" title="{$package->getName()}" style="background-image: url('{@RELATIVE_WCF_DIR}icon/packagePlugin1.svg');">
+                       <a href="{link controller='PackageView' id=$packageID}{/link}" title="{$package->getName()}" style="background-image: url('{@RELATIVE_WCF_DIR}icon/packagePlugin1.svg');">
                                <h1>{$package->getName()}</h1>
                                <small>Short descriptive text goes here</small>
                        </a>
@@ -10,8 +10,8 @@
                <footer>
                        <nav>
                                <ul class="smallButtonBar">
-                                       <li><a href="index.php/PackageView/{@$packageID}{@SID_ARG_1ST}" title="{$package->getName()}" class="balloonTooltip"><img src="{@RELATIVE_WCF_DIR}icon/info1.svg" alt="" /> <span>Update</span></a></li>
-                                       <li><a href="index.php?form=PackageStartInstall&amp;action=update&amp;packageID={@$packageID}{@SID_ARG_2ND}" title="{lang}wcf.acp.package.view.button.update{/lang}" class="balloonTooltip"><img src="{@RELATIVE_WCF_DIR}icon/update1.svg" alt="" /> <span>Update</span></a></li>
+                                       <li><a href="{link controller='PackageView' id=$packageID}{/link}" title="{$package->getName()}" class="balloonTooltip"><img src="{@RELATIVE_WCF_DIR}icon/info1.svg" alt="" /> <span>Update</span></a></li>
+                                       <li><a href="{link controller='PackageStartInstall' id=$packageID}action=update{/link}" title="{lang}wcf.acp.package.view.button.update{/lang}" class="balloonTooltip"><img src="{@RELATIVE_WCF_DIR}icon/update1.svg" alt="" /> <span>Update</span></a></li>
                                        <li title="{lang}wcf.acp.package.view.button.uninstall{/lang}" class="balloonTooltip separator"><img src="{@RELATIVE_WCF_DIR}icon/delete1.svg" alt="" class="uninstallButton" data-object-id="{@$package->packageID}" /> <span>Delete</span></li>
                                </ul>
                        </nav>