1
0
Fork 0

Reflect directory structure changes

master
Anonymous Contributor 2023-08-23 18:16:35 +02:00
parent f9828aa110
commit 17fe6651c8
15 changed files with 17 additions and 17 deletions

View File

@ -4,7 +4,7 @@
$HTML = new HTML();
$HTML->setHTMLTitle("Spalsh");
$HTML->importHTML("pages/HTML/viewerWelcomeImages.html");
$HTML->importHTML("templates/viewerWelcomeImages.html");
$IMAGES = array();
if ($handle = opendir('./data/viewerWelcomeImages'))

View File

@ -83,7 +83,7 @@
//die($HTMLMESSAGE);
$HTML = new HTML();
$HTML->importHTML("style/mail.html");
$HTML->importHTML("templates/mail.html");
$HTML->setSeitenInhalt($HTMLMESSAGE);
$HTML->build();

View File

@ -1,9 +1,9 @@
<?php
include 'app/OpenSim.php';
include '../app/OpenSim.php';
$opensim = new OpenSim();
$HTML->setHTMLTitle("Dashboard");
$HTML->importSeitenInhalt("pages/HTML/dashboard.html");
$HTML->importSeitenInhalt("../templates/dashboard-home.html");
$HTML->ReplaceSeitenInhalt("%%GLOBAL-USER-COUNT%%", $opensim->getUserCount());
$HTML->ReplaceSeitenInhalt("%%GLOBAL-REGION-COUNT%%", $opensim->getRegionCount());

View File

@ -12,7 +12,7 @@
}
$HTML->setHTMLTitle("Online Anzeige");
$HTML->importSeitenInhalt("pages/HTML/online-anzeige.html");
$HTML->importSeitenInhalt("../templates/online-anzeige.html");
$table = '<table class="table"><thead><tr><th scope="col">Name</th><th scope="col">Optionen</th></thead><tbody>%%ENTRY%%</tbody></table>';

View File

@ -12,7 +12,7 @@
$opensim = new OpenSim();
$HTML->setHTMLTitle("Gruppen");
$HTML->importSeitenInhalt("pages/HTML/deine-regionen.html");
$HTML->importSeitenInhalt("../templates/deine-regionen.html");
$table = '<table class="table"><thead><tr><th scope="col">Name</th><th scope="col">Gründer</th><th scope="col">Aktionen</th></thead><tbody>%%ENTRY%%</tbody></table>';

View File

@ -1,6 +1,6 @@
<?php
$HTML->setHTMLTitle("Identitäten");
$HTML->importSeitenInhalt("pages/HTML/identities.html");
$HTML->importSeitenInhalt("../templates/identities.html");
$statementCreateTable = $RUNTIME['PDO']->prepare("CREATE TABLE IF NOT EXISTS `UserIdentitys` (`PrincipalID` VARCHAR(38) NOT NULL, `IdentityID` VARCHAR(38) NOT NULL, PRIMARY KEY (`IdentityID`))");
$statementCreateTable->execute();

View File

@ -9,7 +9,7 @@
}
$HTML->setHTMLTitle("Benutzer");
$HTML->importSeitenInhalt("pages/HTML/users.html");
$HTML->importSeitenInhalt("../templates/users.html");
$HTML->ReplaceSeitenInhalt("%%link%%", ' ');

View File

@ -1,7 +1,7 @@
<?php
$HTML = new HTML();
$HTML->setHTMLTitle("Login");
$HTML->importHTML("style/login/login.html");
$HTML->importHTML("../templates/login.html");
if(isset($_POST['login']))
{

View File

@ -1,7 +1,7 @@
<?php
$HTML->setHTMLTitle("Passwort ändern");
$HTML->importSeitenInhalt("pages/HTML/profile.html");
$HTML->importSeitenInhalt("../templates/profile.html");
if(isset($_REQUEST['oldPassword']) || @$_REQUEST['oldPassword'] != "")
{

View File

@ -3,7 +3,7 @@
$statement->execute();
$HTML->setHTMLTitle("Dein Profile");
$HTML->importSeitenInhalt("pages/HTML/profile.html");
$HTML->importSeitenInhalt("../templates/profile.html");
//Prüfe ob IAR grade erstellt wird.
$IARRUNNING = FALSE;

View File

@ -1,6 +1,6 @@
<?php
$HTML->setHTMLTitle("Deine Regionen");
$HTML->importSeitenInhalt("pages/HTML/deine-regionen.html");
$HTML->importSeitenInhalt("../templates/deine-regionen.html");
function cleanSize($bytes)
{

View File

@ -4,7 +4,7 @@
global $RUNTIME;
$HTML = new HTML();
$HTML->setHTMLTitle("Registrieren");
$HTML->importHTML("style/login/register.html");
$HTML->importHTML("../templates/register.html");
$HTML->ReplaceLayoutInhalt("%%MESSAGE%%", $message);
$HTML->ReplaceLayoutInhalt("%%tosURL%%", $RUNTIME['TOOLS']['TOS'] );

View File

@ -3,7 +3,7 @@
$opensim = new OpenSim();
$HTML->setHTMLTitle("Online Anzeige");
$HTML->importSeitenInhalt("pages/HTML/online-anzeige.html");
$HTML->importSeitenInhalt("../templates/online-anzeige.html");
$table = '<table class="table"><thead><tr><th scope="col">Benutzername</th><th scope="col">Region</th></thead><tbody>%%ENTRY%%</tbody></table>';

View File

@ -16,7 +16,7 @@
$opensim = new OpenSim();
$HTML->setHTMLTitle("Benutzer");
$HTML->importSeitenInhalt("pages/HTML/users.html");
$HTML->importSeitenInhalt("../templates/users.html");
if(@$_REQUEST['action'] == 'genpw' && @$_REQUEST['userid'] != '')
{

View File

@ -2,10 +2,10 @@
$HTML = new HTML();
if(@$_SESSION['LOGIN'] == 'true')
{
$HTML->importHTML("style/default/dashboard.html");
$HTML->importHTML("../templates/dashboard.html");
if(@$_SESSION['LEVEL'] > 100)
$HTML->importHTML("style/default/dashboard-admin.html");
$HTML->importHTML("../templates/dashboard-admin.html");
$HTML->ReplaceLayoutInhalt("%%USERNAME%%", htmlspecialchars(@$_SESSION['DISPLAYNAME']));
}