Skip to content

[PHP8.2] Using ${var} in strings is deprecated fix #2078

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -128,19 +128,19 @@
<input
type="radio"
value="{{ $key }}"
id="{{ "full_text_search_${key}" }}"
id="{{ "full_text_search_{$key}" }}"
name="full_text_search"
class="custom-control-input"
{{ old('full_text_search', $database->full_text_search) == $key ? 'checked' : '' }}
>
<label class="custom-control-label" for="{{ "full_text_search_${key}" }}">
<label class="custom-control-label" for="{{ "full_text_search_{$key}" }}">
{{ $value }}
</label>
</div>
@endforeach
</div>
</div>

<div class="form-group row">
<label class="{{$frame->getSettingLabelClass()}}">検索キーワードの記録</label>
<div class="{{$frame->getSettingInputClass()}}">
Expand All @@ -149,12 +149,12 @@ class="custom-control-input"
<input
type="radio"
value="{{ $key }}"
id="{{ "save_searched_word_${key}" }}"
id="{{ "save_searched_word_{$key}" }}"
name="save_searched_word"
class="custom-control-input"
{{ old('save_searched_word', $database->save_searched_word) == $key ? 'checked' : '' }}
>
<label class="custom-control-label" for="{{ "save_searched_word_${key}" }}">
<label class="custom-control-label" for="{{ "save_searched_word_{$key}" }}">
{{ $value }}
</label>
</div>
Expand Down
18 changes: 9 additions & 9 deletions resources/views/plugins/user/photoalbums/default/frame.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@
<input
type="radio"
value="{{ $key }}"
id="{{ "download_${key}" }}"
id="{{ "download_{$key}" }}"
name="download"
class="custom-control-input"
{{ FrameConfig::getConfigValueAndOld($frame_configs, PhotoalbumFrameConfig::download, 0) == $key ? 'checked' : '' }}
>
<label class="custom-control-label" for="{{ "download_${key}" }}">
<label class="custom-control-label" for="{{ "download_{$key}" }}">
{{ $value }}
</label>
</div>
Expand All @@ -71,12 +71,12 @@ class="custom-control-input"
<input
type="radio"
value="{{ $key }}"
id="{{ "posted_at_${key}" }}"
id="{{ "posted_at_{$key}" }}"
name="posted_at"
class="custom-control-input"
{{ FrameConfig::getConfigValueAndOld($frame_configs, PhotoalbumFrameConfig::posted_at, 0) == $key ? 'checked' : '' }}
>
<label class="custom-control-label" for="{{ "posted_at_${key}" }}">
<label class="custom-control-label" for="{{ "posted_at_{$key}" }}">
{{ $value }}
</label>
</div>
Expand All @@ -93,12 +93,12 @@ class="custom-control-input"
<input
type="radio"
value="{{ $key }}"
id="{{ "shooting_at_${key}" }}"
id="{{ "shooting_at_{$key}" }}"
name="shooting_at"
class="custom-control-input"
{{ FrameConfig::getConfigValueAndOld($frame_configs, PhotoalbumFrameConfig::shooting_at, 0) == $key ? 'checked' : '' }}
>
<label class="custom-control-label" for="{{ "shooting_at_${key}" }}">
<label class="custom-control-label" for="{{ "shooting_at_{$key}" }}">
{{ $value }}
</label>
</div>
Expand All @@ -115,14 +115,14 @@ class="custom-control-input"
<input
type="radio"
value="{{ $key }}"
id="{{ "embed_code_${key}" }}"
id="{{ "embed_code_{$key}" }}"
name="embed_code"
class="custom-control-input"
{{ FrameConfig::getConfigValueAndOld($frame_configs, PhotoalbumFrameConfig::embed_code, 0) == $key ? 'checked' : '' }}
>
<label class="custom-control-label"
for="{{ "embed_code_${key}" }}"
id="{{ "label_embed_code_${key}" }}">
for="{{ "embed_code_{$key}" }}"
id="{{ "label_embed_code_{$key}" }}">
{{ $value }}
</label>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,12 @@ class="form-control @if ($errors && $errors->has('slideshows_name')) border-dang
<input
type="radio"
value="{{ $key }}"
id="{{ "control_display_flag_${key}" }}"
id="{{ "control_display_flag_{$key}" }}"
name="control_display_flag"
class="custom-control-input"
{{ $slideshow->control_display_flag == $key ? 'checked' : '' }}
>
<label class="custom-control-label" for="{{ "control_display_flag_${key}" }}" id="{{ "label_control_display_flag_${key}" }}">
<label class="custom-control-label" for="{{ "control_display_flag_{$key}" }}" id="{{ "label_control_display_flag_{$key}" }}">
{{ $value }}
</label>
</div>
Expand All @@ -93,12 +93,12 @@ class="custom-control-input"
<input
type="radio"
value="{{ $key }}"
id="{{ "indicators_display_flag_${key}" }}"
id="{{ "indicators_display_flag_{$key}" }}"
name="indicators_display_flag"
class="custom-control-input"
{{ $slideshow->indicators_display_flag == $key ? 'checked' : '' }}
>
<label class="custom-control-label" for="{{ "indicators_display_flag_${key}" }}" id="{{ "label_indicators_display_flag_${key}" }}">
<label class="custom-control-label" for="{{ "indicators_display_flag_{$key}" }}" id="{{ "label_indicators_display_flag_{$key}" }}">
{{ $value }}
</label>
</div>
Expand All @@ -115,12 +115,12 @@ class="custom-control-input"
<input
type="radio"
value="{{ $key }}"
id="{{ "fade_use_flag_${key}" }}"
id="{{ "fade_use_flag_{$key}" }}"
name="fade_use_flag"
class="custom-control-input"
{{ $slideshow->fade_use_flag == $key ? 'checked' : '' }}
>
<label class="custom-control-label" for="{{ "fade_use_flag_${key}" }}" id="{{ "label_fade_use_flag_${key}" }}">
<label class="custom-control-label" for="{{ "fade_use_flag_{$key}" }}" id="{{ "label_fade_use_flag_{$key}" }}">
{{ $value }}
</label>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
<input
type="radio"
value="{{ $key }}"
id="{{ "rss_${key}" }}"
id="{{ "rss_{$key}" }}"
name="rss"
class="custom-control-input"
{{ old('rss', $whatsnew->rss) == $key ? 'checked' : '' }}
Expand All @@ -117,7 +117,7 @@ class="custom-control-input"
data-toggle="collapse" data-target="#collapse_rss_count{{$frame_id}}:not(.show)" aria-expanded="true" aria-controls="collapse_rss_count{{$frame_id}}"
@endif
>
<label class="custom-control-label" for="{{ "rss_${key}" }}">
<label class="custom-control-label" for="{{ "rss_{$key}" }}">
{{ $value }}
</label>
</div>
Expand Down Expand Up @@ -145,14 +145,14 @@ class="custom-control-input"
<input
type="radio"
value="{{ $key }}"
id="{{ "view_posted_name_${key}" }}"
id="{{ "view_posted_name_{$key}" }}"
name="view_posted_name"
class="custom-control-input"
{{ old('view_posted_name', $whatsnew->view_posted_name) == $key ? 'checked' : '' }}
>
<label class="custom-control-label"
for="{{ "view_posted_name_${key}" }}"
id="{{ "label_view_posted_name_${key}" }}">
for="{{ "view_posted_name_{$key}" }}"
id="{{ "label_view_posted_name_{$key}" }}">
{{ $value }}
</label>
</div>
Expand All @@ -169,14 +169,14 @@ class="custom-control-input"
<input
type="radio"
value="{{ $key }}"
id="{{ "view_posted_at_${key}" }}"
id="{{ "view_posted_at_{$key}" }}"
name="view_posted_at"
class="custom-control-input"
{{ old('view_posted_at', $whatsnew->view_posted_at) == $key ? 'checked' : '' }}
>
<label class="custom-control-label"
for="{{ "view_posted_at_${key}" }}"
id="{{ "label_view_posted_at_${key}" }}">
for="{{ "view_posted_at_{$key}" }}"
id="{{ "label_view_posted_at_{$key}" }}">
{{ $value }}
</label>
</div>
Expand Down Expand Up @@ -236,7 +236,7 @@ class="custom-control-input"
<input
type="radio"
value="{{ $key }}"
id="{{ "read_more_use_flag_${key}" }}"
id="{{ "read_more_use_flag_{$key}" }}"
name="read_more_use_flag"
class="custom-control-input"
{{ old('read_more_use_flag', $whatsnew->read_more_use_flag) == $key ? 'checked' : '' }}
Expand All @@ -248,8 +248,8 @@ class="custom-control-input"
@endif
>
<label class="custom-control-label"
for="{{ "read_more_use_flag_${key}" }}"
id="{{ "label_read_more_use_flag_${key}" }}">
for="{{ "read_more_use_flag_{$key}" }}"
id="{{ "label_read_more_use_flag_{$key}" }}">
{{ $value }}
</label>
</div>
Expand Down Expand Up @@ -324,13 +324,13 @@ class="form-control @if($errors && $errors->has('read_more_name')) border-danger
<input
type="radio"
value="{{ $key }}"
id="{{ "read_more_btn_transparent_flag_${key}" }}"
id="{{ "read_more_btn_transparent_flag_{$key}" }}"
name="read_more_btn_transparent_flag"
class="custom-control-input"
{{ old('read_more_btn_transparent_flag', $whatsnew->read_more_btn_transparent_flag) == $key ? 'checked' : '' }}
v-model="read_more_btn_transparent_flag"
>
<label class="custom-control-label" for="{{ "read_more_btn_transparent_flag_${key}" }}">
<label class="custom-control-label" for="{{ "read_more_btn_transparent_flag_{$key}" }}">
{{ $value }}
</label>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@
<input
type="radio"
value="{{ $key }}"
id="{{ "post_detail_${key}" }}"
id="{{ "post_detail_{$key}" }}"
name="post_detail"
class="custom-control-input"
{{ FrameConfig::getConfigValueAndOld($frame_configs, WhatsnewFrameConfig::post_detail, 0) == $key ? 'checked' : '' }}
>
<label class="custom-control-label" for="{{ "post_detail_${key}" }}">
<label class="custom-control-label" for="{{ "post_detail_{$key}" }}">
{{ $value }}
</label>
</div>
Expand Down Expand Up @@ -73,12 +73,12 @@ class="custom-control-input"
<input
type="radio"
value="{{ $key }}"
id="{{ "thumbnail_${key}" }}"
id="{{ "thumbnail_{$key}" }}"
name="thumbnail"
class="custom-control-input"
{{ FrameConfig::getConfigValueAndOld($frame_configs, WhatsnewFrameConfig::thumbnail, 0) == $key ? 'checked' : '' }}
>
<label class="custom-control-label" for="{{ "thumbnail_${key}" }}">
<label class="custom-control-label" for="{{ "thumbnail_{$key}" }}">
{{ $value }}
</label>
</div>
Expand Down Expand Up @@ -107,12 +107,12 @@ class="custom-control-input"
<input
type="radio"
value="{{ $key }}"
id="{{ "border_${key}" }}"
id="{{ "border_{$key}" }}"
name="border"
class="custom-control-input"
{{ FrameConfig::getConfigValueAndOld($frame_configs, WhatsnewFrameConfig::border, 0) == $key ? 'checked' : '' }}
>
<label class="custom-control-label" for="{{ "border_${key}" }}">
<label class="custom-control-label" for="{{ "border_{$key}" }}">
{{ $value }}
</label>
</div>
Expand All @@ -131,12 +131,12 @@ class="custom-control-input"
<input
type="radio"
value="{{ $key }}"
id="{{ "async_${key}" }}"
id="{{ "async_{$key}" }}"
name="async"
class="custom-control-input"
{{ FrameConfig::getConfigValueAndOld($frame_configs, WhatsnewFrameConfig::async, 0) == $key ? 'checked' : '' }}
>
<label class="custom-control-label" for="{{ "async_${key}" }}">
<label class="custom-control-label" for="{{ "async_{$key}" }}">
{{ $value }}
</label>
</div>
Expand Down
Loading