			<div id="useradmin" class="panel-outer">
				<a href="#" id="useradmin-close" class="close-button pull-left"></a>
				<div class="slider-right">
					<div class="panel" id="useradmin-control">
						<h3 class="text-center">User Administration</h3>
						<div class="row" id="superadminbox" style="padding-bottom: 10px; border-bottom: 1px dotted; margin-bottom: 20px;">
							<div class="col-sm-3">
								<input style="display:none" type="text" name="fakeusernameforstupidbrowsers">
								<input style="display:none" type="password" name="fakepasswordforstupidbrowsers">
								<p><input type="text" class="form-control" id="useradmin-admin" value="" placeholder="Super Admin User"></p>
							</div>
							<div class="col-sm-3">
								<p><input type="password" class="form-control" id="useradmin-adminpassword" value="" placeholder="Password"></p>
							</div>
							<div class="col-sm-3">
								<p><input type="password" class="form-control" id="useradmin-adminpassword-confirm" value="" placeholder="Confirm Password"></p>
							</div>
							<div class="col-sm-3">
								<p><button class="btn btn-primary btn-block" id="superadmin-update" type="button">Save Super Admin</button></p>
							</div>
							<?php if(!isUserAuthEnabled()) { ?>
							<div class="col-sm-12 text-justify">
								<p style="margin-bottom:0;">You need to specify credentials for a super-admin user before you can create other users. You will be required login again immediately after you set the super-admin credentials.</p>
							</div>
							<?php } ?>
							<?php if(isUserAdminManuallySet()) { ?>
							<div class="col-sm-12 text-justify">
								<p style="margin-bottom:0;">You have specified a username and/ or password in the &quot;config.php&quot;. Any super-admin credentials you set here <b>will not take effect</b> until you remove those entries from config.php</p>
							</div>
							<?php } ?>
						</div>
						
						<div class="row" id="useradminbox" style="position:relative;">
							<div class="col-sm-6" id="usertablebox">
								<table id="UserTable"></table>
								<div id="UserPager"></div>
							</div>
							<div class="col-sm-6" id="useradmin-infobox">
								<hr class="visible-xs">
								<h4 style="margin-top:0;">Settings for User: <code><b><span id="username"></span></b></code></h4>
								<p>Please select the categories the user can view.  <span class="user-cat-hint">[?]</span></p>
								<div class="categorychecklist">
									<div id="useradmin-category" class="ui-selectable">
									</div>
								</div>
								<p><input type="text" class="form-control input-sm" id="useradmin-dname" value="" placeholder="Display Name"></p>
								<p><input type="password" class="form-control input-sm" id="useradmin-password" value="" placeholder="Password (edit only if you want to change)"></p>

								<select class="form-control" id="useradmin-readwrite">
								  <option value="0">View</option>
								  <option value="1">View+Edit+Add+Delete</option>
								  <option value="2">View+Edit</option>
								  <option value="3">View+Edit+Add</option>
								</select>
								
								<label class="checkbox-inline no_indent">
								  <input type="checkbox" name="useradmin-administrator" id="useradmin-administrator"> Administrator
								</label>
								<label class="checkbox-inline no_indent pull-right">
								  <input type="checkbox" name="useradmin-active" id="useradmin-active"> Active
								</label>
								
								<p style="margin-top:10px;"><button class="btn btn-danger btn-block" id="useradmin-update" type="button">Update Settings</button></p>
							</div>
						</div>
						<div class="row">
							<div class="col-sm-12 bg-info">
								<div id="useradmin-error" style="margin:0; padding:0;"></div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>