add ww tribe image
add ww tribe image
@@ -271,6 +271,7 @@ $cronKeyMasked = ($cronKey === '')
|
|||||||
<tr><td><?php echo ADM_T4_HERO_ITEMS_ADVENTURES_AUCTION; ?><em class="tooltip">?<span class="classic"><?php echo ADM_T4_HERO_ITEMS_ADVENTURES_AUCTION; ?></span></em></td><td><?php echo NEW_FUNCTIONS_HERO_T4 ? "<span class='badge green'>Enabled</span>" : "<span class='badge red'>Disabled</span>"; ?></td></tr>
|
<tr><td><?php echo ADM_T4_HERO_ITEMS_ADVENTURES_AUCTION; ?><em class="tooltip">?<span class="classic"><?php echo ADM_T4_HERO_ITEMS_ADVENTURES_AUCTION; ?></span></em></td><td><?php echo NEW_FUNCTIONS_HERO_T4 ? "<span class='badge green'>Enabled</span>" : "<span class='badge red'>Disabled</span>"; ?></td></tr>
|
||||||
<tr><td><?php echo ADM_REGISTRATION_BONUS_GOLD; ?><em class="tooltip">?<span class="classic"><?php echo ADM_GIVE_EVERY_NEWLY_REGISTERED_PLAYER_A_ONE_TIM; ?></span></em></td><td><?php echo (defined('NEW_FUNCTION_REGISTRATION_GOLD') && NEW_FUNCTION_REGISTRATION_GOLD) ? "<span class='badge green'>Enabled</span>" : "<span class='badge red'>Disabled</span>"; ?></td></tr>
|
<tr><td><?php echo ADM_REGISTRATION_BONUS_GOLD; ?><em class="tooltip">?<span class="classic"><?php echo ADM_GIVE_EVERY_NEWLY_REGISTERED_PLAYER_A_ONE_TIM; ?></span></em></td><td><?php echo (defined('NEW_FUNCTION_REGISTRATION_GOLD') && NEW_FUNCTION_REGISTRATION_GOLD) ? "<span class='badge green'>Enabled</span>" : "<span class='badge red'>Disabled</span>"; ?></td></tr>
|
||||||
<tr><td><?php echo ADM_REGISTRATION_BONUS_GOLD_AMOUNT; ?><em class="tooltip">?<span class="classic"><?php echo ADM_HOW_MUCH_GOLD_EACH_NEW_PLAYER_RECEIVES_WHEN; ?></span></em></td><td><?php echo (defined('NEW_FUNCTION_REGISTRATION_GOLD_VALUE') ? (int) NEW_FUNCTION_REGISTRATION_GOLD_VALUE : 200); ?></td></tr>
|
<tr><td><?php echo ADM_REGISTRATION_BONUS_GOLD_AMOUNT; ?><em class="tooltip">?<span class="classic"><?php echo ADM_HOW_MUCH_GOLD_EACH_NEW_PLAYER_RECEIVES_WHEN; ?></span></em></td><td><?php echo (defined('NEW_FUNCTION_REGISTRATION_GOLD_VALUE') ? (int) NEW_FUNCTION_REGISTRATION_GOLD_VALUE : 200); ?></td></tr>
|
||||||
|
<tr><td><?php echo ADM_WW_IMAGE; ?> <em class="tooltip">?<span class="classic"><?php echo ADM_WW_IMAGE_TIP; ?></span></em></td><td><?php echo (!defined('NEW_FUNCTION_WW_IMAGE') || NEW_FUNCTION_WW_IMAGE) ? "<span class='badge green'>Enabled</span>" : "<span class='badge red'>Disabled</span>"; ?></td></tr>
|
||||||
<tr><td><?php echo ADM_ALLIANCE_BONUSES; ?> <em class="tooltip">?<span class="classic"><?php echo ADM_ALLIANCE_BONUSES_TIP; ?></span></em></td><td><?php echo (defined('NEW_FUNCTIONS_ALLIANCE_BONUSES') && NEW_FUNCTIONS_ALLIANCE_BONUSES) ? "<span class='badge green'>Enabled</span>" : "<span class='badge red'>Disabled</span>"; ?></td></tr>
|
<tr><td><?php echo ADM_ALLIANCE_BONUSES; ?> <em class="tooltip">?<span class="classic"><?php echo ADM_ALLIANCE_BONUSES_TIP; ?></span></em></td><td><?php echo (defined('NEW_FUNCTIONS_ALLIANCE_BONUSES') && NEW_FUNCTIONS_ALLIANCE_BONUSES) ? "<span class='badge green'>Enabled</span>" : "<span class='badge red'>Disabled</span>"; ?></td></tr>
|
||||||
<tr><td><?php echo ADM_PLUS_STATISTICS; ?> <em class="tooltip">?<span class="classic"><?php echo ADM_PLUS_STATISTICS_TIP; ?></span></em></td><td><?php
|
<tr><td><?php echo ADM_PLUS_STATISTICS; ?> <em class="tooltip">?<span class="classic"><?php echo ADM_PLUS_STATISTICS_TIP; ?></span></em></td><td><?php
|
||||||
if (defined('NEW_FUNCTIONS_PLUS_STATISTICS') && NEW_FUNCTIONS_PLUS_STATISTICS) {
|
if (defined('NEW_FUNCTIONS_PLUS_STATISTICS') && NEW_FUNCTIONS_PLUS_STATISTICS) {
|
||||||
|
|||||||
@@ -255,6 +255,15 @@ if($_SESSION['access'] < 9) die(ACCESS_DENIED_ADMIN);
|
|||||||
</select>
|
</select>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="b"><?php echo ADM_WW_IMAGE; ?><em class="tooltip">?<span class="classic"><?php echo ADM_WW_IMAGE_TIP; ?></span></em></td>
|
||||||
|
<td>
|
||||||
|
<select name="ww_image">
|
||||||
|
<option value="true" <?php if (!defined('NEW_FUNCTION_WW_IMAGE') || NEW_FUNCTION_WW_IMAGE) echo "selected"; ?>>True</option>
|
||||||
|
<option value="false" <?php if (defined('NEW_FUNCTION_WW_IMAGE') && !NEW_FUNCTION_WW_IMAGE) echo "selected"; ?>>False</option>
|
||||||
|
</select>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="b"><?php echo ADM_PLUS_STATISTICS; ?><em class="tooltip">?<span class="classic"><?php echo ADM_PLUS_STATISTICS_TIP; ?></span></em>
|
<td class="b"><?php echo ADM_PLUS_STATISTICS; ?><em class="tooltip">?<span class="classic"><?php echo ADM_PLUS_STATISTICS_TIP; ?></span></em>
|
||||||
<?php if (!defined('NEW_FUNCTIONS_PLUS_STATISTICS')): ?><br><span style="color:#c0392b;font-size:11px;font-weight:normal;text-transform:none;"><?php echo ADM_NOT_PRESENT_IN_CONFIG_PHP_YET_SAVING_THIS_FO; ?></span><?php endif; ?>
|
<?php if (!defined('NEW_FUNCTIONS_PLUS_STATISTICS')): ?><br><span style="color:#c0392b;font-size:11px;font-weight:normal;text-transform:none;"><?php echo ADM_NOT_PRESENT_IN_CONFIG_PHP_YET_SAVING_THIS_FO; ?></span><?php endif; ?>
|
||||||
|
|||||||
@@ -50,7 +50,12 @@ $fh = fopen($myFile, 'w') or die("<br/><br/><br/>Can't open file: GameEngine\con
|
|||||||
$psKeep = isset($_POST['plus_stats_keep']) ? (int) $_POST['plus_stats_keep'] : 0;
|
$psKeep = isset($_POST['plus_stats_keep']) ? (int) $_POST['plus_stats_keep'] : 0;
|
||||||
if ($psKeep < 0 || $psKeep > 3650) { $psKeep = 0; }
|
if ($psKeep < 0 || $psKeep > 3650) { $psKeep = 0; }
|
||||||
|
|
||||||
|
// Minunea Lumii cu stil pe trib
|
||||||
|
$wwImgChoice = (isset($_POST['ww_image']) && $_POST['ww_image'] === 'false')
|
||||||
|
? 'false' : 'true';
|
||||||
|
|
||||||
$text = admin_config_template_contents(array(
|
$text = admin_config_template_contents(array(
|
||||||
|
'%WWIMAGE%' => $wwImgChoice,
|
||||||
'%ALLIANCEBONUSES%' => $abChoice,
|
'%ALLIANCEBONUSES%' => $abChoice,
|
||||||
'%PLUSSTATS%' => $psChoice,
|
'%PLUSSTATS%' => $psChoice,
|
||||||
'%PLUSSTATSHOURS%' => $psHours,
|
'%PLUSSTATSHOURS%' => $psHours,
|
||||||
|
|||||||
@@ -0,0 +1,38 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Clasa CSS de trib pentru Minunea Lumii.
|
||||||
|
*
|
||||||
|
* Intoarce " wwt<trib>" daca functia e pornita SI tribul chiar are imaginile pe
|
||||||
|
* disc; altfel sir gol, iar minunea ramane cea originala.
|
||||||
|
*
|
||||||
|
* Verificarea pe disc e fallback-ul: daca stergi un folder de imagini, tribul
|
||||||
|
* revine singur la varianta initiala, fara sa mai atingi codul.
|
||||||
|
*/
|
||||||
|
if (!function_exists('tz_ww_tribe_class')) {
|
||||||
|
|
||||||
|
function tz_ww_tribe_class($tribe)
|
||||||
|
{
|
||||||
|
static $cache = array();
|
||||||
|
|
||||||
|
$tribe = (int) $tribe;
|
||||||
|
|
||||||
|
if ($tribe <= 0) {
|
||||||
|
return '';
|
||||||
|
}
|
||||||
|
|
||||||
|
if (isset($cache[$tribe])) {
|
||||||
|
return $cache[$tribe];
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!defined('NEW_FUNCTION_WW_IMAGE') || !NEW_FUNCTION_WW_IMAGE) {
|
||||||
|
return $cache[$tribe] = '';
|
||||||
|
}
|
||||||
|
|
||||||
|
$dir = (defined('GP_LOCATE') ? GP_LOCATE : 'gpack/travian_default/')
|
||||||
|
. 'img/g/ww/t' . $tribe;
|
||||||
|
|
||||||
|
return $cache[$tribe] = (is_dir($dir) && is_file($dir . '/g40_0.png'))
|
||||||
|
? ' wwt' . $tribe
|
||||||
|
: '';
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -4342,3 +4342,9 @@ tz_def('HERO_COL_IMAGE', 'Image');
|
|||||||
tz_def('HERO_COL_NAME', 'Item name');
|
tz_def('HERO_COL_NAME', 'Item name');
|
||||||
tz_def('HERO_COL_TIER', 'Tier (bonus)');
|
tz_def('HERO_COL_TIER', 'Tier (bonus)');
|
||||||
tz_def('HERO_COL_ACTION', 'Action');
|
tz_def('HERO_COL_ACTION', 'Action');
|
||||||
|
|
||||||
|
//////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
// MINUNEA LUMII - stil pe trib
|
||||||
|
//////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
tz_def('ADM_WW_IMAGE', 'Per-tribe World Wonder');
|
||||||
|
tz_def('ADM_WW_IMAGE_TIP', 'Each tribe sees its own World Wonder artwork, both on the village map and on the construction page. Tribes without artwork on disk keep the original image regardless of this setting.');
|
||||||
|
|||||||
@@ -4285,3 +4285,9 @@ tz_def('HERO_COL_IMAGE', 'Image');
|
|||||||
tz_def('HERO_COL_NAME', 'Nom de l\'objet');
|
tz_def('HERO_COL_NAME', 'Nom de l\'objet');
|
||||||
tz_def('HERO_COL_TIER', 'Niveau (bonus)');
|
tz_def('HERO_COL_TIER', 'Niveau (bonus)');
|
||||||
tz_def('HERO_COL_ACTION', 'Action');
|
tz_def('HERO_COL_ACTION', 'Action');
|
||||||
|
|
||||||
|
//////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
// MINUNEA LUMII - stil pe trib
|
||||||
|
//////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
tz_def('ADM_WW_IMAGE', 'Merveille par tribu');
|
||||||
|
tz_def('ADM_WW_IMAGE_TIP', 'Chaque tribu voit sa propre Merveille du Monde, sur la carte du village et sur la page de construction. Les tribus sans images gardent l\'image d\'origine, quel que soit ce reglage.');
|
||||||
|
|||||||
@@ -4082,3 +4082,9 @@ tz_def('HERO_COL_IMAGE', 'Imagine');
|
|||||||
tz_def('HERO_COL_NAME', 'Numele itemului');
|
tz_def('HERO_COL_NAME', 'Numele itemului');
|
||||||
tz_def('HERO_COL_TIER', 'Nivel (bonus)');
|
tz_def('HERO_COL_TIER', 'Nivel (bonus)');
|
||||||
tz_def('HERO_COL_ACTION', 'Actiune');
|
tz_def('HERO_COL_ACTION', 'Actiune');
|
||||||
|
|
||||||
|
//////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
// MINUNEA LUMII - stil pe trib
|
||||||
|
//////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
tz_def('ADM_WW_IMAGE', 'Minune pe trib');
|
||||||
|
tz_def('ADM_WW_IMAGE_TIP', 'Fiecare trib isi vede propria Minune a Lumii, atat pe harta satului cat si in pagina de constructie. Triburile fara imagini pe disc raman pe imaginea originala, indiferent de setare.');
|
||||||
|
|||||||
@@ -30,7 +30,14 @@ $level = (int)$village->resarray['f'.$id];
|
|||||||
?>
|
?>
|
||||||
<div id="build" class="gid40">
|
<div id="build" class="gid40">
|
||||||
<a href="#" onClick="return Popup(40,4);" class="build_logo">
|
<a href="#" onClick="return Popup(40,4);" class="build_logo">
|
||||||
<img class="building g40" src="img/x.gif" alt="<?php echo WORLD_WONDER; ?>" title="<?php echo WORLD_WONDER;?>" />
|
<?php
|
||||||
|
// Logo-ul preia stilul tribului, ca sa nu vezi altceva aici decat
|
||||||
|
// in sat. Regulile CSS de trib dau DOAR imaginea, nu si inaltimea,
|
||||||
|
// deci logo-ul isi pastreaza cei 100px.
|
||||||
|
include_once('GameEngine/Data/ww_tribe.php');
|
||||||
|
$wwLogoClass = tz_ww_tribe_class($session->tribe ?? 0);
|
||||||
|
?>
|
||||||
|
<img class="building g40<?php echo $wwLogoClass; ?>" src="img/x.gif" alt="<?php echo WORLD_WONDER; ?>" title="<?php echo WORLD_WONDER;?>" />
|
||||||
</a>
|
</a>
|
||||||
<h1><?php echo WONDER;?><br /><span class="level"><?php echo LEVEL;?> <?php echo $level;?></span></h1>
|
<h1><?php echo WONDER;?><br /><span class="level"><?php echo LEVEL;?> <?php echo $level;?></span></h1>
|
||||||
<p class="build_desc"><?php echo WONDER_DESC;?></p>
|
<p class="build_desc"><?php echo WONDER_DESC;?></p>
|
||||||
|
|||||||
@@ -364,28 +364,43 @@ if (
|
|||||||
|
|
||||||
$wwLevel = (int)$village->resarray['f99'];
|
$wwLevel = (int)$village->resarray['f99'];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Stil de Minune propriu fiecarui trib.
|
||||||
|
*
|
||||||
|
* Adaugam o clasa suplimentara (.wwt1 ... .wwt9) peste cea de nivel. In CSS
|
||||||
|
* combinatia are prioritate mai mare, deci suprascrie imaginea, inaltimea si
|
||||||
|
* pozitia.
|
||||||
|
*
|
||||||
|
* FALLBACK: clasa se pune DOAR daca tribul chiar are imaginile pe disc.
|
||||||
|
* Pentru triburile fara arta proprie nu se adauga nimic, iar minunea ramane
|
||||||
|
* cea originala. Cand adaugi imagini pentru un trib nou, e de ajuns sa pui
|
||||||
|
* fisierele in gpack/<pachet>/img/g/ww/t<trib>/ si regulile in CSS.
|
||||||
|
*/
|
||||||
|
include_once('GameEngine/Data/ww_tribe.php');
|
||||||
|
$wwClass = tz_ww_tribe_class($village->owner_tribe ?? $session->tribe ?? 0);
|
||||||
|
|
||||||
if ($wwLevel >= 0 && $wwLevel <= 19) {
|
if ($wwLevel >= 0 && $wwLevel <= 19) {
|
||||||
echo '<img class="ww g40" src="img/x.gif" alt="Worldwonder">';
|
echo '<img class="ww g40' . $wwClass . '" src="img/x.gif" alt="Worldwonder">';
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($wwLevel >= 20 && $wwLevel <= 39) {
|
if ($wwLevel >= 20 && $wwLevel <= 39) {
|
||||||
echo '<img class="ww g40_1" src="img/x.gif" alt="Worldwonder">';
|
echo '<img class="ww g40_1' . $wwClass . '" src="img/x.gif" alt="Worldwonder">';
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($wwLevel >= 40 && $wwLevel <= 59) {
|
if ($wwLevel >= 40 && $wwLevel <= 59) {
|
||||||
echo '<img class="ww g40_2" src="img/x.gif" alt="Worldwonder">';
|
echo '<img class="ww g40_2' . $wwClass . '" src="img/x.gif" alt="Worldwonder">';
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($wwLevel >= 60 && $wwLevel <= 79) {
|
if ($wwLevel >= 60 && $wwLevel <= 79) {
|
||||||
echo '<img class="ww g40_3" src="img/x.gif" alt="Worldwonder">';
|
echo '<img class="ww g40_3' . $wwClass . '" src="img/x.gif" alt="Worldwonder">';
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($wwLevel >= 80 && $wwLevel <= 99) {
|
if ($wwLevel >= 80 && $wwLevel <= 99) {
|
||||||
echo '<img class="ww g40_4" src="img/x.gif" alt="Worldwonder">';
|
echo '<img class="ww g40_4' . $wwClass . '" src="img/x.gif" alt="Worldwonder">';
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($wwLevel == 100) {
|
if ($wwLevel == 100) {
|
||||||
echo '<img class="ww g40_5" src="img/x.gif" alt="Worldwonder">';
|
echo '<img class="ww g40_5' . $wwClass . '" src="img/x.gif" alt="Worldwonder">';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|||||||
|
After Width: | Height: | Size: 36 KiB |
|
After Width: | Height: | Size: 43 KiB |
|
After Width: | Height: | Size: 54 KiB |
|
After Width: | Height: | Size: 69 KiB |
|
After Width: | Height: | Size: 85 KiB |
|
After Width: | Height: | Size: 87 KiB |
|
After Width: | Height: | Size: 34 KiB |
|
After Width: | Height: | Size: 52 KiB |
|
After Width: | Height: | Size: 72 KiB |
|
After Width: | Height: | Size: 85 KiB |
|
After Width: | Height: | Size: 86 KiB |
|
After Width: | Height: | Size: 92 KiB |
|
After Width: | Height: | Size: 66 KiB |
|
After Width: | Height: | Size: 64 KiB |
|
After Width: | Height: | Size: 64 KiB |
|
After Width: | Height: | Size: 67 KiB |
|
After Width: | Height: | Size: 75 KiB |
|
After Width: | Height: | Size: 77 KiB |
|
After Width: | Height: | Size: 24 KiB |
|
After Width: | Height: | Size: 39 KiB |
|
After Width: | Height: | Size: 48 KiB |
|
After Width: | Height: | Size: 66 KiB |
|
After Width: | Height: | Size: 77 KiB |
|
After Width: | Height: | Size: 80 KiB |
|
After Width: | Height: | Size: 29 KiB |
|
After Width: | Height: | Size: 46 KiB |
|
After Width: | Height: | Size: 58 KiB |
|
After Width: | Height: | Size: 82 KiB |
|
After Width: | Height: | Size: 95 KiB |
|
After Width: | Height: | Size: 102 KiB |
|
After Width: | Height: | Size: 36 KiB |
|
After Width: | Height: | Size: 43 KiB |
|
After Width: | Height: | Size: 54 KiB |
|
After Width: | Height: | Size: 69 KiB |
|
After Width: | Height: | Size: 85 KiB |
|
After Width: | Height: | Size: 87 KiB |
|
After Width: | Height: | Size: 36 KiB |
|
After Width: | Height: | Size: 43 KiB |
|
After Width: | Height: | Size: 54 KiB |
|
After Width: | Height: | Size: 69 KiB |
|
After Width: | Height: | Size: 85 KiB |
|
After Width: | Height: | Size: 87 KiB |
@@ -9570,3 +9570,122 @@ div.statistics div#submenu2 img {
|
|||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
margin: 0 2px;
|
margin: 0 2px;
|
||||||
}
|
}
|
||||||
|
/* ==========================================================================
|
||||||
|
Minunea Lumii, cate un stil pentru fiecare trib.
|
||||||
|
|
||||||
|
Clasa de trib (.wwt1 ... .wwt9) se pune peste cea de nivel (.g40_x).
|
||||||
|
Triburile fara imagini pe disc nu primesc clasa, deci raman pe regulile
|
||||||
|
originale (fallback automat).
|
||||||
|
|
||||||
|
IMPORTANT - de ce sunt doua sectiuni:
|
||||||
|
imaginea se aplica peste tot (harta satului SI logo-ul din pagina de
|
||||||
|
constructie), dar inaltimea si pozitia DOAR pe harta. Pe pagina de
|
||||||
|
constructie logo-ul are 100px si trebuie sa ramana asa; o regula de
|
||||||
|
inaltime globala l-ar umfla si ar strica asezarea.
|
||||||
|
|
||||||
|
INCADRARE: minunea creste in sus dintr-o baza fixa, la 267px.
|
||||||
|
Schimba BASE in genereaza-ww.py si regenereaza. Mai mic = mai sus.
|
||||||
|
(Jocul original folosea 292px.)
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
/* --- 1. IMAGINEA: se aplica oriunde apare minunea --- */
|
||||||
|
/* trib 1 */
|
||||||
|
img.wwt1.g40 { background-image: url("../../img/g/ww/t1/g40_0.png"); }
|
||||||
|
img.wwt1.g40_1 { background-image: url("../../img/g/ww/t1/g40_1.png"); }
|
||||||
|
img.wwt1.g40_2 { background-image: url("../../img/g/ww/t1/g40_2.png"); }
|
||||||
|
img.wwt1.g40_3 { background-image: url("../../img/g/ww/t1/g40_3.png"); }
|
||||||
|
img.wwt1.g40_4 { background-image: url("../../img/g/ww/t1/g40_4.png"); }
|
||||||
|
img.wwt1.g40_5 { background-image: url("../../img/g/ww/t1/g40_5.png"); }
|
||||||
|
/* trib 2 */
|
||||||
|
img.wwt2.g40 { background-image: url("../../img/g/ww/t2/g40_0.png"); }
|
||||||
|
img.wwt2.g40_1 { background-image: url("../../img/g/ww/t2/g40_1.png"); }
|
||||||
|
img.wwt2.g40_2 { background-image: url("../../img/g/ww/t2/g40_2.png"); }
|
||||||
|
img.wwt2.g40_3 { background-image: url("../../img/g/ww/t2/g40_3.png"); }
|
||||||
|
img.wwt2.g40_4 { background-image: url("../../img/g/ww/t2/g40_4.png"); }
|
||||||
|
img.wwt2.g40_5 { background-image: url("../../img/g/ww/t2/g40_5.png"); }
|
||||||
|
/* trib 3 */
|
||||||
|
img.wwt3.g40 { background-image: url("../../img/g/ww/t3/g40_0.png"); }
|
||||||
|
img.wwt3.g40_1 { background-image: url("../../img/g/ww/t3/g40_1.png"); }
|
||||||
|
img.wwt3.g40_2 { background-image: url("../../img/g/ww/t3/g40_2.png"); }
|
||||||
|
img.wwt3.g40_3 { background-image: url("../../img/g/ww/t3/g40_3.png"); }
|
||||||
|
img.wwt3.g40_4 { background-image: url("../../img/g/ww/t3/g40_4.png"); }
|
||||||
|
img.wwt3.g40_5 { background-image: url("../../img/g/ww/t3/g40_5.png"); }
|
||||||
|
/* trib 6 */
|
||||||
|
img.wwt6.g40 { background-image: url("../../img/g/ww/t6/g40_0.png"); }
|
||||||
|
img.wwt6.g40_1 { background-image: url("../../img/g/ww/t6/g40_1.png"); }
|
||||||
|
img.wwt6.g40_2 { background-image: url("../../img/g/ww/t6/g40_2.png"); }
|
||||||
|
img.wwt6.g40_3 { background-image: url("../../img/g/ww/t6/g40_3.png"); }
|
||||||
|
img.wwt6.g40_4 { background-image: url("../../img/g/ww/t6/g40_4.png"); }
|
||||||
|
img.wwt6.g40_5 { background-image: url("../../img/g/ww/t6/g40_5.png"); }
|
||||||
|
/* trib 7 */
|
||||||
|
img.wwt7.g40 { background-image: url("../../img/g/ww/t7/g40_0.png"); }
|
||||||
|
img.wwt7.g40_1 { background-image: url("../../img/g/ww/t7/g40_1.png"); }
|
||||||
|
img.wwt7.g40_2 { background-image: url("../../img/g/ww/t7/g40_2.png"); }
|
||||||
|
img.wwt7.g40_3 { background-image: url("../../img/g/ww/t7/g40_3.png"); }
|
||||||
|
img.wwt7.g40_4 { background-image: url("../../img/g/ww/t7/g40_4.png"); }
|
||||||
|
img.wwt7.g40_5 { background-image: url("../../img/g/ww/t7/g40_5.png"); }
|
||||||
|
/* trib 8 (provizoriu: imagini de la romani) */
|
||||||
|
img.wwt8.g40 { background-image: url("../../img/g/ww/t8/g40_0.png"); }
|
||||||
|
img.wwt8.g40_1 { background-image: url("../../img/g/ww/t8/g40_1.png"); }
|
||||||
|
img.wwt8.g40_2 { background-image: url("../../img/g/ww/t8/g40_2.png"); }
|
||||||
|
img.wwt8.g40_3 { background-image: url("../../img/g/ww/t8/g40_3.png"); }
|
||||||
|
img.wwt8.g40_4 { background-image: url("../../img/g/ww/t8/g40_4.png"); }
|
||||||
|
img.wwt8.g40_5 { background-image: url("../../img/g/ww/t8/g40_5.png"); }
|
||||||
|
/* trib 9 (provizoriu: imagini de la romani) */
|
||||||
|
img.wwt9.g40 { background-image: url("../../img/g/ww/t9/g40_0.png"); }
|
||||||
|
img.wwt9.g40_1 { background-image: url("../../img/g/ww/t9/g40_1.png"); }
|
||||||
|
img.wwt9.g40_2 { background-image: url("../../img/g/ww/t9/g40_2.png"); }
|
||||||
|
img.wwt9.g40_3 { background-image: url("../../img/g/ww/t9/g40_3.png"); }
|
||||||
|
img.wwt9.g40_4 { background-image: url("../../img/g/ww/t9/g40_4.png"); }
|
||||||
|
img.wwt9.g40_5 { background-image: url("../../img/g/ww/t9/g40_5.png"); }
|
||||||
|
|
||||||
|
/* --- 2. INALTIMEA SI POZITIA: doar pe harta satului --- */
|
||||||
|
/* trib 1 */
|
||||||
|
div.village2 div#village_map img.wwt1.g40 { height: 174px; top: 93px; }
|
||||||
|
div.village2 div#village_map img.wwt1.g40_1 { height: 173px; top: 94px; }
|
||||||
|
div.village2 div#village_map img.wwt1.g40_2 { height: 180px; top: 87px; }
|
||||||
|
div.village2 div#village_map img.wwt1.g40_3 { height: 217px; top: 50px; }
|
||||||
|
div.village2 div#village_map img.wwt1.g40_4 { height: 302px; top: -35px; }
|
||||||
|
div.village2 div#village_map img.wwt1.g40_5 { height: 302px; top: -35px; }
|
||||||
|
/* trib 2 */
|
||||||
|
div.village2 div#village_map img.wwt2.g40 { height: 146px; top: 121px; }
|
||||||
|
div.village2 div#village_map img.wwt2.g40_1 { height: 244px; top: 23px; }
|
||||||
|
div.village2 div#village_map img.wwt2.g40_2 { height: 231px; top: 36px; }
|
||||||
|
div.village2 div#village_map img.wwt2.g40_3 { height: 285px; top: -18px; }
|
||||||
|
div.village2 div#village_map img.wwt2.g40_4 { height: 285px; top: -18px; }
|
||||||
|
div.village2 div#village_map img.wwt2.g40_5 { height: 302px; top: -35px; }
|
||||||
|
/* trib 3 */
|
||||||
|
div.village2 div#village_map img.wwt3.g40 { height: 259px; top: 8px; }
|
||||||
|
div.village2 div#village_map img.wwt3.g40_1 { height: 258px; top: 9px; }
|
||||||
|
div.village2 div#village_map img.wwt3.g40_2 { height: 259px; top: 8px; }
|
||||||
|
div.village2 div#village_map img.wwt3.g40_3 { height: 256px; top: 11px; }
|
||||||
|
div.village2 div#village_map img.wwt3.g40_4 { height: 262px; top: 5px; }
|
||||||
|
div.village2 div#village_map img.wwt3.g40_5 { height: 261px; top: 6px; }
|
||||||
|
/* trib 6 */
|
||||||
|
div.village2 div#village_map img.wwt6.g40 { height: 97px; top: 170px; }
|
||||||
|
div.village2 div#village_map img.wwt6.g40_1 { height: 140px; top: 127px; }
|
||||||
|
div.village2 div#village_map img.wwt6.g40_2 { height: 210px; top: 57px; }
|
||||||
|
div.village2 div#village_map img.wwt6.g40_3 { height: 300px; top: -33px; }
|
||||||
|
div.village2 div#village_map img.wwt6.g40_4 { height: 300px; top: -33px; }
|
||||||
|
div.village2 div#village_map img.wwt6.g40_5 { height: 302px; top: -35px; }
|
||||||
|
/* trib 7 */
|
||||||
|
div.village2 div#village_map img.wwt7.g40 { height: 133px; top: 134px; }
|
||||||
|
div.village2 div#village_map img.wwt7.g40_1 { height: 155px; top: 112px; }
|
||||||
|
div.village2 div#village_map img.wwt7.g40_2 { height: 183px; top: 84px; }
|
||||||
|
div.village2 div#village_map img.wwt7.g40_3 { height: 270px; top: -3px; }
|
||||||
|
div.village2 div#village_map img.wwt7.g40_4 { height: 295px; top: -28px; }
|
||||||
|
div.village2 div#village_map img.wwt7.g40_5 { height: 302px; top: -35px; }
|
||||||
|
/* trib 8 */
|
||||||
|
div.village2 div#village_map img.wwt8.g40 { height: 174px; top: 93px; }
|
||||||
|
div.village2 div#village_map img.wwt8.g40_1 { height: 173px; top: 94px; }
|
||||||
|
div.village2 div#village_map img.wwt8.g40_2 { height: 180px; top: 87px; }
|
||||||
|
div.village2 div#village_map img.wwt8.g40_3 { height: 217px; top: 50px; }
|
||||||
|
div.village2 div#village_map img.wwt8.g40_4 { height: 302px; top: -35px; }
|
||||||
|
div.village2 div#village_map img.wwt8.g40_5 { height: 302px; top: -35px; }
|
||||||
|
/* trib 9 */
|
||||||
|
div.village2 div#village_map img.wwt9.g40 { height: 174px; top: 93px; }
|
||||||
|
div.village2 div#village_map img.wwt9.g40_1 { height: 173px; top: 94px; }
|
||||||
|
div.village2 div#village_map img.wwt9.g40_2 { height: 180px; top: 87px; }
|
||||||
|
div.village2 div#village_map img.wwt9.g40_3 { height: 217px; top: 50px; }
|
||||||
|
div.village2 div#village_map img.wwt9.g40_4 { height: 302px; top: -35px; }
|
||||||
|
div.village2 div#village_map img.wwt9.g40_5 { height: 302px; top: -35px; }
|
||||||
|
|||||||
|
After Width: | Height: | Size: 36 KiB |
|
After Width: | Height: | Size: 43 KiB |
|
After Width: | Height: | Size: 54 KiB |
|
After Width: | Height: | Size: 69 KiB |
|
After Width: | Height: | Size: 85 KiB |
|
After Width: | Height: | Size: 87 KiB |
|
After Width: | Height: | Size: 34 KiB |
|
After Width: | Height: | Size: 52 KiB |
|
After Width: | Height: | Size: 72 KiB |
|
After Width: | Height: | Size: 85 KiB |
|
After Width: | Height: | Size: 86 KiB |
|
After Width: | Height: | Size: 92 KiB |
|
After Width: | Height: | Size: 66 KiB |
|
After Width: | Height: | Size: 64 KiB |
|
After Width: | Height: | Size: 64 KiB |
|
After Width: | Height: | Size: 67 KiB |
|
After Width: | Height: | Size: 75 KiB |
|
After Width: | Height: | Size: 77 KiB |
|
After Width: | Height: | Size: 24 KiB |
|
After Width: | Height: | Size: 39 KiB |
|
After Width: | Height: | Size: 48 KiB |
|
After Width: | Height: | Size: 66 KiB |
|
After Width: | Height: | Size: 77 KiB |
|
After Width: | Height: | Size: 80 KiB |
|
After Width: | Height: | Size: 29 KiB |
|
After Width: | Height: | Size: 46 KiB |
|
After Width: | Height: | Size: 58 KiB |
|
After Width: | Height: | Size: 82 KiB |
|
After Width: | Height: | Size: 95 KiB |
|
After Width: | Height: | Size: 102 KiB |
|
After Width: | Height: | Size: 36 KiB |
|
After Width: | Height: | Size: 43 KiB |
|
After Width: | Height: | Size: 54 KiB |
|
After Width: | Height: | Size: 69 KiB |
|
After Width: | Height: | Size: 85 KiB |
|
After Width: | Height: | Size: 87 KiB |
|
After Width: | Height: | Size: 36 KiB |
|
After Width: | Height: | Size: 43 KiB |
|
After Width: | Height: | Size: 54 KiB |
|
After Width: | Height: | Size: 69 KiB |
|
After Width: | Height: | Size: 85 KiB |
|
After Width: | Height: | Size: 87 KiB |
@@ -9570,3 +9570,122 @@ div.statistics div#submenu2 img {
|
|||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
margin: 0 2px;
|
margin: 0 2px;
|
||||||
}
|
}
|
||||||
|
/* ==========================================================================
|
||||||
|
Minunea Lumii, cate un stil pentru fiecare trib.
|
||||||
|
|
||||||
|
Clasa de trib (.wwt1 ... .wwt9) se pune peste cea de nivel (.g40_x).
|
||||||
|
Triburile fara imagini pe disc nu primesc clasa, deci raman pe regulile
|
||||||
|
originale (fallback automat).
|
||||||
|
|
||||||
|
IMPORTANT - de ce sunt doua sectiuni:
|
||||||
|
imaginea se aplica peste tot (harta satului SI logo-ul din pagina de
|
||||||
|
constructie), dar inaltimea si pozitia DOAR pe harta. Pe pagina de
|
||||||
|
constructie logo-ul are 100px si trebuie sa ramana asa; o regula de
|
||||||
|
inaltime globala l-ar umfla si ar strica asezarea.
|
||||||
|
|
||||||
|
INCADRARE: minunea creste in sus dintr-o baza fixa, la 267px.
|
||||||
|
Schimba BASE in genereaza-ww.py si regenereaza. Mai mic = mai sus.
|
||||||
|
(Jocul original folosea 292px.)
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
/* --- 1. IMAGINEA: se aplica oriunde apare minunea --- */
|
||||||
|
/* trib 1 */
|
||||||
|
img.wwt1.g40 { background-image: url("../../img/g/ww/t1/g40_0.png"); }
|
||||||
|
img.wwt1.g40_1 { background-image: url("../../img/g/ww/t1/g40_1.png"); }
|
||||||
|
img.wwt1.g40_2 { background-image: url("../../img/g/ww/t1/g40_2.png"); }
|
||||||
|
img.wwt1.g40_3 { background-image: url("../../img/g/ww/t1/g40_3.png"); }
|
||||||
|
img.wwt1.g40_4 { background-image: url("../../img/g/ww/t1/g40_4.png"); }
|
||||||
|
img.wwt1.g40_5 { background-image: url("../../img/g/ww/t1/g40_5.png"); }
|
||||||
|
/* trib 2 */
|
||||||
|
img.wwt2.g40 { background-image: url("../../img/g/ww/t2/g40_0.png"); }
|
||||||
|
img.wwt2.g40_1 { background-image: url("../../img/g/ww/t2/g40_1.png"); }
|
||||||
|
img.wwt2.g40_2 { background-image: url("../../img/g/ww/t2/g40_2.png"); }
|
||||||
|
img.wwt2.g40_3 { background-image: url("../../img/g/ww/t2/g40_3.png"); }
|
||||||
|
img.wwt2.g40_4 { background-image: url("../../img/g/ww/t2/g40_4.png"); }
|
||||||
|
img.wwt2.g40_5 { background-image: url("../../img/g/ww/t2/g40_5.png"); }
|
||||||
|
/* trib 3 */
|
||||||
|
img.wwt3.g40 { background-image: url("../../img/g/ww/t3/g40_0.png"); }
|
||||||
|
img.wwt3.g40_1 { background-image: url("../../img/g/ww/t3/g40_1.png"); }
|
||||||
|
img.wwt3.g40_2 { background-image: url("../../img/g/ww/t3/g40_2.png"); }
|
||||||
|
img.wwt3.g40_3 { background-image: url("../../img/g/ww/t3/g40_3.png"); }
|
||||||
|
img.wwt3.g40_4 { background-image: url("../../img/g/ww/t3/g40_4.png"); }
|
||||||
|
img.wwt3.g40_5 { background-image: url("../../img/g/ww/t3/g40_5.png"); }
|
||||||
|
/* trib 6 */
|
||||||
|
img.wwt6.g40 { background-image: url("../../img/g/ww/t6/g40_0.png"); }
|
||||||
|
img.wwt6.g40_1 { background-image: url("../../img/g/ww/t6/g40_1.png"); }
|
||||||
|
img.wwt6.g40_2 { background-image: url("../../img/g/ww/t6/g40_2.png"); }
|
||||||
|
img.wwt6.g40_3 { background-image: url("../../img/g/ww/t6/g40_3.png"); }
|
||||||
|
img.wwt6.g40_4 { background-image: url("../../img/g/ww/t6/g40_4.png"); }
|
||||||
|
img.wwt6.g40_5 { background-image: url("../../img/g/ww/t6/g40_5.png"); }
|
||||||
|
/* trib 7 */
|
||||||
|
img.wwt7.g40 { background-image: url("../../img/g/ww/t7/g40_0.png"); }
|
||||||
|
img.wwt7.g40_1 { background-image: url("../../img/g/ww/t7/g40_1.png"); }
|
||||||
|
img.wwt7.g40_2 { background-image: url("../../img/g/ww/t7/g40_2.png"); }
|
||||||
|
img.wwt7.g40_3 { background-image: url("../../img/g/ww/t7/g40_3.png"); }
|
||||||
|
img.wwt7.g40_4 { background-image: url("../../img/g/ww/t7/g40_4.png"); }
|
||||||
|
img.wwt7.g40_5 { background-image: url("../../img/g/ww/t7/g40_5.png"); }
|
||||||
|
/* trib 8 (provizoriu: imagini de la romani) */
|
||||||
|
img.wwt8.g40 { background-image: url("../../img/g/ww/t8/g40_0.png"); }
|
||||||
|
img.wwt8.g40_1 { background-image: url("../../img/g/ww/t8/g40_1.png"); }
|
||||||
|
img.wwt8.g40_2 { background-image: url("../../img/g/ww/t8/g40_2.png"); }
|
||||||
|
img.wwt8.g40_3 { background-image: url("../../img/g/ww/t8/g40_3.png"); }
|
||||||
|
img.wwt8.g40_4 { background-image: url("../../img/g/ww/t8/g40_4.png"); }
|
||||||
|
img.wwt8.g40_5 { background-image: url("../../img/g/ww/t8/g40_5.png"); }
|
||||||
|
/* trib 9 (provizoriu: imagini de la romani) */
|
||||||
|
img.wwt9.g40 { background-image: url("../../img/g/ww/t9/g40_0.png"); }
|
||||||
|
img.wwt9.g40_1 { background-image: url("../../img/g/ww/t9/g40_1.png"); }
|
||||||
|
img.wwt9.g40_2 { background-image: url("../../img/g/ww/t9/g40_2.png"); }
|
||||||
|
img.wwt9.g40_3 { background-image: url("../../img/g/ww/t9/g40_3.png"); }
|
||||||
|
img.wwt9.g40_4 { background-image: url("../../img/g/ww/t9/g40_4.png"); }
|
||||||
|
img.wwt9.g40_5 { background-image: url("../../img/g/ww/t9/g40_5.png"); }
|
||||||
|
|
||||||
|
/* --- 2. INALTIMEA SI POZITIA: doar pe harta satului --- */
|
||||||
|
/* trib 1 */
|
||||||
|
div.village2 div#village_map img.wwt1.g40 { height: 174px; top: 93px; }
|
||||||
|
div.village2 div#village_map img.wwt1.g40_1 { height: 173px; top: 94px; }
|
||||||
|
div.village2 div#village_map img.wwt1.g40_2 { height: 180px; top: 87px; }
|
||||||
|
div.village2 div#village_map img.wwt1.g40_3 { height: 217px; top: 50px; }
|
||||||
|
div.village2 div#village_map img.wwt1.g40_4 { height: 302px; top: -35px; }
|
||||||
|
div.village2 div#village_map img.wwt1.g40_5 { height: 302px; top: -35px; }
|
||||||
|
/* trib 2 */
|
||||||
|
div.village2 div#village_map img.wwt2.g40 { height: 146px; top: 121px; }
|
||||||
|
div.village2 div#village_map img.wwt2.g40_1 { height: 244px; top: 23px; }
|
||||||
|
div.village2 div#village_map img.wwt2.g40_2 { height: 231px; top: 36px; }
|
||||||
|
div.village2 div#village_map img.wwt2.g40_3 { height: 285px; top: -18px; }
|
||||||
|
div.village2 div#village_map img.wwt2.g40_4 { height: 285px; top: -18px; }
|
||||||
|
div.village2 div#village_map img.wwt2.g40_5 { height: 302px; top: -35px; }
|
||||||
|
/* trib 3 */
|
||||||
|
div.village2 div#village_map img.wwt3.g40 { height: 259px; top: 8px; }
|
||||||
|
div.village2 div#village_map img.wwt3.g40_1 { height: 258px; top: 9px; }
|
||||||
|
div.village2 div#village_map img.wwt3.g40_2 { height: 259px; top: 8px; }
|
||||||
|
div.village2 div#village_map img.wwt3.g40_3 { height: 256px; top: 11px; }
|
||||||
|
div.village2 div#village_map img.wwt3.g40_4 { height: 262px; top: 5px; }
|
||||||
|
div.village2 div#village_map img.wwt3.g40_5 { height: 261px; top: 6px; }
|
||||||
|
/* trib 6 */
|
||||||
|
div.village2 div#village_map img.wwt6.g40 { height: 97px; top: 170px; }
|
||||||
|
div.village2 div#village_map img.wwt6.g40_1 { height: 140px; top: 127px; }
|
||||||
|
div.village2 div#village_map img.wwt6.g40_2 { height: 210px; top: 57px; }
|
||||||
|
div.village2 div#village_map img.wwt6.g40_3 { height: 300px; top: -33px; }
|
||||||
|
div.village2 div#village_map img.wwt6.g40_4 { height: 300px; top: -33px; }
|
||||||
|
div.village2 div#village_map img.wwt6.g40_5 { height: 302px; top: -35px; }
|
||||||
|
/* trib 7 */
|
||||||
|
div.village2 div#village_map img.wwt7.g40 { height: 133px; top: 134px; }
|
||||||
|
div.village2 div#village_map img.wwt7.g40_1 { height: 155px; top: 112px; }
|
||||||
|
div.village2 div#village_map img.wwt7.g40_2 { height: 183px; top: 84px; }
|
||||||
|
div.village2 div#village_map img.wwt7.g40_3 { height: 270px; top: -3px; }
|
||||||
|
div.village2 div#village_map img.wwt7.g40_4 { height: 295px; top: -28px; }
|
||||||
|
div.village2 div#village_map img.wwt7.g40_5 { height: 302px; top: -35px; }
|
||||||
|
/* trib 8 */
|
||||||
|
div.village2 div#village_map img.wwt8.g40 { height: 174px; top: 93px; }
|
||||||
|
div.village2 div#village_map img.wwt8.g40_1 { height: 173px; top: 94px; }
|
||||||
|
div.village2 div#village_map img.wwt8.g40_2 { height: 180px; top: 87px; }
|
||||||
|
div.village2 div#village_map img.wwt8.g40_3 { height: 217px; top: 50px; }
|
||||||
|
div.village2 div#village_map img.wwt8.g40_4 { height: 302px; top: -35px; }
|
||||||
|
div.village2 div#village_map img.wwt8.g40_5 { height: 302px; top: -35px; }
|
||||||
|
/* trib 9 */
|
||||||
|
div.village2 div#village_map img.wwt9.g40 { height: 174px; top: 93px; }
|
||||||
|
div.village2 div#village_map img.wwt9.g40_1 { height: 173px; top: 94px; }
|
||||||
|
div.village2 div#village_map img.wwt9.g40_2 { height: 180px; top: 87px; }
|
||||||
|
div.village2 div#village_map img.wwt9.g40_3 { height: 217px; top: 50px; }
|
||||||
|
div.village2 div#village_map img.wwt9.g40_4 { height: 302px; top: -35px; }
|
||||||
|
div.village2 div#village_map img.wwt9.g40_5 { height: 302px; top: -35px; }
|
||||||
|
|||||||
@@ -200,6 +200,12 @@ define("USRNM_MIN_LENGTH", %USRNMMIN%);
|
|||||||
define("USRNM_MAX_LENGTH", %USRNMMAX%);
|
define("USRNM_MAX_LENGTH", %USRNMMAX%);
|
||||||
define("PW_MIN_LENGTH", %PWMIN%);
|
define("PW_MIN_LENGTH", %PWMIN%);
|
||||||
|
|
||||||
|
// ***** Minunea Lumii cu stil pe trib
|
||||||
|
// Cu true, fiecare trib isi vede propria Minune a Lumii, atat pe harta satului
|
||||||
|
// cat si in pagina de constructie. Triburile fara imagini pe disc raman pe
|
||||||
|
// imaginea originala, indiferent de setare.
|
||||||
|
define("NEW_FUNCTION_WW_IMAGE", %WWIMAGE%);
|
||||||
|
|
||||||
// ***** Graphic Pack
|
// ***** Graphic Pack
|
||||||
//
|
//
|
||||||
// SERVER_GP is the pack every player sees by default (chosen at install or in
|
// SERVER_GP is the pack every player sees by default (chosen at install or in
|
||||||
|
|||||||
@@ -106,6 +106,9 @@ class Process {
|
|||||||
if ($pMin < 1 || $pMin > 100) { $pMin = 4; }
|
if ($pMin < 1 || $pMin > 100) { $pMin = 4; }
|
||||||
$findReplace["%PWMIN%"] = $pMin;
|
$findReplace["%PWMIN%"] = $pMin;
|
||||||
|
|
||||||
|
// Minunea Lumii cu stil pe trib
|
||||||
|
$findReplace["%WWIMAGE%"] = (isset($_POST['ww_image']) && $_POST['ww_image'] === 'false') ? 'false' : 'true';
|
||||||
|
|
||||||
$findReplace["%GP%"] = (isset($_POST['gpack']) && $_POST['gpack'] === 'true') ? 'true' : 'false';
|
$findReplace["%GP%"] = (isset($_POST['gpack']) && $_POST['gpack'] === 'true') ? 'true' : 'false';
|
||||||
$findReplace["%SSERVER%"] = $_POST['sserver'];
|
$findReplace["%SSERVER%"] = $_POST['sserver'];
|
||||||
$findReplace["%SPORT%"] = $_POST['sport'];
|
$findReplace["%SPORT%"] = $_POST['sport'];
|
||||||
|
|||||||
@@ -330,6 +330,10 @@ foreach($mechs as $k => $l){
|
|||||||
<option value="true" selected>Yes</option>
|
<option value="true" selected>Yes</option>
|
||||||
<option value="false">No – letters and digits only</option>
|
<option value="false">No – letters and digits only</option>
|
||||||
</select></div>
|
</select></div>
|
||||||
|
<div><label>Per-tribe World Wonder image</label><select class="input" name="ww_image">
|
||||||
|
<option value="true" selected>Yes</option>
|
||||||
|
<option value="false">No – same image for everyone</option>
|
||||||
|
</select></div>
|
||||||
<div><label>Allow player graphic packs</label><select class="input" name="gpack">
|
<div><label>Allow player graphic packs</label><select class="input" name="gpack">
|
||||||
<option value="false" selected>No – everyone sees the server pack</option>
|
<option value="false" selected>No – everyone sees the server pack</option>
|
||||||
<option value="true">Yes – players may pick their own in Profile</option>
|
<option value="true">Yes – players may pick their own in Profile</option>
|
||||||
|
|||||||