Removes double code in packageListDetailed tpl
authorMatthias Schmidt <gravatronics@live.com>
Fri, 2 Mar 2012 23:28:29 +0000 (00:28 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Fri, 2 Mar 2012 23:28:29 +0000 (00:28 +0100)
Sorry, I apparently made a mistake during the manual conflict resolution while rebasing

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

index fe02964d204885cf15e708de00b3e39504a78f08..2ab98150614ff4a8fefdb28424b44114673dcc72 100644 (file)
                                                                <img src="{@$__wcf->getPath()}icon/delete1.svg" alt="" title="{lang}wcf.acp.package.button.uninstall{/lang}" data-object-id="{@$package->packageID}" class="jsUninstallButton jsTooltip" />
                                                        {else}
                                                                <img src="{@$__wcf->getPath()}icon/delete1D.svg" alt="" title="{lang}wcf.acp.package.button.uninstall{/lang}" />
-                                                               <a href="{link controller='PackageStartInstall' id=$package->packageID}action=update{/link}"><img src="{@$__wcf->getPath()}icon/update1.svg" alt="" title="{lang}wcf.acp.package.view.button.update{/lang}" class="jsTooltip" /></a>
-                                                       {else}
-                                                               <img src="{@$__wcf->getPath()}icon/update1D.svg" alt="" title="{lang}wcf.acp.package.view.button.update{/lang}" />
-                                                       {/if}
-                                                       {if $__wcf->session->getPermission('admin.system.package.canUninstallPackage') && $package->package != 'com.woltlab.wcf' && $package->packageID != PACKAGE_ID}
-                                                               <img src="{@$__wcf->getPath()}icon/delete1.svg" alt="" title="{lang}wcf.acp.package.view.button.uninstall{/lang}" data-object-id="{@$package->packageID}" class="jsUninstallButton jsTooltip" />
-                                                       {else}
-                                                               <img src="{@$__wcf->getPath()}icon/delete1D.svg" alt="" title="{lang}wcf.acp.package.view.button.uninstall{/lang}" />
                                                        {/if}
                                                        
                                                        {event name='buttons'}