Changeset 3219220
- Timestamp:
- 01/08/2025 06:00:51 PM (14 months ago)
- Location:
- browser-address-bar-color
- Files:
-
- 7 edited
-
tags/3.3/babcScript.js (modified) (1 diff)
-
tags/3.3/babcSettingsPage.php (modified) (6 diffs)
-
tags/3.3/browserAddressBarColor.php (modified) (1 diff)
-
tags/3.3/readme.txt (modified) (1 diff)
-
trunk/babcScript.js (modified) (1 diff)
-
trunk/babcSettingsPage.php (modified) (6 diffs)
-
trunk/browserAddressBarColor.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
browser-address-bar-color/tags/3.3/babcScript.js
r2671587 r3219220 32 32 babc_check_inputs_list[i].style.display = "inline-block"; 33 33 babc_check_cover_input[i].style.display = "none"; 34 babc_txt_cover_input[i].style.display = "none";34 babc_txt_cover_input[i].style.display = "none"; 35 35 } 36 36 } -
browser-address-bar-color/tags/3.3/babcSettingsPage.php
r2671587 r3219220 5 5 </div> 6 6 7 <form style="" target="_self" method="POST"> 7 <form style="" target="_self" method="POST"> 8 <div style= "margin-inline-start: 5px;"> 9 <?php echo submit_button() ?> 10 </div> 11 8 12 <input type="hidden" name="color-posted"> 9 13 <br> … … 11 15 <div id="babc_pages_div"> 12 16 <div style="background-color: #fff; padding: 4px; direction: ltr; margin-top: 5px; height:40px;"> 13 <div style="float: left; ">17 <div style="float: left; height: 100%;"> 14 18 <input type="checkbox" id="cbox_all" name="check-color-all" style=" "<?php echo isset(get_option('babc_pages_list')["all"]) ? "checked" : null; ?>> 15 <p style="color: #3e4347; display: inline ; font-size:20px; font-weight: 600;"><?php echo esc_html_e( 'All pages and posts ', 'browser-address-bar-color' ) ?> </p>19 <p style="color: #3e4347; display: inline-block; margin: auto; margin-inline-start: 5px; padding-top: 5px; font-size:17px; font-weight: 600;"><?php echo esc_html_e( 'All pages and posts ', 'browser-address-bar-color' ) ?> </p> 16 20 </div> 17 21 <input type="color" id="input_all" name="input-color-all" style="width:50%; padding: 2px 8px; height:35px; float: right; box-shadow: 0px 0px 13px rgba(0, 0, 0, 0.1);" … … 77 81 $babc_option .= '">'; 78 82 79 $babc_option .= '<div style="float: left; ">';83 $babc_option .= '<div style="float: left; height: 100%;">'; 80 84 $babc_option .= ' <input type="checkbox" id="" class="check-inputs" name="check-color-'; 81 85 $babc_option .= $page->ID; … … 84 88 $babc_option .= '>'; 85 89 $babc_option .= '<input type="checkbox" class="check-cover-input" style="display: none;" checked disabled>'; 86 $babc_option .= '<p style="font-size: 20px; color: #0970be; display: inline; font-weight: 600;">'; 90 $babc_option .= '<p style="font-size: 17px; color: #0970be; display: inline-block; font-weight: 600; margin: auto; margin-inline-start: 5px; padding-top: 5px; 91 ">'; 87 92 $babc_option .= $page->post_title; 88 93 $babc_option .= '</p>'; … … 150 155 $babc_option .= '">'; 151 156 152 $babc_option .= '<div style="float: left; ">';157 $babc_option .= '<div style="float: left; height: 100%;">'; 153 158 $babc_option .= ' <input type="checkbox" id="" class="check-inputs" name="check-color-'; 154 159 $babc_option .= $post->ID; … … 157 162 $babc_option .= '>'; 158 163 $babc_option .= '<input type="checkbox" class="check-cover-input" style="display: none;" checked disabled>'; 159 $babc_option .= '<p style="font-size: 20px; color: #0970be; display: inline; font-weight: 600;">'; 164 $babc_option .= '<p style="font-size: 17px; color: #0970be; display: inline-block; font-weight: 600; margin: auto; margin-inline-start: 5px; padding-top: 5px; 165 ">'; 160 166 $babc_option .= $post->post_title; 161 167 $babc_option .= '</p>'; -
browser-address-bar-color/tags/3.3/browserAddressBarColor.php
r2671587 r3219220 57 57 $new_babc_pages_list = array("all" => $babc_all_color); 58 58 update_option('babc_pages_list',$new_babc_pages_list ); 59 } // regex check valid color pattern60 } // set the same color for all pages59 } // regex check valid color pattern 60 } // set the same color for all pages 61 61 elseif (!isset($_POST['check-color-all'])){ 62 62 -
browser-address-bar-color/tags/3.3/readme.txt
r3218375 r3219220 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html 11 11 Requires at least: 4.6 12 Tested up to: 6.7.112 Tested up to: 6.7.1 13 13 Stable tag: 3.3 14 14 -
browser-address-bar-color/trunk/babcScript.js
r2532331 r3219220 32 32 babc_check_inputs_list[i].style.display = "inline-block"; 33 33 babc_check_cover_input[i].style.display = "none"; 34 babc_txt_cover_input[i].style.display = "none";34 babc_txt_cover_input[i].style.display = "none"; 35 35 } 36 36 } -
browser-address-bar-color/trunk/babcSettingsPage.php
r2671263 r3219220 5 5 </div> 6 6 7 <form style="" target="_self" method="POST"> 7 <form style="" target="_self" method="POST"> 8 <div style= "margin-inline-start: 5px;"> 9 <?php echo submit_button() ?> 10 </div> 11 8 12 <input type="hidden" name="color-posted"> 9 13 <br> … … 11 15 <div id="babc_pages_div"> 12 16 <div style="background-color: #fff; padding: 4px; direction: ltr; margin-top: 5px; height:40px;"> 13 <div style="float: left; ">17 <div style="float: left; height: 100%;"> 14 18 <input type="checkbox" id="cbox_all" name="check-color-all" style=" "<?php echo isset(get_option('babc_pages_list')["all"]) ? "checked" : null; ?>> 15 <p style="color: #3e4347; display: inline ; font-size:20px; font-weight: 600;"><?php echo esc_html_e( 'All pages and posts ', 'browser-address-bar-color' ) ?> </p>19 <p style="color: #3e4347; display: inline-block; margin: auto; margin-inline-start: 5px; padding-top: 5px; font-size:17px; font-weight: 600;"><?php echo esc_html_e( 'All pages and posts ', 'browser-address-bar-color' ) ?> </p> 16 20 </div> 17 21 <input type="color" id="input_all" name="input-color-all" style="width:50%; padding: 2px 8px; height:35px; float: right; box-shadow: 0px 0px 13px rgba(0, 0, 0, 0.1);" … … 77 81 $babc_option .= '">'; 78 82 79 $babc_option .= '<div style="float: left; ">';83 $babc_option .= '<div style="float: left; height: 100%;">'; 80 84 $babc_option .= ' <input type="checkbox" id="" class="check-inputs" name="check-color-'; 81 85 $babc_option .= $page->ID; … … 84 88 $babc_option .= '>'; 85 89 $babc_option .= '<input type="checkbox" class="check-cover-input" style="display: none;" checked disabled>'; 86 $babc_option .= '<p style="font-size: 20px; color: #0970be; display: inline; font-weight: 600;">'; 90 $babc_option .= '<p style="font-size: 17px; color: #0970be; display: inline-block; font-weight: 600; margin: auto; margin-inline-start: 5px; padding-top: 5px; 91 ">'; 87 92 $babc_option .= $page->post_title; 88 93 $babc_option .= '</p>'; … … 150 155 $babc_option .= '">'; 151 156 152 $babc_option .= '<div style="float: left; ">';157 $babc_option .= '<div style="float: left; height: 100%;">'; 153 158 $babc_option .= ' <input type="checkbox" id="" class="check-inputs" name="check-color-'; 154 159 $babc_option .= $post->ID; … … 157 162 $babc_option .= '>'; 158 163 $babc_option .= '<input type="checkbox" class="check-cover-input" style="display: none;" checked disabled>'; 159 $babc_option .= '<p style="font-size: 20px; color: #0970be; display: inline; font-weight: 600;">'; 164 $babc_option .= '<p style="font-size: 17px; color: #0970be; display: inline-block; font-weight: 600; margin: auto; margin-inline-start: 5px; padding-top: 5px; 165 ">'; 160 166 $babc_option .= $post->post_title; 161 167 $babc_option .= '</p>'; -
browser-address-bar-color/trunk/browserAddressBarColor.php
r2671587 r3219220 57 57 $new_babc_pages_list = array("all" => $babc_all_color); 58 58 update_option('babc_pages_list',$new_babc_pages_list ); 59 } // regex check valid color pattern60 } // set the same color for all pages59 } // regex check valid color pattern 60 } // set the same color for all pages 61 61 elseif (!isset($_POST['check-color-all'])){ 62 62
Note: See TracChangeset
for help on using the changeset viewer.