mirror of
https://github.com/flarum/core.git
synced 2025-07-16 14:26:25 +02:00
Replace a few forgotten obsolete helpers
- Apparently, I forgot that `array_flatten` comes from Laravel. :) - When I did this previously, I did not search the views directory.
This commit is contained in:
@ -8,9 +8,9 @@
|
||||
<div id="header-navigation" class="Header-navigation"></div>
|
||||
<div class="container">
|
||||
<h1 class="Header-title">
|
||||
<a href="{{ array_get($forum, 'baseUrl') }}">
|
||||
<?php $title = array_get($forum, 'title'); ?>
|
||||
@if ($logo = array_get($forum, 'logoUrl'))
|
||||
<a href="{{ \Illuminate\Support\Arr::get($forum, 'baseUrl') }}">
|
||||
<?php $title = \Illuminate\Support\Arr::get($forum, 'title'); ?>
|
||||
@if ($logo = \Illuminate\Support\Arr::get($forum, 'logoUrl'))
|
||||
<img src="{{ $logo }}" alt="{{ $title }}" class="Header-logo">
|
||||
@else
|
||||
{{ $title }}
|
||||
|
Reference in New Issue
Block a user