Reflect directory structure changes
parent
f9828aa110
commit
17fe6651c8
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
$HTML = new HTML();
|
$HTML = new HTML();
|
||||||
$HTML->setHTMLTitle("Spalsh");
|
$HTML->setHTMLTitle("Spalsh");
|
||||||
$HTML->importHTML("pages/HTML/viewerWelcomeImages.html");
|
$HTML->importHTML("templates/viewerWelcomeImages.html");
|
||||||
|
|
||||||
$IMAGES = array();
|
$IMAGES = array();
|
||||||
if ($handle = opendir('./data/viewerWelcomeImages'))
|
if ($handle = opendir('./data/viewerWelcomeImages'))
|
||||||
|
|
|
@ -83,7 +83,7 @@
|
||||||
//die($HTMLMESSAGE);
|
//die($HTMLMESSAGE);
|
||||||
|
|
||||||
$HTML = new HTML();
|
$HTML = new HTML();
|
||||||
$HTML->importHTML("style/mail.html");
|
$HTML->importHTML("templates/mail.html");
|
||||||
$HTML->setSeitenInhalt($HTMLMESSAGE);
|
$HTML->setSeitenInhalt($HTMLMESSAGE);
|
||||||
$HTML->build();
|
$HTML->build();
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
<?php
|
<?php
|
||||||
include 'app/OpenSim.php';
|
include '../app/OpenSim.php';
|
||||||
$opensim = new OpenSim();
|
$opensim = new OpenSim();
|
||||||
|
|
||||||
$HTML->setHTMLTitle("Dashboard");
|
$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-USER-COUNT%%", $opensim->getUserCount());
|
||||||
$HTML->ReplaceSeitenInhalt("%%GLOBAL-REGION-COUNT%%", $opensim->getRegionCount());
|
$HTML->ReplaceSeitenInhalt("%%GLOBAL-REGION-COUNT%%", $opensim->getRegionCount());
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
$HTML->setHTMLTitle("Online Anzeige");
|
$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>';
|
$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();
|
$opensim = new OpenSim();
|
||||||
|
|
||||||
$HTML->setHTMLTitle("Gruppen");
|
$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>';
|
$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
|
<?php
|
||||||
$HTML->setHTMLTitle("Identitäten");
|
$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 = $RUNTIME['PDO']->prepare("CREATE TABLE IF NOT EXISTS `UserIdentitys` (`PrincipalID` VARCHAR(38) NOT NULL, `IdentityID` VARCHAR(38) NOT NULL, PRIMARY KEY (`IdentityID`))");
|
||||||
$statementCreateTable->execute();
|
$statementCreateTable->execute();
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
$HTML->setHTMLTitle("Benutzer");
|
$HTML->setHTMLTitle("Benutzer");
|
||||||
$HTML->importSeitenInhalt("pages/HTML/users.html");
|
$HTML->importSeitenInhalt("../templates/users.html");
|
||||||
|
|
||||||
|
|
||||||
$HTML->ReplaceSeitenInhalt("%%link%%", ' ');
|
$HTML->ReplaceSeitenInhalt("%%link%%", ' ');
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
$HTML = new HTML();
|
$HTML = new HTML();
|
||||||
$HTML->setHTMLTitle("Login");
|
$HTML->setHTMLTitle("Login");
|
||||||
$HTML->importHTML("style/login/login.html");
|
$HTML->importHTML("../templates/login.html");
|
||||||
|
|
||||||
if(isset($_POST['login']))
|
if(isset($_POST['login']))
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
$HTML->setHTMLTitle("Passwort ändern");
|
$HTML->setHTMLTitle("Passwort ändern");
|
||||||
$HTML->importSeitenInhalt("pages/HTML/profile.html");
|
$HTML->importSeitenInhalt("../templates/profile.html");
|
||||||
|
|
||||||
if(isset($_REQUEST['oldPassword']) || @$_REQUEST['oldPassword'] != "")
|
if(isset($_REQUEST['oldPassword']) || @$_REQUEST['oldPassword'] != "")
|
||||||
{
|
{
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
$statement->execute();
|
$statement->execute();
|
||||||
|
|
||||||
$HTML->setHTMLTitle("Dein Profile");
|
$HTML->setHTMLTitle("Dein Profile");
|
||||||
$HTML->importSeitenInhalt("pages/HTML/profile.html");
|
$HTML->importSeitenInhalt("../templates/profile.html");
|
||||||
|
|
||||||
//Prüfe ob IAR grade erstellt wird.
|
//Prüfe ob IAR grade erstellt wird.
|
||||||
$IARRUNNING = FALSE;
|
$IARRUNNING = FALSE;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
$HTML->setHTMLTitle("Deine Regionen");
|
$HTML->setHTMLTitle("Deine Regionen");
|
||||||
$HTML->importSeitenInhalt("pages/HTML/deine-regionen.html");
|
$HTML->importSeitenInhalt("../templates/deine-regionen.html");
|
||||||
|
|
||||||
function cleanSize($bytes)
|
function cleanSize($bytes)
|
||||||
{
|
{
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
global $RUNTIME;
|
global $RUNTIME;
|
||||||
$HTML = new HTML();
|
$HTML = new HTML();
|
||||||
$HTML->setHTMLTitle("Registrieren");
|
$HTML->setHTMLTitle("Registrieren");
|
||||||
$HTML->importHTML("style/login/register.html");
|
$HTML->importHTML("../templates/register.html");
|
||||||
|
|
||||||
$HTML->ReplaceLayoutInhalt("%%MESSAGE%%", $message);
|
$HTML->ReplaceLayoutInhalt("%%MESSAGE%%", $message);
|
||||||
$HTML->ReplaceLayoutInhalt("%%tosURL%%", $RUNTIME['TOOLS']['TOS'] );
|
$HTML->ReplaceLayoutInhalt("%%tosURL%%", $RUNTIME['TOOLS']['TOS'] );
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
$opensim = new OpenSim();
|
$opensim = new OpenSim();
|
||||||
|
|
||||||
$HTML->setHTMLTitle("Online Anzeige");
|
$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>';
|
$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();
|
$opensim = new OpenSim();
|
||||||
|
|
||||||
$HTML->setHTMLTitle("Benutzer");
|
$HTML->setHTMLTitle("Benutzer");
|
||||||
$HTML->importSeitenInhalt("pages/HTML/users.html");
|
$HTML->importSeitenInhalt("../templates/users.html");
|
||||||
|
|
||||||
if(@$_REQUEST['action'] == 'genpw' && @$_REQUEST['userid'] != '')
|
if(@$_REQUEST['action'] == 'genpw' && @$_REQUEST['userid'] != '')
|
||||||
{
|
{
|
||||||
|
|
|
@ -2,10 +2,10 @@
|
||||||
$HTML = new HTML();
|
$HTML = new HTML();
|
||||||
if(@$_SESSION['LOGIN'] == 'true')
|
if(@$_SESSION['LOGIN'] == 'true')
|
||||||
{
|
{
|
||||||
$HTML->importHTML("style/default/dashboard.html");
|
$HTML->importHTML("../templates/dashboard.html");
|
||||||
|
|
||||||
if(@$_SESSION['LEVEL'] > 100)
|
if(@$_SESSION['LEVEL'] > 100)
|
||||||
$HTML->importHTML("style/default/dashboard-admin.html");
|
$HTML->importHTML("../templates/dashboard-admin.html");
|
||||||
|
|
||||||
$HTML->ReplaceLayoutInhalt("%%USERNAME%%", htmlspecialchars(@$_SESSION['DISPLAYNAME']));
|
$HTML->ReplaceLayoutInhalt("%%USERNAME%%", htmlspecialchars(@$_SESSION['DISPLAYNAME']));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue