]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/templates/contact_template.tpl
Merge branch 'develop' into bug/6211-fix-contact-nets-all
[friendica.git] / view / theme / frio / templates / contact_template.tpl
index 4f07ad2b1d9519ae2233b5911dd24ab9665af8a1..604f8d7e5dce1063969879687c24f58fd7955133 100644 (file)
@@ -9,7 +9,7 @@
                                        <img class="contact-photo media-object xl" src="{{$contact.thumb}}" {{$contact.sparkle}} alt="{{$contact.name|escape}}" />
                                </div>
 
-                               {{* For very small displays we use a drobdown menu for contact relating actions *}}
+                               {{* For very small displays we use a dropdown menu for contact relating actions *}}
                                <button type="button" class="btn btn-link dropdown-toggle visible-xs" id="contact-photo-menu-button-{{$contact.id}}" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                                        {{* use a smaller picture on very small displays (e.g. mobiles) *}}
                                        <div class="contact-photo-image-wrapper visible-xs">
@@ -220,7 +220,7 @@ We use this part to filter the contacts with jquery.textcomplete *}}
                        {{* The contact description (e.g. Name, Network, kind of connection and so on *}}
                        <div class="contact-entry-desc">
                                <div class="contact-entry-name" id="contact-entry-name-{$id}">
-                                       <h4 class="media-heading"><a href="{$url}">{$name}</a>
+                                       <h4 class="media-heading"><a href="{$url}">{$name|escape}</a>
                                        {if $account_type} <small class="contact-entry-details" id="contact-entry-accounttype-{$id}">({$account_type})</small>{/if}
                                        {if $account_type == 'Forum'}<i class="fa fa-comments-o" aria-hidden="true"></i>{/if}
                                        {{* @todo this needs some changing in core because $contact.account_type contains a translated string which may notbe the same in every language *}}