コード例 #1
0
echo DedicatedManager\Helpers\Input::text('sytem[connectionDownloadrate]', 'downloadRate', $system->connectionDownloadrate);
?>
					</li>
					<li data-role="fieldcontain">
						<label for="uploadRate">
							<strong><?php 
echo _('Upload rate');
?>
</strong><br/>
							<i><?php 
echo _('In KB/s');
?>
</i>
						</label>
						<?php 
echo DedicatedManager\Helpers\Input::text('sytem[connectionUploadrate]', 'uploadRate', $system->connectionUploadrate);
?>
					</li>
				</ul>
			</fieldset>
			<div class="ui-grid-a">
				<div class="ui-block-a">
					<input type="reset" id="reset" value="<?php 
echo _('Restore');
?>
"/>
				</div>
				<div class="ui-block-b">
					<input type="submit" id="submit" value="<?php 
echo _('Next step');
?>
コード例 #2
0
			<ul data-role="listview" data-inset="true">
				<li data-role="list-divider"><?php 
echo _('Change config filenames');
?>
</li>
				<li data-role="fieldcontain">
					<label for="configFile">
						<?php 
echo _('ManiaLive config filename');
?>
<br/>
						<i><?php 
echo _('You have to enter a filename to save your ManiaLive configuration.');
?>
</i>
					</label>
					<?php 
echo DedicatedManager\Helpers\Input::text('configFile', 'configFile', $configFile);
?>
				</li>
			</ul>
			<input type="submit" value="<?php 
echo _('Start ManiaLive');
?>
"/>
		</form>
    </div>
</div>

<?php 
require __DIR__ . '/../Footer.php';
コード例 #3
0
echo DedicatedManager\Helpers\Input::text('spectate[port]', 'spectatePort', $spectate->port);
?>
					</li>
					<li data-role="fieldcontain">
						<label for="spectateIpAndPortPassword">
							<strong><?php 
echo _('Password (optional)');
?>
</strong><br/>
							<i><?php 
echo _('If the server has a password for spectators, you have to set it.');
?>
</i>
						</label>
						<?php 
echo DedicatedManager\Helpers\Input::text('spectate[password]', 'spectateIpAndPortPassword', $spectate->password);
?>
<br/>
					</li>
				</ul>
			</fieldset>
			<input type="submit" value="<?php 
echo _('Start your relay server');
?>
"/>
		</form>
    </div>
</div>

<?php 
require __DIR__ . '/../Footer.php';
コード例 #4
0
					</label>
					<?php 
echo DedicatedManager\Helpers\Input::text('configFile', 'configFile', $configFile);
?>
				</li>
				<li data-role="fieldcontain">
					<label for="matchFile">
						<strong><?php 
echo _('Match settings filename');
?>
</strong><br/>
						<i><?php 
echo _('You have to enter a filename to save your match configuration.');
?>
</i>
					</label>
					<?php 
echo DedicatedManager\Helpers\Input::text('matchFile', 'matchFile', $matchFile);
?>
				</li>
			</ul>
			<input type="submit" value="<?php 
echo _('Start your server');
?>
"/>
		</form>
    </div>
</div>

<?php 
require __DIR__ . '/../Footer.php';
コード例 #5
0
    echo DedicatedManager\Helpers\Input::text('rules[cupNbWinners]', 'cupNbWinners', $gameInfos->cupNbWinners);
    ?>
					</li>
					<li data-role="fieldcontain">
						<label for="cupWarmUpDuration">
							<strong><?php 
    echo _('Warm up duration');
    ?>
</strong><br/>
							<i><?php 
    echo _('Number of warm up round to play on each map.');
    ?>
</i>
						</label>
						<?php 
    echo DedicatedManager\Helpers\Input::text('rules[cupWarmUpDuration]', 'cupWarmUpDuration', $gameInfos->cupWarmUpDuration);
    ?>
					</li>
				</ul>
			</fieldset>
		<?php 
} else {
    ?>
			<input type="hidden" id="gameMode" name="rules[gameMode]" value="<?php 
    echo GameInfos::GAMEMODE_SCRIPT;
    ?>
">
			<fieldset id="fieldset-gamemode-script" data-role="collapsible" data-theme="b" class="gamemode">
				<legend><?php 
    echo _('Script mode rules');
    ?>
コード例 #6
0
echo DedicatedManager\Helpers\Input::text('connectionRates[download]', 'downloadRate', $connectionRates['download']);
?>
						</li>
						<li data-role="fieldcontain">
							<label for="uploadRate">
								<strong><?php 
echo _('Upload rate');
?>
</strong><br/>
								<i><?php 
echo _('In KB/s');
?>
</i>
							</label>
							<?php 
echo DedicatedManager\Helpers\Input::text('connectionRates[upload]', 'uploadRate', $connectionRates['upload']);
?>
						</li>
						<li data-role="fieldcontain">
							<label for="p2pUpload">
								<strong><?php 
echo _('Enable P2P upload');
?>
</strong><br/>
								<i><?php 
echo _('When enabled, server will send custom data to players');
?>
</i>
							</label>
							<select id="p2pUpload" name="options[isP2PUpload]" data-role="slider">
								<option value="0" <?php 
コード例 #7
0
				<input type="hidden" name="port" value="<?php 
echo $port;
?>
"/>
				<ul data-role="listview" data-inset="true">
					<li data-role="list-divider">
						<?php 
echo _('Add a manager for this server');
?>
					</li>
					<li data-role="fieldcontain">
						<label for="managerLogin">
							<strong>Login</strong>
						</label>
						<?php 
echo DedicatedManager\Helpers\Input::text('login', 'managerLogin', '');
?>
					</li>
					<li data-role="fieldcontain">
						<input type="submit" name="add" value="<?php 
echo _('Add');
?>
" data-icon="plus"/>
					</li>
				</ul>
			</form>
		</div>
		<?php 
require __DIR__ . '/Navigation.php';
?>
	</div>
コード例 #8
0
?>
><?php 
echo _('Online');
?>
</option>
						</select>
					</li>
					<li data-role="fieldcontain">
						<label for="login">
							<strong><?php 
echo _('Server login');
?>
</strong>
						</label>
						<?php 
echo DedicatedManager\Helpers\Input::text('login', 'login', $serverLogin);
?>
					</li>
					<li data-role="fieldcontain">
						<label for="password">
							<strong><?php 
echo _('Server password');
?>
</strong>
						</label>
						<input type="password" name="password" id="password" value="<?php 
echo htmlentities($serverPassword, ENT_QUOTES, 'utf-8');
?>
"/>
					</li>
					<li data-role="fieldcontain">