mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-02-10 17:10:47 +01:00
Update sidebar.blade.php
This commit is contained in:
parent
e319301b51
commit
bf39efddf4
@ -210,13 +210,13 @@
|
|||||||
|
|
||||||
|
|
||||||
<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>
|
<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>
|
||||||
<?php
|
<?php
|
||||||
if (strpos($_SERVER['REQUEST_URI'], "hide_event") !== false){
|
if (strpos($_SERVER['REQUEST_URI'], "hide_event") !== false){
|
||||||
setcookie("HideEvent",$_COOKIE['ID'] = $EventJson['id'], time()+60*60*24*5, "/");
|
setcookie("HideEvent",$_COOKIE['ID'] = $EventJson['id'], time()+60*60*24*5, "/");
|
||||||
header('Location: ' . url('/panel/index'));
|
header('Location: ' . url('/panel/index'));
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
@endif
|
@endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user