first commit

This commit is contained in:
2023-09-12 21:41:04 +02:00
commit 3361a7f053
13284 changed files with 2116755 additions and 0 deletions

View File

@@ -0,0 +1 @@
<div class="rsssl-grid">{content}</div>

View File

@@ -0,0 +1,14 @@
<div class="rsssl-item {class}">
<div class="item-container">
<div class="rsssl-grid-item-header">
<h3>{title}</h3>
{header}
</div>
<div class="rsssl-grid-item-content">
{content}
</div>
<div class="rsssl-grid-item-footer">
{footer}
</div>
</div>
</div>

View File

@@ -0,0 +1,8 @@
<?php defined('ABSPATH') or die("you do not have access to this page!"); ?>
<div class="rsssl-secondary-header-item">
<div class="rsssl-save-settings-feedback" style="display: none;">
<?php _e("Save settings" , "really-simple-ssl") ?>
</div>
<div class="rsssl-instructions">{instructions}</div>
</div>

View File

@@ -0,0 +1,3 @@
<?php defined('ABSPATH') or die("you do not have access to this page!");
settings_fields('rsssl_network_options');
do_settings_sections("really-simple-ssl");

View File

@@ -0,0 +1,60 @@
<?php defined('ABSPATH') or die("you do not have access to this page!"); ?>
<?php
$plugins = array(
'WPSI' => array(
'constant_free' => 'wpsi_plugin',
'constant_premium' => 'wpsi_pro_plugin',
'website' => 'https://wpsearchinsights.com/pro',
'search' => 'WP+Search+Insights+really+simple+plugins+searches+complianz',
),
'COMPLIANZ' => array(
'constant_free' => 'cmplz_plugin',
'constant_premium' => 'cmplz_premium',
'website' => 'https://complianz.io/pricing',
'search' => 'complianz+really+simple+cookies+rogierlankhorst',
),
'ZIP' => array(
'constant_free' => 'ZRDN_PLUGIN_BASENAME',
'constant_premium' => 'ZRDN_PREMIUM',
'website' => 'https://ziprecipes.net/premium/',
'search' => 'zip+recipes+recipe+maker+really+simple+plugins+complianz',
),
);
?>
<div>
<div class="rsssl-upsell rsssl-wpsi">
<div class="plugin-color">
<div class="wpsi-red rsssl-bullet"></div>
</div>
<div class="plugin-text">
<a href="https://wordpress.org/plugins/wp-search-insights/" target="_blank">WP Search Insights - <?php _e("Track searches on your website", "really-simple-ssl")?></a>
</div>
<div class="plugin-status">
<?php echo RSSSL()->really_simple_ssl->get_status_link($plugins['WPSI'])?>
</div>
</div>
<div class="rsssl-upsell rsssl-cmplz">
<div class="plugin-color">
<div class="cmplz-blue rsssl-bullet"></div>
</div>
<div class="plugin-text">
<a href="https://wordpress.org/plugins/complianz-gdpr/" target="_blank">Complianz GDPR/CCPA Cookie Consent</a>
</div>
<div class="plugin-status">
<?php echo RSSSL()->really_simple_ssl->get_status_link($plugins['COMPLIANZ'])?>
</div>
</div>
<div class="rsssl-upsell rsssl-zip">
<div class="plugin-color">
<div class="zip-pink rsssl-bullet"></div>
</div>
<div class="plugin-text">
<a href="https://wordpress.org/plugins/zip-recipes/" target="_blank">Zip Recipes - <?php _e("Beautiful recipes optimized for Google ", "really-simple-ssl")?></a>
</div>
<div class="plugin-status">
<?php echo RSSSL()->really_simple_ssl->get_status_link($plugins['ZIP'])?>
</div>
</div>
</div>

View File

@@ -0,0 +1,5 @@
<div class="rsssl-secondary-header-item">
<a href="https://really-simple-plugins.com/">
<img src="<?php echo rsssl_url?>assets/really-simple-plugins.png" alt="Really Simple Plugins Logo">
</a>
</div>

View File

@@ -0,0 +1,56 @@
<?php defined('ABSPATH') or die("you do not have access to this page!"); ?>
<?php
if (RSSSL()->really_simple_ssl->ssl_enabled) {
$ssl_enabled = "rsssl-dot-success";
$ssl_text = __("SSL Activated", "really-simple-ssl");
} else {
$ssl_enabled = "rsssl-dot-error";
$ssl_text = __("SSL Not activated", "really-simple-ssl");
}
if (RSSSL()->really_simple_ssl->has_301_redirect()) {
$redirect_301 = "rsssl-dot-success";
} else {
$redirect_301 = "rsssl-dot-error";
}
$button_text = __("Go PRO!", "really-simple-ssl");
$button_link = RSSSL()->really_simple_ssl->pro_url;
$go_pro = "<a href='$button_link' target='_blank' class='button button-default upsell'>$button_text</a>";
$activate_btn = "";
if (!RSSSL()->really_simple_ssl->ssl_enabled) {
if ( RSSSL()->really_simple_ssl->site_has_ssl || ( defined( 'RSSSL_FORCE_ACTIVATE' ) && RSSSL_FORCE_ACTIVATE ) ) {
$button_text = __( "Activate SSL", "really-simple-ssl" );
$activate_btn = '<form action="" method="post" ><input type="submit" class="button button-primary" value="' . $button_text . '" id="rsssl_do_activate_ssl" name="rsssl_do_activate_ssl"></form>';
}
}
$items = array(
1 => array(
'class' => 'footer-right',
'dot_class' => $ssl_enabled,
'text' => $ssl_text,
),
2 => array(
'class' => 'footer-right',
'dot_class' => $redirect_301,
'text' => __("301 Redirect", "really-simple-ssl"),
),
);
?>
<div id="rsssl-progress-footer">
<span class="rsssl-footer-item footer-left">
<?php echo apply_filters("rsssl_progress_footer_left", '').$activate_btn.apply_filters("rsssl_progress_footer_right", $go_pro )?>
</span>
<?php
foreach ($items as $item) { ?>
<span class="rsssl-footer-item <?php echo $item['class']?>">
<span class="rsssl-grid-footer dot <?php echo $item['dot_class']?>"></span>
<?php echo $item['text']?>
</span>
<?php } ?>
</div>

View File

@@ -0,0 +1,20 @@
<?php defined('ABSPATH') or die("you do not have access to this page!"); ?>
<div class="rsssl-secondary-header-item">
<?php $all_task_count = RSSSL()->really_simple_ssl->get_all_task_count(); ?>
<div class="rsssl-tasks-container rsssl-all-tasks">
<input type="checkbox" class="rsssl-task-toggle" id="rsssl-all-tasks" name="rsssl_all_tasks" <?php if (get_option('rsssl_all_tasks') ) echo "checked"?>>
<label class="rsssl-tasks <?php if (get_option('rsssl_all_tasks') ) echo "active"?>" for="rsssl-all-tasks"><?php _e( "All tasks", "really-simple-ssl" ); ?><?php echo " " . "(" . $all_task_count . ")"; ?></label>
</div>
<div class="rsssl-spacer"></div>
<?php
$open_task_count = RSSSL()->really_simple_ssl->get_remaining_tasks_count();
if ($open_task_count ==! 0) {?>
<div class="rsssl-tasks-container rsssl-remaining-tasks">
<input type="checkbox" class="rsssl-task-toggle" id="rsssl-remaining-tasks" name="rsssl_remaining_tasks" <?php if (get_option('rsssl_remaining_tasks') ) echo "checked"?>>
<label for="rsssl-remaining-tasks" id="rsssl-remaining-tasks-label" class="<?php if (get_option('rsssl_remaining_tasks') ) echo "checked"?>"><?php _e( "Remaining tasks", "really-simple-ssl" ); ?><?php echo " " . '(<span class="rsssl_remaining_task_count">' . $open_task_count . "</span>)"; ?></label>
</div>
<?php
}
?>
</div>

View File

@@ -0,0 +1,60 @@
<?php defined('ABSPATH') or die("you do not have access to this page!"); ?>
<?php
$percentage_completed = RSSSL()->really_simple_ssl->get_score_percentage();
$lowest_possible_task_count = RSSSL()->really_simple_ssl->get_lowest_possible_task_count();
?>
<div class="rsssl-progress-block">
<div class="rsssl-progress-bar-text">
<div class="progress-bar-container">
<div class="progress">
<div class="bar" style="width:<?php echo $percentage_completed?>%"></div>
</div>
</div>
<div class="progress-text">
<span class="rsssl-progress-percentage">
<?php echo $percentage_completed?>%
</span>
<span class="rsssl-progress-text">
<?php
$open_task_count = RSSSL()->really_simple_ssl->get_remaining_tasks_count();
$open_tasks_html = '<div class="rsssl-progress-count">'.$open_task_count.'</div>';
if (RSSSL()->really_simple_ssl->ssl_enabled) {
$doing_well = __( "SSL is activated on your site.", 'really-simple-ssl' ) . ' ' . sprintf( _n( "You still have %s task open.", "You still have %s tasks open.", $open_task_count, 'really-simple-ssl' ), $open_tasks_html );
if ( $open_task_count === 0 ) {
_e("SSL configuration finished!", "really-simple-ssl");
} elseif ( !defined('rsssl_pro_version') ){
if ( $open_task_count >= $lowest_possible_task_count) {
echo $doing_well;
} else {
printf(__("Basic SSL configuration finished! Improve your score with %sReally Simple SSL Pro%s.", "really-simple-ssl"), '<a target="_blank" href="' . RSSSL()->really_simple_ssl->pro_url . '">', '</a>');
}
} else {
echo $doing_well;
}
} else {
if ( !is_network_admin() ) _e("SSL is not yet enabled on this site." , "really-simple-ssl");
}
do_action('rsssl_progress_feedback');
?>
</span>
</div>
</div>
<div class="rsssl-scroll-container rsssl-task-list">
<table class="rsssl-progress-table">
<thead></thead>
<tbody>
<?php
$notices = RSSSL()->really_simple_ssl->get_notices_list(array( 'status' => 'all' ));
foreach ($notices as $id => $notice) {
RSSSL()->really_simple_ssl->notice_row($id, $notice);
}
?>
</tbody>
</table>
</div>
</div>

View File

@@ -0,0 +1,3 @@
<?php defined('ABSPATH') or die("you do not have access to this page!"); ?>
<input class="button button-rsssl-secondary rsssl-button-save" name="Submit" type="submit" value="<?php echo __("Save", "really-simple-ssl"); ?>"/>

View File

@@ -0,0 +1,7 @@
<?php defined('ABSPATH') or die("you do not have access to this page!"); ?>
<div class="rsssl-settings">
<?php
settings_fields('rlrsssl_options');
do_settings_sections('rlrsssl');
?>
</div>

View File

@@ -0,0 +1,8 @@
<?php defined('ABSPATH') or die("you do not have access to this page!"); ?>
<a href="<?php echo trailingslashit(rsssl_url).'system-status.php' ?>" class="button button-rsssl-secondary rsssl-wide-button"><?php _e("Download system status", "really-simple-ssl")?></a>
<div id="rsssl-feedback"></div>
<div class="rsssl-system-status-footer-info">
<span class="system-status-info"><?php echo "<b>" . __("Server type:", "really-simple-ssl") . "</b> " . RSSSL()->rsssl_server->get_server(); ?></span>
<span class="system-status-info"><?php echo "<b>" . __("SSL type:", "really-simple-ssl") . "</b> " . $this->ssl_type; ?></span>
</div>

View File

@@ -0,0 +1,45 @@
<?php defined('ABSPATH') or die("you do not have access to this page!"); ?>
<div id="rsssl-support-forums-container">
<div class="rsssl-support-forums">
<a href="https://really-simple-ssl.com/forums/forum/general-issues/" target="_blank">
<div class="rsssl-bullet"></div>
<div class="rsssl-forums-content"><?php _e("General Issues", "really-simple-ssl")?></div>
</a>
</div>
<div class="rsssl-support-forums">
<a href="https://really-simple-ssl.com/forums/forum/redirect-loops/" target="_blank">
<div class="rsssl-bullet"></div>
<div class="rsssl-forums-content"><?php _e("Redirect loops", "really-simple-ssl")?></div>
</a>
</div>
<div class="rsssl-support-forums">
<a href="https://really-simple-ssl.com/forums/forum/multisite/" target="_blank">
<div class="rsssl-bullet"></div>
<div class="rsssl-forums-content"><?php _e("Multisite", "really-simple-ssl")?></div>
</a>
</div>
<div class="rsssl-support-forums">
<a href="https://really-simple-ssl.com/forums/forum/really-simple-ssl-pro/" target="_blank">
<div class="rsssl-bullet"></div>
<div class="rsssl-forums-content"><?php _e("Really Simple SSL Pro", "really-simple-ssl")?></div>
</a>
</div>
<div class="rsssl-support-forums">
<a href="https://really-simple-ssl.com/forums/forum/mixed-content-site/" target="_blank">
<div class="rsssl-bullet"></div>
<div class="rsssl-forums-content"><?php _e("Mixed Content", "really-simple-ssl")?></div>
</a>
</div>
<div class="rsssl-support-forums">
<a href="https://really-simple-ssl.com/knowledge-base/how-to-fix-mixed-content-in-elementor-after-moving-to-ssl/" target="_blank">
<div class="rsssl-bullet"></div>
<div class="rsssl-forums-content"><?php _e("Elementor", "really-simple-ssl")?></div>
</a>
</div>
</div>

View File

@@ -0,0 +1,3 @@
<?php defined('ABSPATH') or die("you do not have access to this page!"); ?>
<a href="https://really-simple-ssl.com/knowledge-base-overview/" target="_blank" class="button button-rsssl-secondary"><?php _e("Documentation", "really-simple-ssl"); ?></a>

View File

@@ -0,0 +1,53 @@
<?php defined('ABSPATH') or die("you do not have access to this page!"); ?>
<div class="rsssl-tips-tricks">
<div class="tips-tricks-content">
<div class="tips-tricks-top">
<div class="rsssl-tips-tricks-element">
<div class="rsssl-tips-tricks-content">
<?php _e("Is your site still not secure? Do the extensive site scan", "really-simple-ssl")?>
</div>
<div class="rsssl-tips-tricks-read-more">
<a href="https://really-simple-ssl.com/why-is-my-site-still-not-secure/" target="_blank"><?php _e("Read more", "really-simple-ssl");?></a>
</div>
</div>
<div class="rsssl-tips-tricks-element">
<div class="rsssl-tips-tricks-content">
<?php _e("Improve security: Enable HTTP Strict Transport Security (HSTS)", "really-simple-ssl")?>
</div>
<div class="rsssl-tips-tricks-read-more">
<a href="https://really-simple-ssl.com/hsts-http-strict-transport-security-good/" target="_blank"><?php _e("Read more", "really-simple-ssl");?></a>
</div>
</div>
<div class="rsssl-tips-tricks-element">
<div class="rsssl-tips-tricks-content">
<?php _e("Improve security: Add security headers", "really-simple-ssl");?>
</div>
<div class="rsssl-tips-tricks-read-more">
<a href="https://really-simple-ssl.com/everything-you-need-to-know-about-security-headers/" target="_blank"><?php _e("Read more", "really-simple-ssl");?></a>
</div>
</div>
<div class="rsssl-tips-tricks-element">
<div class="rsssl-tips-tricks-content">
<?php _e("Improve security: Secure cookies", "really-simple-ssl");?>
</div>
<div class="rsssl-tips-tricks-read-more">
<a href="https://really-simple-ssl.com/secure-cookies-with-httponly-secure-and-use_only_cookies/" target="_blank"><?php _e("Read more", "really-simple-ssl");?></a>
</div>
</div>
<div class="rsssl-tips-tricks-element">
<div class="rsssl-tips-tricks-content">
<?php _e("Information about landing page redirects", "really-simple-ssl");?>
</div>
<div class="rsssl-tips-tricks-read-more">
<a href="https://really-simple-ssl.com/knowledge-base/avoid-landing-page-redirects/" target="_blank"><?php _e("Read more", "really-simple-ssl");?></a>
</div>
</div>
</div>
<div class="tips-tricks-bottom">
<?php printf(
__('Any questions? See the %sdocumentation%s or the %sWordPress Forum%s.', 'really-simple-ssl'),
'<a href="https://really-simple-ssl.com/knowledge-base/" target="_blank">','</a>', '<a href="https://wordpress.org/support/plugin/really-simple-ssl/" target="_blank">', '</a>' );
?>
</div>
</div>
</div>