Reflect directory structure changes
parent
f9828aa110
commit
17fe6651c8
|
@ -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'))
|
||||
|
|
|
@ -83,7 +83,7 @@
|
|||
//die($HTMLMESSAGE);
|
||||
|
||||
$HTML = new HTML();
|
||||
$HTML->importHTML("style/mail.html");
|
||||
$HTML->importHTML("templates/mail.html");
|
||||
$HTML->setSeitenInhalt($HTMLMESSAGE);
|
||||
$HTML->build();
|
||||
|
||||
|
|
|
@ -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());
|
||||
|
|
|
@ -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>';
|
||||
|
||||
|
|
|
@ -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>';
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
}
|
||||
|
||||
$HTML->setHTMLTitle("Benutzer");
|
||||
$HTML->importSeitenInhalt("pages/HTML/users.html");
|
||||
$HTML->importSeitenInhalt("../templates/users.html");
|
||||
|
||||
|
||||
$HTML->ReplaceSeitenInhalt("%%link%%", ' ');
|
||||
|
|
|
@ -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']))
|
||||
{
|
||||
|
|
|
@ -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'] != "")
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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'] );
|
||||
|
|
|
@ -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>';
|
||||
|
||||
|
|
|
@ -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'] != '')
|
||||
{
|
||||
|
|
|
@ -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']));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue