@@ -311,7 +311,7 @@ function get_operating_system() {
311
311
<?php function strp ($urlStrp ){return str_replace (array (' http://' , ' https://' ), ' ' , $urlStrp );} ? >
312
312
<?php $initial = 1 ; // <-- Effectively sets the initial loading time of the buttons. This value should be left at 1. ? >
313
313
@foreach ($links as $link )
314
- @php $linkName = str_replace (' default ' ,' ' ,$link -> name ) @endphp
314
+ @php $linkName = str_replace (' default ' ,' ' ,$link -> title ) @endphp
315
315
@if ($link -> name === " icon" )
316
316
@elseif ($link -> button_id === 0 )
317
317
<div style =" --delay : {{ $initial ++ }}s " class =" button-entrance" ><a class =" button button-title 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 >{{ $link -> title } } </a ></div >
@@ -343,8 +343,8 @@ function get_operating_system() {
343
343
@elseif ($link -> name === " text" )
344
344
<div class =" fadein" ><span style =" " >@if (env (' ALLOW_USER_HTML' ) === true ){!! $link -> title ! !}@else {{ $link -> title } }@endif </span ></div >
345
345
@else
346
- <?php include base_path (' config/button-names.php' ); $newLinkName = $linkName ; $isNewName = " false" ; foreach ($buttonNames as $key => $value ) { if ($newLinkName == $key ) { $newLinkName = $value ; $isNewName = " true" ; } } ? >
347
- <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 =" button-icon" class =" icon hvr-icon" src =" @if (theme (' use_custom_icons' ) == " true" ){{ url (' themes/' . $GLOBALS [' themeName' ] . ' /extra/custom-icons' ) } } /{{ $linkName } }{{ theme (' custom_icon_extension' )} } @else {{ asset (' \/littlelink/icons\/' ) . $linkName } } .svg @endif " >@if ($isNewName == " true" ){{ $newLinkName } }@else {{ ucfirst ($newLinkName ) } }@endif </a ></div >
346
+ <?php include base_path (' config/button-names.php' ); $newLinkName = $linkName ; $isNewName = " false" ; foreach ($buttonNames as $key => $value ) { if ($newLinkName == $key ) { $newLinkName = $value ; $isNewName = " true" ; }} if ( $link -> name == " default email " ){ $link -> name = " email " ;} if ( $link -> name == " default email_alt " ){ $link -> name = " email_alt " ; } ? >
347
+ <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 =" button-icon" 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 (' \/littlelink/icons\/' ) . $link -> name } } .svg @endif " >@if ($isNewName == " true" ){{ $newLinkName } }@else {{ ucfirst ($newLinkName ) } }@endif </a ></div >
348
348
@endif
349
349
@endforeach
350
350
0 commit comments