]> git.mxchange.org Git - friendica-addons.git/commitdiff
Fix cat avatar for non-admin users
authorPhilipp <admin@philipp.info>
Sat, 29 May 2021 19:57:14 +0000 (21:57 +0200)
committerPhilipp <admin@philipp.info>
Sat, 29 May 2021 19:57:14 +0000 (21:57 +0200)
catavatar/templates/settings.tpl

index 086250ea09c0dd2f211c149c101f59e982f1db87..14212626cd653b14d336418af1dd8a8c04b8d155 100644 (file)
        <img src="{{$basepath}}/catavatar/{{$uid}}?{{$uncache}}">
        <p>{{$setrandomize}}</p>
        <div class="settings-submit-wrapper" >
-               <input type="submit" name="catavatar-usecat" 
-                       class="btn btn-primary settings-submit" value="{{$usecat}}" />
+               <button type="submit" name="catavatar-usecat"
+                               class="btn btn-primary settings-submit" value="{{$usecat}}">{{$usecat}}</button>
                
                <div class="btn-group" role="group" aria-label="...">
-                       <input type="submit" name="catavatar-morecat" 
-                               class="btn btn-default settings-submit" value="{{$morecat}}" />
-                       <input type="submit" name="catavatar-emailcat" {{if !$seed}}disabled{{/if}}
-                               class="btn btn-default settings-submit" value="{{$emailcat}}" />
+                       <button type="submit" name="catavatar-morecat"
+                                       class="btn btn-default settings-submit" value="{{$morecat}}">{{$morecat}}</button>
+                       <button type="submit" name="catavatar-emailcat" {{if !$seed}}disabled{{/if}}
+                                       class="btn btn-default settings-submit" value="{{$emailcat}}">{{$emailcat}}</button>
                </div>
        </div>
 </div>