]> git.mxchange.org Git - friendica.git/commitdiff
Merge branch '2018.12-rc' into task/6208-escape-html-true
authorHypolite Petovan <hypolite@mrpetovan.com>
Tue, 18 Dec 2018 13:36:36 +0000 (08:36 -0500)
committerGitHub <noreply@github.com>
Tue, 18 Dec 2018 13:36:36 +0000 (08:36 -0500)
1  2 
view/theme/frio/templates/contact_edit.tpl
view/theme/frio/templates/settings/oauth_edit.tpl

index b0d201af63d90bbc827234667cfc31a152a02de0,462df3cd2ecb6743684877497fec6034cfb859bf..8d9bd232a9527a8d478bb73a215b7da69a1866d7
  
                                        {{* Block with status information about the contact *}}
                                        <ul>
 -                                              {{if $relation_text}}<li><div id="contact-edit-rel">{{$relation_text|escape}}</div></li>{{/if}}
 -                                              {{if $nettype}}<li><div id="contact-edit-nettype">{{$nettype|escape}}</div></li>{{/if}}
 +                                              {{if $relation_text}}<li><div id="contact-edit-rel">{{$relation_text}}</div></li>{{/if}}
 +                                              {{if $nettype}}<li><div id="contact-edit-nettype">{{$nettype}}</div></li>{{/if}}
  
                                                {{if $poll_enabled}}
 -                                                      <li><div id="contact-edit-last-update-text">{{$lastupdtext|escape}} <span id="contact-edit-last-updated">{{$last_update|escape}}</span></div>
 +                                                      <li><div id="contact-edit-last-update-text">{{$lastupdtext}} <span id="contact-edit-last-updated">{{$last_update}}</span></div>
                                                        {{if $poll_interval}}
-                                                               <form id="contact-edit-poll-form" action="/contact/{{$contact_id}}" method="post"> 
-                                                                       <span id="contact-edit-poll-text">{{$updpub}}</span> {{$poll_interval}}
-                                                                       <input class="btn btn-primary" type="submit" name="submit" value="{{$submit}}" />
-                                                               </form>
 -                                                              <span id="contact-edit-poll-text">{{$updpub|escape}}</span> {{$poll_interval}}
 -                                                              <input class="btn btn-primary" type="submit" name="submit" value="{{$submit|escape:'html'}}" />
++                                                              <span id="contact-edit-poll-text">{{$updpub}}</span> {{$poll_interval nofilter}}
++                                                              <input class="btn btn-primary" type="submit" name="submit" value="{{$submit" />
                                                        {{/if}}
                                                        </li>
                                                {{/if}}