Add image upload handling
This commit is contained in:
@ -71,7 +71,7 @@ if( $_SESSION['access'] != 1 ) {
|
||||
}
|
||||
include "includes/classes/select2.class.php"; ?>
|
||||
<br />
|
||||
<form id="select_form" required method="post" action="includes/update_event.php">
|
||||
<form id="select_form" required method="post" action="includes/update_event.php" enctype="multipart/form-data">
|
||||
<table align=center>
|
||||
<tr>
|
||||
<td>
|
||||
@ -135,7 +135,7 @@ if( $_SESSION['access'] != 1 ) {
|
||||
Issue Description:
|
||||
</td>
|
||||
<td>
|
||||
<?=$desc?>
|
||||
<?=nl2br($desc)?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -166,6 +166,14 @@ if( $_SESSION['access'] != 1 ) {
|
||||
<input type="text" name="end_date_time" id="end_date_time" value="<?=$endtimedate;?>" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Attach an image:
|
||||
</td>
|
||||
<td>
|
||||
<input type="file" name="fileToUpload" id="fileToUpload" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan=2 class="ui-helper-center">
|
||||
<input type="submit" value="Submit"/>
|
||||
|
Reference in New Issue
Block a user