示例#1
0
" />
								<?php 
        }
        ?>
								<?php 
        if (AdminServAdminLevel::hasPermission('guestban_playlist_load')) {
            ?>
									<input class="button dark" type="submit" name="loadPlaylist" id="loadPlaylist" value="<?php 
            echo Utils::t('Load');
            ?>
" />
								<?php 
        }
        ?>
								<?php 
        if (AdminServAdminLevel::hasPermission('guestban_playlist_save')) {
            ?>
									<input class="button dark" type="submit" name="savePlaylist" id="savePlaylist" value="<?php 
            echo Utils::t('Save ');
            ?>
" />
								<?php 
        }
        ?>
							</div>
						</div>
					</div>
				</div>
			<?php 
    }
    ?>
示例#2
0
" />
							<?php 
    }
    ?>
							<?php 
    if (AdminServAdminLevel::hasPermission('maps_matchsettings_load')) {
        ?>
								<input class="button dark" type="submit" name="loadMatchset" id="loadMatchset" value="<?php 
        echo Utils::t('Load');
        ?>
" />
							<?php 
    }
    ?>
							<?php 
    if (AdminServAdminLevel::hasPermission('maps_matchsettings_save')) {
        ?>
								<input class="button dark" type="submit" name="saveMatchset" id="saveMatchset" value="<?php 
        echo Utils::t('Save ');
        ?>
" />
							<?php 
    }
    ?>
						</div>
					</div>
				</div>
			<?php 
}
?>
		</div>
示例#3
0
" />
					<?php 
}
?>
					<?php 
if (AdminServAdminLevel::hasPermission('player_forcetospectator')) {
    ?>
						<input class="button dark" type="submit" name="ForceSpectatorList" id="ForceSpectatorList" value="<?php 
    echo Utils::t('Spectator');
    ?>
" />
					<?php 
}
?>
					<?php 
if (AdminServAdminLevel::hasPermission('player_forcetoplayer')) {
    ?>
						<input class="button dark" type="submit" name="ForcePlayerList" id="ForcePlayerList" value="<?php 
    echo Utils::t('Player');
    ?>
" />
					<?php 
}
?>
				</div>
			</div>
		</div>
	</div>
	
	<input type="hidden" id="currentSort" name="currentSort" value="" />
	<input type="hidden" id="isTeamGameMode" name="isTeamGameMode" value="<?php 
示例#4
0
images/16/mapauthor.png" alt="" /><?php 
        echo $map['Author'];
        ?>
</div>
							</li>
						<?php 
    }
    ?>
					<?php 
}
?>
				</ul>
			</div>
			
			<?php 
if (SERVER_MATCHSET && AdminServAdminLevel::hasPermission('maps_matchsettings_save')) {
    ?>
				<div class="fleft options-checkbox">
					<input class="text inline" type="checkbox" name="SaveCurrentMatchSettings" id="SaveCurrentMatchSettings"<?php 
    if (AdminServConfig::AUTOSAVE_MATCHSETTINGS === true) {
        echo ' checked="checked"';
    }
    ?>
 value="" /><label for="SaveCurrentMatchSettings" title="<?php 
    echo SERVER_MATCHSET;
    ?>
"><?php 
    echo Utils::t('Save the current MatchSettings');
    ?>
</label>
				</div>
</a></li>
				<?php 
    }
    ?>
				<?php 
    if (AdminServAdminLevel::hasPermission('folder_move')) {
        ?>
					<li><a class="button light move" id="moveFolder" href="."><?php 
        echo Utils::t('Move');
        ?>
</a></li>
				<?php 
    }
    ?>
				<?php 
    if (AdminServAdminLevel::hasPermission('folder_delete')) {
        ?>
					<li><a class="button light delete" id="deleteFolder" href="." data-confirm-text="<?php 
        echo Utils::t('Do you really want to remove this folder !currentDir?', array('!currentDir' => $currentDir));
        ?>
>"><?php 
        echo Utils::t('Delete');
        ?>
</a></li>
				<?php 
    }
    ?>
			</ul>
		</div>
		<input type="hidden" name="optionFolderHiddenFieldAction" id="optionFolderHiddenFieldAction" value="" />
		<input type="hidden" name="optionFolderHiddenFieldValue" id="optionFolderHiddenFieldValue" value="" />
				</td>
			</tr>
		<?php 
}
?>
			<?php 
if (AdminServAdminLevel::hasPermission('gameinfos_general_warmup')) {
    ?>
				<?php 
    echo AdminServUI::getGameInfosField($data['gameInfos'], 'All WarmUp duration', 'AllWarmUpDuration');
    ?>
			<?php 
}
?>
		<?php 
if (AdminServAdminLevel::hasPermission('gameinfos_general_options')) {
    ?>
			<tr>
				<td class="key"><label for="NextDisableRespawn"><?php 
    echo Utils::t('Respawn');
    ?>
</label></td>
				<?php 
    if ($data['gameInfos']['curr'] != null) {
        ?>
					<td class="value">
						<input class="text width2" type="text" name="CurrDisableRespawn" id="CurrDisableRespawn" readonly="readonly" value="<?php 
        echo $data['gameInfos']['curr']['DisableRespawn'] === false ? Utils::t('Enable') : Utils::t('Disable');
        ?>
" />
					</td>
示例#7
0
    ?>
</span>
						<span class="selected-files-count">(0)</span>
						<div class="selected-files-option">
							<?php 
    if (AdminServAdminLevel::hasPermission('maps_list_removetolist')) {
        ?>
								<input class="button dark" type="submit" name="removeMap" id="removeMap" value="<?php 
        echo Utils::t('Delete');
        ?>
" />
							<?php 
    }
    ?>
							<?php 
    if (AdminServAdminLevel::hasPermission('maps_list_moveaftercurrent')) {
        ?>
								<input class="button dark" type="submit" name="chooseNextMap" id="chooseNextMap" value="<?php 
        echo Utils::t('Move after the current map');
        ?>
" />
							<?php 
    }
    ?>
						</div>
					</div>
				</div>
			<?php 
}
?>
		</div>
示例#8
0
									</span>
									
									<?php 
if (AdminServConfig::SUBTITLE) {
    ?>
										<span id="subtitle">
											<?php 
    echo AdminServConfig::SUBTITLE;
    ?>
										</span>
									<?php 
}
?>
								</span>
							</a>
						</div>
						
						<div class="theme-lang">
							<?php 
if (!empty(ExtensionConfig::$THEMES)) {
    ?>
								<div id="theme">
									<?php 
    echo AdminServUI::getThemeList(isset(ExtensionConfig::$THEMES[USER_THEME]) ? array(USER_THEME => ExtensionConfig::$THEMES[USER_THEME]) : array());
    ?>
								</div>
							<?php 
}
?>
							
							<?php 
示例#9
0
echo Utils::t('Show server lines');
?>
"><?php 
echo Utils::t('Hide server lines');
?>
</a></li>
		</ul>
	</div>
	
	<div id="chat"><?php 
echo $data['serverLines'];
?>
</div>
	
	<?php 
if (AdminServAdminLevel::hasPermission('chat_sendmessage')) {
    ?>
		<div class="options">
			<input class="text" type="text" name="chatNickname" id="chatNickname" value="<?php 
    echo $data['nickname'];
    ?>
" data-default-value="<?php 
    echo Utils::t('Nickname');
    ?>
" />
			<select name="chatColor" id="chatColor" title="<?php 
    echo Utils::t('Default color: yellow');
    ?>
">
				<?php 
    echo $data['colorOptions'];
示例#10
0
									<?php 
    }
    ?>
								</select>
								<span class="changeauthpassword-arrow"> </span>
								<input class="text" type="password" name="ChangeAuthPassword" id="ChangeAuthPassword" value="" />
							</td>
						</tr>
					</table>
				</fieldset>
			<?php 
}
?>
			
			<?php 
if (defined('IS_LOCAL') && IS_LOCAL && AdminServAdminLevel::hasPermission('srvopts_importexport')) {
    ?>
				<fieldset class="srvopts_importexport">
					<legend><img src="<?php 
    echo AdminServConfig::$PATH_RESOURCES;
    ?>
images/16/rt_team.png" alt="" /><?php 
    echo Utils::t('Manage server options');
    ?>
</legend>
					<table>
						<tr>
							<td class="key"><label for="srvoptsImport"><?php 
    echo Utils::t('Import');
    ?>
</label></td>