aboutsummaryrefslogtreecommitdiffstats
path: root/mod/uexport.php
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2015-10-06 06:50:33 -0400
committerAndrew Manning <tamanning@zoho.com>2015-10-06 06:50:33 -0400
commit8bf45536d307c11980d11c53edeef997b6d70954 (patch)
tree9984a052759b3b10a284dae770e56265f636f652 /mod/uexport.php
parente1fca2a1abd24d3509fc017b21f0631b30d74bc5 (diff)
downloadvolse-hubzilla-8bf45536d307c11980d11c53edeef997b6d70954.tar.gz
volse-hubzilla-8bf45536d307c11980d11c53edeef997b6d70954.tar.bz2
volse-hubzilla-8bf45536d307c11980d11c53edeef997b6d70954.zip
Forgot the year and month url part
Diffstat (limited to 'mod/uexport.php')
-rw-r--r--mod/uexport.php6
1 files changed, 6 insertions, 0 deletions
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'),