pull/22/head
parent
7ecec968ca
commit
5f51ada6a1
|
@ -37,6 +37,7 @@
|
|||
<option value="page">Page</option>
|
||||
<option value="documents">Documents</option>
|
||||
<option value="events">Events</option>
|
||||
<option value="faculty">Faculty</option>
|
||||
</select><br/>
|
||||
<label for="title">Page Title:</label><br> <input id="title" name="title" type="text">
|
||||
<label for="slug">Page unique slug:</label><br> <input id="slug" name="slug" type="text">
|
||||
|
|
|
@ -114,7 +114,7 @@ try {
|
|||
<select name="type" id="type" style="padding: 10px;">
|
||||
<?php
|
||||
// echo $row['type'];
|
||||
$typeOptions = ['notice', 'tender', 'page', 'documents', 'events'];
|
||||
$typeOptions = ['notice', 'tender', 'page', 'documents', 'events', 'faculty'];
|
||||
foreach($typeOptions as $type){
|
||||
$selected = ($row['type'] === $type) ? 'selected' : '';
|
||||
echo '<option value="'.$type.'" '.$selected.'>'.ucfirst($type).'</option>';
|
||||
|
|
Loading…
Reference in New Issue