From 48a0aaba7f384f1394159bf6a634814e778ce25f Mon Sep 17 00:00:00 2001 From: Vladyslav Date: Tue, 17 Jul 2018 18:54:04 +0300 Subject: [PATCH] Minor changes to medals Now during the editing of the profile instead of the word "Bonus" a specific name of the medal is written --- Templates/Profile/medal.php | 4 ++-- Templates/Profile/profile.tpl | 16 ++++++++++++++-- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/Templates/Profile/medal.php b/Templates/Profile/medal.php index 7af7470e..d7e46d7f 100644 --- a/Templates/Profile/medal.php +++ b/Templates/Profile/medal.php @@ -134,7 +134,7 @@ switch ($medal['categorie']) { $woord="Resources"; break; case "5": - $titel="Receiving this medal shows that you where in the top 10 of both attackers and defenders of the week."; + $titel="Receiving this medal shows that you where in the top 10 of both Attackers and Defenders of the week."; $bonus[$medal['id']]=1; break; case "6": @@ -158,7 +158,7 @@ switch ($medal['categorie']) { $woord="Ranks"; break; case "11": - $titel="Receiving this medal shows that you were in the top 3 of the Rank Climbers of the week ".$medal['points']." in a row."; + $titel="Receiving this medal shows that you were in the top 3 Rank Climbers of the week ".$medal['points']." in a row."; $bonus[$medal['id']]=1; break; case "12": diff --git a/Templates/Profile/profile.tpl b/Templates/Profile/profile.tpl index c4683340..a00271b5 100644 --- a/Templates/Profile/profile.tpl +++ b/Templates/Profile/profile.tpl @@ -117,7 +117,7 @@ MEDAL CATEGORY: $titel="Robber of the week"; break; case "5": - $titel="Top 10 of both attackers and defenders"; + $titel="Top 10 of both Attackers and Defenders"; break; case "6": $titel="Top 3 of Attackers of week ".$medal['points']." in a row"; @@ -138,7 +138,19 @@ MEDAL CATEGORY: $titel="Top 3 of Rank climbers of week ".$medal['points']." in a row"; break; case "12": - $titel="Top 10 of Rank Attackers of week ".$medal['points']." in a row"; + $titel="Top 10 of Attackers of week ".$medal['points']." in a row"; + break; + case "13": + $titel="Top 10 of Defenders of week ".$medal['points']." in a row"; + break; + case "14": + $titel="Top 10 of Pop climbers of week ".$medal['points']." in a row"; + break; + case "15": + $titel="Top 10 of Robbers of week ".$medal['points']." in a row"; + break; + case "16": + $titel="Top 10 of Rank climbers of week ".$medal['points']." in a row"; break; } echo"