diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2012-08-08 19:41:20 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2012-08-08 19:41:20 -0300 |
commit | 553ab777e1973ee72c0c36ab1b5cd88b5d8b2450 (patch) | |
tree | 136c66b8d09d073713cbdda8ab682e5984fe6628 | |
parent | 53c97d3fa0b81985ac91b3ad89165134a2c82c9d (diff) | |
download | calendario-553ab777e1973ee72c0c36ab1b5cd88b5d8b2450.tar.gz calendario-553ab777e1973ee72c0c36ab1b5cd88b5d8b2450.tar.bz2 |
Do not add the date in the widget link
-rw-r--r-- | calendario.module | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/calendario.module b/calendario.module index c839472..95038cf 100644 --- a/calendario.module +++ b/calendario.module @@ -49,7 +49,8 @@ function calendario_widget($view = NULL) { //$date = isset($path[2]) ? .'/'. $path[2] : ''; $date = isset($view->args[0]) ? '/'. $view->args[0] : ''; $argument = NULL; - $link = $period . $date; + //$link = $period . $date; + $link = $period; break; default: @@ -59,7 +60,8 @@ function calendario_widget($view = NULL) { $date = isset($view->args[1]) ? '/'. $view->args[1] : ''; //$argument = $path[2]; $argument = isset($view->args[0]) ? '/'. $view->args[0] : ''; - $link = $type . $argument .'/'. $period . $date; + //$link = $type . $argument .'/'. $period . $date; + $link = $type . $argument .'/'. $period; break; } |