]> git.p6c8.net - selfforum.git/blobdiff - selfforum-cgi/user/fo_arcview.pl
grr, fixed an error ;)
[selfforum.git] / selfforum-cgi / user / fo_arcview.pl
index 095ad4d4828ff0d7ad21cd3ce6aa7c9358010bb5..46bd8e91e82afd1f9c9176b83d4d4b2b9a5215a2 100644 (file)
@@ -38,6 +38,8 @@ use CGI::Carp qw(fatalsToBrowser);
 use Conf;
 use Conf::Admin;
 use Template::Archive qw(
+    print_overview_as_HTML
+    print_year_as_HTML
     print_month_as_HTML
     print_thread_as_HTML
 );
@@ -96,10 +98,23 @@ if ($year) {
             );
         }
     } else {
-#       print_year_as_HTML();
+        print_year_as_HTML(
+            $conf->{'files'}->{'archivePath'} . $year . '/',
+            $show_archive->{'templateFile'},
+            {
+                'assign'        => $show_archive->{'assign'},
+                'year'          => $year
+            }
+        );
     }
 } else {
-#   print_overview_as_HTML();
+    print_overview_as_HTML(
+        $conf->{'files'}->{'archivePath'},
+        $show_archive->{'templateFile'},
+        {
+            'assign'        => $show_archive->{'assign'}
+        }
+    );
 }
 
 #

patrick-canterino.de