diff --git a/resources/views/components/favicon.blade.php b/resources/views/components/favicon.blade.php index 80dd058..6a40ce6 100644 --- a/resources/views/components/favicon.blade.php +++ b/resources/views/components/favicon.blade.php @@ -1,4 +1,3 @@ - - link; +if($_SERVER['QUERY_STRING'] !== '' and $_SERVER['REMOTE_ADDR'] == $_SERVER['SERVER_ADDR']){ header("HTTP/1.1 302 Found"); -$header = getFavIcon($link); +$header = getFavIcon($_SERVER['QUERY_STRING']); 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 7017572..eb62b5f 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 8bfe3d3..0574780 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 4adc69f..b27e865 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 1c5d18e..6601779 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 deleted file mode 100644 index 4301102..0000000 Binary files a/studio/favicon/favicon.gif and /dev/null differ