combine pages
parent
f1912e4ea2
commit
0e0ec17630
|
@ -1,6 +1,9 @@
|
||||||
|
<center>%%INFOMESSAGE%%</center>
|
||||||
|
|
||||||
|
<div class="container-fluid">
|
||||||
<div style="width: 400px; margin: auto; left: 50%;">
|
<div class="row">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<div style="width: 400px; margin: auto; left: 50%;">
|
||||||
<form action="index.php?page=profile" method="post">
|
<form action="index.php?page=profile" method="post">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
|
@ -52,8 +55,53 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<div style="width: 400px; margin: auto; left: 50%;">
|
||||||
|
<form action="index.php?page=password" method="post">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col">
|
||||||
|
<label for="oldPassword">Altes Passwort</label>
|
||||||
|
<input type="text" class="form-control" id="oldPassword" name="oldPassword"">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row" style="margin-top: 15px;">
|
||||||
|
<div class="col">
|
||||||
|
<label for="newPassword">Neues Passwort</label>
|
||||||
|
<input type="text" class="form-control" id="PasswordNew" name="newPassword"">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="row" style="margin-top: 15px;">
|
||||||
|
<div class="col">
|
||||||
|
<label for="newPasswordRepeate">Neues Passwort wiederholen</label>
|
||||||
|
<input type="text" class="form-control" id="PasswordNewRepeate" name="newPasswordRepeate"">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="row" style="margin-top: 15px;">
|
||||||
|
<div class="col">
|
||||||
|
<hr>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row" style="margin-top: 15px;">
|
||||||
|
<div class="col">
|
||||||
|
<button type="submit" name="savePassword" class="btn btn-primary btn-lg">Speichern</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
var countries = [%%listAllResidentsAsJSArray%%];
|
var countries = [%%listAllResidentsAsJSArray%%];
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,32 @@
|
||||||
|
<div class="container-fluid">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-6">
|
||||||
|
%%REGION-LIST%%
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<div style="width: 400px; margin: auto; left: 50%;">
|
||||||
|
Hier kannst du einen Invite Link erstellen.<br>
|
||||||
|
Jeder der solch einen Link bekommt, kann sich im Grid Regestrieren.
|
||||||
|
Der Link ist einzigartig und funktioniert nur einmalig.<br>
|
||||||
|
Nach dem aufrufen des Links muss ein Name, Passwort und Standart Avatar ausgewählt werden.
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div style="width: 400px; margin: auto; left: 50%;">
|
||||||
|
<form action="index.php?page=invite" method="post">
|
||||||
|
<div class="row" style="margin-top: 15px;">
|
||||||
|
<div class="col">
|
||||||
|
<label for="linkOutput">InviteLink:</label>
|
||||||
|
<input type="text" class="form-control" id="linkOutput" name="formLink" value="%%link%%">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row" style="margin-top: 15px;">
|
||||||
|
<div class="col">
|
||||||
|
<button type="submit" name="generateLink" class="btn btn-primary btn-lg">Link Generieren</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
$HTML->setHTMLTitle("Passwort ändern");
|
$HTML->setHTMLTitle("Passwort ändern");
|
||||||
$HTML->importSeitenInhalt("pages/HTML/passwort.html");
|
$HTML->importSeitenInhalt("pages/HTML/profile.html");
|
||||||
|
|
||||||
if(isset($_REQUEST['oldPassword']) || @$_REQUEST['oldPassword'] != "")
|
if(isset($_REQUEST['oldPassword']) || @$_REQUEST['oldPassword'] != "")
|
||||||
{
|
{
|
||||||
|
|
|
@ -129,6 +129,8 @@
|
||||||
$HTML->ReplaceSeitenInhalt("%%partner%%", $PartnerName);
|
$HTML->ReplaceSeitenInhalt("%%partner%%", $PartnerName);
|
||||||
$HTML->ReplaceSeitenInhalt("%%email%%", $RUNTIME['OPENSIM']->getUserMail($_SESSION['UUID']));
|
$HTML->ReplaceSeitenInhalt("%%email%%", $RUNTIME['OPENSIM']->getUserMail($_SESSION['UUID']));
|
||||||
$HTML->ReplaceSeitenInhalt("%%listAllResidentsAsJSArray%%", $allUsers);
|
$HTML->ReplaceSeitenInhalt("%%listAllResidentsAsJSArray%%", $allUsers);
|
||||||
|
$HTML->ReplaceSeitenInhalt("%%INFOMESSAGE%%", ' ');
|
||||||
|
$HTML->ReplaceSeitenInhalt("%%INFOMESSAGE%%", ' ');
|
||||||
|
|
||||||
$HTML->build();
|
$HTML->build();
|
||||||
echo $HTML->ausgabe();
|
echo $HTML->ausgabe();
|
||||||
|
|
|
@ -6,9 +6,10 @@
|
||||||
$HTML->build();
|
$HTML->build();
|
||||||
echo $HTML->ausgabe();
|
echo $HTML->ausgabe();
|
||||||
die();
|
die();
|
||||||
}else{
|
}
|
||||||
|
|
||||||
$HTML->setHTMLTitle("Benutzer");
|
$HTML->setHTMLTitle("Benutzer");
|
||||||
$HTML->importSeitenInhalt("pages/HTML/deine-regionen.html");
|
$HTML->importSeitenInhalt("pages/HTML/users.html");
|
||||||
|
|
||||||
$table = '<table class="table"><thead><tr><th scope="col">Vorname</th><th scope="col">Nachname</th><th scope="col">Status</th><th scope="col">Aktionen</th></thead><tbody>%%ENTRY%%</tbody></table>';
|
$table = '<table class="table"><thead><tr><th scope="col">Vorname</th><th scope="col">Nachname</th><th scope="col">Status</th><th scope="col">Aktionen</th></thead><tbody>%%ENTRY%%</tbody></table>';
|
||||||
|
|
||||||
|
@ -17,7 +18,7 @@
|
||||||
|
|
||||||
while($row = $statement->fetch())
|
while($row = $statement->fetch())
|
||||||
{
|
{
|
||||||
$entry = '<tr><td>'.$row['FirstName'].'</td><td>'.$row['LastName'].'</td><td>'.$row['UserLevel'].'</td><td>PASSWORT ÄNDERN | SPERREN | UMBENENNEN</td></tr>';
|
$entry = '<tr><td>'.$row['FirstName'].'</td><td>'.$row['LastName'].'</td><td>'.$row['UserLevel'].'</td><td>PASSWORT ÄNDERN | SPERREN</td></tr>';
|
||||||
$table = str_replace("%%ENTRY%%", $entry."%%ENTRY%%", $table);
|
$table = str_replace("%%ENTRY%%", $entry."%%ENTRY%%", $table);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -26,5 +27,4 @@
|
||||||
|
|
||||||
$HTML->build();
|
$HTML->build();
|
||||||
echo $HTML->ausgabe();
|
echo $HTML->ausgabe();
|
||||||
}
|
|
||||||
?>
|
?>
|
|
@ -32,8 +32,6 @@
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a class="dropdown-item" href="?page=password">Passwort ändern</a>
|
<a class="dropdown-item" href="?page=password">Passwort ändern</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a class="dropdown-item" href="?page=invite">Grid Invite</a>
|
|
||||||
<div class="dropdown-divider"></div>
|
|
||||||
<a class="dropdown-item" href="#" data-toggle="modal" data-target="#logoutModal">Logout</a>
|
<a class="dropdown-item" href="#" data-toggle="modal" data-target="#logoutModal">Logout</a>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
@ -32,8 +32,6 @@
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a class="dropdown-item" href="?page=password">Passwort ändern</a>
|
<a class="dropdown-item" href="?page=password">Passwort ändern</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a class="dropdown-item" href="?page=invite">Grid Invite</a>
|
|
||||||
<div class="dropdown-divider"></div>
|
|
||||||
<a class="dropdown-item" href="#" data-toggle="modal" data-target="#logoutModal">Logout</a>
|
<a class="dropdown-item" href="#" data-toggle="modal" data-target="#logoutModal">Logout</a>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Reference in New Issue