mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-12 22:31:02 +00:00
Add Translation to Admin Panel
Add Translation to Admin Panel
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user