mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-29 11:08:53 +01:00
Fix sidebar styling. Escape classes input
This commit is contained in:
parent
bcc72d224f
commit
b79c8902fc
@ -31,7 +31,7 @@ if (!function_exists('set_active')) {
|
||||
$classes[] = $active;
|
||||
}
|
||||
|
||||
$class = implode(' ', $classes);
|
||||
$class = e(implode(' ', $classes));
|
||||
|
||||
return empty($classes) ? '' : "class=\"{$class}\"";
|
||||
}
|
||||
|
@ -63,16 +63,15 @@
|
||||
<span>{{ trans('dashboard.metrics.metrics') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
<li {!! set_active('dashboard/settings*') !!}>
|
||||
|
||||
<li {{ set_active('dashboard/subscribers*') }}>
|
||||
<li {!! set_active('dashboard/subscribers*') !!}>
|
||||
<a href="{{ route('dashboard.subscribers') }}">
|
||||
<i class="icons ion-email"></i>
|
||||
<span>{{ trans('dashboard.subscribers.subscribers') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li {{ set_active('dashboard/settings*') }}>
|
||||
<li {!! set_active('dashboard/settings*') !!}>
|
||||
<a href="{{ route('dashboard.settings.setup') }}">
|
||||
<i class="icon ion-gear-a"></i>
|
||||
<span>
|
||||
|
Loading…
x
Reference in New Issue
Block a user