Skip to content

Commit

Permalink
Set fileselector to accept 'application/zip'
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredbuehler committed Apr 5, 2023
1 parent 0c1ed3d commit 8e98ca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Template/plugin/installer.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
array('plugin' => 'PluginManager'))?> ' enctype='multipart/form-data' autocomplete='off' >
<?= $this->form->csrf() ?>
<?= $this->form->label(t('From File'), 'pluginfile') ?>
<?= $this->form->file('pluginfile') ?>
<input type='file' accept='application/zip' name='pluginfile' id='form-pluginfile'>
<?= $this->form->label(t('From URL'), 'pluginfile') ?>
<input type='url' id='plugin_url' name='plugin_url' placeholder='https://whatever/plugin.zip'/>
<div class="form-actions">
Expand Down

0 comments on commit 8e98ca8

Please sign in to comment.