mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-29 06:37:15 +00:00
This commit is contained in:
@@ -35,6 +35,10 @@ $noticeClass = [
|
||||
TZ_RPT_SCOUT
|
||||
];
|
||||
|
||||
// Settler reports (issue #178) - sparse indices 24/25
|
||||
$noticeClass[24] = TZ_RT_NEW_VILLAGE;
|
||||
$noticeClass[25] = TZ_RT_VALLEY_OCCUPIED;
|
||||
|
||||
// ======================== GOLD CHECK (cached query) ========================
|
||||
$uid = (int)$session->uid;
|
||||
|
||||
@@ -178,6 +182,14 @@ for ($i = (1 + $s); $i <= (10 + $s); $i++) {
|
||||
alt=\"".$noticeClass[$type]."\"
|
||||
title=\"".$noticeClass[$type]."\" />";
|
||||
|
||||
} elseif ($type == 24 || $type == 25) {
|
||||
|
||||
// Settler reports (issue #178): no dedicated gpack icon, reuse an existing one
|
||||
$iconType = ($type == 24) ? 8 : 3;
|
||||
echo "<img src=\"img/x.gif\" class=\"iReport iReport".$iconType."\"
|
||||
alt=\"".$noticeClass[$type]."\"
|
||||
title=\"".$noticeClass[$type]."\" />";
|
||||
|
||||
} else {
|
||||
|
||||
echo "<img src=\"img/x.gif\" class=\"iReport iReport".$type."\"
|
||||
|
||||
Reference in New Issue
Block a user