including judoWiki templates, path updates

This commit is contained in:
marko
2025-08-26 05:26:31 +02:00
parent 8d42144107
commit 8228351e03
14 changed files with 326 additions and 22 deletions

View File

@@ -65,8 +65,8 @@ Header always set X-FRAME-OPTIONS "DENY"
# Url-Rewriting aktivieren
RewriteEngine on
# Das Request ist für diese Domain
# Für uns eigentlich irrelevant, da alle Domains (mit/ohne
# www/ch/de/net) auf das Unterverzeichnis geleitet werden soll, aber
# Für uns eigentlich irrelevant, da alle Domains (mit/ohne
# www/ch/de/net) auf das Unterverzeichnis geleitet werden soll, aber
# interessant zu wissen
# Und jetzt nützlich: Ich kann es unter der .de-Domain testen!
#RewriteCond %{HTTP_HOST} ^(www.)?cwsvjudo.bplaced.de$ [NC]
@@ -92,7 +92,7 @@ RewriteCond %{REQUEST_URI} !^/pages/responsive/
# Die angeforderte Ressource (als Datei) ist nicht im Rootverzeichnis
RewriteCond %{REQUEST_FILENAME} !-f
# Die angeforderte Ressource (als Verzeichnis) ist nicht im
# Die angeforderte Ressource (als Verzeichnis) ist nicht im
# Rootverzeichnis
RewriteCond %{REQUEST_FILENAME} !-d
@@ -105,7 +105,7 @@ RewriteRule ^gallery/([0-9]+)$ ?galId=$1 [L]
RewriteRule ^galerie/([0-9]+)$ ?galId=$1 [L]
# Ein Request für die Root-Ressource auf die index.php im
# Ein Request für die Root-Ressource auf die index.php im
# Zielverzeichnis umleiten
#RewriteCond %{HTTP_HOST} ^(www.)?cwsvjudo.bplaced.de$ [NC]

View File

@@ -12,7 +12,7 @@ $WikiTitle = "Judo-Wiki des Chemnitzer WSV";
## $ScriptUrl is the URL for accessing wiki pages with a browser.
## $PubDirUrl is the URL for the pub directory.
# $ScriptUrl = 'https://www.mydomain.com/path/to/pmwiki.php';
$ScriptUrl = "http://cwsvjudo.de/JudoWiki";
$ScriptUrl = "https://cwsvjudo.de/JudoWiki";
# $PubDirUrl = 'https://www.mydomain.com/path/to/pub';
## If you want to use URLs of the form .../pmwiki.php/Group/PageName

View File

@@ -0,0 +1,2 @@
<?php
$basePath = "/users/cwsvjudo/www";

View File

@@ -0,0 +1,270 @@
<!DOCTYPE html>
<html dir="ltr" lang="de">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="icon" href="/ressourcen/graphiken/icons/cwsv.ico" />
<link rel='stylesheet' href='$SkinDirUrl/res/css/CwsvJudoWiki.css' type='text/css' />
<link rel="canonical" href="$ScriptUrl/{$Group}/{$Name}" />
<title>{$Titlespaced} / {$Groupspaced} / {$WikiTitle}</title>
<meta name="description" content="{$Titlespaced} / {$Group} / $WikiTitle " />
<!--HTMLHeader-->
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "WebSite",
"url": "https://cwsvjudo.de/JudoWiki",
"potentialAction": {
"@type": "SearchAction",
"target": "https://cwsvjudo.de/JudoWiki/?action=search&q={search_term_string}",
"query-input": "required name=search_term_string"
}
}
</script>
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "BreadcrumbList",
"itemListElement":
[
{
"@type": "ListItem",
"position": 1,
"item":
{
"@id": "https://cwsvjudo.de/JudoWiki/",
"name": "JudoWiki"
}
},
{
"@type": "ListItem",
"position": 2,
"item":
{
"@id": "$ScriptUrl/{$Group}/{$DefaultName}",
"name": "{$Group}"
}
},
{
"@type": "ListItem",
"position": 3,
"item":
{
"@id": "$ScriptUrl/{$Group}/{$Name}",
"name": "{$Name}"
}
}
]
}
</script>
</head>
<body>
<ul id="skiplinks">
<li><a class="skip" href="#topnav">Zur Navigation springen (Enter).</a></li>
<li><a class="skip" href="#content">Zum Inhalt springen (Enter).</a></li>
</ul>
<div class="page">
<header>
<!--PageHeaderFmt-->
<!--PageActionFmt-->
<div id="topnav">
<div class="wikicmds">
<!--wiki:{$Group}.PageActions {$SiteGroup}.PageActions-->
</div>
</div>
<!--/PageActionFmt-->
<img src='$PageLogoUrl' alt='$WikiTitle' />
<!--wiki:{$PageHeader} $Group.PageHeader $SiteGroup.PageHeader-->
<!--/PageHeaderFmt-->
</header>
<!--PageTabsFmt-->
<nav>
<div class="yhlist">
<!--wiki:{$NavBar} $Group.NavBar $SiteGroup.NavBar-->
</div>
</nav>
<!--/PageTabsFmt-->
<div id="main">
<div id="content" >
<!--PageTitleFmt-->
<a href='{$ScriptUrl}/{$Group}/{$Name}'>{$Group}</a>
<!--/PageTitleFmt-->
<section>
<h1 class='pagetitle'>{$Titlespaced}</h1>
<!--PageText-->
</section>
</div>
<aside>
<!--PageLeftFmt-->
<div id="sidebar" class="vlist">
<!--wiki:{$SideBar} $Group.SideBar $SiteGroup.SideBar-->
<!--wiki:$SiteGroup.SideBarAdmin-->
</div>
<!--PageSearchFmt-->
<form action='{$ScriptUrl}'>
<span class='headnav'><a href='{$ScriptUrl}/$[{$Group}/RecentChanges]' accesskey='$[ak_recentchanges]'>$[Recent Changes]</a>-</span>
<input type='hidden' name='n' value='{$FullName}'/>
<input type='hidden' name='action' value='search'/>
<a href='{$ScriptUrl}/$[{$SiteGroup}/Search]'>$[Search]</a>:
<input type='text' name='q' value='' class='inputbox searchbox'/>
<input type='submit' class='inputbutton searchbutton' value='$[Go]'/>
</form>
<!--/PageSearchFmt-->
<!--/PageLeftFmt-->
</aside>
</div>
<footer>
<!--PageFooterFmt-->
<div class='lastmod'>
<span>$[Page last modified on {$LastModified}]</span>
<!--wiki:{$PageFooter} $Group.PageFooter $SiteGroup.PageFooter-->
</div>
<!--/PageFooterFmt-->
</footer>
</div>
<!--HTMLFooter-->
<!-- <script type="text/javascript">
// <![CDATA[
// chCounter
// settings:
cstatus = "active";
visible = "0";
page_title = "";
url_of_counter_file = "https://cwsvjudo.de/expCounter/counter.php";
////////////////
page_url = unescape( location.href );
referrer = ( document.referrer ) ? document.referrer : "";
page_title = ( page_title.length == 0 ) ? document.title : page_title;
document.write( "<script type=\"text/javascript\" src=\"" );
document.write( encodeURI( url_of_counter_file + "?jscode_version=" + encodeURIComponent("1.2") + "&amp;chCounter_mode=js&amp;status=" + cstatus + "&amp;visible=" + visible + "&amp;page_title=" + document.title) );
document.write( encodeURI( "&amp;page_url=" + page_url + "&amp;referrer=" + referrer + "&amp;res_width=" + screen.width + "&amp;res_height=" + screen.height ) + "\"><\/" + "script>" );
// ]]>
</script>
<noscript>
<object data="https://cwsvjudo.de/expCounter/counter.php?chCounter_mode=noscript&visible=0" type="text/html"></object>
</noscript>
-->
</body>
</html>

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

View File

@@ -30,7 +30,7 @@ RewriteEngine on
# consequently using the non-www version
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]
# if the requested resource doesn't exist as ...
# - file or ...

View File

@@ -9,6 +9,11 @@
"url": "training",
"caption": "Training",
"title": "Trainingszeiten und -orte der Judoka des Chemnitzer WSV"
},
{
"url": "JudoWiki",
"caption": "Wiki",
"title": "Ein kleines Wiki mit Wissenswertem über Judo"
}
]
},

View File

@@ -9,6 +9,11 @@
"url": "training",
"caption": "Training",
"title": "Trainingszeiten und -orte der Judoka des Chemnitzer WSV"
},
{
"url": "JudoWiki",
"caption": "Wiki",
"title": "Ein kleines Wiki mit Wissenswertem über Judo"
}
]
},

View File

@@ -9,6 +9,11 @@
"url": "training",
"caption": "Training",
"title": "Trainingszeiten und -orte der Judoka des Chemnitzer WSV"
},
{
"url": "JudoWiki",
"caption": "Wiki",
"title": "Ein kleines Wiki mit Wissenswertem über Judo"
}
]
},

View File

@@ -9,6 +9,11 @@
"url": "training",
"caption": "Training",
"title": "Trainingszeiten und -orte der Judoka des Chemnitzer WSV"
},
{
"url": "JudoWiki",
"caption": "Wiki",
"title": "Ein kleines Wiki mit Wissenswertem über Judo"
}
]
},

View File

@@ -9,6 +9,11 @@
"url": "training",
"caption": "Training",
"title": "Trainingszeiten und -orte der Judoka des Chemnitzer WSV"
},
{
"url": "JudoWiki",
"caption": "Wiki",
"title": "Ein kleines Wiki mit Wissenswertem über Judo"
}
]
},

View File

@@ -9,6 +9,11 @@
"url": "training",
"caption": "Training",
"title": "Trainingszeiten und -orte der Judoka des Chemnitzer WSV"
},
{
"url": "JudoWiki",
"caption": "Wiki",
"title": "Ein kleines Wiki mit Wissenswertem über Judo"
}
]
},

View File

@@ -134,19 +134,20 @@ class Kalender
);
$htmlWkTableString .=
// "<a href=\"http://cwsvjudo.bplaced.net/wkKalender/".$wk['lfdeNr']."/".toAscii( html_entity_decode( $wk['Veranstaltung'] ))."-am-".$wk['Datum']."\"><tr>".
// "<a href=\"https://cwsvjudo.de/wkKalender/".$wk['lfdeNr']."/".toAscii( html_entity_decode( $wk['Veranstaltung'] ))."-am-".$wk['Datum']."\"><tr>".
"<tr>" .
// "<script type=\"application/ld+json\">" .
// $wkJsonSd .
// "</script>" .
"<td data-title=\"Datum\" class=\"noWrap\">" .
"<a href=\"{https://cwsvjudo.de/kalender/" .
$wk["lfdeNr"] .
"/" .
toAscii(html_entity_decode($wk["Veranstaltung"])) .
"-am-" .
$wk["Datum"] .
"\">" .
// @todo re-implement single shiai view
// "<a href=\"https://cwsvjudo.de/kalender/" .
// $wk["lfdeNr"] .
// "/" .
// toAscii(html_entity_decode($wk["Veranstaltung"])) .
// "-am-" .
// $wk["Datum"] .
// "\">" .
"<time class=\"kalenderDatum\" datetime=" .
$wk["Datum"] .
">" .
@@ -163,7 +164,7 @@ class Kalender
new_strftime("EEEE", strtotime($wk["Datum"])) .
"</span>" .
"</time>" .
"</a>" .
// "</a>" .
"</td>" .
"<td data-title=\"Ausschreibung\" class=\"hyphenate\">" .
"<a title=\"Ausschreibung " .
@@ -196,13 +197,13 @@ class Kalender
// " in Kalender übernehmen\" href=\"/ressourcen/phpLib/calendar.php?wkID=" .
// $wk["lfdeNr"] .
// "\">iCal</a>" .
// "<img class=\"print-only\" alt=\"http://cwsvjudo.bplaced.net/wkKalender/" .
// "<img class=\"print-only\" alt=\"https://cwsvjudo.de/wkKalender/" .
// $wk["lfdeNr"] .
// "/" .
// toAscii(html_entity_decode($wk["Veranstaltung"])) .
// "-am-" .
// $wk["Datum"] .
// "\" height=\"111\" width=\"111\" src=\"http://cwsvjudo.bplaced.net/pages/responsive/wkQrCode.php?id=" .
// "\" height=\"111\" width=\"111\" src=\"https://cwsvjudo.de/pages/responsive/wkQrCode.php?id=" .
// $wk["lfdeNr"] .
// "\" />" .
"</td>" .
@@ -266,12 +267,12 @@ class Kalender
"name" => "cwsvJudo",
],
[
"url" => "http://cwsvjudo.bplaced.net/wkKalender",
"url" => "https://cwsvjudo.de/wkKalender",
"name" => "Wettkampfkalender",
],
[
"url" =>
"http://cwsvjudo.bplaced.net/wkKalender/" .
"https://cwsvjudo.de/wkKalender/" .
$wk["lfdeNr"],
"name" => $wk["Veranstaltung"],
],
@@ -363,7 +364,7 @@ class Kalender
if (in_array(intval($_GET["jahr"]) - 1, $jahre)) {
$siteData["mainContent"] .=
"<a class=\"touchLink\" href=\"http://cwsvjudo.bplaced.net/wkKalender?jahr=" .
"<a class=\"touchLink\" href=\"https://cwsvjudo.de/wkKalender?jahr=" .
(is_positive_integer($_GET["jahr"])
? intval($_GET["jahr"]) - 1
: "") .
@@ -378,7 +379,7 @@ class Kalender
// var_dump($_GET, $jahre);
if (in_array(intval($_GET["jahr"]) + 1, $jahre)) {
$siteData["mainContent"] .=
"<a class=\"touchLink\" href=\"http://cwsvjudo.bplaced.net/wkKalender?jahr=" .
"<a class=\"touchLink\" href=\"https://cwsvjudo.de/wkKalender?jahr=" .
(is_positive_integer($_GET["jahr"])
? intval($_GET["jahr"]) + 1
: "") .
@@ -427,7 +428,7 @@ class Kalender
<hr />
<div class="wkSelektor">
Im folgendem kann man sich mehrere Wettkampftermine in einer <a href="https://de.wikipedia.org/wiki/ICalendar">ICalendar</a>-Datei zusammenstellen. Zum An-/Abwählen bei gedrückter Strg-Taste mit der linken Maustaste die jeweiligen Wettkämpfe anklicken.
<form action="http://cwsvjudo.bplaced.net/ressourcen/phpLib/wkCustomICal.php" method="POST">
<form action="https://cwsvjudo.de/ressourcen/phpLib/wkCustomICal.php" method="POST">
<label>Kommende Wettkämpfe:</label>
<div><select name="wkIDs[]" multiple="multiple" size="5">
<?php