{{$profile.addr}}
@@ -21,13 +21,13 @@
{{* here are the differnt actions like privat message, poke, delete and so on *}}
{{* @todo we have two different photo menus one for contacts and one for items at the network stream. We currently use the contact photo menu, so the items options are missing We need to move them *}}
{{* For very small displays we use a drobdown menu for contact relating actions *}}
{{* use a smaller picture on very small displays (e.g. mobiles) *}}
-
+
{{* Overlay background on hover the avatar picture *}}
@@ -44,37 +44,37 @@
{{* The contact actions like private mail, delete contact, edit contact and so on *}}
{{if $contact.photo_menu.pm}}
-
+
{{/if}}
{{if $contact.photo_menu.poke}}
-
+
{{/if}}
{{if $contact.photo_menu.network}}
-
+
{{/if}}
{{if $contact.photo_menu.edit}}
-
+
{{/if}}
{{if $contact.photo_menu.drop}}
-
+
{{/if}}
{{if $contact.photo_menu.follow}}
-
+
{{/if}}
{{if $contact.photo_menu.hide}}
-
+
{{/if}}
@@ -84,7 +84,7 @@
{{* The button to add or remove contacts from a contact group - group edit page *}}
{{if $contact.change_member}}
-
+
{{if $contact.label == "members"}}
{{elseif $contact.label == "contacts"}}
@@ -97,7 +97,7 @@
{{* The contact description (e.g. Name, Network, kind of connection and so on *}}
{{$contact.name|escape}}
{{if $contact.account_type}} ({{$contact.account_type}}){{/if}}
{{if $contact.account_type == 'Forum'}}{{/if}}
{{* @todo this needs some changing in core because $contact.account_type contains a translated string which may notbe the same in every language *}}
@@ -133,14 +133,14 @@ We use this part to filter the contacts with jquery.textcomplete *}}
-
+
{{* For very small displays we use a drobdown menu for contact relating actions *}}
{{* use a smaller picture on very small displays (e.g. mobiles) *}}
-
+
{{* Overlay background on hover the avatar picture *}}
@@ -172,32 +172,32 @@ We use this part to filter the contacts with jquery.textcomplete *}}
{{* The contact actions like private mail, delete contact, edit contact and so on *}}
{if $photo_menu.pm}
-
+
{/if}
{if $photo_menu.poke}
-
+
{/if}
{if $photo_menu.network}
-
+
{/if}
{if $photo_menu.edit}
-
+
{/if}
{if $photo_menu.drop}
-
+
{/if}
{if $photo_menu.follow}
-
+
{/if}
@@ -207,7 +207,7 @@ We use this part to filter the contacts with jquery.textcomplete *}}
{{* The button to add or remove contacts from a contact group - group edit page *}}
{if $contact.change_member}
{{foreach $tabs as $tab}} -- {{$tab.label}}
+ - {{$tab.label}}
{{/foreach}}
{{foreach $tabs as $tab}} {{if $tab.sel}} -- {{$tab.label}}
+ - {{$tab.label}}
{{else}}
{{$exttabs[]=$tab}}
{{/if}}
@@ -50,7 +50,7 @@
- {{if $header}}
@@ -19,15 +19,15 @@
- {{$contact_status}}
+ {{$contact_status|escape}}
{{* Block with status information about the contact *}}
{{* End of contact-edit-status-wrapper *}}
@@ -83,38 +83,38 @@
- {{$profileurllabel}} {{$profileurl}}
+ {{$profileurllabel|escape}} {{$profileurl|escape}}
{{if $location}}
{{$location_label}}
- {{$location}}
+ {{$location_label|escape}}
+ {{$location|escape}}
{{/if}}
{{if $xmpp}}
{{$xmpp_label}}
- {{$xmpp}}
+ {{$xmpp_label|escape}}
+ {{$xmpp|escape}}
{{/if}}
{{if $keywords}}
{{$keywords_label}}
- {{$keywords}}
+ {{$keywords_label|escape}}
+ {{$keywords|escape}}
{{/if}}
{{if $about}}
{{$about_label}}
- {{$about}}
+ {{$about_label|escape}}
+ {{$about|escape}}
{{/if}}
@@ -127,14 +127,14 @@
-
+
{{include file="field_checkbox.tpl" field=$notify}}
{{if $fetch_further_information}}
@@ -144,7 +144,7 @@
{{include file="field_checkbox.tpl" field=$hidden}}
- {{$submit}}
+ {{$submit|escape}}
@@ -157,7 +157,7 @@
@@ -167,11 +167,11 @@
{{include file="field_textarea.tpl" field=$cinfo}}
- {{$submit}}
+ {{$submit|escape}}
{{if $reason}}
-
@@ -192,7 +192,7 @@
{{if $profile_select}}
-
{{$profile_select}}
@@ -201,7 +201,7 @@
{{/if}}
- {{$submit}}
+ {{$submit|escape}}
diff --git a/view/theme/frio/templates/contact_template.tpl b/view/theme/frio/templates/contact_template.tpl
index e1c0a77009..4f07ad2b1d 100644
--- a/view/theme/frio/templates/contact_template.tpl
+++ b/view/theme/frio/templates/contact_template.tpl
@@ -6,14 +6,14 @@
-
+
{{* For very small displays we use a drobdown menu for contact relating actions *}}
{{* use a smaller picture on very small displays (e.g. mobiles) *}}
-
+
{{* Overlay background on hover the avatar picture *}}
@@ -44,37 +44,37 @@
{{* The contact actions like private mail, delete contact, edit contact and so on *}}
{{if $contact.photo_menu.pm}}
-
+
{{/if}}
{{if $contact.photo_menu.poke}}
-
+
{{/if}}
{{if $contact.photo_menu.network}}
-
+
{{/if}}
{{if $contact.photo_menu.edit}}
-
+
{{/if}}
{{if $contact.photo_menu.drop}}
-
+
{{/if}}
{{if $contact.photo_menu.follow}}
-
+
{{/if}}
{{if $contact.photo_menu.hide}}
-
+
{{/if}}
@@ -84,7 +84,7 @@
{{* The button to add or remove contacts from a contact group - group edit page *}}
{{if $contact.change_member}}
-
+
{{if $contact.label == "members"}}
{{elseif $contact.label == "contacts"}}
@@ -97,7 +97,7 @@
{{* The contact description (e.g. Name, Network, kind of connection and so on *}}
-
{{foreach $exttabs as $tab}} -- {{$tab.label}}
+ - {{$tab.label}}
{{/foreach}}
diff --git a/view/theme/frio/templates/contact_edit.tpl b/view/theme/frio/templates/contact_edit.tpl index 04426eeb12..e7d90ca286 100644 --- a/view/theme/frio/templates/contact_edit.tpl +++ b/view/theme/frio/templates/contact_edit.tpl @@ -1,6 +1,6 @@{{$header}}: {{$name}}{{if $account_type}} ({{$account_type}}){{/if}}
{{/if}} + {{if $header}}{{$header|escape}}: {{$name|escape}}{{if $account_type}} ({{$account_type|escape}}){{/if}}
{{/if}}- {{if $lblsuggest}}- {{$contact_actions.suggest.label}}
{{/if}}
- {{if $poll_enabled}}- {{$contact_actions.update.label}}
{{/if}}
+ {{if $lblsuggest}}- {{$contact_actions.suggest.label|escape}}
{{/if}}
+ {{if $poll_enabled}}- {{$contact_actions.update.label|escape}}
{{/if}}
{{if $lblsuggest || $poll_enabled}}
{{/if}}
- - {{$contact_actions.block.label}}
- - {{$contact_actions.ignore.label}}
- {{if $contact_actions.archive.url}}- {{$contact_actions.archive.label}}
{{/if}}
- {{if $contact_actions.delete.url}}{{$contact_actions.delete.label}} {{/if}}
+ - {{$contact_actions.block.label|escape}}
+ - {{$contact_actions.ignore.label|escape}}
+ {{if $contact_actions.archive.url}}- {{$contact_actions.archive.label|escape}}
{{/if}}
+ {{if $contact_actions.delete.url}}{{$contact_actions.delete.label|escape}} {{/if}}
@@ -35,35 +35,35 @@- {{if $relation_text}}{{$relation_text}} {{/if}}
- {{if $nettype}}{{$nettype}} {{/if}}
+ {{if $relation_text}}{{$relation_text|escape}} {{/if}}
+ {{if $nettype}}{{$nettype|escape}} {{/if}}
{{if $poll_enabled}}
- {{$lastupdtext}} {{$last_update}}
+ {{$lastupdtext|escape}} {{$last_update|escape}}
{{if $poll_interval}}
{{/if}}
{{/if}}
- {{if $lost_contact}}{{$lost_contact}} {{/if}}
- {{if $insecure}}{{$insecure}} {{/if}}
- {{if $blocked && !$pending}}{{$blocked}} {{/if}}
- {{if $pending}}{{$pending}} {{/if}}
- {{if $ignored}}{{$ignored}} {{/if}}
- {{if $archived}}{{$archived}} {{/if}}
+ {{if $lost_contact}}{{$lost_contact|escape}} {{/if}}
+ {{if $insecure}}{{$insecure|escape}} {{/if}}
+ {{if $blocked && !$pending}}{{$blocked|escape}} {{/if}}
+ {{if $pending}}{{$pending|escape}} {{/if}}
+ {{if $ignored}}{{$ignored|escape}} {{/if}}
+ {{if $archived}}{{$archived|escape}} {{/if}}
- - {{if $follow}}{{$follow_text}} {{/if}}
+
+ {{if $follow}}{{$follow_text|escape}} {{/if}}
-
-
-
-
- {{$contact_settings_label}} + {{$contact_settings_label|escape}}
- {{$lbl_info1}} + {{$lbl_info1|escape}}
{{$lbl_info2}}
+{{$lbl_info2|escape}}
{{$reason}}
{{/if}} @@ -184,7 +184,7 @@- {{$lbl_vis1}} + {{$lbl_vis1|escape}}
{{$lbl_vis2}}
+{{$lbl_vis2|escape}}
{{$contact.name}} +
{{$contact.name|escape}} {{if $contact.account_type}} ({{$contact.account_type}}){{/if}} {{if $contact.account_type == 'Forum'}}{{/if}} {{* @todo this needs some changing in core because $contact.account_type contains a translated string which may notbe the same in every language *}} @@ -133,14 +133,14 @@ We use this part to filter the contacts with jquery.textcomplete *}}
-
+
{{* For very small displays we use a drobdown menu for contact relating actions *}}
{{* use a smaller picture on very small displays (e.g. mobiles) *}}
-
+
{{* Overlay background on hover the avatar picture *}}
@@ -172,32 +172,32 @@ We use this part to filter the contacts with jquery.textcomplete *}}
{{* The contact actions like private mail, delete contact, edit contact and so on *}}
{if $photo_menu.pm}
-
+
{/if}
{if $photo_menu.poke}
-
+
{/if}
{if $photo_menu.network}
-
+
{/if}
{if $photo_menu.edit}
-
+
{/if}
{if $photo_menu.drop}
-
+
{/if}
{if $photo_menu.follow}
-
+
{/if}
@@ -207,7 +207,7 @@ We use this part to filter the contacts with jquery.textcomplete *}}
{{* The button to add or remove contacts from a contact group - group edit page *}}
{if $contact.change_member}
-
+
{if $contact.label == "members"}
{elseif $contact.label == "contacts"}
diff --git a/view/theme/frio/templates/credits.tpl b/view/theme/frio/templates/credits.tpl
index 5e5aeecc25..75ab272df8 100644
--- a/view/theme/frio/templates/credits.tpl
+++ b/view/theme/frio/templates/credits.tpl
@@ -1,10 +1,10 @@
{{include file="section_title.tpl"}}
-
{{$thanks}}
+{{$thanks|escape}}
{{foreach $names as $name}} -- {{$name}}
+ - {{$name|escape}}
{{/foreach}}
diff --git a/view/theme/frio/templates/crepair.tpl b/view/theme/frio/templates/crepair.tpl index 3d45c6ddca..d4cdec5018 100644 --- a/view/theme/frio/templates/crepair.tpl +++ b/view/theme/frio/templates/crepair.tpl @@ -13,7 +13,7 @@