first commit

This commit is contained in:
2024-11-10 21:08:49 +01:00
commit 0d932ce5ee
14455 changed files with 2567501 additions and 0 deletions

View File

@@ -0,0 +1,61 @@
<div class="wrap">
<div id="nsc_bar_upper_area">
<h1 id="nsc_bar_admin_title"><?php echo $objSettings->settings_page_configs->page_title ?></h1>
<p><?php echo $objSettings->settings_page_configs->description ?></p>
</div>
<h2 class="nav-tab-wrapper">
<?php
//tabs are created
foreach ($objSettings->setting_page_fields->tabs as $tab) {
$activeTab = "";
if ($tab->active === true) {
$activeTab = 'nav-tab-active';
}
echo '<a href="?page=' . $objSettings->plugin_slug . '&tab=' . $tab->tab_slug . '&' . $objSettings->additional_tab_link_parameter . '" class="nav-tab ' . $activeTab . '" >' . $tab->tabname . '</a>';
}
$active_tab_index = $objSettings->setting_page_fields->active_tab_index;
?>
</h2>
<span id="nsc_settings_content">
<table class="form-table nsc_bar_language">
<tbody>
<tr id="tr_content_language_setter">
<th scope="row">Language</th>
<td>
<fieldset>
<label><?php echo $form_fields->nsc_bar_get_language_dropdown() ?></label>
<p class="description"><?php echo $objSettings->addon_lang_description ?></p>
</fieldset>
</td>
</tr>
</tbody>
</table>
<?php echo $objSettings->setting_page_fields->tabs[$active_tab_index]->tab_description ?>
<form action="" method="post">
<?php
settings_fields($objSettings->plugin_slug . $objSettings->setting_page_fields->tabs[$active_tab_index]->tab_slug);
?>
<?php submit_button();?>
<table class="form-table">
<?php foreach ($objSettings->setting_page_fields->tabs[$active_tab_index]->tabfields as $field_configs) {?>
<tr id="tr_<?php echo $field_configs->field_slug ?>">
<th scope="row">
<?php echo $field_configs->name ?>
</th>
<td>
<fieldset>
<?php echo $form_fields->nsc_bar_return_form_field($field_configs, $objSettings->plugin_prefix); ?>
<?php if (!empty($field_configs->custom_component)) {echo $field_configs->custom_component;}?>
<p class="description"><?php echo $field_configs->helpertext ?></p>
</fieldset>
</td>
</tr>
<?php }?>
</table>
</form>
</span>
<?php require 'sidebar.php';?>

View File

@@ -0,0 +1,93 @@
<div id="nsc_bar_sidebar">
<?php if (!empty($objSettings->setting_page_fields->tabs[$active_tab_index]->tab_tipps)) {?>
<div class="nsc_bar_info_box">
<h3>Tipps</h3>
<div class="nsc_bar_inside_text">
<?php echo $objSettings->setting_page_fields->tabs[$active_tab_index]->tab_tipps ?>
</div>
</div>
<?php }?>
<div class="nsc_bar_info_box">
<h3>Share some love</h3>
<div class="nsc_bar_inside_text">
<div>
🤟
<a
target="_blank"
href="https://wordpress.org/support/plugin/beautiful-and-responsive-cookie-consent/reviews/#new-post"
>Rate this plugin
</a>
</div>
<div>
You like this plugin? Really happy to hear. Please tell others and start by leaving nice rating <a
target="_blank"
href="https://wordpress.org/support/plugin/beautiful-and-responsive-cookie-consent/reviews/#new-post"
>here.
</a> Thanks a lot.
</div>
<br />
<div>
🤨
<a
target="_blank"
href="https://wordpress.org/support/plugin/beautiful-and-responsive-cookie-consent/"
>Don't like this plugin?</a
>
</div>
<div>
Or you have discovered a bug? Please tell us. It really helps us improving this plugin. Use the
link above or
<a target="_blank" href="https://beautiful-cookie-banner.com/contact-form/"
>this formular.</a
>
</div>
<br />
<div>
🖖
<a target="_blank" href="https://beautiful-cookie-banner.com/">More Features?</a>
</div>
<div>
Or you are able to support the development with money? Have a look at the
<a target="_blank" href="https://beautiful-cookie-banner.com/">premium add-on.</a>
</div>
</div>
</div>
<div class="nsc_bar_info_box">
<h3>Getting Help</h3>
<div class="nsc_bar_inside_text">
<div>
<a target="_blank" href="https://beautiful-cookie-banner.com/documentation/"
>Official Documentation</a
>
</div>
<div>Here you can find some documentation for this plugin.</div>
<br />
<div>
<a
target="_blank"
href="https://wordpress.org/support/plugin/beautiful-and-responsive-cookie-consent/"
>Wordpress Support Forum</a
>
</div>
<div>
If the documentation is not helping please have a look at the Forum, maybe your question is
already answered.
</div>
</div>
</div>
<div class="nsc_bar_info_box">
<h3>Description & Credits</h3>
<div class="nsc_bar_inside_text">
This plugin uses the very great open source cookie consent banner solution from osano:
<a href="https://github.com/osano/cookieconsent/tree/master" target="_blank">github link</a>
BUT only as basis. In this wordpress plugin version there were some adjustements.<br />
If you have feature requests or problems let me know.
<p>
You want to have a link in your data privacy page or anywhere else on your page to show
banner again? Use this shortcode:
<strong>[cc_show_cookie_banner_nsc_bar]</strong>
</p>
</div>
</div>
</div>

View File

@@ -0,0 +1,10 @@
<div class="nsc_bar_notice_block_services">
<p>
<strong>Service Blocking</strong> makes it easy to block third-party services that install
cookies, but that comfort comes with a price: it may not be able to block all services and it
might remove other assets by accident which were not intended to be removed. Please make sure,
that your settings are properly tested on a test system before applying them to production.
There is no warrenty that it will work in all situations. In some edge cases it might even break
your site.
</p>
</div>

View File

@@ -0,0 +1,15 @@
<p>
More information how compliance types work and how to use the cookies set by this plugin see in
<a
href="https://beautiful-cookie-banner.com/documentation/cookie-banner-compliance-types-explained/"
target="_blank"
>our documentation</a
><br /><br />
<strong>Notice:</strong>&nbsp; If you want that the banner is shown to all users again, even if
they already saved their settings, you must
<a
href="/wp-admin/options-general.php?page=nsc_bar-cookie-consent&tab=cookie_settings&nsc_bara_language_selector=xx"
target="_blank"
>rename the cookie.</a
>
</p>

View File

@@ -0,0 +1,4 @@
<p>
You can export most of your bannersetting with this json: copy it and add it to another wordpress
installation. Save it. Thats it.
</p>

View File

@@ -0,0 +1,5 @@
<p>
You do not like the "cookie policy" tab? Just deactivate it. You can use this shortcode
<br /><br /><strong>[cc_show_cookie_banner_nsc_bar]</strong><br /><br />
anywhere in your wordpress installation instead to display a link to the banner settings.
</p>

View File

@@ -0,0 +1,20 @@
<p>
This plugin uses the very great open source cookie consent banner solution from osano:
<a href="https://github.com/osano/cookieconsent/tree/master" target="_blank">github link</a>
BUT only as basis. In this wordpress plugin version there were some adjustements.<br />
If you have feature requests or problems let me know.
</p>
<p>
You want to have a link in your data privacy page to show banner again? Use this shortcode:
[cc_show_cookie_banner_nsc_bar]
</p>
<p>
If you are awesome, like this plugin and want support its further development leave a rating:
<a
href="https://wordpress.org/support/plugin/beautiful-and-responsive-cookie-consent/reviews/#new-post"
target="_blank"
>rate this plugin.</a
>
or even buy the premium add-on:
<a href=" https://beautiful-cookie-banner.com" target="_blank">beautiful-cookie-banner.com</a>
</p>