diff --git a/resources/views/components/favicon.blade.php b/resources/views/components/favicon.blade.php index 6a40ce6..80dd058 100644 --- a/resources/views/components/favicon.blade.php +++ b/resources/views/components/favicon.blade.php @@ -1,3 +1,4 @@ + + link; header("HTTP/1.1 302 Found"); -$header = getFavIcon($_SERVER['QUERY_STRING']); +$header = getFavIcon($link); header("Location: $header"); exit(); +} catch (exception $e) {exit();} } ?> \ No newline at end of file diff --git a/resources/views/components/pageitems/link-display.blade.php b/resources/views/components/pageitems/link-display.blade.php index eb62b5f..7017572 100644 --- a/resources/views/components/pageitems/link-display.blade.php +++ b/resources/views/components/pageitems/link-display.blade.php @@ -5,7 +5,7 @@ @if($params->GetSiteIcon ?? true) - button-icon + button-icon @endif {{ $link->title }} diff --git a/resources/views/home.blade.php b/resources/views/home.blade.php index 0574780..8bfe3d3 100755 --- a/resources/views/home.blade.php +++ b/resources/views/home.blade.php @@ -213,9 +213,9 @@ foreach($pages as $page) @elseif($button['button'] === "buy me a coffee")
button-iconBuy me a Coffee
@elseif($button['button'] === "custom_website" and ($button['custom_css'] === "" or $button['custom_css'] === "NULL") or (theme('allow_custom_buttons') == "false" and $button['button'] === "custom_website")) -
button-icon{{ $button['title'] }}
+
button-icon{{ $button['title'] }}
@elseif($button['button'] === "custom_website" and $button['custom_css'] != "") -
button-icon{{ $button['title'] }}
+
button-icon{{ $button['title'] }}
@elseif($button['button'] === "space") name === "mastodon")
button-icon{{ $link->title }}
@elseif($link->name === "custom_website"and $link->custom_css === "" or $link->custom_css === "NULL" or (theme('allow_custom_buttons') == "false" and $link->name === "custom")) -
button-icon{{ $link->title }}
+
button-icon{{ $link->title }}
@elseif($link->name === "custom_website" and $link->custom_css != "") -
button-icon{{ $link->title }}
+
button-icon{{ $link->title }}
@elseif($link->name === "space") title) and $link->title < 10) diff --git a/resources/views/studio/button-editor.blade.php b/resources/views/studio/button-editor.blade.php index b27e865..4adc69f 100644 --- a/resources/views/studio/button-editor.blade.php +++ b/resources/views/studio/button-editor.blade.php @@ -216,7 +216,7 @@ var button_css = { @if($buttonId == 1)
{{ $title }}
@else -
{{ $title }}
+
{{ $title }}
@endif @@ -255,9 +255,9 @@ NULL @if($custom_css === "" or $custom_css === "NULL" and $buttonId == 1)
{{ $title }}
@elseif($custom_css === "" or $custom_css === "NULL" and $buttonId == 2) -
{{ $title }}
+
{{ $title }}
@elseif($custom_css != "" and $buttonId == 2) -
{{ $title }}
+
{{ $title }}
@else
{{ $title }}
@endif diff --git a/resources/views/studio/links.blade.php b/resources/views/studio/links.blade.php index 6601779..1c5d18e 100755 --- a/resources/views/studio/links.blade.php +++ b/resources/views/studio/links.blade.php @@ -68,7 +68,7 @@ button_id); if(isset($button->name)){$buttonName = $button->name;}else{$buttonName = 0;} ?> @if($button->name == "custom_website") - button-icon + button-icon @elseif($button->name == "space")   @elseif($button->name == "heading") diff --git a/studio/favicon/favicon.gif b/studio/favicon/favicon.gif new file mode 100644 index 0000000..4301102 Binary files /dev/null and b/studio/favicon/favicon.gif differ