Skip to content

Commit

Permalink
show username under Logout
Browse files Browse the repository at this point in the history
  • Loading branch information
PandorasActorMS committed Oct 24, 2024
1 parent 056968c commit 42465a0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions private/pages/interface.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@
echo '<a href="#" id="feedback" onclick="load(this, "feedback_loader.php")">'. $translation["FeedBack"] . '</a>';
}?>

<a href="logout"><?php echo $translation["SignOut"]; ?></a>
<a href="logout"><?php echo $translation["SignOut"] . "<br> (" . $_SESSION['username'] . ")"; ?></a>
<br>
<!-- CHANGE THIS PART TO ONCLICK EVENT TO LOAD THE PAGE IN MESSAGES PANEL.
DON'T FORGET TO ADD A PROPER PAGE IN VIEWS FOLDER. -->
Expand Down Expand Up @@ -422,8 +422,6 @@
function OnDropdownModelSelection(event){

const dropdown = event.options[event.selectedIndex];
console.log(dropdown);
console.log(dropdown.getAttribute('api'));
SwitchModel(dropdown.getAttribute('api'));
activeModel=dropdown.value;
localStorage.setItem("definedModel", dropdown.value);
Expand Down

0 comments on commit 42465a0

Please sign in to comment.