Move templates to template directory
parent
4415adb6e6
commit
f9828aa110
|
@ -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']);
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
%%EchoInhalt%%
|
|
Loading…
Reference in New Issue