diff --git a/littlelink/icons/mastodon.svg b/littlelink/icons/mastodon.svg index 9d8ff0e..45a6a7c 100644 --- a/littlelink/icons/mastodon.svg +++ b/littlelink/icons/mastodon.svg @@ -1,4 +1,2 @@ - - - - + + \ No newline at end of file diff --git a/resources/views/layouts/sidebar.blade.php b/resources/views/layouts/sidebar.blade.php index 6e84674..1feae60 100755 --- a/resources/views/layouts/sidebar.blade.php +++ b/resources/views/layouts/sidebar.blade.php @@ -296,29 +296,23 @@ if($url1sb == '200' or $url2sb == '200') { @endif @endif @elseif(env('NOTIFY_UPDATES') == 'true' or env('NOTIFY_UPDATES') === 'major' or env('NOTIFY_UPDATES') === 'all') - - @if(file_exists(base_path("version.json")) and $ServerExists == 'true') + @if(file_exists(base_path("version.json"))) @@ -454,22 +448,10 @@ $userdbs = DB::table('users')->where('id', $littlelink_current)->get(); @endif - - @if(env('NOTIFY_EVENTS') === true and $EventServerExists == 'true') + @if(env('NOTIFY_EVENTS') === true) @endif + @endif @yield('content') diff --git a/resources/views/littlelink.blade.php b/resources/views/littlelink.blade.php index e8cc8e4..5fd1ff9 100644 --- a/resources/views/littlelink.blade.php +++ b/resources/views/littlelink.blade.php @@ -95,7 +95,11 @@ return $path;} + @if(theme('use_default_buttons') == "true") + + @else + @endif @if(file_exists(base_path('themes/' . $info->theme . '/animations.css'))) @@ -286,7 +290,8 @@ function get_operating_system() { @elseif($link->name === "heading")

{{ $link->title }}

@else -
button-icon{{ $link->title }}
+ $value) { if($newLinkName == $key) { $newLinkName = $value; $isNewName = "true"; } } ?> +
button-icon@if($isNewName == "true"){{ $newLinkName }}@else{{ ucfirst($newLinkName) }}@endif
@endif @endforeach diff --git a/storage/templates/advanced-config.php b/storage/templates/advanced-config.php index 7b49c5d..a107e82 100644 --- a/storage/templates/advanced-config.php +++ b/storage/templates/advanced-config.php @@ -105,7 +105,7 @@ return [ // The URL prefix is the symbol that comes before a LittleLink URL. // For example the '@' in 'example.com/@admin'. - // If empty no prefix is required. Use with caution. + // If empty no prefix is required. 'custom_url_prefix' => '+', // The '@' prefix will always work regardless of this setting.