Skip to content

Commit bf39efd

Browse files
Update sidebar.blade.php
1 parent e319301 commit bf39efd

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

resources/views/layouts/sidebar.blade.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -210,13 +210,13 @@ function URL_event_exists(string $url): bool
210210
211211
212212
<a class="nav-link" href="{{ $EventJson['link'] }}" target="{{ $EventJson['target'] }}"><mark onMouseOver="{{ $EventJson['hoveron'] }}" onMouseOut="{{ $EventJson['hoveroff'] }}" style="{{ $EventJson['style'] }}" title="{{ $EventJson['hover'] }}">{{ $EventJson['title'] }}</mark></a> <a href="?hide_event" title="Click to hide this message">❌</a>
213-
<?php
214-
if (strpos($_SERVER['REQUEST_URI'], "hide_event") !== false){
215-
setcookie("HideEvent",$_COOKIE['ID'] = $EventJson['id'], time()+60*60*24*5, "/");
216-
header('Location: ' . url('/panel/index'));
217-
exit();
218-
}
219-
?>
213+
<?php
214+
if (strpos($_SERVER['REQUEST_URI'], "hide_event") !== false){
215+
setcookie("HideEvent",$_COOKIE['ID'] = $EventJson['id'], time()+60*60*24*5, "/");
216+
header('Location: ' . url('/panel/index'));
217+
exit();
218+
}
219+
?>
220220
</div>
221221
</nav>
222222
@endif

0 commit comments

Comments
 (0)