dont copy friends
parent
d6f9b72a0f
commit
14bfb39a49
|
@ -1,7 +1,7 @@
|
|||
<div>
|
||||
Hier kannst du die UUID von deinem Avatar ändern und später jederzeit wieder zurück weckseln. <br>
|
||||
Inventar, Freunde und Gruppen bleiben dabei erhalten. <br>
|
||||
Jede Identität hat ein eigenes Aussehen und ein eigenes Profile.<br>
|
||||
Inventar und Gruppen bleiben dabei erhalten. <br>
|
||||
Jede Identität hat ein eigenes Aussehen, ein eigenes Profile und eine eigene Freundesliste.<br>
|
||||
Nach dem ändern musst du dich neu anmelden.<br>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
<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>
|
|
@ -0,0 +1,43 @@
|
|||
|
||||
|
||||
<center>%%INFOMESSAGE%%</center>
|
||||
|
||||
<div style="width: 400px; margin: auto; left: 50%;">
|
||||
<form action="index.php?page=password" method="post">
|
||||
<div class="row" style="margin-top: 15px;">
|
||||
<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>
|
|
@ -37,8 +37,8 @@
|
|||
$statementFriends = $RUNTIME['PDO']->prepare('UPDATE Friends SET PrincipalID = :IdentityID WHERE PrincipalID = :PrincipalID');
|
||||
$statementFriends->execute(['IdentityID' => $_REQUEST['newuuid'], 'PrincipalID' => $_SESSION['UUID']]);
|
||||
|
||||
$statementReFriends = $RUNTIME['PDO']->prepare('UPDATE Friends SET Friend = :IdentityID WHERE Friend = :PrincipalID');
|
||||
$statementReFriends->execute(['IdentityID' => $_REQUEST['newuuid'], 'PrincipalID' => $_SESSION['UUID']]);
|
||||
//$statementReFriends = $RUNTIME['PDO']->prepare('UPDATE Friends SET Friend = :IdentityID WHERE Friend = :PrincipalID');
|
||||
//$statementReFriends->execute(['IdentityID' => $_REQUEST['newuuid'], 'PrincipalID' => $_SESSION['UUID']]);
|
||||
|
||||
$statementInventoryFolders = $RUNTIME['PDO']->prepare('UPDATE inventoryfolders SET agentID = :IdentityID WHERE agentID = :PrincipalID AND type != :InventarTyp');
|
||||
$statementInventoryFolders->execute(['IdentityID' => $_REQUEST['newuuid'], 'PrincipalID' => $_SESSION['UUID'], 'InventarTyp' => 46]);
|
||||
|
|
Loading…
Reference in New Issue