@foreach ($types as $type => $title) @if ($type == 'extension') @elseif ($type == 'protocol') @else @if ($type == 'class') . @endif @if ($type == 'domain') http:// @endif @if ($type == 'subdirectory') / @endif @if ($type == 'subdirectory') / @endif @endif @endforeach
@if ($link['is_active']) @else @endif {{ esc_html($link['name']) }} {{ esc_html($types[$link['type']]) }} @if ($link['type'] == 'class') {{ '.' . esc_html($link['value']) }} @elseif ($link['type'] == 'extension') {{ '.' . esc_html($link['value']) }} @elseif ($link['type'] == 'domain') {{ 'http://' . esc_html($link['value']) }} @elseif ($link['type'] == 'subdirectory') {{ '/' . esc_html($link['value']) . '/' }} @elseif ($link['type'] == 'protocol') {{ esc_html($link['value']) . ':' }} @else {{ esc_html($link['value']) }} @endif
@if ($link['is_active'] !== false)
@endif @if ($link['is_active'] === false) @endif