diff options
| author | Chad Parry <github@chad.parry.org> | 2011-04-21 02:06:53 -0600 |
|---|---|---|
| committer | Chad Parry <github@chad.parry.org> | 2011-04-21 02:11:04 -0600 |
| commit | 31ba081b793141ca36866a6dd349cd2eac5af68e (patch) | |
| tree | 9a538198a7353b2c6c356736ebd74276349be500 /modules/gallery/views/form_uploadify.html.php | |
| parent | 14eadea2c26e2f284b43bfe73e920dcd07837c1b (diff) | |
Add an event that will collect all valid filename extensions.
Diffstat (limited to 'modules/gallery/views/form_uploadify.html.php')
| -rw-r--r-- | modules/gallery/views/form_uploadify.html.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/views/form_uploadify.html.php b/modules/gallery/views/form_uploadify.html.php index 77b6d493..db90b733 100644 --- a/modules/gallery/views/form_uploadify.html.php +++ b/modules/gallery/views/form_uploadify.html.php @@ -28,7 +28,7 @@ uploader: "<?= url::file("lib/uploadify/uploadify.swf") ?>", script: "<?= url::site("uploader/add_photo/{$album->id}") ?>", scriptData: <?= json_encode($script_data) ?>, - fileExt: "*.gif;*.jpg;*.jpeg;*.png;*.GIF;*.JPG;*.JPEG;*.PNG<? if ($movies_allowed): ?>;*.flv;*.mp4;*.m4v;*.FLV;*.MP4;*.M4V<? endif ?>", + fileExt: "<?= implode(";", $extensions) ?>", fileDesc: <?= t("Photos and movies")->for_js() ?>, cancelImg: "<?= url::file("lib/uploadify/cancel.png") ?>", simUploadLimit: <?= $simultaneous_upload_limit ?>, |
