aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorjimmacfx <jimmacfx@4fa712ea-3c06-0410-9261-c11b4c06c003>2006-02-14 22:13:26 +0000
committerjimmacfx <jimmacfx@4fa712ea-3c06-0410-9261-c11b4c06c003>2006-02-14 22:13:26 +0000
commitd423955eaf0ebd548e561a1b349800294c8be4f9 (patch)
tree335c3a1cd5765f79d44cee5ce35be9a2227c02b1 /www
parent7cf8a688f0be3c355f52e0c75f9a3e32164a0fa6 (diff)
downloadoriginal-d423955eaf0ebd548e561a1b349800294c8be4f9.tar.gz
original-d423955eaf0ebd548e561a1b349800294c8be4f9.tar.bz2
make no future date limits
git-svn-id: https://forgesvn1.novell.com/svn/original/trunk@11 4fa712ea-3c06-0410-9261-c11b4c06c003
Diffstat (limited to 'www')
-rw-r--r--www/inc/config.inc.php1
-rw-r--r--www/index.php1
2 files changed, 1 insertions, 1 deletions
diff --git a/www/inc/config.inc.php b/www/inc/config.inc.php
index c800fac..7f007b3 100644
--- a/www/inc/config.inc.php
+++ b/www/inc/config.inc.php
@@ -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";
diff --git a/www/index.php b/www/index.php
index 1483b84..74dd5a6 100644
--- a/www/index.php
+++ b/www/index.php
@@ -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