Changeset 2589116
- Timestamp:
- 08/26/2021 10:43:17 AM (3 years ago)
- Location:
- phpinfo-wp
- Files:
-
- 20 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
phpinfo-wp/trunk/js/scripts.js
r2585546 r2589116 55 55 } 56 56 57 scrollBar.scrollTop = scrollBar.scrollHeight - scrollBar.clientHeight;58 59 57 } 60 58 -
phpinfo-wp/trunk/js/scripts.min.js
r2585546 r2589116 1 "use strict";function main(){var topButton=document.getElementById("topButton-phpinfo-WP");var tabcontent=document.getElementsByClassName("tabcontent");var tablinks=document.getElementsByClassName("tablinks");var scrollBar=document.getElementById("dau-console");function showButton(){if(topButton!==null){if(document.body.scrollTop>400||document.documentElement.scrollTop>400){topButton.style.display="block"}else{topButton.style.display="none"}}}window.onscroll=function(){showButton()};function goTop(){document.body.scrollTop=0;document.documentElement.scrollTop=0}if(topButton!==null){topButton.addEventListener("click",goTop)}function manageContent(){for(let i=0;i<tabcontent.length;i++){tabcontent[i].style.display="none"}for(let i=0;i<tablinks.length;i++){tablinks[i].className=tablinks[i].className.replace(" active","")}}let i;for(let link of tablinks){link.addEventListener("click",()=>{manageContent();if(link.id=="log-tab")i=3;else if(link.id=="info-tab")i=2;else if(link.id=="extension-tab")i=1;else i=0;document.getElementById(tabcontent[i].id).style.display="block";event.currentTarget.className+=" active"})} scrollBar.scrollTop=scrollBar.scrollHeight-scrollBar.clientHeight}if(document.getElementById("phpinfo-wp")!=null){main()}1 "use strict";function main(){var topButton=document.getElementById("topButton-phpinfo-WP");var tabcontent=document.getElementsByClassName("tabcontent");var tablinks=document.getElementsByClassName("tablinks");var scrollBar=document.getElementById("dau-console");function showButton(){if(topButton!==null){if(document.body.scrollTop>400||document.documentElement.scrollTop>400){topButton.style.display="block"}else{topButton.style.display="none"}}}window.onscroll=function(){showButton()};function goTop(){document.body.scrollTop=0;document.documentElement.scrollTop=0}if(topButton!==null){topButton.addEventListener("click",goTop)}function manageContent(){for(let i=0;i<tabcontent.length;i++){tabcontent[i].style.display="none"}for(let i=0;i<tablinks.length;i++){tablinks[i].className=tablinks[i].className.replace(" active","")}}let i;for(let link of tablinks){link.addEventListener("click",()=>{manageContent();if(link.id=="log-tab")i=3;else if(link.id=="info-tab")i=2;else if(link.id=="extension-tab")i=1;else i=0;document.getElementById(tabcontent[i].id).style.display="block";event.currentTarget.className+=" active"})}}if(document.getElementById("phpinfo-wp")!=null){main()} -
phpinfo-wp/trunk/phpinfo-wp.php
r2587355 r2589116 5 5 Plugin URI: https://github.com/s4gor/phpinfo_wp 6 6 Description: A simple plugin to look up information about PHP and manage PHP configurations and directive values. 7 Version: 2.2. 27 Version: 2.2. 8 8 Author: Imran Hossain Sagor 9 9 Author URI: https://imransagor.codes … … 57 57 if ( isset( $_GET['phpinfowp-notice-dismissed'] ) ) { 58 58 add_user_meta( $user_id, 'phpinfowp_notice_dismissed', 'true', true ); 59 59 60 } 60 61 } … … 88 89 89 90 public function footer_notice(){ 90 echo '<span id="footer-thankyou">Thank you for using <a href="https://wordpress.org/plugins/phpinfo-wp/">phpinfo() WP</a>. <a href="https:// imransagor.codes/buy-me-a-coffee" target="_blank">Buy Me a Coffee <span style="color: red">❤</span></a></span>';91 echo '<span id="footer-thankyou">Thank you for using <a href="https://wordpress.org/plugins/phpinfo-wp/">phpinfo() WP</a>. <a href="https://" target="_blank">Buy Me a Coffee <span style="color: red">❤</span></a></span>'; 91 92 } 92 93 -
phpinfo-wp/trunk/readme.txt
r2587355 r2589116 4 4 Requires at least: 4.7 5 5 Tested up to: 5.8 6 Stable tag: 2.2. 26 Stable tag: 2.2. 7 7 Requires PHP: 5.0 8 8 License: GPLv3 … … 22 22 == Updates == 23 23 24 Added .htaccess page in order to edit or set directive values of your server configurations like max_file_uploads, upload_max_filesize, etc.24 . 25 25 26 26 == Screenshots == … … 43 43 See screenshot #1. Make sure site's root directory is writable to set or edit server configuration's directive values. 44 44 45 46 47 48 45 49 == Change Log == 50 51 52 53 46 54 47 55 = 2.2.2 =
Note: See TracChangeset
for help on using the changeset viewer.