mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +00:00
General fixes
+Activation correction plus (it was not displayed correctly) +Added a transfer to a new line of long words in the admin panel (for the description of the player's profile and the alliance)
This commit is contained in:
@@ -151,9 +151,9 @@ if($_GET['aid'])
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="desc2" colspan="2">
|
||||
<center>
|
||||
<center><div class="desc2div">
|
||||
<?php echo nl2br($alidata['desc']); ?>
|
||||
</center>
|
||||
</div></center>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -163,9 +163,9 @@ if($_GET['aid'])
|
||||
</table>
|
||||
</td>
|
||||
<td class="desc1">
|
||||
<center>
|
||||
<center><div class="desc1div">
|
||||
<?php echo nl2br($alidata['notice']); ?>
|
||||
</center>
|
||||
</div></center>
|
||||
</td>
|
||||
</tr>
|
||||
</tr>
|
||||
|
||||
@@ -71,6 +71,7 @@ else
|
||||
$holdmr = intval($holdtotmin - (($holdhr * 60) + ($holdtotday * 1440)));
|
||||
echo "<b> " . ($holdmr) . "</b> mins</font>";
|
||||
}
|
||||
}
|
||||
?>
|
||||
</span></td>
|
||||
<td class="dur"><?php
|
||||
@@ -101,7 +102,6 @@ if (PLUS_TIME >= 86400) {
|
||||
echo '<a href="plus.php?s=1"><span class="none">too little gold';
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
</span></a>
|
||||
</td>
|
||||
|
||||
+12
-1
@@ -527,7 +527,7 @@ table#profile thead th, table#profile tfoot th {background-image:url(../un/a/c2.
|
||||
table#profile thead td, table#profile tfoot td {background-color:#F3F3F3; text-align:center; width:50%;}
|
||||
table#profile tbody th, table#profile tbody td {text-align:left;}
|
||||
table#profile td.details {width:50%; height:156px; padding:0px; vertical-align:top; border-bottom:none;}
|
||||
table#profile td.details table {border-collapse:collapse; line-height:16px; margin-top:0px; width:100%;}
|
||||
table#profile td.details table {border-collapse:collapse; line-height:16px; margin-top:0px; width:100%; height:100%}
|
||||
table#profile td.details table th {width:50%; border-left:none; border-top:none; background:none;}
|
||||
table#profile td.details table td {border-right:none; border-left:none; border-top:none; text-align:left;}
|
||||
table#profile td.desc1, table#profile td.desc2 {width:50%; padding:0px 7px; vertical-align:middle;}
|
||||
@@ -572,6 +572,17 @@ input#btn_forward {width:97px; background-image: url(b/forward.gif);}
|
||||
input#btn_demolish {width:97px; background-image: url(b/demolish.gif);}
|
||||
input#btn_search {width:97px; background-image: url(b/search.gif);}
|
||||
|
||||
.desc1div {
|
||||
width: 235px;
|
||||
word-wrap: break-word;
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
.desc2div {
|
||||
width: 234px;
|
||||
word-wrap: break-word;
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
|
||||
/* Start tooltips for the admin panel settings */
|
||||
.tooltip {
|
||||
position: relative;
|
||||
|
||||
Reference in New Issue
Block a user