combine pages
parent
f1912e4ea2
commit
0e0ec17630
|
@ -1,5 +1,8 @@
|
|||
<center>%%INFOMESSAGE%%</center>
|
||||
|
||||
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div style="width: 400px; margin: auto; left: 50%;">
|
||||
<form action="index.php?page=profile" method="post">
|
||||
<div class="row">
|
||||
|
@ -53,6 +56,51 @@
|
|||
|
||||
</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>
|
||||
|
||||
|
||||
<script>
|
||||
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
|
||||
|
||||
$HTML->setHTMLTitle("Passwort ändern");
|
||||
$HTML->importSeitenInhalt("pages/HTML/passwort.html");
|
||||
$HTML->importSeitenInhalt("pages/HTML/profile.html");
|
||||
|
||||
if(isset($_REQUEST['oldPassword']) || @$_REQUEST['oldPassword'] != "")
|
||||
{
|
||||
|
|
|
@ -129,6 +129,8 @@
|
|||
$HTML->ReplaceSeitenInhalt("%%partner%%", $PartnerName);
|
||||
$HTML->ReplaceSeitenInhalt("%%email%%", $RUNTIME['OPENSIM']->getUserMail($_SESSION['UUID']));
|
||||
$HTML->ReplaceSeitenInhalt("%%listAllResidentsAsJSArray%%", $allUsers);
|
||||
$HTML->ReplaceSeitenInhalt("%%INFOMESSAGE%%", ' ');
|
||||
$HTML->ReplaceSeitenInhalt("%%INFOMESSAGE%%", ' ');
|
||||
|
||||
$HTML->build();
|
||||
echo $HTML->ausgabe();
|
||||
|
|
|
@ -6,9 +6,10 @@
|
|||
$HTML->build();
|
||||
echo $HTML->ausgabe();
|
||||
die();
|
||||
}else{
|
||||
}
|
||||
|
||||
$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>';
|
||||
|
||||
|
@ -17,7 +18,7 @@
|
|||
|
||||
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);
|
||||
}
|
||||
|
||||
|
@ -26,5 +27,4 @@
|
|||
|
||||
$HTML->build();
|
||||
echo $HTML->ausgabe();
|
||||
}
|
||||
?>
|
|
@ -32,8 +32,6 @@
|
|||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item" href="?page=password">Passwort ändern</a>
|
||||
<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>
|
||||
</div>
|
||||
</li>
|
||||
|
|
|
@ -32,8 +32,6 @@
|
|||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item" href="?page=password">Passwort ändern</a>
|
||||
<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>
|
||||
</div>
|
||||
</li>
|
||||
|
|
Loading…
Reference in New Issue