summaryrefslogtreecommitdiff
path: root/calendario.module
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-08-08 19:04:21 -0300
committerSilvio Rhatto <rhatto@riseup.net>2012-08-08 19:04:21 -0300
commitd35cb7375ca9f88dcc69789f11e7c1a2c33d8cb9 (patch)
tree2f8e1a7c64c0d580db54509f0fd460a79a9f9127 /calendario.module
parent7d151a4409dfbf65b53c01aca9528995cb0ba74f (diff)
downloadcalendario-d35cb7375ca9f88dcc69789f11e7c1a2c33d8cb9.tar.gz
calendario-d35cb7375ca9f88dcc69789f11e7c1a2c33d8cb9.tar.bz2
Cleanup and TODO update
Diffstat (limited to 'calendario.module')
-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');