Skip to content

Commit 5a3a08d

Browse files
author
Kristan Kenney
committed
Remove "logged in as user" prompt
1 parent bb93fce commit 5a3a08d

File tree

1 file changed

+1
-24
lines changed

1 file changed

+1
-24
lines changed

web/templates/scripts.html

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -16,30 +16,7 @@
1616
</script>
1717

1818
<?php
19-
// Dialogs
20-
// todo: display all the dialogs?
21-
22-
if (!empty($_SESSION['look_alert'])):
23-
?>
24-
<script>
25-
$(function() {
26-
$('#dialog:ui-dialog').dialog('destroy');
27-
$('#dialog-message').dialog({
28-
modal: true,
29-
buttons: {
30-
Ok: function() {
31-
$(this).dialog('close');
32-
}
33-
}
34-
});
35-
});
36-
</script>
37-
<div id="dialog-message" title="<?=__('Welcome')?>">
38-
<p class="confirmation"><?=__('LOGGED_IN_AS', $_SESSION['look'])?></p>
39-
</div>
40-
<?php
41-
unset($_SESSION['look_alert']);
42-
elseif (!empty($_SESSION['error_msg'])):
19+
if (!empty($_SESSION['error_msg'])):
4320
?>
4421
<div>
4522
<script>

0 commit comments

Comments
 (0)