]> git.mxchange.org Git - friendica.git/commitdiff
Use double quotes where possible
authorDr. Tobias Quathamer <toddy@debian.org>
Sun, 7 Jan 2024 20:48:22 +0000 (21:48 +0100)
committerDr. Tobias Quathamer <toddy@debian.org>
Sun, 7 Jan 2024 20:48:22 +0000 (21:48 +0100)
view/templates/field_combobox.tpl
view/templates/field_custom.tpl
view/templates/field_datetime.tpl
view/templates/field_intcheckbox.tpl
view/templates/field_openid.tpl
view/templates/field_radio.tpl
view/templates/field_select.tpl
view/theme/frio/templates/field_select.tpl

index b62bf2dbac8fe25c752523e8374c025b7cfc4335..94b2853110c2d3a066db2c89b2b83ab72217aaa3 100644 (file)
@@ -1,12 +1,12 @@
-       <div class='field combobox'>
-               <label for='id_{{$field.0}}' id='id_{{$field.0}}_label'>{{$field.1}}</label>
+       <div class="field combobox">
+               <label for="id_{{$field.0}}" id="id_{{$field.0}}_label">{{$field.1}}</label>
                {{* html5 don't work on Chrome, Safari and IE9
                <input id="id_{{$field.0}}" type="text" list="data_{{$field.0}}">
                <datalist id="data_{{$field.0}}">
                   {{foreach $field.4 as $opt=>$val}}<option value="{{$val}}">{{/foreach}}
                </datalist> *}}
 
-               <input id="id_{{$field.0}}" type="text" value="{{$field.2}}" aria-describedby='{{$field.0}}_tip'>
+               <input id="id_{{$field.0}}" type="text" value="{{$field.2}}" aria-describedby="{{$field.0}}_tip">
                <select id="select_{{$field.0}}" onChange="$('#id_{{$field.0}}').val($(this).val())">
                        <option value="">{{$field.5}}</option>
                        {{foreach $field.4 as $opt=>$val}}<option value="{{$val}}">{{$val}}</option>{{/foreach}}
index 8dcad3ded7cb2d6c1aface4d5e7fe4b8816f55e1..138da9b110567b93250db9560578e5b61eb6e59a 100644 (file)
@@ -1,7 +1,7 @@
 
-       
-       <div class='field custom'>
-               <label for='{{$field.0}}'>{{$field.1}}</label>
+
+       <div class="field custom">
+               <label for="{{$field.0}}">{{$field.1}}</label>
                {{$field.2 nofilter}}
                {{if $field.3}}
                <span class="field_help" role="tooltip" id="{{$field.0}}_tip">{{$field.3 nofilter}}</span>
index 6e26b0db914f039e60d40e8ec661d47bee522471..6df910e62268049bfab2184b0749e3fa65079b80 100644 (file)
@@ -1,4 +1,4 @@
-{{include file='field_input.tpl' field=$field}}
+{{include file="field_input.tpl" field=$field}}
 
 <script type="text/javascript">
        $(function () {
index b039083301438f1cbc74980c09388b9d6f502ac7..6f35315f40a4556fb6915bee7701cd1e58b51e3b 100644 (file)
@@ -1,9 +1,9 @@
 
 
-       <div class='field checkbox'>
-               <label for='id_{{$field.0}}'>{{$field.1}}</label>
-               <input type="checkbox" name='{{$field.0}}' id='id_{{$field.0}}' value="{{$field.3}}" {{if $field.2}}checked{{/if}} aria-describedby='{{$field.0}}_tip'>
+       <div class="field checkbox">
+               <label for="id_{{$field.0}}">{{$field.1}}</label>
+               <input type="checkbox" name="{{$field.0}}" id="id_{{$field.0}}" value="{{$field.3}}" {{if $field.2}}checked{{/if}} aria-describedby="{{$field.0}}_tip">
                {{if $field.4}}
-               <span class='field_help' role='tooltip' id='{{$field.0}}_tip'>{{$field.4 nofilter}}</span>
+               <span class="field_help" role="tooltip" id="{{$field.0}}_tip">{{$field.4 nofilter}}</span>
                {{/if}}
        </div>
index 4a30d9e780f284178851023660ed505d7e4d8bf4..f72557aa41f02090196b3254fe4fd586797c68f8 100644 (file)
@@ -1,6 +1,6 @@
-       <div class='field input openid' id='wrapper_{{$field.0}}'>
-               <label for='id_{{$field.0}}'>{{$field.1}}</label>
-               <input name='{{$field.0}}' id='id_{{$field.0}}' type="text" value="{{$field.2}}" {{if $field.4}}readonly{{/if}} aria-describedby='{{$field.0}}_tip'>
+       <div class="field input openid" id="wrapper_{{$field.0}}">
+               <label for="id_{{$field.0}}">{{$field.1}}</label>
+               <input name="{{$field.0}}" id="id_{{$field.0}}" type="text" value="{{$field.2}}" {{if $field.4}}readonly{{/if}} aria-describedby="{{$field.0}}_tip">
                {{if $field.3}}
                <span class="field_help" role="tooltip" id="{{$field.0}}_tip">{{$field.3 nofilter}}</span>
                {{/if}}
index 7fe96a3dd80f8620d56f1c2b4f3f46681237c08d..5eb3f6b654ddb72d4569ad0c7042dc484ba7c641 100644 (file)
@@ -1,7 +1,7 @@
-       <div class='field radio'>
-               <label for='id_{{$field.0}}_{{$field.2}}'>{{$field.1}}</label>
-               <input type="radio" name='{{$field.0}}' id='id_{{$field.0}}_{{$field.2}}' value="{{$field.2}}" {{if $field.4}}checked{{/if}} aria-describedby={{$field.0}}_{{$field.2}}_tip'>
+       <div class="field radio">
+               <label for="id_{{$field.0}}_{{$field.2}}">{{$field.1}}</label>
+               <input type="radio" name="{{$field.0}}" id="id_{{$field.0}}_{{$field.2}}" value="{{$field.2}}" {{if $field.4}}checked{{/if}} aria-describedby="{{$field.0}}_{{$field.2}}_tip">
                {{if $field.3}}
-               <span class='field_help' role='tooltip' id='{{$field.0}}_{{$field.2}}_tip'>{{$field.3 nofilter}}</span>
+               <span class="field_help" role="tooltip" id="{{$field.0}}_{{$field.2}}_tip">{{$field.3 nofilter}}</span>
                {{/if}}
        </div>
index fff54424f07155ab02a6d9d9ea4789dab0c4967c..0bd7e4886c5c573cf58cb68ad5e476cc04b2fe50 100644 (file)
@@ -3,7 +3,7 @@
                <label for="id_{{$field.0}}">{{$field.1}}</label>
                <select name="{{$field.0}}" id="id_{{$field.0}}" aria-describedby="{{$field.0}}_tip" {{$field.5 nofilter}}>
        {{foreach $field.4 as $opt => $val}}
-               {{if $field.5 == 'multiple'}}
+               {{if $field.5 == "multiple"}}
                        <option value="{{$opt}}" dir="auto" {{if in_array($opt, $field.2)}}selected{{/if}}>{{$val}}</option>
                {{else}}
                        <option value="{{$opt}}" dir="auto" {{if $opt == $field.2}}selected{{/if}}>{{$val}}</option>
index 7ab135129a0c13f4751d3dc9d4f22445e4fbf40c..55627eefa65e7b7c318e4a35967a770c81781169 100644 (file)
@@ -3,7 +3,7 @@
                <label for="id_{{$field.0}}">{{$field.1}}</label>
                <select name="{{$field.0}}" id="id_{{$field.0}}" class="form-control" aria-describedby="{{$field.0}}_tip" {{$field.5 nofilter}}>
        {{foreach $field.4 as $opt => $val}}
-               {{if $field.5 == 'multiple'}}
+               {{if $field.5 == "multiple"}}
                        <option value="{{$opt}}" {{if in_array($opt, $field.2)}}selected{{/if}}>{{$val}}</option>
                {{else}}
                        <option value="{{$opt}}" {{if $opt == $field.2}}selected{{/if}}>{{$val}}</option>