add rnd image type extensions
continuous-integration/drone/push Build is passing Details

This commit is contained in:
vv01f 2023-07-11 22:44:52 +02:00
parent e7fb6563af
commit e80ec6ad92
11 changed files with 11 additions and 1 deletions

View File

@ -0,0 +1 @@
../hq/new1.jpg

View File

@ -0,0 +1 @@
../hq/old1.jpg

View File

@ -0,0 +1 @@
../hq/old2.jpg

View File

@ -0,0 +1 @@
../hq/pano1.jpg

View File

@ -0,0 +1 @@
../hq/pano3.jpg

View File

@ -0,0 +1 @@
gchq-hdr.jpg

View File

@ -0,0 +1 @@
../hq/schalter.jpg

View File

@ -0,0 +1 @@
./zentralwerk_bau.jpg

View File

@ -0,0 +1 @@
../hqdefault.jpg

View File

@ -0,0 +1 @@
gchq-werkbank.jpg

View File

@ -400,7 +400,7 @@
<xsl:otherwise><!-- Fallback image -->
<xsl:choose><!-- depending on class -->
<!-- "random" image from list (filenames should be links) -->
<xsl:when test="@class = 'news'"><xsl:attribute name="style">background-image: url('images/news/rnd<xsl:value-of select="$diceroll"/>');</xsl:attribute></xsl:when>
<xsl:when test="@class = 'news'"><xsl:attribute name="style">background-image: url('images/news/rnd<xsl:value-of select="$diceroll"/>.jpg');</xsl:attribute></xsl:when>
<!--
<xsl:when test="@class = 'news'"><xsl:attribute name="style">background-image: url('images/news/gchq-hdr.jpg');</xsl:attribute></xsl:when>
-->