From 47895f4530a98e432230938b0648c6a2fa4e977d Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Thu, 13 Jun 2013 19:16:49 +0200 Subject: [PATCH] Added application/package name --- .../install/files/acp/templates/dashboardOption.tpl | 8 ++++---- .../lib/data/dashboard/box/DashboardBox.class.php | 10 ++++++++++ 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/wcfsetup/install/files/acp/templates/dashboardOption.tpl b/wcfsetup/install/files/acp/templates/dashboardOption.tpl index 74bc6d8c8a..d14b57fdd7 100644 --- a/wcfsetup/install/files/acp/templates/dashboardOption.tpl +++ b/wcfsetup/install/files/acp/templates/dashboardOption.tpl @@ -49,7 +49,7 @@ {foreach from=$enabledBoxes item=boxID} {if $boxes[$boxID]->boxType == 'content'}
  • - {lang}wcf.dashboard.box.{$boxes[$boxID]->boxName}{/lang} + {lang}wcf.dashboard.box.{$boxes[$boxID]->boxName}{/lang}{if $boxes[$boxID]->packageID != 1} ({lang}{$boxes[$boxID]->getPackage()->packageName}{/lang}){/if}
  • {/if} {/foreach} @@ -65,7 +65,7 @@ {foreach from=$boxes item=box} {if $box->boxType == 'content' && !$box->boxID|in_array:$enabledBoxes}
  • - {lang}wcf.dashboard.box.{$box->boxName}{/lang} + {lang}wcf.dashboard.box.{$box->boxName}{/lang}{if $box->packageID != 1} ({lang}{$box->getPackage()->packageName}{/lang}){/if}
  • {/if} {/foreach} @@ -97,7 +97,7 @@ {foreach from=$enabledBoxes item=boxID} {if $boxes[$boxID]->boxType == 'sidebar'}
  • - {lang}wcf.dashboard.box.{$boxes[$boxID]->boxName}{/lang} + {lang}wcf.dashboard.box.{$boxes[$boxID]->boxName}{/lang}{if $boxes[$boxID]->packageID != 1} ({lang}{$boxes[$boxID]->getPackage()->packageName}{/lang}){/if}
  • {/if} {/foreach} @@ -113,7 +113,7 @@ {foreach from=$boxes item=box} {if $box->boxType == 'sidebar' && !$box->boxID|in_array:$enabledBoxes}
  • - {lang}wcf.dashboard.box.{$box->boxName}{/lang} + {lang}wcf.dashboard.box.{$box->boxName}{/lang}{if $box->packageID != 1} ({lang}{$box->getPackage()->packageName}{/lang}){/if}
  • {/if} {/foreach} diff --git a/wcfsetup/install/files/lib/data/dashboard/box/DashboardBox.class.php b/wcfsetup/install/files/lib/data/dashboard/box/DashboardBox.class.php index 40b3b2e95c..7e67ca813c 100644 --- a/wcfsetup/install/files/lib/data/dashboard/box/DashboardBox.class.php +++ b/wcfsetup/install/files/lib/data/dashboard/box/DashboardBox.class.php @@ -1,5 +1,6 @@ getPackage($this->packageID); + } } -- 2.20.1