|
9 | 9 | </a>
|
10 | 10 | {% if _u.is_admin == 1 %}
|
11 | 11 | <div class="pull-right">
|
12 |
| - <a class="btn btn-default btn-sm btn-social-edit" title="{{ "Edit"|get_lang }}" href="{{ _p.web }}main/admin/user_edit.php?user_id={{ user.id }}"> |
| 12 | + <a class="btn btn-default btn-sm btn-social-edit" |
| 13 | + title="{{ "Edit"|get_lang }}" |
| 14 | + href="{{ _p.web }}main/admin/user_edit.php?user_id={{ user.id }}" |
| 15 | + > |
13 | 16 | <i class="fa fa-pencil" aria-hidden="true"></i>
|
14 | 17 | </a>
|
15 | 18 | </div>
|
|
99 | 102 | {% set linkedin_url = '' %}
|
100 | 103 | {% for extra in user.extra %}
|
101 | 104 | {% if extra.value.getField().getVariable() == 'skype' %}
|
102 |
| - {% set skype_account = extra.value.getValue() %} |
| 105 | + {% set skype_account = extra.value.getValue() | escape %} |
103 | 106 | {% endif %}
|
104 | 107 |
|
105 | 108 | {% if extra.value.getField().getVariable() == 'linkedin_url' %}
|
106 |
| - {% set linkedin_url = extra.value.getValue() %} |
| 109 | + {% set linkedin_url = extra.value.getValue() | escape %} |
107 | 110 | {% endif %}
|
108 | 111 | {% endfor %}
|
109 | 112 |
|
|
127 | 130 | {% if user.user_is_online_in_chat != 0 %}
|
128 | 131 | {% if user_relation == user_relation_type_friend %}
|
129 | 132 | <li class="item">
|
130 |
| - <a onclick="javascript:chatWith('{{ user.id }}', '{{ user.complete_name }}', '{{ user.user_is_online }}','{{ user.avatar_small }}')" href="javascript:void(0);"> |
| 133 | + <a |
| 134 | + onclick="javascript:chatWith('{{ user.id }}', '{{ user.complete_name }}', '{{ user.user_is_online }}','{{ user.avatar_small }}')" |
| 135 | + href="javascript:void(0);" |
| 136 | + > |
131 | 137 | <img src="{{ "online.png" | icon }}" alt="{{ "Online" | get_lang }}">
|
132 | 138 | {{ "Chat" | get_lang }} ({{ "Online" | get_lang }})
|
133 | 139 | </a>
|
|
145 | 151 | </dl>
|
146 | 152 |
|
147 | 153 | {% if not profile_edition_link is empty %}
|
148 |
| - <li class="item"> |
149 |
| - <a class="btn btn-default btn-sm btn-block" href="{{ profile_edition_link }}"> |
150 |
| - <em class="fa fa-edit"></em>{{ "EditProfile" | get_lang }} |
151 |
| - </a> |
152 |
| - </li> |
| 154 | + <li class="item"> |
| 155 | + <a class="btn btn-default btn-sm btn-block" href="{{ profile_edition_link }}"> |
| 156 | + <em class="fa fa-edit"></em>{{ "EditProfile" | get_lang }} |
| 157 | + </a> |
| 158 | + </li> |
153 | 159 | {% endif %}
|
154 | 160 | </ul>
|
155 | 161 | </div>
|
|
0 commit comments