diff --git a/QUrl-Theme/index.php b/QUrl-Theme/index.php index 9d02c63..e0fd4e8 100644 --- a/QUrl-Theme/index.php +++ b/QUrl-Theme/index.php @@ -1,4 +1,8 @@ https://github.com/ookris/QUrl + // Load functions file include('qurl/functions.php'); diff --git a/QUrl-Theme/qurl/config.php b/QUrl-Theme/qurl/config.php index 0783f1f..4d70ba4 100644 --- a/QUrl-Theme/qurl/config.php +++ b/QUrl-Theme/qurl/config.php @@ -1,6 +1,9 @@ https://github.com/ookris/QUrl +// Theme config file // Page title $sitetitle = 'Szybkie skracanie linków'; $shorttitle = 'QUrl.pl'; @@ -24,8 +27,8 @@ $robots = 'index, nofollow'; // Google reCAPTCHA V3 // More info: https://developers.google.com/recaptcha -$recaptchaSiteKey = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'; -$recaptchaSecretKey = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'; +$recaptchaSiteKey = 'xxxxxxxxxxxxxx'; +$recaptchaSecretKey = 'xxxxxxxxxxxxxx'; // Email send settings // Sending emails using the PHPMailer library. More info: https://github.com/PHPMailer/PHPMailer diff --git a/QUrl-Theme/qurl/functions.php b/QUrl-Theme/qurl/functions.php index 3d71c08..d0bae2c 100644 --- a/QUrl-Theme/qurl/functions.php +++ b/QUrl-Theme/qurl/functions.php @@ -1,12 +1,11 @@ '', 'binds' => array()); -// Get URLs Count for current filter, total links in DB & total clicks list( $total_urls, $total_clicks ) = array_values( yourls_get_db_stats() ); if ( !empty($where['sql']) ) { list( $total_items, $total_items_clicks ) = array_values( yourls_get_db_stats( $where ) ); diff --git a/QUrl-Theme/qurl/header.php b/QUrl-Theme/qurl/header.php index d842a7c..5524eac 100644 --- a/QUrl-Theme/qurl/header.php +++ b/QUrl-Theme/qurl/header.php @@ -10,21 +10,6 @@ - - - diff --git a/QUrl-Theme/qurl/lang/PL-pl_qurl.php b/QUrl-Theme/qurl/lang/PL-pl_qurl.php index 06c70c4..baad8f4 100644 --- a/QUrl-Theme/qurl/lang/PL-pl_qurl.php +++ b/QUrl-Theme/qurl/lang/PL-pl_qurl.php @@ -1,4 +1,8 @@ https://github.com/ookris/QUrl + declare(strict_types=1); // Polish translation diff --git a/QUrl-Theme/sendEmail.php b/QUrl-Theme/sendEmail.php index 3a0e7cf..f10476e 100644 --- a/QUrl-Theme/sendEmail.php +++ b/QUrl-Theme/sendEmail.php @@ -1,4 +1,7 @@ https://github.com/ookris/QUrl if (empty($_POST['email'])) { exit('No access'); @@ -7,7 +10,7 @@ if (empty($_POST['email'])) { $reportDate = date('d.m.Y H:i'); $reportID = mt_rand(100000, 999999); -// Load qurl config file +// Load config file include('qurl/config.php'); //PHPMailer Library diff --git a/QUrl-Theme/sendReport.php b/QUrl-Theme/sendReport.php index a3c7bd7..69605ea 100644 --- a/QUrl-Theme/sendReport.php +++ b/QUrl-Theme/sendReport.php @@ -1,4 +1,7 @@ https://github.com/ookris/QUrl if (empty($_POST['link'])) { exit('No access'); @@ -7,7 +10,7 @@ if (empty($_POST['link'])) { $reportDate = date('d.m.Y H:i'); $reportID = mt_rand(100000, 999999); -// Load qurl config file +// Load config file include('qurl/config.php'); //PHPMailer Library diff --git a/QUrl-Theme/user/pages/about.php b/QUrl-Theme/user/pages/about.php index 1799abb..fb8466e 100644 --- a/QUrl-Theme/user/pages/about.php +++ b/QUrl-Theme/user/pages/about.php @@ -7,7 +7,7 @@ if( !defined( 'YOURLS_ABSPATH' ) ) { } // Load config file -include('qurl/config.php'); +include('qurl/config.php'); // Page title $currentpagetitle = "- O stronie"; diff --git a/QUrl-Theme/user/pages/srv.php b/QUrl-Theme/user/pages/srv.php deleted file mode 100644 index c4744fb..0000000 --- a/QUrl-Theme/user/pages/srv.php +++ /dev/null @@ -1,141 +0,0 @@ -