Revision: 2464
          https://sourceforge.net/p/mrbs/code/2464/
Author:   cimorrison
Date:     2012-10-03 19:35:57 +0000 (Wed, 03 Oct 2012)
Log Message:
-----------
Added an HTML5 accept attribute to limit files to iCalendar files

Modified Paths:
--------------
    mrbs/trunk/web/import.php

Modified: mrbs/trunk/web/import.php
===================================================================
--- mrbs/trunk/web/import.php   2012-10-03 14:39:01 UTC (rev 2463)
+++ mrbs/trunk/web/import.php   2012-10-03 19:35:57 UTC (rev 2464)
@@ -492,7 +492,7 @@
   
 echo "<div>\n";
 echo "<label for=\"ics_file\">" . get_vocab("file_name") . ":</label>\n";
-echo "<input type=\"file\" name=\"ics_file\" id=\"ics_file\">\n";
+echo "<input type=\"file\" accept=\"text/calendar\" name=\"ics_file\" 
id=\"ics_file\">\n";
 echo "</div>\n";
 
 echo "<fieldset>\n";
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to