and put [iCal http://yoururl.ics ] where you want the list of events of an ics file and [events] to get internal events. To tweak: Manage Settings Page, Manage Widget.
/* Copyright 2009 AmR iCal Events List (email : anmari@anmari.com)
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 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 see .
for more details.
*/
// NB Change version in list main tooo define('AMR_ICAL_LIST_VERSION', '3.0.1');
//if (!defined ('ICAL_EVENTS_DEBUG')) define('ICAL_EVENTS_DEBUG', false);
define( 'AMR_BASENAME', plugin_basename( __FILE__ ) );
require_once('includes/amr-ical-events-list-main.php');
require_once('includes/amr-ical-config.php');
require_once('includes/amr-import-ical.php');
require_once('includes/amr-rrule.php');
require_once('includes/amr-upcoming-events-widget.php');
require_once('includes/amr_date_i18n.php');
require_once('includes/amr-ical-calendar.php');
require_once('includes/functions.php');
if (is_admin() ) { // are we in admin territory
require_once('includes/amr-ical-list-admin.php');
require_once('includes/amr-ical-uninstall.php');
add_filter('plugin_action_links', 'amr_plugin_action', 8, 2);
}
function amr_plugin_action($links, $file) {
static $this_plugin;
if( ! $this_plugin ) $this_plugin = plugin_basename(__FILE__);
if( stristr($this_plugin,$file )) {
/* create link */
array_unshift($links,''. __('Settings','amr-ical-events-list').'' );
}
return $links;
} // end plugin_action()
?>