]> git.mxchange.org Git - friendica.git/commitdiff
frio: delete unneeded button attributes in search forms
authorrabuzarus <>
Sat, 10 Dec 2016 20:25:40 +0000 (21:25 +0100)
committerrabuzarus <>
Sat, 10 Dec 2016 20:25:40 +0000 (21:25 +0100)
view/theme/frio/templates/contacts-template.tpl
view/theme/frio/templates/directory_header.tpl
view/theme/frio/templates/follow.tpl
view/theme/frio/templates/peoplefind.tpl
view/theme/frio/templates/searchbox.tpl

index 68dfeb4314e6687500c9f6a695652f762b1234fc..9a5109e871ee677c5857e972c44f817121d83e35 100644 (file)
@@ -16,7 +16,7 @@
                                <div class="col-md-8 ">
                                        <div class="form-group form-group-search">
                                                <input type="text" name="search" id="contacts-search" class="search-input form-control form-search" onfocus="this.select();" value="{{$search|escape:'html'}}" placeholder="{{$desc}}"/>
-                                               <button class="btn btn-default btn-sm form-button-search" type="submit" name="submit" id="contacts-search-submit" value="{{$submit|escape:'html'}}">{{$submit}}</button>
+                                               <button class="btn btn-default btn-sm form-button-search" type="submit" id="contacts-search-submit">{{$submit}}</button>
                                        </div>
                                </div>
                                <div class="col-md-2"></div>
index 17c77e786816380687e7890d4f810edb28e1cddd..2bdd07a69c36e8a4ed13da1b5751bed5dbb02a57 100644 (file)
@@ -20,7 +20,7 @@
                        <div class="col-md-8 ">
                                <div class="form-group form-group-search">
                                        <input type="text" name="search" id="directory-search" class="search-input form-control form-search" onfocus="this.select();" value="{{$search|escape:'html'}}" placeholder="{{$desc}}"/>
-                                       <button class="btn btn-default btn-sm form-button-search" type="submit" name="submit" id="directory-search-submit" value="{{$submit|escape:'html'}}">{{$submit}}</button>
+                                       <button class="btn btn-default btn-sm form-button-search" type="submit" id="directory-search-submit">{{$submit}}</button>
                                </div>
                        </div>
                        <div class="col-md-2"></div>
index a35bcb2131c4c02e3ae962c90ca0346f03e6992e..a37ca854b2ab6ee621ea34f12202abe54bbab23a 100644 (file)
@@ -7,7 +7,7 @@
                {{* The input field - For visual consistence we are using a search input field*}}
                <div class="form-group form-group-search">
                        <input id="side-follow-url" class="search-input form-control form-search" type="text" name="url" value="{{$value|escape:'html'}}" placeholder="{{$hint|escape:'html'}}" data-toggle="tooltip" title="{{$hint|escape:'html'}}" />
-                       <button id="side-follow-submit" class="btn btn-default btn-sm form-button-search" type="submit" name="submit" value="{{$follow|escape:'html'}}">{{$follow}}</button>
+                       <button id="side-follow-submit" class="btn btn-default btn-sm form-button-search" type="submit">{{$follow}}</button>
                </div>
        </form>
 </div>
index 6b31c92ada22b6e98a6259db1b38f29b27537fb5..f84a094507ca0a554c365fa848beaecf4050bd8b 100644 (file)
@@ -8,7 +8,7 @@
                {{* The search field *}}
                <div class="form-group form-group-search">
                        <input id="side-peoplefind-url" class="search-input form-control form-search" type="text" name="search" data-toggle="tooltip" title="{{$hint|escape:'html'}}" />
-                       <button id="side-peoplefind-submit" class="btn btn-default btn-sm form-button-search" type="submit" name="submit" value="{{$findthem|escape:'html'}}">{{$findthem}}</button>
+                       <button id="side-peoplefind-submit" class="btn btn-default btn-sm form-button-search" type="submit">{{$findthem}}</button>
                </div>
        </form>
 
index 95673698b4c022b814fef94e2fd604d440b3c12a..7d6fbef65427e45941f9faab8a172faa8cdb9b62 100644 (file)
@@ -11,7 +11,7 @@ Some parts of this template will be moved by js to other places (see theme.js) -
 
                                        <div class="form-group form-group-search">
                                                <input type="text" name="search" id="search-text" class="search-input form-control form-search" data-toggle="tooltip" title="{{$search_hint}}" placeholder="{{$search_label}}" value="{{$s}}" />
-                                               <button id="search-submit" class="btn btn-default btn-sm form-button-search" type="submit" name="submit" value="{{$search_label}}">{{$search_label}}</button>
+                                               <button id="search-submit" class="btn btn-default btn-sm form-button-search" type="submit">{{$search_label}}</button>
                                        </div>
 
                                        <div class="col-md-4"></div>