Ticket #43865: 43865.4.diff
File 43865.4.diff, 3.2 KB (added by , 7 years ago) |
---|
-
src/wp-admin/css/common.css
1286 1286 float: none; 1287 1287 } 1288 1288 1289 /* Privacy Policy settings for large screen */ 1290 .tools-privacy-description { 1291 max-width: 70%; 1292 } 1293 1289 1294 @media only screen and (max-width: 1120px) { 1295 .tools-privacy-description { 1296 max-width: 80%; 1297 } 1298 1290 1299 .filter-drawer { 1291 1300 border-bottom: 1px solid #eee; 1292 1301 } … … 1303 1312 } 1304 1313 1305 1314 @media only screen and (max-width: 1000px) { 1315 .tools-privacy-description { 1316 max-width: 100%; 1317 } 1318 1306 1319 .filter-items { 1307 1320 float: none; 1308 1321 } -
src/wp-admin/privacy.php
126 126 <h1><?php _e( 'Privacy Tools' ); ?></h1> 127 127 <?php settings_errors(); ?> 128 128 <h2><?php _e( 'Privacy Policy page' ); ?></h2> 129 <p >129 <p class="tools-privacy-description"> 130 130 <?php _e( 'The first step towards privacy laws compliance is to have a comprehensive Privacy Policy.' ); ?> 131 131 <?php _e( 'If you already have a Privacy Policy page, please select it below. If not, create one.' ); ?> 132 132 <?php _e( 'The new policy will include the suggested privacy text.' ); ?> 133 133 </p> 134 <p >134 <p class="tools-privacy-description"> 135 135 <?php _e( 'After your Privacy Policy page is set, we suggest that you edit it.' ); ?> 136 136 <?php _e( 'On the edit page screen you will find additional privacy information added by your plugins.' ); ?> 137 137 <?php _e( 'We would also suggest reviewing your privacy policy from time to time, after a WordPress or a plugin update.' ); ?> … … 162 162 <?php 163 163 } 164 164 ?> 165 <hr>166 165 <table class="form-table tools-privacy-policy-page"> 167 166 <tr> 168 <th scope="row"> 169 <?php 170 if ( $privacy_policy_page_exists ) { 171 _e( 'Change your Privacy Policy page' ); 172 } else { 173 _e( 'Select a Privacy Policy page' ); 174 } 175 ?> 176 </th> 177 <td> 178 <form method="post" action=""> 167 <form method="post" action=""> 168 <th scope="row"> 179 169 <label for="page_for_privacy_policy"> 180 <?php _e( ' Either select an existing page:' ); ?>170 <?php _e( 'Select an existing page:' ); ?> 181 171 </label> 172 </th> 173 <td> 182 174 <input type="hidden" name="action" value="set-privacy-page" /> 183 175 <?php 184 176 wp_dropdown_pages( … … 190 182 'post_status' => array( 'draft', 'publish' ), 191 183 ) 192 184 ); 193 194 185 wp_nonce_field( 'set-privacy-page' ); 195 196 186 submit_button( __( 'Use This Page' ), 'primary', 'submit', false, array( 'id' => 'set-page' ) ); 197 187 ?> 198 </form> 199 200 <form method="post" action=""> 188 </td> 189 </form> 190 </tr> 191 <tr> 192 <form method="post" action=""> 193 <th scope="row"> 201 194 <input type="hidden" name="action" value="create-privacy-page" /> 202 195 <span> 203 <?php _e( ' Or create a new page: ' ); ?>196 <?php _e( 'Create a new page: ' ); ?> 204 197 </span> 198 </th> 199 <td> 205 200 <?php 206 201 wp_nonce_field( 'create-privacy-page' ); 207 208 202 submit_button( __( 'Create New Page' ), 'primary', 'submit', false, array( 'id' => 'create-page' ) ); 209 203 ?> 210 </ form>211 </ td>204 </td> 205 </form> 212 206 </tr> 213 207 </table> 214 208 </div>