pull/22/head
Suvodip 2025-02-14 17:49:27 +05:30
parent 7ecec968ca
commit 5f51ada6a1
2 changed files with 2 additions and 1 deletions

View File

@ -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">

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'];
$typeOptions = ['notice', 'tender', 'page', 'documents', 'events', 'faculty'];
foreach($typeOptions as $type){
$selected = ($row['type'] === $type) ? 'selected' : '';
echo '<option value="'.$type.'" '.$selected.'>'.ucfirst($type).'</option>';