From 7f92123a09140f67b590cfc5ba241022e56d9ff3 Mon Sep 17 00:00:00 2001 From: Brady Miller Date: Tue, 7 Feb 2017 02:30:54 -0800 Subject: [PATCH] new datetimepicker incorporated into calendar module --- interface/main/calendar/add_edit_event.php | 105 ++++++++++++--------- .../pntemplates/default/user/ajax_search.html | 35 ++++--- 2 files changed, 74 insertions(+), 66 deletions(-) diff --git a/interface/main/calendar/add_edit_event.php b/interface/main/calendar/add_edit_event.php index 61c492e0e..54fe122c9 100644 --- a/interface/main/calendar/add_edit_event.php +++ b/interface/main/calendar/add_edit_event.php @@ -1,36 +1,46 @@ + * Copyright (C) 2017 Brady Miller * - * This program is free software; you can redistribute it and/or + * LICENSE: This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 + * as published by the Free Software Foundation; either version 3 * of the License, or (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see ;. * * @package OpenEMR - * @author Rod Roark - * @link http://www.open-emr.org + * @author Rod Roark + * @author Brady Miller + * @link http://www.open-emr.org */ - // The event editor looks something like this: - - //------------------------------------------------------------// - // Category __________________V O All day event // - // Date _____________ [?] O Time ___:___ __V // - // Title ___________________ duration ____ minutes // - // Patient _(Click_to_select)_ // - // Provider __________________V X Repeats ______V ______V // - // Status __________________V until __________ [?] // - // Comments ________________________________________________ // - // // - // [Save] [Find Available] [Delete] [Cancel] // - //------------------------------------------------------------// $fake_register_globals=false; $sanitize_all_escapes=true; @@ -78,8 +88,8 @@ require_once($GLOBALS['incdir']."/main/holidays/Holidays_Controller.php"); $info_msg = ""; ?> - - + + @@ -896,18 +906,16 @@ if ($_POST['form_action'] == "save") { <?php echo $eid ? xlt('Edit') : xlt('Add New') ?> <?php echo xlt('Event');?> + - - + - - - - + + + + @@ -39,12 +41,9 @@ [-/if-]
-[-php-] xl('between','e'); [-/php-] - -[?] -[-php-] xl('and','e'); [-/php-] - -[?] +[-php-] xl('between','e'); [-/php-] + +
[-php-] xl('for','e'); [-/php-]