示例#1
0
    ?>
								<li><a class="button light<?php 
    if (USER_PAGE == 'config-addserver') {
        echo ' active';
    }
    ?>
" href="?p=config-addserver<?php 
    if (defined('IS_SERVER_EDITION')) {
        echo '&id=' . $args['id'];
    }
    ?>
"><?php 
    echo defined('IS_SERVER_EDITION') ? Utils::t('Edit server') : Utils::t('Add server');
    ?>
</a></li>
								<?php 
    $hasServer = AdminServServerConfig::hasServer();
    ?>
								<?php 
    if (OnlineConfig::ADD_ONLY !== true && $hasServer) {
        ?>
									<li><a class="button light<?php 
        if (USER_PAGE == 'config-serversorder') {
            echo ' active';
        }
        ?>
" href="?p=config-serversorder"><?php 
        echo Utils::t('Servers order');
        ?>
</a></li>
								<?php