Changeset 3026189
- Timestamp:
- 01/24/2024 10:11:52 AM (2 years ago)
- Location:
- law-cookie
- Files:
-
- 10 added
- 5 edited
-
tags/1.0.1 (added)
-
tags/1.0.1/css (added)
-
tags/1.0.1/css/cookie.css (added)
-
tags/1.0.1/js (added)
-
tags/1.0.1/js/cookie.min.js (added)
-
tags/1.0.1/js/script.js (added)
-
tags/1.0.1/law-cookie.php (added)
-
tags/1.0.1/readme.txt (added)
-
tags/1.0.1/screenshot-1.png (added)
-
tags/1.0.1/screenshot-2.png (added)
-
trunk/css/cookie.css (modified) (2 diffs)
-
trunk/law-cookie.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/screenshot-1.png (modified) (previous)
-
trunk/screenshot-2.png (modified) (previous)
Legend:
- Unmodified
- Added
- Removed
-
law-cookie/trunk/css/cookie.css
r3023335 r3026189 65 65 button { 66 66 border-radius: 11px; 67 border: 1px solid #e34761; 67 68 border-color:red; 68 69 color:white; … … 71 72 button:hover { 72 73 border-radius: 8px; 74 border: 1px solid #334761; 73 75 border-color:yellow; 74 76 color:white; -
law-cookie/trunk/law-cookie.php
r3023335 r3026189 4 4 * Description: Displays a cookie notice with less than 1 KB and customizable text. 5 5 * GitHub Plugin URI: sveevs/law-cookie 6 * Version: 1.0. 06 * Version: 1.0.1 7 7 * Author: -sv- 8 * Author URI: https://sv-pt.ru 8 * Author URI: https://sv-pt.ru/?p=1953 9 9 * Text Domain: law-cookie 10 10 * License: GPL v2 or later … … 14 14 if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly 15 15 16 $plugin_version = '1.0.1'; 17 16 18 add_action('wp_footer', 'lawcookie_add'); 17 19 add_action('admin_menu', 'lawcookie_lite_settings_page'); 18 20 add_action('admin_init', 'lawcookie_settings_init'); 21 add_filter('plugin_row_meta','lawcookie_setting_links' , 1, 2 ); 22 23 function lawcookie_setting_links($links, $file) { 24 if (false === strpos($file, basename(__FILE__))) 25 return $links; 26 $links[] = '<a href="' . add_query_arg(array('page' => 'Lawcookie'), admin_url('options-general.php')) . '">' . __('🛠 Settings') . '</a>'; 27 $links[] = '<a href="https://sv-pt.ru/?p=1953" target="_blank">' . __('🔥 Перейти к документации') . '</a>'; 28 //$links[] = '<a target="_blank" href="https://wordpress.org/support/plugin/VideoADSHtml5/reviews/">' . __('Проголосовать ★★★★★','VideoADSHtml5') . '</a>'; 29 return $links; 30 } 19 31 20 32 function lawcookie_add() … … 59 71 function lawcookie_settings_callback() 60 72 { 73 $url = "https://sv-pt.ru/?p=1953"; 74 $link_text = sprintf(wp_kses(__('Для получения подробной документации посетите домашнюю страницу плагина <a target="_blank" href="%s">здесь</a>.', 'videhtml5ads'), array('a' => array('href' => array(), 'target' => array()))), esc_url($url)); 61 75 ?> 62 76 <div class="wrap"> 63 <h1>Law cookie Settings</h1> 77 78 <h1>Law cookie Settings <?php global $plugin_version; printf(esc_html__($plugin_version,'law-cookie'));?></h1> 79 <?php printf(wp_kses_post($link_text,'law-cookie')); ?> 64 80 <form method="post" action="options.php"> 65 81 <?php 66 82 settings_fields('lawcookie_lite_settings_group'); 67 83 do_settings_sections('lawcookie_lite_settings'); 68 submit_button(); 69 70 84 submit_button(); 71 85 ?> 72 86 </form> 73 87 </div> 74 88 <?php 89 90 91 75 92 } 93 94 76 95 77 96 //Загрузка в Settings -
law-cookie/trunk/readme.txt
r3023335 r3026189 5 5 Requires at least: 6.0 6 6 Tested up to: 6.4.2 7 Stable tag: 1.0. 07 Stable tag: 1.0.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html 10 10 11 == Copyright == 12 Law-cookie WordPress Plugin, Copyright 2024 13 11 14 == Description == 12 15 13 A plugin that displays a message that your site uses cookies 16 A plugin that displays a message that your site uses cookies. 14 17 15 18 … … 18 21 * Install plugin 19 22 * Activate it 23 * Configure the output 20 24 21 25 … … 25 29 26 30 == Changelog == 31 = 1.0.1 = 32 *Added a version to the plugin settings. Changing the button and settings 33 27 34 = 1.0.0 = 28 35 * Begin work
Note: See TracChangeset
for help on using the changeset viewer.