From d35cb7375ca9f88dcc69789f11e7c1a2c33d8cb9 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 8 Aug 2012 19:04:21 -0300 Subject: Cleanup and TODO update --- calendario.module | 17 ++++++----------- 1 file 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'); -- cgit v1.2.3