diff -r 000000000000 -r 03b0d1493584 web/wp-content/plugins/ajax-calendar/models/widget.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/wp-content/plugins/ajax-calendar/models/widget.php Wed Dec 23 17:55:33 2009 +0000 @@ -0,0 +1,59 @@ +title = $config['title']; + if (isset ($config['category_id'])) + $this->category_ids = $config['category_id']; + } + + function display ($args) + { + extract ($args); + + echo $before_widget; + + if ($this->title) + echo $before_title.$this->title.$after_title; + + ajax_calendar ($this->category_ids); + + echo $after_widget; + } + + function description () + { + return 'AJAX-powered calendar'; + } + + function config ($config, $pos) + { + ?> +
| Title: | ++ |
|---|---|
| Category ID: | ++ |