From 3f11f8a843f1eeaa6b2cdb100abedce33cd97395 Mon Sep 17 00:00:00 2001 From: Catalin Novgorodschi <1140613+Shadowss@users.noreply.github.com> Date: Fri, 13 Jul 2018 09:01:03 +0300 Subject: [PATCH 1/2] Update README.md --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 0bf05edf..41fadef3 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ [![Code Triagers Badge](https://www.codetriage.com/shadowss/travianz/badges/users.svg)](https://www.codetriage.com/shadowss/travianz) -[![Maintenance](https://img.shields.io/maintenance/yes/2018.svg)]() -[![GitHub Release](https://img.shields.io/github/release/Shadowss/TravianZ/all.svg)]() -[![Github All Downloads](https://img.shields.io/github/downloads/Shadowss/TravianZ/total.svg)]() -[![GitHub contributors](https://img.shields.io/github/contributors/Shadowss/TravianZ.svg)]() -[![license](https://img.shields.io/github/license/Shadowss/TravianZ.svg)]() -[![GitHub last commit](https://img.shields.io/github/last-commit/Shadowss/TravianZ.svg)]() +[![Maintenance](https://img.shields.io/maintenance/yes/2018.svg)](https://github.com/Shadowss/TravianZ) +[![GitHub Release](https://img.shields.io/github/release/Shadowss/TravianZ/all.svg)](https://github.com/Shadowss/TravianZ) +[![Github All Releases](https://img.shields.io/github/downloads/atom/atom/total.svg)](https://github.com/Shadowss/TravianZ) +[![GitHub contributors](https://img.shields.io/github/contributors/Shadowss/TravianZ.svg)](https://github.com/Shadowss/TravianZ) +[![license](https://img.shields.io/github/license/Shadowss/TravianZ.svg)](https://github.com/Shadowss/TravianZ) +[![GitHub last commit](https://img.shields.io/github/last-commit/Shadowss/TravianZ.svg)](https://github.com/Shadowss/TravianZ) [![Proudly Coded in PHPStorm](https://img.shields.io/badge/coded%20in-PHPStorm-BD5CF3.svg)](https://www.jetbrains.com/buy/opensource/?product=phpstorm) [![Donate to this project on LiberaPay](https://img.shields.io/badge/LiberaPay-donate-F6C915.svg)](https://liberapay.com/Shadowss/donate) [![Join the chat at https://gitter.im/TravianZ-V8/Lobby](https://badges.gitter.im/TravianZ-V8/Lobby.svg)](https://gitter.im/TravianZ-V8/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) From 48a0aaba7f384f1394159bf6a634814e778ce25f Mon Sep 17 00:00:00 2001 From: Vladyslav Date: Tue, 17 Jul 2018 18:54:04 +0300 Subject: [PATCH 2/2] 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"