- default value of date picker is +1 day.
authorharris wong <hwong@ocad.ca>
Fri, 6 Aug 2010 14:56:25 +0000 (14:56 -0000)
committerharris wong <hwong@ocad.ca>
Fri, 6 Aug 2010 14:56:25 +0000 (14:56 -0000)
mods/job_board/include/html/employer/jb_add_new_post.tmpl.php

index 8493167..84891e1 100644 (file)
@@ -30,12 +30,13 @@ load_editor($simple, false, "none");
                        <label for="jb_closing_date"><?php echo _AT('jb_closing_date'); ?></label>
                        <?php
                        //load mysql timestamp template into the template.
-                       $today_day   = date('d');
-                       $today_mon   = date('m');
-                       $today_year  = date('Y');
+            $next_day = time() + 60*60*24; 
+                       $today_day   = date('d', $next_day);
+                       $today_mon   = date('m', $next_day);
+                       $today_year  = date('Y', $next_day);
 
-                       $today_hour  = date('H');
-                       $today_min   = date('i');
+                       $today_hour  = date('H', $next_day);
+                       $today_min   = date('i', $next_day);
 
                        //load the release_date template.
                        $name = '_jb_closing_date';