Reenabled width and heigth in gallery table

This commit is contained in:
marko
2021-05-23 12:57:17 +02:00
parent 812394665c
commit ce6e9420bd
9 changed files with 126 additions and 82 deletions

View File

@@ -1,8 +1,8 @@
<?php
/// Einbinden der Konfiguration, insbesondere Basisvariablen,
/// Einbinden der Konfiguration, insbesondere Basisvariablen,
/// relative Pfadangabe
/// - jedes Verzeichnis sollte seine eigene haben
/// - theoretisch sollte es bereits von der aufrufenden Datei
/// - theoretisch sollte es bereits von der aufrufenden Datei
/// eingebunden sein
require_once("./config.inc.php");
// include_once("./config.inc.php");
@@ -15,9 +15,9 @@
require_once($$basePath."/ressourcen/phpLib/cwsvJudo/newsTableHtml.php");
require_once($$basePath."/ressourcen/phpLib/cwsvJudo/galleryRedirector.php");
require_once($$basePath."/ressourcen/phpLib/phpcount/phpcount.php");
galleryRedirector();
$if(phpTitleString)$
PHPCount::AddHit($phpTitleString$." (Amp)");?>
$else$
@@ -87,7 +87,7 @@ $endfor$
.hamburger {
padding-left: .5em;
padding-right: .5em;
}
}
#mainNav > a > span{
width: 2em;
}
@@ -112,7 +112,7 @@ $for(header-includes)$
$endfor$
<script async src="https://cdn.ampproject.org/v0.js"></script>
<script async custom-element="amp-sidebar" src="https://cdn.ampproject.org/v0/amp-sidebar-0.1.js"></script>
<script type='application/ld+json'>
<script type='application/ld+json'>
{
"@context": "http://www.schema.org",
"@type": "WebSite",
@@ -147,37 +147,37 @@ $endif$
<!-- Kopfzeile mit Titel, Promobildern und Breadcrumbs -->
<header class="cwsvHeader">
<div role="button" on="tap:sidebar1.toggle" tabindex="0" class="hamburger">☰</div>
<amp-img layout="responsive"
width="200" height="140"
title="Judo im Chemnitzer WSV"
alt="Judo im Chemnitzer WSV - Promo"
src="http://cwsvjudo.bplaced.net/ressourcen/graphiken/banner/bannerlogo.1.jpg"
<amp-img layout="responsive"
width="200" height="140"
title="Judo im Chemnitzer WSV"
alt="Judo im Chemnitzer WSV - Promo"
src="http://cwsvjudo.bplaced.net/ressourcen/graphiken/banner/bannerlogo.1.jpg"
></amp-img>
<span>
<span>Judo</span>
<span><?php $$zitat = getRandomCite( getCwsvJudoDbConn() ); echo($$zitat['zitat']);?></span>
</span>
<amp-img layout="responsive"
width="64" height="52"
<amp-img layout="responsive"
width="128" height="104"
title="Judo im Chemnitzer WSV"
alt="Judo im Chemnitzer WSV - Logo"
src="http://cwsvjudo.bplaced.net/ressourcen/graphiken/logos/cwsvJudoLogoWappen.64w.png"
srcset="http://cwsvjudo.bplaced.net/ressourcen/graphiken/logos/cwsvJudoLogoWappen.128w.png 2x, http://cwsvjudo.bplaced.net/ressourcen/graphiken/logos/cwsvJudoLogoWappen.x256.png 4x"
src="http://cwsvjudo.bplaced.net/ressourcen/graphiken/logos/cwsvJudoLogoWappen.128w.png"
srcset=http://cwsvjudo.bplaced.net/ressourcen/graphiken/logos/cwsvJudoLogoWappen.x256.png 2x"
></amp-img>
</header>
$if(mainNav)$
<nav id="mainNav">
$for(mainNav)$
<a href="$mainNav.url$"
<a href="$mainNav.url$"
$if(mainNav.caption)$title="$mainNav.caption$" $endif$
$if(mainNav.active)$class="activeNav" $endif$
>
$if(mainNav.icon)$
<span><amp-img layout="responsive"
<span><amp-img layout="responsive"
src="$if(mainNav.icon.src)$$mainNav.icon.src$$else$$mainNav.icon$$endif$"
$if(mainNav.caption)$
alt="$mainNav.caption$"
alt="$mainNav.caption$"
$else$
$if(mainNav.icon.alt)$
alt="$mainNav.icon.alt$"
@@ -238,7 +238,7 @@ $body$
<a class="touchLink" title="Möglichkeiten mit dem Chemnitzer Freizeit- und Wohngebietssportverein in Kontakt zu treten" href="/kontakt" >Kontakt</a>
<a class="touchLink" title="Impressum" href="/impressum" >Impressum</a>
<a class="touchLink" title="Datenschutz" href="/datenschutz" >Datenschutz</a>
<a class="touchLink"
<a class="touchLink"
title="News-Feed Abonnieren"
href="http://cwsvjudo.bplaced.net/rss"
>Newsfeed

View File

@@ -1,8 +1,8 @@
<?php
/// Einbinden der Konfiguration, insbesondere Basisvariablen,
/// Einbinden der Konfiguration, insbesondere Basisvariablen,
/// relative Pfadangabe
/// - jedes Verzeichnis sollte seine eigene haben
/// - theoretisch sollte es bereits von der aufrufenden Datei
/// - theoretisch sollte es bereits von der aufrufenden Datei
/// eingebunden sein
require_once("./config.inc.php");
require_once($$basePath."/config/phpcount.config.php");
@@ -15,9 +15,9 @@
require_once($$basePath."/ressourcen/phpLib/cwsvJudo/newsLib.php");
require_once($$basePath."/ressourcen/phpLib/cwsvJudo/galleryRedirector.php");
require_once($$basePath."/ressourcen/phpLib/phpcount/phpcount.php");
galleryRedirector();
$if(phpTitleString)$
PHPCount::AddHit($phpTitleString$);?>
$else$
@@ -78,7 +78,7 @@ $endfor$
$if(math)$
$math$
$endif$
<script type='application/ld+json'>
<script type='application/ld+json'>
{
"@context": "http://www.schema.org",
"@type": "WebSite",
@@ -117,36 +117,36 @@ $endfor$
<body>
<!-- Kopfzeile mit Titel, Promobildern und Breadcrumbs -->
<header class="cwsvHeader">
<img
width="200" height="140"
title="Judo im Chemnitzer WSV" alt="Judo im Chemnitzer WSV - Promo"
<img
width="200" height="140"
title="Judo im Chemnitzer WSV" alt="Judo im Chemnitzer WSV - Promo"
src="http://cwsvjudo.bplaced.net/ressourcen/graphiken/banner/bannerlogo.1.jpg"
/>
<span>
<span>Judo</span>
<span><?php $$zitat = getRandomCite( getCwsvJudoDbConn() ); echo($$zitat['zitat']);?></span>
</span>
<img
width="64" height="52"
<img
width="128" height="104"
title="Judo im Chemnitzer WSV"
alt="Judo im Chemnitzer WSV - Logo"
src="http://cwsvjudo.bplaced.net/ressourcen/graphiken/logos/cwsvJudoLogoWappen.64w.png"
srcset="http://cwsvjudo.bplaced.net/ressourcen/graphiken/logos/cwsvJudoLogoWappen.128w.png 2x, http://cwsvjudo.bplaced.net/ressourcen/graphiken/logos/cwsvJudoLogoWappen.x256.png 4x"
src="http://cwsvjudo.bplaced.net/ressourcen/graphiken/logos/cwsvJudoLogoWappen.128w.png"
srcset=http://cwsvjudo.bplaced.net/ressourcen/graphiken/logos/cwsvJudoLogoWappen.x256.png 2x"
/>
</header>
$if(mainNav)$
<nav id="mainNav">
$for(mainNav)$
<a href="$mainNav.url$"
<a href="$mainNav.url$"
$if(mainNav.caption)$title="$mainNav.caption$" $endif$
$if(mainNav.active)$class="activeNav" $endif$
>
$if(mainNav.icon)$
<span><img
<span><img
src="$if(mainNav.icon.src)$$mainNav.icon.src$$else$$mainNav.icon$$endif$"
$if(mainNav.caption)$
alt="$mainNav.caption$"
alt="$mainNav.caption$"
$else$
$if(mainNav.icon.alt)$
alt="$mainNav.icon.alt$"
@@ -176,15 +176,15 @@ $endif$
$if(subNav)$
<nav class="subNav">
$for(subNav)$
<a href="$subNav.url$"
<a href="$subNav.url$"
$if(subNav.caption)$title="$subNav.caption$" $endif$
$if(subNav.active)$class="activeNav" $endif$
>
$if(subNav.icon)$
<img
<img
src="$if(subNav.icon.src)$$subNav.icon.src$$else$$subNav.icon$$endif$"
$if(subNav.caption)$
alt="$subNav.caption$"
alt="$subNav.caption$"
$else$
$if(subNav.icon.alt)$
alt="$subNav.icon.alt$"
@@ -207,7 +207,7 @@ $if(subNav)$
$if(subNav.caption)$<span>$subNav.caption$</span>$endif$
</a>
$endfor$
<a href="#mainNav"
<a href="#mainNav"
title="Hauptnavigation"
>
<img src="http://cwsvjudo.bplaced.net/ressourcen/graphiken/icons/arrowRightDown.svg" alt="Menü" />
@@ -232,11 +232,11 @@ $body$
<aside class="sideNotes"><?php include_once( $$basePath."/pages/shared/sponsorlist.inc.html" );?></aside>
<footer class="footerBar">
<a class="touchLink"
<a class="touchLink"
title="Seite auf HTML 5 Konformität prüfen"
href="http://validator.w3.org/check?uri=<?php echo(urlencode(getCurPagesUrl()));?>"
rel="nofollow"
>Valid <img
>Valid <img
src="/ressourcen/graphiken/icons/HTML5_1Color_Black.svg"
alt="HTML 5"
title="HTML 5 Logo"
@@ -245,10 +245,10 @@ $body$
<a class="touchLink" title="Möglichkeiten mit dem Chemnitzer Freizeit- und Wohngebietssportverein in Kontakt zu treten" href="/kontakt" >Kontakt</a>
<a class="touchLink" title="Impressum" href="<?php echo($$baseUrl);?>/impressum" >Impressum</a>
<a class="touchLink" title="Datenschutz" href="<?php echo($$baseUrl);?>/datenschutz" >Datenschutz</a>
<a class="touchLink"
<a class="touchLink"
title="News-Feed Abonnieren"
href="http://cwsvjudo.bplaced.net/rss"
><img
><img
src="/ressourcen/graphiken/icons/newsFeedIcon.svg"
alt="Newsfeed"
title="News Feed Icon"