From 5158a6f4339ee85b928e6bd33a937a24f91f8bc2 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Thu, 4 Jun 2009 17:53:40 -0700 Subject: Add MY_num containing num::convert_to_bytes() which supports PHP's size shorthand, and convert the simple_uploader code to use it. --- modules/gallery/views/simple_uploader.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/gallery/views') diff --git a/modules/gallery/views/simple_uploader.html.php b/modules/gallery/views/simple_uploader.html.php index 6b097108..5eb9a2ce 100644 --- a/modules/gallery/views/simple_uploader.html.php +++ b/modules/gallery/views/simple_uploader.html.php @@ -80,7 +80,7 @@ "user_agent": "server("HTTP_USER_AGENT") ?>", "csrf": "" }, - file_size_limit : "", + file_size_limit : "", file_types : "*.gif;*.jpg;*.jpeg;*.png;*.flv;*.mp4;*.GIF;*.JPG;*.JPEG;*.PNG;*.FLV;*.MP4", file_types_description : "", file_upload_limit : 1000, -- cgit v1.2.3