mirror of
https://github.com/friendica/friendica
synced 2024-11-14 03:42:53 +00:00
Merge pull request #13160 from MrPetovan/bug/deprecated
Remove direct call to is_string() from templates
This commit is contained in:
commit
ae99f82c28
4 changed files with 4 additions and 4 deletions
|
@ -9,7 +9,7 @@
|
||||||
<div class="clear"></div>
|
<div class="clear"></div>
|
||||||
{{if $submit}}
|
{{if $submit}}
|
||||||
<div class="settings-submit-wrapper panel-footer">
|
<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>
|
<button type="submit" name="{{$connector}}-submit" class="btn btn-primary settings-submit" value="{{$submit}}">{{$submit}}</button>
|
||||||
{{else}}
|
{{else}}
|
||||||
{{$count = 1}}
|
{{$count = 1}}
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
{{$html nofilter}}
|
{{$html nofilter}}
|
||||||
{{if $submit}}
|
{{if $submit}}
|
||||||
<div class="settings-submit-wrapper panel-footer">
|
<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>
|
<button type="submit" name="{{$addon}}-submit" class="btn btn-primary settings-submit" value="{{$submit}}">{{$submit}}</button>
|
||||||
{{else}}
|
{{else}}
|
||||||
{{$count = 1}}
|
{{$count = 1}}
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="panel-footer">
|
<div class="panel-footer">
|
||||||
{{if $submit}}
|
{{if $submit}}
|
||||||
{{if $submit|is_string}}
|
{{if $submit}}
|
||||||
<button type="submit" name="{{$connector}}-submit" class="btn btn-primary settings-submit" value="{{$submit}}">{{$submit}}</button>
|
<button type="submit" name="{{$connector}}-submit" class="btn btn-primary settings-submit" value="{{$submit}}">{{$submit}}</button>
|
||||||
{{else}}
|
{{else}}
|
||||||
{{$count = 1}}
|
{{$count = 1}}
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="panel-footer">
|
<div class="panel-footer">
|
||||||
{{if $submit}}
|
{{if $submit}}
|
||||||
{{if $submit|is_string}}
|
{{if $submit}}
|
||||||
<button type="submit" name="{{$addon}}-submit" class="btn btn-primary settings-submit" value="{{$submit}}">{{$submit}}</button>
|
<button type="submit" name="{{$addon}}-submit" class="btn btn-primary settings-submit" value="{{$submit}}">{{$submit}}</button>
|
||||||
{{else}}
|
{{else}}
|
||||||
{{$count = 1}}
|
{{$count = 1}}
|
||||||
|
|
Loading…
Reference in a new issue