mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +00:00
fix: logging works, tech log link added to Admin
This commit is contained in:
@@ -351,6 +351,16 @@ if (!empty($_GET['p'])) {
|
||||
$subpage = 'Build Log (no village)';
|
||||
}
|
||||
break;
|
||||
|
||||
case 'techlog':
|
||||
if (!empty($_GET['did'])) {
|
||||
$village = $database->getVillage($_GET['did']);
|
||||
$user = $database->getUserArray($village['owner'],1);
|
||||
$subpage = 'Research Log ('.$village['name'].' » '.$user['username'].')';
|
||||
} else {
|
||||
$subpage = 'Research Log (no village)';
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user