Skip to content

Commit

Permalink
Release 2.0.3
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
4yx committed Sep 13, 2022
1 parent 787e3b3 commit dfc91ed
Show file tree
Hide file tree
Showing 23 changed files with 117 additions and 114 deletions.
6 changes: 3 additions & 3 deletions altervp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const AlterVP = {
}
};
</script>
<script src="https://cdn.jsdelivr.net/gh/WybeNetwork/[email protected].2/altervp/altervp.js" type="text/javascript"></script>
<script src="https://cdn.jsdelivr.net/gh/WybeNetwork/[email protected].3/altervp/altervp.js" type="text/javascript"></script>
```
Alternatively, you can use our CDN:
```html
Expand All @@ -82,5 +82,5 @@ Feel free to remove the comment line symbol (``//``) that explains the type of t
* Created on 14 September 2018 by [woxly](https://github.com/woxly)
* Modified on 14 September 2018 by [woxly](https://github.com/woxly)
* Lost in time
* Recreated on 30 August 2022 by [Anyx](https://github.com/4yx)
* Last modified on 3 September 2022 by [Anyx](https://github.com/4yx)
* Recreated on 30 August and modified on 03 September 2022 by [Anyx](https://github.com/4yx)
* Last modified on 13 September 2022 by [Anyx](https://github.com/4yx)
9 changes: 5 additions & 4 deletions altervp/altervp.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
/*
/* @preserve
* Created on 14 September 2018 by woxly
* Recreated on 30 August 2022 by Anyx
* Modified on 3 September 2022 by Anyx
* Recreated on 30 August and modified on 03 September 2022 by Anyx
* Last modified on 13 September 2022 by Anyx
* DO NOT REMOVE CREDITS!
* Created for: Wybe Network.
*/
document.addEventListener("DOMContentLoaded", function() {
// Title
Expand Down Expand Up @@ -44,7 +45,7 @@ document.addEventListener("DOMContentLoaded", function() {
if (AlterVP.credits.logo !== undefined) {
script = document.createElement('script')
script.setAttribute('type', 'text/javascript')
script.innerHTML = "window.addEventListener('load',function(){document.getElementById('imgPoweredByCpanel').src=AlterVP.credits.logo,document.getElementById('txtCpanelVersion').innerHTML=AlterVP.credits.desc})"
script.innerHTML = "window.addEventListener('load',function(){document.getElementById('imgPoweredByCpanel').src=AlterVP.credits.logo})"
document.body.appendChild(script)
}
if (AlterVP.credits.desc !== undefined) {
Expand Down
19 changes: 5 additions & 14 deletions altervp/altervp.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
/* **************************************************************************
*
/* **************************************************************************
* @preserve
* VistaPanel Add-on
* Script Name: "Change Password" Link and Text Changer
* Author: MAHOfficial & Wybe Network
* Author URL: https://mahofficial.wybenetwork.com
* Script Name: "Change Language" Link and Text Changer
* Author: AADev & Wybe Network
* Author URL: https://aadev.wybenetwork.com
* Version: 1.0
* GitHub Project URL: https://github.com/WybeNetwork/VistaPanel-Customizations
* Official Website URL: https://wybenetwork.com
* This file is licensed under MIT Attribution
* Last Updated on 8th August 2020 by MAHOfficial
*
* Last Updated on 08 August 2020 by AADev
**************************************************************************
*/
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;
}
}
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
/* **************************************************************************
*
/* **************************************************************************
* @preserve
* VistaPanel Add-on
* Script Name: "Change Password" Link and Text Changer
* Author: MAHOfficial & Wybe Network
* Author URL: https://mahofficial.wybenetwork.com
* Script Name: "Change Language" Link and Text Changer
* Author: AADev & Wybe Network
* Author URL: https://aadev.wybenetwork.com
* Version: 1.0
* GitHub Project URL: https://github.com/WybeNetwork/VistaPanel-Customizations
* Official Website URL: https://wybenetwork.com
* This file is licensed under MIT Attribution
* Last Updated on 8th August 2020 by MAHOfficial
*
* Last Updated on 08 August 2020 by AADev
**************************************************************************
*/
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;
2 changes: 1 addition & 1 deletion change-language-link-text-changer/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ The full code, using jsDelivr:
var change_language_link = "your_website_url",
change_language_text = "your_text";
</script>
<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>
<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>
```
Alternatively, you can use our CDN:
```html
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
/*
* VistaPanel Add-on
* Script Name: "Change Password" Link and Text Changer
* Author: MAHOfficial & Wybe Network
* Author URL: https://mahofficial.wybenetwork.com
* Version: 1.0
* Github Project URL: https://github.com/WybeNetwork/VistaPanel-Customizations
* Official Website URL: https://wybenetwork.com
* This file is licensed under MIT Attribution
*
* Modified at 2 November 2018 by PlanetCloud
*/
/* **************************************************************************
* @preserve
* VistaPanel Add-on
* Script Name: "Change Password" Link and Text Changer
* Author: AADev & Wybe Network
* Author URL: https://aadev.wybenetwork.com
* Version: 1.0
* Github Project URL: https://github.com/WybeNetwork/VistaPanel-Customizations
* Official Website URL: https://wybenetwork.com
* This file is licensed under MIT Attribution
* Modified at 02 November 2018 by PlanetCloud
**************************************************************************
*/
var n = document.getElementById("lnkUserPrefChangePwd");
n.setAttribute("href", change_password_link);
n.innerHTML = change_password_text;
n.innerHTML = change_password_text;
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
/*
* VistaPanel Add-on
* Script Name: "Change Password" Link and Text Changer
* Author: MAHOfficial & Wybe Network
* Author URL: https://mahofficial.wybenetwork.com
* Version: 1.0
* Github Project URL: https://github.com/WybeNetwork/VistaPanel-Customizations
* Official Website URL: https://wybenetwork.com
* This file is licensed under MIT Attribution
*
* Modified at 2 November 2018 by PlanetCloud
*/
/* **************************************************************************
* @preserve
* VistaPanel Add-on
* Script Name: "Change Password" Link and Text Changer
* Author: AADev & Wybe Network
* Author URL: https://aadev.wybenetwork.com
* Version: 1.0
* Github Project URL: https://github.com/WybeNetwork/VistaPanel-Customizations
* Official Website URL: https://wybenetwork.com
* This file is licensed under MIT Attribution
* Modified at 02 November 2018 by PlanetCloud
**************************************************************************
*/
var n=document.getElementById("lnkUserPrefChangePwd");n.setAttribute("href",change_password_link),n.innerHTML=change_password_text;
2 changes: 1 addition & 1 deletion change-password-link-text-changer/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ The full code, using jsDelivr:
var change_password_link = "your_website_url",
change_password_text = "your_text";
</script>
<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>
<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>
```
Alternatively, you can use our CDN:
```html
Expand Down
5 changes: 3 additions & 2 deletions cpanel-logo-to-copyright/cpanel-logo-to-copyright.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
/*
/* @preserve
* Created at 10 July 2018 by PlanetCloud
* Last modified at 02 November 2018 by PlanetCloud
* DO NOT REMOVE CREDITS!
* Created for: Wybe Network.
*/
document.addEventListener("DOMContentLoaded", function() {
if ("undefined" !== typeof b) {
Expand All @@ -16,4 +17,4 @@ document.addEventListener("DOMContentLoaded", function() {
'" style="display:inline-block; z-index:2147483647; visibility:visible;">';
d.innerHTML = b.company_started < c ? "\u00a9 " + b.company_started + "-" + c + " " + b.company_name + "." : "\u00a9 " + c + " " + b.company_name + "."
}
});
});
3 changes: 2 additions & 1 deletion cpanel-logo-to-copyright/cpanel-logo-to-copyright.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cpanel-logo-to-copyright/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ The full code, using jsDelivr:
}
</script>
<script src="https://cdn.jsdelivr.net/gh/WybeNetwork/[email protected].2/cpanel-logo-to-copyright/cpanel-logo-to-copyright.js" type="text/javascript"></script>
<script src="https://cdn.jsdelivr.net/gh/WybeNetwork/[email protected].3/cpanel-logo-to-copyright/cpanel-logo-to-copyright.js" type="text/javascript"></script>
```
Alternatively, you can use our CDN:
```html
Expand Down
2 changes: 1 addition & 1 deletion dropdown-bug-fix/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ To solve this, we need an external service which adds the correct type, like jsD

The full code, using jsDelivr:
```html
<script src="https://cdn.jsdelivr.net/gh/WybeNetwork/[email protected].2/dropdown-bug-fix/dropdown-bug-fix.js" type="text/javascript"></script>
<script src="https://cdn.jsdelivr.net/gh/WybeNetwork/[email protected].3/dropdown-bug-fix/dropdown-bug-fix.js" type="text/javascript"></script>
```
Alternatively, you can use our CDN:
```html
Expand Down
2 changes: 1 addition & 1 deletion dropdown-bug-fix/dropdown-bug-fix.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/* @preserve
* Created at 06 August 2022 by Anyx.
* DO NOT REMOVE CREDITS!
* Created for: Wybe Network.
Expand Down
2 changes: 1 addition & 1 deletion dropdown-bug-fix/dropdown-bug-fix.min.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/* @preserve
* Created at 06 August 2022 by Anyx.
* DO NOT REMOVE CREDITS!
* Created for: Wybe Network.
Expand Down
16 changes: 8 additions & 8 deletions responsive-domain-search/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ It makes the VistaPanel search form responsive, so that it does not break the vP

## Where should I put it?
Put it in the Header Advert Area (IMPORTANT).
Due to [this issue](https://github.com/VPTOfficial/VistaPanel-Customizations/issues/4) reported by [MAHOfficial](https://github.com/mahofficial), the code doesn't seem to run properly if you put it elsewhere. Thanks for reporting it.
Due to [this issue](https://github.com/VPTOfficial/VistaPanel-Customizations/issues/4) reported by [AADev](https://github.com/mahofficial), the code doesn't seem to run properly if you put it elsewhere. Thanks for reporting it.

## How can I install it?
Create a script tag with `src` pointing to `responsive-domain-search.js` or `responsive-domain-search.min.js` for the minified version.
Expand All @@ -32,7 +32,7 @@ The full code, using jsDelivr:
affCode = "AFFILIATE_CODE_HERE";
*/
</script>
<script src="https://cdn.jsdelivr.net/gh/WybeNetwork/[email protected].2/responsive-domain-search/responsive-domain-search.js" type="text/javascript"></script>
<script src="https://cdn.jsdelivr.net/gh/WybeNetwork/[email protected].3/responsive-domain-search/responsive-domain-search.js" type="text/javascript"></script>
```
Alternatively, you can use our CDN:
```html
Expand All @@ -46,9 +46,9 @@ Alternatively, you can use our CDN:
Do not forget to remove the comment lines symbols (``/* OPTIONAL``and ``*/``) if you want your affiliate code to work.
## Changelog
* Created on 10 July 2018 by [PlanetCloud](https://github.com/PlanetTheCloud)
* Modified at 27 July 2018 by Christine (Cyrl)
* Modified at 25 August 2018 by [Anyx](https://github.com/4yx)
* Modified on 28th September 2018 by [MAHOfficial](https://github.com/mahofficial) and [Anyx](https://github.com/4yx)
* Modified on 30th September 2018 by [PlanetCloud](https://github.com/PlanetTheCloud)
* Modified on 22th November 2018 by [Anyx](https://github.com/4yx)
* Last modified on 06th August 2022 by [Anyx](https://github.com/4yx)
* Modified on 27 July 2018 by Christine (Cyrl)
* Modified on 25 August 2018 by [Anyx](https://github.com/4yx)
* Modified on 28 September 2018 by [AADev](https://github.com/mahofficial) and [Anyx](https://github.com/4yx)
* Modified on 30 September 2018 by [PlanetCloud](https://github.com/PlanetTheCloud)
* Modified on 22 November 2018 by [Anyx](https://github.com/4yx)
* Last modified on 06 August 2022 by [Anyx](https://github.com/4yx)
7 changes: 3 additions & 4 deletions responsive-domain-search/responsive-domain-search.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*
* Created at 10 July 2018 by PlanetCloud.
* Modified at 02 November 2018 by PlanetCloud.
/* @preserve
* Created at 10 July and modified at 02 November 2018 by PlanetCloud.
* Modified at 16 March 2019 by Dog2puppy.
* Last modified at 06 August 2022 by Anyx.
* DO NOT REMOVE CREDITS!
Expand All @@ -27,4 +26,4 @@ document.addEventListener("DOMContentLoaded", function() {
widget.innerHTML = "";
widget.appendChild(row)
})
});
});
5 changes: 2 additions & 3 deletions responsive-domain-search/responsive-domain-search.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions theme-switcher/switcher.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
/*
* Created at 29 December 2018 by RanaKHAS
* Modified at 23 June 2021 by MAHOfficial
* DO NOT REMOVE CREDITS!
/* @preserve
* Created at 29 December 2018 by RanaKHAS
* Modified at 23 June 2021 by AADev
* DO NOT REMOVE CREDITS!
* Created for: Wybe Network.
*/
var cssId = 'wybe-network-theme-switcher';
if (!document.getElementById(cssId))
Expand Down
9 changes: 5 additions & 4 deletions theme-switcher/switcher.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit dfc91ed

Please sign in to comment.