Add Translation to Admin Panel

Add Translation to Admin Panel
This commit is contained in:
Catalin Novgorodschi
2026-07-26 07:58:41 +03:00
parent a23b9875a0
commit f1854c1559
97 changed files with 3938 additions and 1236 deletions
+6 -6
View File
@@ -35,20 +35,20 @@ $members = $database->getAllMember($aid);
<div class="del-wrap">
<div class="del-card">
<h3>🗑 Delete Alliance</h3>
<h3><?php echo ADM_DELETE_ALLIANCE; ?></h3>
<div class="body">
<p>Are you sure you want to permanently delete?:</p>
<p><?php echo ADM_ARE_YOU_SURE_YOU_WANT_TO_PERMANENTLY_DELETE; ?></p>
<p style="font-size:16px;margin:10px 0;"><b>[<?php echo htmlspecialchars($alidata['tag']);?>] <?php echo htmlspecialchars($alidata['name']);?></b></p>
<p>Members: <b><?php echo count($members);?></b> | Points: <b><?php echo number_format($database->getVSumField(array_column($members,'id'),'pop')[0]['Total']?? 0);?></b></p>
<p><?php echo ADM_MEMBERS_2; ?><b><?php echo count($members);?></b><?php echo ADM_POINTS_3; ?><b><?php echo number_format($database->getVSumField(array_column($members,'id'),'pop')[0]['Total']?? 0);?></b></p>
<div class="warn">⚠ All members will be removed from the alliance, permissions, diplomacy, logs and the alliance forum will be deleted. The action is irreversible!</div>
<div class="warn"><?php echo ADM_ALL_MEMBERS_WILL_BE_REMOVED_FROM_THE_ALLIANC; ?></div>
<form method="POST" action="../GameEngine/Admin/Mods/delAli.php" onsubmit="return confirm('Last warning: DELETE PERMANENTLY?');">
<?php echo csrf_field(); ?>
<input type="hidden" name="aid" value="<?php echo $aid;?>">
<input type="hidden" name="admid" value="<?php echo $_SESSION['id'];?>">
<button type="submit" class="btn del">YES, DELETE</button>
<a href="admin.php?p=alliance&aid=<?php echo $aid;?>" class="btn cancel">Cancel</a>
<button type="submit" class="btn del"><?php echo ADM_YES_DELETE; ?></button>
<a href="admin.php?p=alliance&aid=<?php echo $aid;?>" class="btn cancel"><?php echo ADM_CANCEL; ?></a>
</form>
</div>
</div>