We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb93fce commit 5a3a08dCopy full SHA for 5a3a08d
web/templates/scripts.html
@@ -16,30 +16,7 @@
16
</script>
17
18
<?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'])):
+if (!empty($_SESSION['error_msg'])):
43
?>
44
<div>
45
<script>
0 commit comments