From 8bf45536d307c11980d11c53edeef997b6d70954 Mon Sep 17 00:00:00 2001 From: Andrew Manning Date: Tue, 6 Oct 2015 06:50:33 -0400 Subject: Forgot the year and month url part --- mod/uexport.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'mod') diff --git a/mod/uexport.php b/mod/uexport.php index 7dbe40d51..4e781fee1 100644 --- a/mod/uexport.php +++ b/mod/uexport.php @@ -41,6 +41,12 @@ function uexport_init(&$a) { } function uexport_content(&$a) { + + $y = datetime_convert('UTC',date_default_timezone_get(),'now','Y'); + + $yearurl = z_root() . '/uexport/' . $y; + $janurl = z_root() . '/uexport/' . $y . '/1'; + $impurl = '/import_items'; $o = replace_macros(get_markup_template('uexport.tpl'), array( '$title' => t('Export Channel'), '$basictitle' => t('Export Channel'), -- cgit v1.2.3