<?php if (isset($error) and $error = 'duplicate') { ?> <div class="form-error"><?php echo $string['duplicateerror']; ?> </div> <?php } ?> <table class="admin-form"> <tr><th><label for="name"><?php echo $string['name']; ?> </label></th><td><input type="text" size="50" id="name" name="name" value="<?php echo $q_status->get_name(); ?> " required autofocus /></td></tr> <tr><th><label for="exclude_marking"><?php echo $string['excludemarking']; ?> </label></th><td><input type="checkbox" id="exclude_marking" name="exclude_marking" <?php echo $em_checked; ?> /></td></tr> <tr><th><label for="retired"><?php echo $string['retired']; ?> </label></th><td><input type="checkbox" id="retired" name="retired" <?php echo $es_checked; ?>