Compare commits

..

No commits in common. "2c7c13a0199b666d066c4c6d6d28443056d6110e" and "2d7b0c2bf5bd6a2211f39bef8b942cf48dff4ded" have entirely different histories.

2 changed files with 1 additions and 2 deletions

View File

@ -37,7 +37,6 @@
<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">

View File

@ -114,7 +114,7 @@ try {
<select name="type" id="type" style="padding: 10px;">
<?php
// echo $row['type'];
$typeOptions = ['notice', 'tender', 'page', 'documents', 'events', 'faculty'];
$typeOptions = ['notice', 'tender', 'page', 'documents', 'events'];
foreach($typeOptions as $type){
$selected = ($row['type'] === $type) ? 'selected' : '';
echo '<option value="'.$type.'" '.$selected.'>'.ucfirst($type).'</option>';