Skip to content

Commit dfc91ed

Browse files
committed
Release 2.0.3
The following changes were made: * Update credits, in a way that does not preserve needless comments. Enforce a consistent style on date writing. * Fix bug in AlterVP that caused the code for the credits description to be executed even if disabled. * Update Tutorial Link Changer, with a much better way of replacing the link, and fixing an issue where it would not be replaced sometimes. If you still face an issue, feel free to update #18 or make a new issue.
1 parent 787e3b3 commit dfc91ed

23 files changed

+117
-114
lines changed

altervp/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ const AlterVP = {
5757
}
5858
};
5959
</script>
60-
<script src="https://cdn.jsdelivr.net/gh/WybeNetwork/[email protected].2/altervp/altervp.js" type="text/javascript"></script>
60+
<script src="https://cdn.jsdelivr.net/gh/WybeNetwork/[email protected].3/altervp/altervp.js" type="text/javascript"></script>
6161
```
6262
Alternatively, you can use our CDN:
6363
```html
@@ -82,5 +82,5 @@ Feel free to remove the comment line symbol (``//``) that explains the type of t
8282
* Created on 14 September 2018 by [woxly](https://github.com/woxly)
8383
* Modified on 14 September 2018 by [woxly](https://github.com/woxly)
8484
* Lost in time
85-
* Recreated on 30 August 2022 by [Anyx](https://github.com/4yx)
86-
* Last modified on 3 September 2022 by [Anyx](https://github.com/4yx)
85+
* Recreated on 30 August and modified on 03 September 2022 by [Anyx](https://github.com/4yx)
86+
* Last modified on 13 September 2022 by [Anyx](https://github.com/4yx)

altervp/altervp.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
/*
1+
/* @preserve
22
* Created on 14 September 2018 by woxly
3-
* Recreated on 30 August 2022 by Anyx
4-
* Modified on 3 September 2022 by Anyx
3+
* Recreated on 30 August and modified on 03 September 2022 by Anyx
4+
* Last modified on 13 September 2022 by Anyx
55
* DO NOT REMOVE CREDITS!
6+
* Created for: Wybe Network.
67
*/
78
document.addEventListener("DOMContentLoaded", function() {
89
// Title
@@ -44,7 +45,7 @@ document.addEventListener("DOMContentLoaded", function() {
4445
if (AlterVP.credits.logo !== undefined) {
4546
script = document.createElement('script')
4647
script.setAttribute('type', 'text/javascript')
47-
script.innerHTML = "window.addEventListener('load',function(){document.getElementById('imgPoweredByCpanel').src=AlterVP.credits.logo,document.getElementById('txtCpanelVersion').innerHTML=AlterVP.credits.desc})"
48+
script.innerHTML = "window.addEventListener('load',function(){document.getElementById('imgPoweredByCpanel').src=AlterVP.credits.logo})"
4849
document.body.appendChild(script)
4950
}
5051
if (AlterVP.credits.desc !== undefined) {

altervp/altervp.min.js

Lines changed: 5 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
1-
/* **************************************************************************
2-
*
1+
/* **************************************************************************
2+
* @preserve
33
* VistaPanel Add-on
4-
* Script Name: "Change Password" Link and Text Changer
5-
* Author: MAHOfficial & Wybe Network
6-
* Author URL: https://mahofficial.wybenetwork.com
4+
* Script Name: "Change Language" Link and Text Changer
5+
* Author: AADev & Wybe Network
6+
* Author URL: https://aadev.wybenetwork.com
77
* Version: 1.0
88
* GitHub Project URL: https://github.com/WybeNetwork/VistaPanel-Customizations
99
* Official Website URL: https://wybenetwork.com
1010
* This file is licensed under MIT Attribution
11-
* Last Updated on 8th August 2020 by MAHOfficial
12-
*
11+
* Last Updated on 08 August 2020 by AADev
1312
**************************************************************************
1413
*/
1514
var t = ["item_", "icon-"];
1615
for (n=0; n<=1; n++)
1716
{
1817
document.getElementById(`${t[n]}change_language`).setAttribute("href", change_language_link)
1918
document.getElementById(`${t[n]}change_language`).innerHTML=change_language_text;
20-
}
19+
}
Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
1-
/* **************************************************************************
2-
*
1+
/* **************************************************************************
2+
* @preserve
33
* VistaPanel Add-on
4-
* Script Name: "Change Password" Link and Text Changer
5-
* Author: MAHOfficial & Wybe Network
6-
* Author URL: https://mahofficial.wybenetwork.com
4+
* Script Name: "Change Language" Link and Text Changer
5+
* Author: AADev & Wybe Network
6+
* Author URL: https://aadev.wybenetwork.com
77
* Version: 1.0
88
* GitHub Project URL: https://github.com/WybeNetwork/VistaPanel-Customizations
99
* Official Website URL: https://wybenetwork.com
1010
* This file is licensed under MIT Attribution
11-
* Last Updated on 8th August 2020 by MAHOfficial
12-
*
11+
* Last Updated on 08 August 2020 by AADev
1312
**************************************************************************
1413
*/
1514
var t=["item_","icon-"];for(n=0;n<=1;n++)document.getElementById(`${t[n]}change_language`).setAttribute("href",change_language_link),document.getElementById(`${t[n]}change_language`).innerHTML=change_language_text;

change-language-link-text-changer/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The full code, using jsDelivr:
2727
var change_language_link = "your_website_url",
2828
change_language_text = "your_text";
2929
</script>
30-
<script src="https://cdn.jsdelivr.net/gh/WybeNetwork/[email protected].2/change-language-link-text-changer/change-language-link-text-changer.js" type="text/javascript"></script>
30+
<script src="https://cdn.jsdelivr.net/gh/WybeNetwork/[email protected].3/change-language-link-text-changer/change-language-link-text-changer.js" type="text/javascript"></script>
3131
```
3232
Alternatively, you can use our CDN:
3333
```html
Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
1-
/*
2-
* VistaPanel Add-on
3-
* Script Name: "Change Password" Link and Text Changer
4-
* Author: MAHOfficial & Wybe Network
5-
* Author URL: https://mahofficial.wybenetwork.com
6-
* Version: 1.0
7-
* Github Project URL: https://github.com/WybeNetwork/VistaPanel-Customizations
8-
* Official Website URL: https://wybenetwork.com
9-
* This file is licensed under MIT Attribution
10-
*
11-
* Modified at 2 November 2018 by PlanetCloud
12-
*/
1+
/* **************************************************************************
2+
* @preserve
3+
* VistaPanel Add-on
4+
* Script Name: "Change Password" Link and Text Changer
5+
* Author: AADev & Wybe Network
6+
* Author URL: https://aadev.wybenetwork.com
7+
* Version: 1.0
8+
* Github Project URL: https://github.com/WybeNetwork/VistaPanel-Customizations
9+
* Official Website URL: https://wybenetwork.com
10+
* This file is licensed under MIT Attribution
11+
* Modified at 02 November 2018 by PlanetCloud
12+
**************************************************************************
13+
*/
1314
var n = document.getElementById("lnkUserPrefChangePwd");
1415
n.setAttribute("href", change_password_link);
15-
n.innerHTML = change_password_text;
16+
n.innerHTML = change_password_text;
Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
/*
2-
* VistaPanel Add-on
3-
* Script Name: "Change Password" Link and Text Changer
4-
* Author: MAHOfficial & Wybe Network
5-
* Author URL: https://mahofficial.wybenetwork.com
6-
* Version: 1.0
7-
* Github Project URL: https://github.com/WybeNetwork/VistaPanel-Customizations
8-
* Official Website URL: https://wybenetwork.com
9-
* This file is licensed under MIT Attribution
10-
*
11-
* Modified at 2 November 2018 by PlanetCloud
12-
*/
1+
/* **************************************************************************
2+
* @preserve
3+
* VistaPanel Add-on
4+
* Script Name: "Change Password" Link and Text Changer
5+
* Author: AADev & Wybe Network
6+
* Author URL: https://aadev.wybenetwork.com
7+
* Version: 1.0
8+
* Github Project URL: https://github.com/WybeNetwork/VistaPanel-Customizations
9+
* Official Website URL: https://wybenetwork.com
10+
* This file is licensed under MIT Attribution
11+
* Modified at 02 November 2018 by PlanetCloud
12+
**************************************************************************
13+
*/
1314
var n=document.getElementById("lnkUserPrefChangePwd");n.setAttribute("href",change_password_link),n.innerHTML=change_password_text;

change-password-link-text-changer/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The full code, using jsDelivr:
2626
var change_password_link = "your_website_url",
2727
change_password_text = "your_text";
2828
</script>
29-
<script src="https://cdn.jsdelivr.net/gh/WybeNetwork/[email protected].2/change-password-link-text-changer/change-password-link-text-changer.js" type="text/javascript"></script>
29+
<script src="https://cdn.jsdelivr.net/gh/WybeNetwork/[email protected].3/change-password-link-text-changer/change-password-link-text-changer.js" type="text/javascript"></script>
3030
```
3131
Alternatively, you can use our CDN:
3232
```html

cpanel-logo-to-copyright/cpanel-logo-to-copyright.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
/*
1+
/* @preserve
22
* Created at 10 July 2018 by PlanetCloud
33
* Last modified at 02 November 2018 by PlanetCloud
44
* DO NOT REMOVE CREDITS!
5+
* Created for: Wybe Network.
56
*/
67
document.addEventListener("DOMContentLoaded", function() {
78
if ("undefined" !== typeof b) {
@@ -16,4 +17,4 @@ document.addEventListener("DOMContentLoaded", function() {
1617
'" style="display:inline-block; z-index:2147483647; visibility:visible;">';
1718
d.innerHTML = b.company_started < c ? "\u00a9 " + b.company_started + "-" + c + " " + b.company_name + "." : "\u00a9 " + c + " " + b.company_name + "."
1819
}
19-
});
20+
});

0 commit comments

Comments
 (0)