diff --git a/api/viewerWelcomeSite.php b/api/viewerWelcomeSite.php
index 0366762..cad745c 100644
--- a/api/viewerWelcomeSite.php
+++ b/api/viewerWelcomeSite.php
@@ -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'))
diff --git a/cron/offlineIM.php b/cron/offlineIM.php
index bc84ce9..3ccbbb5 100644
--- a/cron/offlineIM.php
+++ b/cron/offlineIM.php
@@ -83,7 +83,7 @@
//die($HTMLMESSAGE);
$HTML = new HTML();
- $HTML->importHTML("style/mail.html");
+ $HTML->importHTML("templates/mail.html");
$HTML->setSeitenInhalt($HTMLMESSAGE);
$HTML->build();
diff --git a/pages/dashboard.php b/pages/dashboard.php
index 852e252..92b73f0 100644
--- a/pages/dashboard.php
+++ b/pages/dashboard.php
@@ -1,9 +1,9 @@
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());
diff --git a/pages/friends.php b/pages/friends.php
index 2f847f3..d33e8c4 100644
--- a/pages/friends.php
+++ b/pages/friends.php
@@ -12,7 +12,7 @@
}
$HTML->setHTMLTitle("Online Anzeige");
- $HTML->importSeitenInhalt("pages/HTML/online-anzeige.html");
+ $HTML->importSeitenInhalt("../templates/online-anzeige.html");
$table = '
';
diff --git a/pages/groups.php b/pages/groups.php
index 50fed48..a2c26a4 100644
--- a/pages/groups.php
+++ b/pages/groups.php
@@ -12,7 +12,7 @@
$opensim = new OpenSim();
$HTML->setHTMLTitle("Gruppen");
- $HTML->importSeitenInhalt("pages/HTML/deine-regionen.html");
+ $HTML->importSeitenInhalt("../templates/deine-regionen.html");
$table = 'Name | Gründer | Aktionen |
%%ENTRY%%
';
diff --git a/pages/identities.php b/pages/identities.php
index 4d8ebd8..f4eda6b 100644
--- a/pages/identities.php
+++ b/pages/identities.php
@@ -1,6 +1,6 @@
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();
diff --git a/pages/invite.php b/pages/invite.php
index 98c5b0d..8b410da 100644
--- a/pages/invite.php
+++ b/pages/invite.php
@@ -9,7 +9,7 @@
}
$HTML->setHTMLTitle("Benutzer");
- $HTML->importSeitenInhalt("pages/HTML/users.html");
+ $HTML->importSeitenInhalt("../templates/users.html");
$HTML->ReplaceSeitenInhalt("%%link%%", ' ');
diff --git a/pages/login.php b/pages/login.php
index ac247e0..03edcef 100644
--- a/pages/login.php
+++ b/pages/login.php
@@ -1,7 +1,7 @@
setHTMLTitle("Login");
- $HTML->importHTML("style/login/login.html");
+ $HTML->importHTML("../templates/login.html");
if(isset($_POST['login']))
{
diff --git a/pages/password.php b/pages/password.php
index 5ff1faf..3898a23 100644
--- a/pages/password.php
+++ b/pages/password.php
@@ -1,7 +1,7 @@
setHTMLTitle("Passwort ändern");
- $HTML->importSeitenInhalt("pages/HTML/profile.html");
+ $HTML->importSeitenInhalt("../templates/profile.html");
if(isset($_REQUEST['oldPassword']) || @$_REQUEST['oldPassword'] != "")
{
diff --git a/pages/profile.php b/pages/profile.php
index c6e5104..b622b21 100644
--- a/pages/profile.php
+++ b/pages/profile.php
@@ -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;
diff --git a/pages/regions.php b/pages/regions.php
index b676ba8..2d8a5a1 100644
--- a/pages/regions.php
+++ b/pages/regions.php
@@ -1,6 +1,6 @@
setHTMLTitle("Deine Regionen");
- $HTML->importSeitenInhalt("pages/HTML/deine-regionen.html");
+ $HTML->importSeitenInhalt("../templates/deine-regionen.html");
function cleanSize($bytes)
{
diff --git a/pages/register.php b/pages/register.php
index 510e349..9bdc47b 100644
--- a/pages/register.php
+++ b/pages/register.php
@@ -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'] );
diff --git a/pages/user-online-state.php b/pages/user-online-state.php
index 0cc416d..7944d69 100644
--- a/pages/user-online-state.php
+++ b/pages/user-online-state.php
@@ -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 = 'Benutzername | Region |
%%ENTRY%%
';
diff --git a/pages/users.php b/pages/users.php
index 3934276..fd394e2 100644
--- a/pages/users.php
+++ b/pages/users.php
@@ -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'] != '')
{
diff --git a/plugins/default-html.php b/plugins/default-html.php
index 19b8314..1891df4 100644
--- a/plugins/default-html.php
+++ b/plugins/default-html.php
@@ -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']));
}