]> gitweb.fluxo.info Git - original.git/commitdiff
make no future date limits
authorjimmacfx <jimmacfx@4fa712ea-3c06-0410-9261-c11b4c06c003>
Tue, 14 Feb 2006 22:13:26 +0000 (22:13 +0000)
committerjimmacfx <jimmacfx@4fa712ea-3c06-0410-9261-c11b4c06c003>
Tue, 14 Feb 2006 22:13:26 +0000 (22:13 +0000)
git-svn-id: https://forgesvn1.novell.com/svn/original/trunk@11 4fa712ea-3c06-0410-9261-c11b4c06c003

www/inc/config.inc.php
www/index.php

index c800fac8462aa4a99190aacdb93dddf4bcffb94c..7f007b323270adbea8d754c2403e126aa198b255 100644 (file)
@@ -31,7 +31,6 @@ $scnamegallery = "Photo Gallery Index";
 # ===========================================================================
 # albums to show
    $yearsince = 1999;
-   $yearto = 2005;
 #images FIXME - this is stylesheet's job
    $img["left"] = "left.png";
    $img["right"] = "right.png";
index 1483b8466649fd9909bfc63842794e2974928494..74dd5a63013b141dad56118d9e6cb4d6069735d6 100644 (file)
@@ -106,6 +106,7 @@ if (!$galerie) {
 
 
         $thisyear = 0;
+        if (!$yearto) $yearto = date("Y");
    for ($i = $yearto; $i >= $yearsince; $i--) {
       for ($thismonth=12; $thismonth>0; $thismonth--) { // go year by year, month by month
                                                                                                                                                                                                                                // down