Minor changes and additions

+Added a medal of 10 years of playing in Travian.
Enabled (Disabled) during installation and in the
admin panel.
+If at least one of the new functions is enabled,
a corresponding section appears in the Manual
with a description of all the new functions and
shows which of them is Enabled or Disabled.
+Minor changes
This commit is contained in:
Vladyslav
2018-09-03 22:05:54 +03:00
parent b9ceb86392
commit d59aa8e072
35 changed files with 278 additions and 12 deletions
+3
View File
@@ -106,6 +106,9 @@ if(NEW_FUNCTIONS_MEDAL_3YEAR){
if(NEW_FUNCTIONS_MEDAL_5YEAR){
$profiel = preg_replace("/\[#g2301]/is",'<img src="'.$gpack.'img/t/5year_medal.png" border="0" onmouseout="med_closeDescription()" onmousemove="med_mouseMoveHandler(arguments[0],\'<table><tr><td>Veteran Player 5a<br><br>Medal achieved for playing 5 years of Travian.</td></tr></table>\')">', $profiel, 1);
}
if(NEW_FUNCTIONS_MEDAL_10YEAR){
$profiel = preg_replace("/\[#g2302]/is",'<img src="'.$gpack.'img/t/10_year_medal.png" border="0" onmouseout="med_closeDescription()" onmousemove="med_mouseMoveHandler(arguments[0],\'<table><tr><td>Veteran Player 10a<br><br>Medal achieved for playing 10 years of Travian.</td></tr></table>\')">', $profiel, 1);
}
//de lintjes
+9
View File
@@ -185,6 +185,15 @@ MEDAL CATEGORY:
</tr>";
}
if(NEW_FUNCTIONS_MEDAL_10YEAR){
echo "<tr>
<td>veteran_10a</td>
<td></td>
<td></td>
<td>[#g2302]</td>
</tr>";
}
// Added by Shadow - cata7007@gmail.com / Skype : cata7007
if(NEW_FUNCTIONS_TRIBE_IMAGES){
if($session->userinfo['tribe'] == 1){