</a>

	<button type="submit" class="btn btn-sm btn-danger" name="dellall" value="dellall" title="<?php 
    echo gettext('Delete selected users');
    ?>
">
		<i class="fa fa-trash icon-embed-btn"></i>
		<?php 
    echo gettext("Delete");
    ?>
	</button>
</nav>
</form>
<div class="infoblock">
<?php 
    print_callout('<p>' . gettext("Additional users can be added here. User permissions for accessing " . "the webConfigurator can be assigned directly or inherited from group memberships. " . "Some system object properties can be modified but they cannot be deleted.") . '</p>' . '<p>' . gettext("Accounts added here are also used for other parts of the system " . "such as OpenVPN, IPsec, and Captive Portal.") . '</p>');
    ?>
</div><?php 
    include "foot.inc";
    exit;
}
$form = new Form();
if ($act == "new" || $act == "edit" || $input_errors) {
    $form->addGlobal(new Form_Input('act', null, 'hidden', ''));
    $form->addGlobal(new Form_Input('userid', null, 'hidden', isset($id) ? $id : ''));
    $form->addGlobal(new Form_Input('privid', null, 'hidden', ''));
    $form->addGlobal(new Form_Input('certid', null, 'hidden', ''));
    $ro = "";
    if ($pconfig['utype'] == "system") {
        $ro = "readonly";
    }
Пример #2
0
                } elseif ($ret != strlen($_POST['data'])) {
                    print '|';
                    print_info_box(gettext("Error while writing file."), 'danger');
                    print '|';
                } else {
                    print '|';
                    print_info_box(gettext("File saved successfully."), 'success');
                    print '|';
                }
            }
            exit;
    }
    exit;
}
require_once "head.inc";
print_callout(gettext("The capabilities offered here can be dangerous. No support is available. Use them at your own risk!"), 'danger', gettext('Advanced Users Only'));
?>
<!-- file status box -->
<div style="display:none; background:#eeeeee;" id="fileStatusBox">
	<div id="fileStatus"></div>
</div>

<div class="panel panel-default">
	<div class="panel-heading"><h2 class="panel-title"><?php 
echo gettext("Save / Load a File from the Filesystem");
?>
</h2></div>
	<div class="panel-body">
		<div class="content">
			<form>
				<p><input type="text" class="form-control" id="fbTarget" placeholder="<?php