summaryrefslogtreecommitdiff
path: root/public/app/views/components/theme.php
diff options
context:
space:
mode:
Diffstat (limited to 'public/app/views/components/theme.php')
-rw-r--r--public/app/views/components/theme.php56
1 files changed, 33 insertions, 23 deletions
diff --git a/public/app/views/components/theme.php b/public/app/views/components/theme.php
index b144c13..7f8ca95 100644
--- a/public/app/views/components/theme.php
+++ b/public/app/views/components/theme.php
@@ -79,6 +79,12 @@ $theme_def = [
'label' => 'Willian Justen de Vasconcellos: Desert, Huacachina, Peru'
],
+ 's10' => [
+ 'css' => 'summer-10',
+ 'url' => 'https://unsplash.com/photos/Qw3w0oBH63s',
+ 'label' => 'Carolinie Cavalli: Blue Peaks in Hout Bay (Cape Town, South Africa)'
+ ],
+
# --- fall ---
'f8' => [
@@ -93,22 +99,31 @@ $theme_def = [
'label' => 'wirestock: View of a flock of birds flying into a beautiful sky during sunset'
],
- /**
- fall-12
- https://unsplash.com/photos/Kdb6POEOSiE
- Dave: Fog and Ripples (Door County, WI, USA)
+ 'f10' => [
+ 'css' => 'fall-10',
+ 'url' => 'https://unsplash.com/photos/P8VMwYFY-Es',
+ 'label' => 'Romello Williams: Turks and Caicos Islands'
+ ],
+
+ 'f11' => [
+ 'css' => 'fall-11',
+ 'url' => 'https://unsplash.com/photos/jCL98LGaeoE',
+ 'label' => 'Eberhard Grossgasteiger: Sass long, Langkofel, Sasso lungo, Val Gherdeina'
+ ],
- fall-11
- https://unsplash.com/photos/jCL98LGaeoE
- Eberhard Grossgasteiger: Sass long, Langkofel, Sasso lungo, Val Gherdeina
+ 'f12' => [
+ 'css' => 'fall-12',
+ 'url' => 'https://unsplash.com/photos/Kdb6POEOSiE',
+ 'label' => 'Dave: Fog and Ripples (Door County, WI, USA)'
+ ],
- fall-10
- https://unsplash.com/photos/P8VMwYFY-Es
- Romello Williams: Turks and Caicos Islands
+ 'f14' => [
+ 'css' => 'fall-14',
+ 'url' => 'https://unsplash.com/photos/tMvuB9se2uQ',
+ 'label' => 'Sergey Pesterev: Sunset in the mountains (Hurghada International Airport, Egypt)'
+ ],
- !!! summer-14
- https://unsplash.com/photos/Qw3w0oBH63s
- Carolinie Cavalli: Blue Peaks in Hout Bay (Cape Town, South Africa)
+ /**
!!! winter-12
https://unsplash.com/photos/RsRTIofe0HE
@@ -127,12 +142,6 @@ $theme_def = [
https://unsplash.com/photos/twukN12EN7c
Simon Berger: Altmünster am Traunsee, Neukirchen bei Altmünster, Oberösterreich, Österreich
- !!! fall-18
- https://unsplash.com/photos/tMvuB9se2uQ
- Sergey Pesterev: Sunset in the mountains (Hurghada International Airport, Egypt)
-
-
-
++++ https://unsplash.com/s/photos/landscape-nature-light?orientation=landscape
**/
@@ -191,10 +200,10 @@ $theme_def = [
$themes = [
- 'summer' => [ 's1', 's2', 's5', 's0', 'g9', 'g1', 's9' ],
+ 'summer' => [ 's1', 's2', 's5', 's0', 'g9', 'g1', 's9', 's10' ],
- 'fall' => [ 'f8', 's5', 'g4', 's2', 'f9' ],
+ 'fall' => [ 'f8', 's5', 'f9', 'f10', 'g4', 'f11', 'f12', 'f14' ],
'winter' => [ 'w3', 'w8', 'w9', 'w10' ],
@@ -211,8 +220,9 @@ if ($mo == 12) { $mo = 0; }
if ($mo == 6 && $day == 1) { $day == 2; }
$imageID = intdiv( ( ( $mo*31 + $day) % $themesLen*4 ), 4 );
-define('THEME', $theme_def[ $themes[ $season ][ $imageID ] ]);
-// testing: define('THEME', $theme_def[ $themes[ 'summer' ][ 5 ] ]);
+// define('THEME', $theme_def[ $themes[ $season ][ $imageID ] ]);
+// testing:
+define('THEME', $theme_def[ $themes[ 'fall' ][ 7 ] ]);
?>
<!-- theme overides -->