diff options
| author | George Halkiadakis <gchalkiadakis@sklavenitis.co.gr> | 2023-06-14 03:01:30 +0300 |
|---|---|---|
| committer | George Halkiadakis <gchalkiadakis@sklavenitis.co.gr> | 2023-06-14 03:01:30 +0300 |
| commit | fc3bef390c1a215f4c6110b0b6996c004436ae0b (patch) | |
| tree | 4a2153c7c62fa6207af0fa2ff4771521b2991d40 /public/app/views | |
| parent | eaf1163d74e3cb06b898767192de6734808c0e9c (diff) | |
| download | gyraf1gov-fc3bef390c1a215f4c6110b0b6996c004436ae0b.tar.gz gyraf1gov-fc3bef390c1a215f4c6110b0b6996c004436ae0b.tar.bz2 gyraf1gov-fc3bef390c1a215f4c6110b0b6996c004436ae0b.zip | |
themes added
Diffstat (limited to 'public/app/views')
| -rw-r--r-- | public/app/views/components/info.php | 2 | ||||
| -rw-r--r-- | public/app/views/components/theme.php | 56 |
2 files changed, 34 insertions, 24 deletions
diff --git a/public/app/views/components/info.php b/public/app/views/components/info.php index 02c13e9..4c6ca23 100644 --- a/public/app/views/components/info.php +++ b/public/app/views/components/info.php @@ -7,7 +7,7 @@ * @var boolen $is_admin (mandatory) */ ?> -<div class="info"> +<div class="info alter"> <p> </p> <p> <b><?=$user->first_name?> <?=$user->last_name?></b> 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 --> |
