Skip to content
Snippets Groups Projects
Commit dbad3a3a authored by Peter Rotich's avatar Peter Rotich
Browse files

Add multifile support

parent 32646781
No related branches found
No related tags found
No related merge requests found
......@@ -162,7 +162,7 @@ $info=Format::htmlchars(($errors && $_POST)?$_POST:$info);
<?php
if($cfg->allowAttachments()) { ?>
<br><em><b>Attachments:</b> Response required when files are attached.</em>
<div id="canned_attachments">
<div class="canned_attachments">
<?php
if($info['cannedattachments']) {
foreach($info['cannedattachments'] as $k=>$id) {
......@@ -175,7 +175,7 @@ $info=Format::htmlchars(($errors && $_POST)?$_POST:$info);
}
?>
</div>
<div id="uploads"></div>
<div class="uploads"></div>
<div class="file_input">
<input type="file" class="multifile" name="attachments[]" size="30" value="" />
</div>
......
......@@ -334,9 +334,9 @@ if(!$cfg->showNotesInline()) { ?>
<label for="attachment">Attachments:</label>
</td>
<td width="765" id="reply_form_attachments" class="attachments">
<div id="canned_attachments">
<div class="canned_attachments">
</div>
<div id="uploads">
<div class="uploads">
</div>
<div class="file_input">
<input type="file" class="multifile" name="attachments[]" size="30" value="" />
......
......@@ -30,7 +30,7 @@ a {
.strike { text-decoration:line-through; color:red; }
#canned_attachments label { padding:3px; padding-right:10px; }
.canned_attachments label, .uploads label { padding:3px; padding-right:10px; }
#breadcrumbs {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment