* Licensed under the GNU GPL. For full terms see the file COPYING. * * functions to create a event for calendar. * * $Id$ */ require_once('calendar_data.php'); require_once('functions.php'); chdir('..'); require_once('../src/validate.php'); require_once('../functions/strings.php'); require_once('../functions/date.php'); require_once('../config/config.php'); require_once('../functions/page_header.php'); require_once('../src/load_prefs.php'); //main form to gather event info function show_event_form() { global $color, $editor_size, $year, $day, $month, $hour; echo "\n
\n"; } if ( !isset($month) || $month <= 0){ $month = date( 'm' ); } if ( !isset($year) || $year <= 0){ $year = date( 'Y' ); } if (!isset($day) || $day <= 0){ $day = date( 'd' ); } if (!isset($hour) || $hour <= 0){ $hour = '08'; } $calself=basename($PHP_SELF); displayPageHeader($color, 'None'); //load calendar menu calendar_header(); echo "' . date_intl( 'l, F d Y', mktime(0, 0, 0, $month, $day, $year)) . ' |
\n".
_("Event Has been added!") . " \n". " | |
---|---|
" . _("Date:") . " | \n". "$month/$day/$year |
" . _("Time:") . " | \n". "$event_hour:$event_minute |
" . _("Title:") . " | \n". "$event_title |
" . _("Message:") . " | \n". "$event_text |
\n". "" . _("Day View") . "\n". " |