From 4ecbfa77a0b201fe1a02ad82e5a700b49d57c270 Mon Sep 17 00:00:00 2001 From: Vladyslav Date: Thu, 12 Apr 2018 23:58:28 +0300 Subject: [PATCH 1/2] Tooltip part 1 for admin panel settings Partially added to the file Admin/Templates/config.tpl Fully added to the file Admin/ Templates/editServerSet.tpl Almost completely translated texts in en.php --- Admin/Templates/config.tpl | 66 +++++++++++++++--------------- Admin/Templates/editServerSet.tpl | 62 ++++++++++++++-------------- GameEngine/Lang/en.php | 68 +++++++++++++++++++++++++++++++ img/admin/admin.css | 35 +++++++++++++++- 4 files changed, 166 insertions(+), 65 deletions(-) diff --git a/Admin/Templates/config.tpl b/Admin/Templates/config.tpl index d29c28a6..a64fa66c 100644 --- a/Admin/Templates/config.tpl +++ b/Admin/Templates/config.tpl @@ -15,33 +15,33 @@ if($_SESSION['access'] < 9) die(ACCESS_DENIED_ADMIN); -

Server Configuration

+

- +
Server Settings
- - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
VariableValue
Server Name ?
Server Started ?
Server Timezone ?
Language ? @@ -49,94 +49,94 @@ if($_SESSION['access'] < 9) die(ACCESS_DENIED_ADMIN);
Server Speed ?
Troop Speed ? x
Evasion Speed ?
Storage Multipler ?
Trader Capacity ?
Cranny Capacity ?
Trapper Capacity ?
Natars Units Multiplier ?
Map Size ? x
Village Expanding Speed ?
Beginners Protection ? hour/s
Register Open ? True"; } else { echo "False"; } ?>
Activation Mail ? Enabled"; } else { echo "Disabled"; } ?>
Quest ? Enabled"; } else { echo "Disabled"; } ?>
Quest Type ? Travian Official"; } else { echo "TravianZ Extended"; } ?>
Demolish - Level required ?
World Wonder - Statistics ? Enabled"; } else if(WW == false) { echo "Disabled"; } ?>
Nature Troops Regeneration Time ? = 86400){ echo ''.(NATURE_REGTIME/86400).' Days'; } else if(NATURE_REGTIME < 86400){ echo ''.(NATURE_REGTIME/3600).' Hours'; } ?>
Medal Interval ? = 86400){ echo ''.(MEDALINTERVAL/86400).' Days'; } else if(MEDALINTERVAL < 86400){ echo ''.(MEDALINTERVAL/3600).' Hours'; } ?>
Tourn Threshold ?
Great Workshop ? Enabled"; } else { echo "Disabled"; } ?>
Show Natars in Statistics ? True"; } else { echo "False"; } ?>
Peace system ?
Graphic Pack ? Enabled"; } else { echo "Disabled"; } ?>
Error Reporting ?
diff --git a/Admin/Templates/editServerSet.tpl b/Admin/Templates/editServerSet.tpl index 4e0515cb..517c241f 100644 --- a/Admin/Templates/editServerSet.tpl +++ b/Admin/Templates/editServerSet.tpl @@ -18,27 +18,27 @@ function refresh(tz) { document.getElementById('tz').innerHTML=tz; } -

Server Configuration

+


- + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
Edit Server Setting
Server Name ?
Server Started ?
Server Timezone ?
Language ?
Server Speed ?
Troop Speed ?
Evasion Speed ?
Storage Multipler ?
Trader Capacity ?
Cranny Capacity ?
Trapper Capacity ?
Natars Units Multiplier ?
Map Size ? x
Village Expanding Speed ?
Beginners Protection ?
Register Open ?
Activation Mail ?
Quest ?
Quest Type ?
Demolish - Level required ?
World Wonder - Statistics ?
Nature Troops Regeneration Time ?
Medal Interval ?
Tourn Threshold ?
Great Workshop ?
Show Natars in Statistics ?
Peace System ?
Graphic Pack ?
Error Reporting ?