Revision: 2676
          https://sourceforge.net/p/mrbs/code/2676/
Author:   cimorrison
Date:     2013-02-02 11:26:28 +0000 (Sat, 02 Feb 2013)
Log Message:
-----------
Made the file a required field.

Modified Paths:
--------------
    mrbs/branches/linked_bookings/web/import.php

Modified: mrbs/branches/linked_bookings/web/import.php
===================================================================
--- mrbs/branches/linked_bookings/web/import.php        2013-02-02 08:13:07 UTC 
(rev 2675)
+++ mrbs/branches/linked_bookings/web/import.php        2013-02-02 11:26:28 UTC 
(rev 2676)
@@ -595,9 +595,10 @@
 echo "<p>\n" . get_vocab("import_intro") . "</p>\n";
   
 echo "<div>\n";
-$params = array('label' => get_vocab("file_name") . ':',
-                'name'  => 'ics_file',
-                'type'  => 'file',
+$params = array('label'      => get_vocab("file_name") . ':',
+                'name'       => 'ics_file',
+                'type'       => 'file',
+                'mandatory'  => TRUE,
                 'attributes' => 'accept="text/calendar"');
 generate_input($params);
 echo "</div>\n";
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to