Browse Source

frio: delete unneeded button attributes in search forms

pull/3006/head
rabuzarus 4 years ago
parent
commit
7dcf44aa96
5 changed files with 5 additions and 5 deletions
  1. +1
    -1
      view/theme/frio/templates/contacts-template.tpl
  2. +1
    -1
      view/theme/frio/templates/directory_header.tpl
  3. +1
    -1
      view/theme/frio/templates/follow.tpl
  4. +1
    -1
      view/theme/frio/templates/peoplefind.tpl
  5. +1
    -1
      view/theme/frio/templates/searchbox.tpl

+ 1
- 1
view/theme/frio/templates/contacts-template.tpl View 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>


+ 1
- 1
view/theme/frio/templates/directory_header.tpl View 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>


+ 1
- 1
view/theme/frio/templates/follow.tpl View 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>


+ 1
- 1
view/theme/frio/templates/peoplefind.tpl View 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>


+ 1
- 1
view/theme/frio/templates/searchbox.tpl View 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>


Loading…
Cancel
Save