mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-12 14:21:03 +00:00
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:
@@ -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
|
||||
|
||||
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user