summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--calendario.module17
1 files changed, 6 insertions, 11 deletions
diff --git a/calendario.module b/calendario.module
index 23ae7b2..18939b2 100644
--- a/calendario.module
+++ b/calendario.module
@@ -10,24 +10,18 @@
*/
function calendario_theme($existing, $type, $theme, $path) {
return array(
- /*
- *'forum_icon' => array(
- * 'variables' => array('new_posts' => NULL, 'num_posts' => 0, 'comment_mode' => 0, 'sticky' => 0),
- *),
- *'status_report' => array(
- * 'render element' => 'requirements',
- * 'file' => 'system.admin.inc',
- *),
- */
'embed-widget' => array(
'template' => 'calendario-embed-widget',
- 'variables' => array('' => NULL, '' => NULL),
+ 'variables' => array('period' => NULL, 'type' => NULL),
),
);
}
/**
* Implements hook_entity_info_alter()
+ *
+ * @todo
+ * Change 'uri callback' from taxonomy terms to point to calendars.
*/
function calendario_entity_info_alter(&$entity_info) {
// Set the controller class for nodes to an alternate implementation of the
@@ -41,7 +35,8 @@ function calendario_entity_info_alter(&$entity_info) {
/**
* Include a calendar widget.
*
- * @todo: $period, $type
+ * @todo
+ * Set $period and $type.
*/
function calendario_widget($view = NULL) {
return theme('embed-widget');