Procedural File: index.php
Source Location: /public_html/admin/plugins/calendar/index.php
Page Details:
Includes:
require_once('../../../lib-common.php') [line 38]
Geeklog common function library
require_once('../../auth.inc.php') [line 43]
Security check to ensure user even belongs on this page
CALENDAR_editEvent [line 76]
string CALENDAR_editEvent(
string $mode, array $A, [string $msg = ''])
|
|
Shows event editor
Tags:
Parameters
| string |
$mode |
Indicates if this is a submission or a regular entry |
| array |
$A |
array holding the event's details |
| string |
$msg |
an optional error message to display |
CALENDAR_saveEvent [line 358]
string CALENDAR_saveEvent(
$eid, $title, $event_type, $url, $allday, $start_month, $start_day, $start_year, $start_hour, $start_minute, $start_ampm, $end_month, $end_day, $end_year, $end_hour, $end_minute, $end_ampm, $location, $address1, $address2, $city, $state, $zipcode, $description, $postmode, $owner_id, $group_id, $perm_owner, $perm_group, $perm_members, $perm_anon, $hour_mode)
|
|
Saves an event to the database (parameters should be obvious - old list was incomplete anyway)
Tags:
Parameters
| |
$eid |
|
| |
$title |
|
| |
$event_type |
|
| |
$url |
|
| |
$allday |
|
| |
$start_month |
|
| |
$start_day |
|
| |
$start_year |
|
| |
$start_hour |
|
| |
$start_minute |
|
| |
$start_ampm |
|
| |
$end_month |
|
| |
$end_day |
|
| |
$end_year |
|
| |
$end_hour |
|
| |
$end_minute |
|
| |
$end_ampm |
|
| |
$location |
|
| |
$address1 |
|
| |
$address2 |
|
| |
$city |
|
| |
$state |
|
| |
$zipcode |
|
| |
$description |
|
| |
$postmode |
|
| |
$owner_id |
|
| |
$group_id |
|
| |
$perm_owner |
|
| |
$perm_group |
|
| |
$perm_members |
|
| |
$perm_anon |
|
| |
$hour_mode |
|
|