Fixed broken skype widget in user profile (#203)

* Fixed broken skype widget in user profile

* Update usercp_viewprofile.tpl

* Update CHANGELOG.md
This commit is contained in:
Roman Kelesidis 2023-06-29 21:53:00 +07:00 committed by GitHub
parent 690f34d50b
commit 64fd6aed1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 5 deletions

View File

@ -6,6 +6,7 @@
**Merged pull requests:** **Merged pull requests:**
- Release v2.1.5-2023.06 🎉 - Release v2.1.5-2023.06 🎉
- Fixed broken skype widget in user profile [\#203](https://github.com/torrentpier/torrentpier-lts/pull/203) ([belomaxorka](https://github.com/belomaxorka))
- Redirect to viewprofile.php if profile.php hasn't arguments [\#202](https://github.com/torrentpier/torrentpier-lts/pull/202) ([belomaxorka](https://github.com/belomaxorka)) - Redirect to viewprofile.php if profile.php hasn't arguments [\#202](https://github.com/torrentpier/torrentpier-lts/pull/202) ([belomaxorka](https://github.com/belomaxorka))
- Show smilies in post for guests [\#196](https://github.com/torrentpier/torrentpier-lts/pull/196) ([belomaxorka](https://github.com/belomaxorka)) - Show smilies in post for guests [\#196](https://github.com/torrentpier/torrentpier-lts/pull/196) ([belomaxorka](https://github.com/belomaxorka))
- Added showing PM counter in page title [\#193](https://github.com/torrentpier/torrentpier-lts/pull/193) ([belomaxorka](https://github.com/belomaxorka)) - Added showing PM counter in page title [\#193](https://github.com/torrentpier/torrentpier-lts/pull/193) ([belomaxorka](https://github.com/belomaxorka))

View File

@ -182,6 +182,13 @@ input[type="checkbox"] { margin-bottom: -1px; }
<input type="button" class="editable-cancel" value="x" style="width: 30px;"> <input type="button" class="editable-cancel" value="x" style="width: 30px;">
</span> </span>
</div> </div>
<div id="editable-tpl-yesno-skype" style="display: none;">
<span class="editable-inputs nowrap" style="display: none;">
<input type="text" class="editable-value" value="{SKYPE}" />
<input type="button" class="editable-submit" value="&raquo;" style="width: 30px; font-weight: bold;">
<input type="button" class="editable-cancel" value="x" style="width: 30px;">
</span>
</div>
<div id="editable-tpl-yesno-birthday" style="display: none;"> <div id="editable-tpl-yesno-birthday" style="display: none;">
<span class="editable-inputs nowrap" style="display: none;"> <span class="editable-inputs nowrap" style="display: none;">
<input type="date" class="editable-value" value="{BIRTHDAY}" /> <input type="date" class="editable-value" value="{BIRTHDAY}" />

View File

@ -93,7 +93,7 @@ $(document).ready(function(){
<var class="ajax-params">{action: "edit_user_profile", id: "user_occ"}</var> <var class="ajax-params">{action: "edit_user_profile", id: "user_occ"}</var>
<var class="ajax-params">{action: "edit_user_profile", id: "user_interests"}</var> <var class="ajax-params">{action: "edit_user_profile", id: "user_interests"}</var>
<var class="ajax-params">{action: "edit_user_profile", id: "user_icq"}</var> <var class="ajax-params">{action: "edit_user_profile", id: "user_icq"}</var>
<var class="ajax-params">{action: "edit_user_profile", id: "user_skype"}</var> <var class="ajax-params">{action: "edit_user_profile", id: "user_skype", editableType: "yesno-skype"}</var>
<var class="ajax-params">{action: "edit_user_profile", id: "user_twitter", editableType: "yesno-twitter"}</var> <var class="ajax-params">{action: "edit_user_profile", id: "user_twitter", editableType: "yesno-twitter"}</var>
<var class="ajax-params">{action: "edit_user_profile", id: "user_gender", editableType: "yesno-gender"}</var> <var class="ajax-params">{action: "edit_user_profile", id: "user_gender", editableType: "yesno-gender"}</var>
<var class="ajax-params">{action: "edit_user_profile", id: "user_birthday", editableType: "yesno-birthday"}</var> <var class="ajax-params">{action: "edit_user_profile", id: "user_birthday", editableType: "yesno-birthday"}</var>
@ -249,12 +249,12 @@ ajax.callback.gen_passkey = function(data){
</tr> </tr>
<!-- ENDIF --> <!-- ENDIF -->
<!-- IF SKYPE --> <!-- IF SKYPE -->
<script type="text/javascript" src="http://download.skype.com/share/skypebuttons/js/skypeCheck.js"></script> <a style="display: none;" data-config="commands=*;size=14;status=off;theme=logo;language=en;bgcolor=#2a92f3;" id="skaip-buttons" href="http://www.skaip.org/"></a><script src="//apps.skaip.org/buttons/widget/core.min.js" defer="defer"></script>
<tr> <tr>
<th>{L_SKYPE}:</th> <th>{L_SKYPE}:</th>
<td class="tLeft med" id="user_skype"> <td class="tLeft med" id="user_skype">
<span class="editable">{SKYPE} <span class="editable">
<a href="skype:{SKYPE}"><img align="middle" src="http://mystatus.skype.com/smallicon/{SKYPE}" width="16" height="16"></a> <a href="skype:{SKYPE}">{SKYPE}</a>
</span> </span>
</td> </td>
</tr> </tr>
@ -579,4 +579,4 @@ $(function(){
<a class="gen" href="{U_SEARCH}?dlu={PROFILE_USER_ID}&dlw=1">{L_SEARCH_DL_WILL_DOWNLOADS}</a> :: <a class="gen" href="{U_SEARCH}?dlu={PROFILE_USER_ID}&dlw=1">{L_SEARCH_DL_WILL_DOWNLOADS}</a> ::
<a class="gen" href="{U_SEARCH}?dlu={PROFILE_USER_ID}&dlc=1">{L_SEARCH_DL_COMPLETE_DOWNLOADS}</a> <a class="gen" href="{U_SEARCH}?dlu={PROFILE_USER_ID}&dlc=1">{L_SEARCH_DL_COMPLETE_DOWNLOADS}</a>
</div> </div>
<!-- ENDIF --> <!-- ENDIF -->