Show the description in packageListPlugins
authorTim Düsterhus <timwolla@arcor.de>
Sat, 26 Nov 2011 12:50:37 +0000 (13:50 +0100)
committerTim Düsterhus <timwolla@arcor.de>
Sat, 26 Nov 2011 12:50:37 +0000 (13:50 +0100)
Instead of the static text the description is now shown. Output is truncated to 300 chars. This should be enough for most plugins.

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

index f281cfe29b908d444db820cfe0c599b50028d7db..c138012b229615e44074fbf320b54b84e3d20025 100644 (file)
@@ -3,7 +3,7 @@
                <div>
                        <a href="index.php/PackageView/{@$packageID}{@SID_ARG_1ST}" 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>