@@ -292,14 +292,14 @@ function themeAsset($path){
292
292
@case (' icon' )
293
293
@break
294
294
@case (' phone' )
295
- <div style =" --delay : {{ $initial ++ }}s " class =" button-entrance" ><a class =" button button-default button button-hover icon-hover" rel =" noopener noreferrer nofollow" href =" {{ route (' clickNumber' ) . ' /' . $link -> id . " ?" . $link -> link } }" ><img alt =" {{ $link -> name } }" class =" icon hvr-icon" src =" @if (theme (' use_custom_icons' ) == " true" ){{ url (' themes/' . $GLOBALS [' themeName' ] . ' /extra/custom-icons' ) } } /phone{{ theme (' custom_icon_extension' )} } @else {{ asset (' \/assets/linkstack/icons\/' ) } } phone.svg @endif " ></i >{{ $link -> title } } </a ></div >
295
+ <div style =" --delay : {{ $initial ++ }}s " class =" button-entrance" ><a class =" button button-default button button-hover icon-hover" rel =" noopener noreferrer nofollow noindex " href =" {{ route (' clickNumber' ) . ' /' . $link -> id . " ?" . $link -> link } }" ><img alt =" {{ $link -> name } }" class =" icon hvr-icon" src =" @if (theme (' use_custom_icons' ) == " true" ){{ url (' themes/' . $GLOBALS [' themeName' ] . ' /extra/custom-icons' ) } } /phone{{ theme (' custom_icon_extension' )} } @else {{ asset (' \/assets/linkstack/icons\/' ) } } phone.svg @endif " ></i >{{ $link -> title } } </a ></div >
296
296
@break
297
297
@case (' default email' )
298
298
@case (' default email_alt' )
299
- <div style =" --delay : {{ $initial ++ }}s " class =" button-entrance" ><a class =" button button-default button button-hover icon-hover" rel =" noopener noreferrer nofollow" href =" {{ route (' clickNumber' ) . ' /' . $link -> id . " ?" . $link -> link } }" ><img alt =" email" class =" icon hvr-icon" src =" @if (theme (' use_custom_icons' ) == " true" ){{ url (' themes/' . $GLOBALS [' themeName' ] . ' /extra/custom-icons' ) } } /email{{ theme (' custom_icon_extension' )} } @else {{ asset (' \/assets/linkstack/icons\/' ) } } email.svg @endif " ></i >{{ $link -> title } } </a ></div >
299
+ <div style =" --delay : {{ $initial ++ }}s " class =" button-entrance" ><a class =" button button-default button button-hover icon-hover" rel =" noopener noreferrer nofollow noindex " href =" {{ route (' clickNumber' ) . ' /' . $link -> id . " ?" . $link -> link } }" ><img alt =" email" class =" icon hvr-icon" src =" @if (theme (' use_custom_icons' ) == " true" ){{ url (' themes/' . $GLOBALS [' themeName' ] . ' /extra/custom-icons' ) } } /email{{ theme (' custom_icon_extension' )} } @else {{ asset (' \/assets/linkstack/icons\/' ) } } email.svg @endif " ></i >{{ $link -> title } } </a ></div >
300
300
@break
301
301
@case (' buy me a coffee' )
302
- <div style =" --delay : {{ $initial ++ }}s " class =" button-entrance" ><a class =" button button-coffee button button-hover icon-hover" rel =" noopener noreferrer nofollow" href =" {{ route (' clickNumber' ) . ' /' . $link -> id . " ?" . $link -> link } }" @if (theme (' open_links_in_same_tab' ) != " true" )target =" _blank" @endif ><img alt =" {{ $link -> name } }" class =" icon hvr-icon" src =" @if (theme (' use_custom_icons' ) == " true" ){{ url (' themes/' . $GLOBALS [' themeName' ] . ' /extra/custom-icons' ) } } /coffee{{ theme (' custom_icon_extension' )} } @else {{ asset (' \/assets/linkstack/icons\/' ) } } coffee.svg @endif " >Buy me a Coffee</a ></div >
302
+ <div style =" --delay : {{ $initial ++ }}s " class =" button-entrance" ><a class =" button button-coffee button button-hover icon-hover" rel =" noopener noreferrer nofollow noindex " href =" {{ route (' clickNumber' ) . ' /' . $link -> id . " ?" . $link -> link } }" @if (theme (' open_links_in_same_tab' ) != " true" )target =" _blank" @endif ><img alt =" {{ $link -> name } }" class =" icon hvr-icon" src =" @if (theme (' use_custom_icons' ) == " true" ){{ url (' themes/' . $GLOBALS [' themeName' ] . ' /extra/custom-icons' ) } } /coffee{{ theme (' custom_icon_extension' )} } @else {{ asset (' \/assets/linkstack/icons\/' ) } } coffee.svg @endif " >Buy me a Coffee</a ></div >
303
303
@break
304
304
@case (' space' )
305
305
@php $title = $link -> title ; if (is_numeric ($title )) { echo str_repeat (" <br>" , $title < 10 ? $title : 10 ); } else { echo " <br><br><br>" ; } @endphp
@@ -311,27 +311,27 @@ function themeAsset($path){
311
311
<div class =" fadein" ><span style =" " >@if (env (' ALLOW_USER_HTML' ) === true ){!! $link -> title ! !}@else {{ $link -> title } }@endif </span ></div >
312
312
@break
313
313
@case (' vcard' )
314
- <div style =" --delay : {{ $initial ++ }}s " class =" button-entrance" ><a class =" button button-default button button-hover icon-hover" rel =" noopener noreferrer nofollow" href =" {{ route (' vcard' ) . ' /' . $link -> id } }" ><img alt =" {{ $link -> name } }" class =" icon hvr-icon" src =" @if (theme (' use_custom_icons' ) == " true" ){{ url (' themes/' . $GLOBALS [' themeName' ] . ' /extra/custom-icons' ) } } /vcard{{ theme (' custom_icon_extension' )} } @else {{ asset (' \/assets/linkstack/icons\/' ) } } vcard.svg @endif " ></i >{{ $link -> title } } </a ></div >
314
+ <div style =" --delay : {{ $initial ++ }}s " class =" button-entrance" ><a class =" button button-default button button-hover icon-hover" rel =" noopener noreferrer nofollow noindex " href =" {{ route (' vcard' ) . ' /' . $link -> id } }" ><img alt =" {{ $link -> name } }" class =" icon hvr-icon" src =" @if (theme (' use_custom_icons' ) == " true" ){{ url (' themes/' . $GLOBALS [' themeName' ] . ' /extra/custom-icons' ) } } /vcard{{ theme (' custom_icon_extension' )} } @else {{ asset (' \/assets/linkstack/icons\/' ) } } vcard.svg @endif " ></i >{{ $link -> title } } </a ></div >
315
315
@break
316
316
@case (' custom' )
317
317
@if ($link -> custom_css === " " or $link -> custom_css === " NULL" or (theme (' allow_custom_buttons' ) == " false" ) )
318
- <div style =" --delay : {{ $initial ++ }}s " class =" button-entrance" ><a class =" button button-{{ $link -> name } } button button-hover icon-hover" rel =" noopener noreferrer nofollow" href =" {{ route (' clickNumber' ) . ' /' . $link -> id . " ?" . $link -> link } }" @if (theme (' open_links_in_same_tab' ) != " true" )target =" _blank" @endif ><i style =" color : {{$link->custom_icon}}" class =" icon hvr-icon fa {{ $link -> custom_icon } }" ></i >{{ $link -> title } } </a ></div >
318
+ <div style =" --delay : {{ $initial ++ }}s " class =" button-entrance" ><a class =" button button-{{ $link -> name } } button button-hover icon-hover" rel =" noopener noreferrer nofollow noindex " href =" {{ route (' clickNumber' ) . ' /' . $link -> id . " ?" . $link -> link } }" @if (theme (' open_links_in_same_tab' ) != " true" )target =" _blank" @endif ><i style =" color : {{$link->custom_icon}}" class =" icon hvr-icon fa {{ $link -> custom_icon } }" ></i >{{ $link -> title } } </a ></div >
319
319
@break
320
320
@elseif ($link -> custom_css != " " )
321
- <div style =" --delay : {{ $initial ++ }}s " class =" button-entrance" ><a class =" button button-hover icon-hover" style =" {{ $link -> custom_css } }" rel =" noopener noreferrer nofollow" href =" {{ route (' clickNumber' ) . ' /' . $link -> id . " ?" . $link -> link } }" @if (theme (' open_links_in_same_tab' ) != " true" )target =" _blank" @endif ><i style =" color : {{$link->custom_icon}}" class =" icon hvr-icon fa {{ $link -> custom_icon } }" ></i >{{ $link -> title } } </a ></div >
321
+ <div style =" --delay : {{ $initial ++ }}s " class =" button-entrance" ><a class =" button button-hover icon-hover" style =" {{ $link -> custom_css } }" rel =" noopener noreferrer nofollow noindex " href =" {{ route (' clickNumber' ) . ' /' . $link -> id . " ?" . $link -> link } }" @if (theme (' open_links_in_same_tab' ) != " true" )target =" _blank" @endif ><i style =" color : {{$link->custom_icon}}" class =" icon hvr-icon fa {{ $link -> custom_icon } }" ></i >{{ $link -> title } } </a ></div >
322
322
@break
323
323
@endif
324
324
@case (' custom_website' )
325
325
@if ($link -> custom_css === " " or $link -> custom_css === " NULL" or (theme (' allow_custom_buttons' ) == " false" ) )
326
- <div style =" --delay : {{ $initial ++ }}s " class =" button-entrance" ><a class =" button button-custom_website button button-hover icon-hover" rel =" noopener noreferrer nofollow" href =" {{ route (' clickNumber' ) . ' /' . $link -> id . " ?" . $link -> link } }" @if (theme (' open_links_in_same_tab' ) != " true" )target =" _blank" @endif ><img alt =" {{ $link -> name } }" class =" icon hvr-icon" src =" @if (file_exists (base_path (" assets/favicon/icons/" ). localIcon ($link -> id )) ){{ url (' assets/favicon/icons/' . localIcon ($link -> id ))} }@else {{ getFavIcon ($link -> id )} }@endif " onerror =" this.onerror=null; this.src='{{ asset (' assets/linkstack/icons/website.svg' )} } ';" >{{ $link -> title } } </a ></div >
326
+ <div style =" --delay : {{ $initial ++ }}s " class =" button-entrance" ><a class =" button button-custom_website button button-hover icon-hover" rel =" noopener noreferrer nofollow noindex " href =" {{ route (' clickNumber' ) . ' /' . $link -> id . " ?" . $link -> link } }" @if (theme (' open_links_in_same_tab' ) != " true" )target =" _blank" @endif ><img alt =" {{ $link -> name } }" class =" icon hvr-icon" src =" @if (file_exists (base_path (" assets/favicon/icons/" ). localIcon ($link -> id )) ){{ url (' assets/favicon/icons/' . localIcon ($link -> id ))} }@else {{ getFavIcon ($link -> id )} }@endif " onerror =" this.onerror=null; this.src='{{ asset (' assets/linkstack/icons/website.svg' )} } ';" >{{ $link -> title } } </a ></div >
327
327
@break
328
328
@elseif ($link -> custom_css != " " )
329
- <div style =" --delay : {{ $initial ++ }}s " class =" button-entrance" ><a class =" button button-hover icon-hover" style =" {{ $link -> custom_css } }" rel =" noopener noreferrer nofollow" href =" {{ route (' clickNumber' ) . ' /' . $link -> id . " ?" . $link -> link } }" @if (theme (' open_links_in_same_tab' ) != " true" )target =" _blank" @endif ><img alt =" {{ $link -> name } }" class =" icon hvr-icon" src =" @if (file_exists (base_path (" assets/favicon/icons/" ). localIcon ($link -> id )) ){{ url (' assets/favicon/icons/' . localIcon ($link -> id ))} }@else {{ getFavIcon ($link -> id )} }@endif " onerror =" this.onerror=null; this.src='{{ asset (' assets/linkstack/icons/website.svg' )} } ';" >{{ $link -> title } } </a ></div >
329
+ <div style =" --delay : {{ $initial ++ }}s " class =" button-entrance" ><a class =" button button-hover icon-hover" style =" {{ $link -> custom_css } }" rel =" noopener noreferrer nofollow noindex " href =" {{ route (' clickNumber' ) . ' /' . $link -> id . " ?" . $link -> link } }" @if (theme (' open_links_in_same_tab' ) != " true" )target =" _blank" @endif ><img alt =" {{ $link -> name } }" class =" icon hvr-icon" src =" @if (file_exists (base_path (" assets/favicon/icons/" ). localIcon ($link -> id )) ){{ url (' assets/favicon/icons/' . localIcon ($link -> id ))} }@else {{ getFavIcon ($link -> id )} }@endif " onerror =" this.onerror=null; this.src='{{ asset (' assets/linkstack/icons/website.svg' )} } ';" >{{ $link -> title } } </a ></div >
330
330
@break
331
331
@endif
332
332
@default
333
333
<?php include base_path (' config/button-names.php' ); $newLinkName = $linkName ; $isNewName = " false" ; foreach ($buttonNames as $key => $value ) { if ($newLinkName == $key ) { $newLinkName = $value ; $isNewName = " true" ; }} ? >
334
- <div style =" --delay : {{ $initial ++ }}s " class =" button-entrance" ><a class =" button button-{{ $link -> name } } button button-hover icon-hover" rel =" noopener noreferrer nofollow" href =" {{ route (' clickNumber' ) . ' /' . $link -> id . " ?" . $link -> link } }" @if (theme (' open_links_in_same_tab' ) != " true" )target =" _blank" @endif ><img alt =" {{ $link -> name } }" class =" icon hvr-icon" src =" @if (theme (' use_custom_icons' ) == " true" ){{ url (' themes/' . $GLOBALS [' themeName' ] . ' /extra/custom-icons' ) } } /{{ $link -> name } }{{ theme (' custom_icon_extension' )} } @else {{ asset (' \/assets/linkstack/icons\/' ) . $link -> name } } .svg @endif " >@if ($isNewName == " true" ){{ ucfirst ($newLinkName ) } }@else {{ ucfirst ($newLinkName ) } }@endif </a ></div >
334
+ <div style =" --delay : {{ $initial ++ }}s " class =" button-entrance" ><a class =" button button-{{ $link -> name } } button button-hover icon-hover" rel =" noopener noreferrer nofollow noindex " href =" {{ route (' clickNumber' ) . ' /' . $link -> id . " ?" . $link -> link } }" @if (theme (' open_links_in_same_tab' ) != " true" )target =" _blank" @endif ><img alt =" {{ $link -> name } }" class =" icon hvr-icon" src =" @if (theme (' use_custom_icons' ) == " true" ){{ url (' themes/' . $GLOBALS [' themeName' ] . ' /extra/custom-icons' ) } } /{{ $link -> name } }{{ theme (' custom_icon_extension' )} } @else {{ asset (' \/assets/linkstack/icons\/' ) . $link -> name } } .svg @endif " >@if ($isNewName == " true" ){{ ucfirst ($newLinkName ) } }@else {{ ucfirst ($newLinkName ) } }@endif </a ></div >
335
335
@endswitch
336
336
@endforeach
337
337
0 commit comments