Вход Регистрация
Файл: severus/application/views/services.php
Строк: 68
<div id="view_server" class="servers body public_page">
    <?php echo $service_details;?>
    <div id="service" class="box services">
        <form method="post" class="row-fluid" action="<?php echo $_SERVER["PHP_SELF"];?>">
            <input type="hidden" name="action" value="add_service" />
            <div class="reload-box"><div class="label"><?php echo trans('services_add_new_service','Add new service');?></div>
                <div class="inner-box">
                    <div class="row"><div class="row-details textleft" style="width:50%;margin: 1em 0;"><input type="text" class="text textleft" name="service_name" placeholder="<?php echo trans('placeholder_service_name','service name');?>" value="" /></div><div class="row-details"><input type="text" class="text" name="service_default_port" placeholder="<?php echo trans('placeholder_port','port');?>" value="" /></div><div class="row-details textright"><input type="submit" class="button redbutton2" value="<?php echo trans('button_save','Save');?>" /></div></div>
                </div>
            </div>
        </form>
        <form method="post" class="row-fluid" action="<?php echo $_SERVER["PHP_SELF"];?>">
            <input type="hidden" name="action" value="add_advanced_service" />
            <div class="reload-box"><div class="label"><?php echo trans('services_add_new_adv_service','Add new advanced service');?></div>
                <div class="inner-box">
                    <div class="row" style="padding-bottom:10px;"><div class="row-details textleft" style="width:42%;margin: 1em 0;"><input type="text" style="width:95%;" class="text textleft" name="service_name" placeholder="<?php echo trans('placeholder_service_name','service name');?>" value="" /></div><div class="row-details" style="width:42%;margin: 1em 0;"><input type="text" style="width:95%;" class="text textleft" name="service_script" placeholder="<?php echo trans('placeholder_script_path','script path');?>" value="" /></div><div class="row-details textright" style="width:15%;margin: 1em 0;"><input type="submit" class="button redbutton2" value="<?php echo trans('button_save','Save');?>" /></div><span><?php echo trans('services_advanced_text','Advanced services allow you to return the state of an external script, the script must return 1 for ok and 0 for critical.  Set the path relative to the connector script');?></span></div>
                </div>
            </div>
        </form>
    </div>   
</div>
Онлайн: 2
Реклама