1
0
Fork 0

Move templates to template directory

master
Anonymous Contributor 2023-08-23 18:16:35 +02:00
parent 4415adb6e6
commit f9828aa110
16 changed files with 1 additions and 4 deletions

View File

@ -4,7 +4,7 @@
$HTML = new HTML(); $HTML = new HTML();
$HTML->setHTMLTitle("Spalsh"); $HTML->setHTMLTitle("Spalsh");
$HTML->importHTML("style/viewerWelcomeSite/default.html"); $HTML->importHTML("pages/HTML/viewerWelcomeImages.html");
$IMAGES = array(); $IMAGES = array();
if ($handle = opendir('./data/viewerWelcomeImages')) if ($handle = opendir('./data/viewerWelcomeImages'))
@ -22,8 +22,6 @@
shuffle($IMAGES); shuffle($IMAGES);
$HTML->importSeitenInhalt("pages/HTML/viewerWelcomeImages.html");
$HTML->ReplaceSeitenInhalt("%%JSONIMAGEARRAY%%", json_encode($IMAGES)); $HTML->ReplaceSeitenInhalt("%%JSONIMAGEARRAY%%", json_encode($IMAGES));
$HTML->ReplaceSeitenInhalt("%%GRIDNAME%%", $RUNTIME['GRID']['NAME']); $HTML->ReplaceSeitenInhalt("%%GRIDNAME%%", $RUNTIME['GRID']['NAME']);
$HTML->ReplaceSeitenInhalt("%%SHOWNEWS%%", $RUNTIME['GRID']['MAIN_NEWS']); $HTML->ReplaceSeitenInhalt("%%SHOWNEWS%%", $RUNTIME['GRID']['MAIN_NEWS']);

View File

@ -1 +0,0 @@
%%EchoInhalt%%