mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-15 00:56:09 +00:00
NEW TRIBES ENHANCEMENT (Huns, Egipteans, Spartans & Vikings) #327
NEW TRIBES ENHANCEMENT (Huns, Egipteans, Spartans & Vikings) #327 Please be advised, is not fully tested so if you activate on install maybe is not fully working
This commit is contained in:
@@ -49,8 +49,8 @@ $replace[] = "<i>$1</i>";
|
||||
$pattern[] = "/\[u\](.*?)\[\/u\]/is";
|
||||
$replace[] = "<u>$1</u>";
|
||||
|
||||
/* Unit placeholders tid1 - tid50 */
|
||||
for ($i = 1; $i <= 50; $i++) {
|
||||
/* Unit placeholders tid1 - tid90 */
|
||||
for ($i = 1; $i <= 90; $i++) {
|
||||
$pattern[] = "/\[tid{$i}\]/";
|
||||
$replace[] = "<img class='unit u{$i}' src='img/x.gif' title='" . constant("U{$i}") . "' alt='" . constant("U{$i}") . "'>";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user