Merge pull request #13160 from MrPetovan/bug/deprecated

Remove direct call to is_string() from templates
pull/13163/head
Hypolite Petovan 2023-05-23 22:10:49 -04:00 zatwierdzone przez GitHub
commit ae99f82c28
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
4 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -9,7 +9,7 @@
<div class="clear"></div>
{{if $submit}}
<div class="settings-submit-wrapper panel-footer">
{{if $submit|is_string}}
{{if $submit}}
<button type="submit" name="{{$connector}}-submit" class="btn btn-primary settings-submit" value="{{$submit}}">{{$submit}}</button>
{{else}}
{{$count = 1}}

Wyświetl plik

@ -8,7 +8,7 @@
{{$html nofilter}}
{{if $submit}}
<div class="settings-submit-wrapper panel-footer">
{{if $submit|is_string}}
{{if $submit}}
<button type="submit" name="{{$addon}}-submit" class="btn btn-primary settings-submit" value="{{$submit}}">{{$submit}}</button>
{{else}}
{{$count = 1}}

Wyświetl plik

@ -11,7 +11,7 @@
</div>
<div class="panel-footer">
{{if $submit}}
{{if $submit|is_string}}
{{if $submit}}
<button type="submit" name="{{$connector}}-submit" class="btn btn-primary settings-submit" value="{{$submit}}">{{$submit}}</button>
{{else}}
{{$count = 1}}

Wyświetl plik

@ -11,7 +11,7 @@
</div>
<div class="panel-footer">
{{if $submit}}
{{if $submit|is_string}}
{{if $submit}}
<button type="submit" name="{{$addon}}-submit" class="btn btn-primary settings-submit" value="{{$submit}}">{{$submit}}</button>
{{else}}
{{$count = 1}}