Merge pull request #263 from wbbaddons/packageListPluginsTplCorrectLinks
authorAlexander Ebert <ebert@woltlab.com>
Mon, 28 Nov 2011 11:45:42 +0000 (03:45 -0800)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 28 Nov 2011 11:45:42 +0000 (03:45 -0800)
Correcting links in packageListPlugins

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

index c138012b229615e44074fbf320b54b84e3d20025,18b0a9a147fe934ec0aa5eb4ccbc1ecbcab97eed..7411c89920c8a3d652807933b074025b84580fe0
@@@ -1,9 -1,9 +1,9 @@@
  {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>
 +                              <small>{$package->packageDescription|truncate:300}</small>
                        </a>
                </div>