Changeset 3052700
- Timestamp:
- 03/17/2024 02:47:52 PM (2 years ago)
- File:
-
- 1 edited
-
smart-app-banner/trunk/wsl-smart-app-banner.php (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
smart-app-banner/trunk/wsl-smart-app-banner.php
r3052698 r3052700 223 223 if ( isset( $error_message ) ) { 224 224 ?> 225 <div class="error"><p><strong><?php _e( $error_message, 'smart-app-banner' ); ?></strong></p></div>225 <div class="error"><p><strong><?php esc_html_e( $error_message, 'smart-app-banner' ); ?></strong></p></div> 226 226 <?php 227 227 } elseif ( isset( $app_id ) && '' !== $app_id ) { … … 236 236 // Put a settings updated message on the screen. 237 237 ?> 238 <div class="updated"><p><strong><?php _e( 'app added.', 'smart-app-banner' ); ?></strong></p></div>238 <div class="updated"><p><strong><?php esc_html_e( 'app added.', 'smart-app-banner' ); ?></strong></p></div> 239 239 <?php 240 240 } … … 252 252 if ( isset( $error_message ) ) { 253 253 ?> 254 <div class="error"><p><strong><?php _e( $error_message, 'smart-app-banner' ); ?></strong></p></div>254 <div class="error"><p><strong><?php esc_html_e( $error_message, 'smart-app-banner' ); ?></strong></p></div> 255 255 <?php 256 256 } else { … … 267 267 // Put an settings updated message on the screen. 268 268 ?> 269 <div class="updated"><p><strong><?php _e( 'settings saved.', 'smart-app-banner' ); ?></strong></p></div>269 <div class="updated"><p><strong><?php esc_html_e( 'settings saved.', 'smart-app-banner' ); ?></strong></p></div> 270 270 <?php 271 271 } … … 281 281 282 282 ?> 283 <div class="updated"><p><strong><?php _e( 'deleted ', 'smart-app-banner' ); ?></strong></p></div>283 <div class="updated"><p><strong><?php esc_html_e( 'deleted ', 'smart-app-banner' ); ?></strong></p></div> 284 284 <?php 285 285 } … … 302 302 <?php wp_nonce_field( 'wsl-update', 'wsl-update' ); ?> 303 303 304 <h3><?php _e( 'Homepage', 'smart-app-banner' ); ?></h3>305 <p><?php _e( 'These values are used on your home page. (Leave blank if no banner is required.)', 'smart-app-banner' ); ?></p>304 <h3><?php esc_html_e( 'Homepage', 'smart-app-banner' ); ?></h3> 305 <p><?php esc_html_e( 'These values are used on your home page. (Leave blank if no banner is required.)', 'smart-app-banner' ); ?></p> 306 306 307 307 <table> 308 308 <tr> 309 <td><?php _e( 'App ID:', 'smart-app-banner' ); ?></td>309 <td><?php esc_html_e( 'App ID:', 'smart-app-banner' ); ?></td> 310 310 <td><input type="text" name="<?php echo $appid_field_name; ?>" value="<?php echo $appid_val; ?>" /></td> 311 311 </tr> 312 312 313 313 <tr> 314 <td><?php _e( 'App ID (iPad):', 'smart-app-banner' ); ?></td>315 <td><input type="text" name="<?php echo $appid_ipad_field_name; ?>" value="<?php echo $appid_ipad_val; ?>" /> <?php _e( '(optional)', 'smart-app-banner' ); ?></td>316 </tr> 317 318 <tr> 319 <td><?php _e( 'Affiliate data:', 'smart-app-banner' ); ?></td>314 <td><?php esc_html_e( 'App ID (iPad):', 'smart-app-banner' ); ?></td> 315 <td><input type="text" name="<?php echo $appid_ipad_field_name; ?>" value="<?php echo $appid_ipad_val; ?>" /> <?php esc_html_e( '(optional)', 'smart-app-banner' ); ?></td> 316 </tr> 317 318 <tr> 319 <td><?php esc_html_e( 'Affiliate data:', 'smart-app-banner' ); ?></td> 320 320 <td><input type="text" name="<?php echo $affiliate_field_name; ?>" value="<?php echo $affiliate_val; ?>" /></td> 321 321 </tr> 322 322 323 323 <tr> 324 <td><?php _e( 'App argument:', 'smart-app-banner' ); ?></td>324 <td><?php esc_html_e( 'App argument:', 'smart-app-banner' ); ?></td> 325 325 <td><input type="text" name="<?php echo $argument_field_name; ?>" value="<?php echo $argument_val; ?>" /></td> 326 326 </tr> 327 327 328 328 <tr> 329 <td><?php _e( 'Show on all pages:', 'smart-app-banner' ); ?></td>329 <td><?php esc_html_e( 'Show on all pages:', 'smart-app-banner' ); ?></td> 330 330 <td><input type="checkbox" name="<?php echo $global_banner_field_name; ?>" value="Yes" 331 331 <?php … … 343 343 </p> 344 344 345 <h3><?php _e( 'Apps', 'smart-app-banner' ); ?></h3>345 <h3><?php esc_html_e( 'Apps', 'smart-app-banner' ); ?></h3> 346 346 347 347 <table> 348 348 <tr> 349 349 <td> </td> 350 <td><h4><?php _e( 'App name', 'smart-app-banner' ); ?></h4></td>351 <td><h4><?php _e( 'App ID', 'smart-app-banner' ); ?></h4></td>352 <td><h4><?php _e( 'App ID (iPad):', 'smart-app-banner' ); ?></h4></td>353 <td><h4><?php _e( 'Affiliate data:', 'smart-app-banner' ); ?></h4></td>354 <td><h4><?php _e( 'App argument:', 'smart-app-banner' ); ?></h4></td>350 <td><h4><?php esc_html_e( 'App name', 'smart-app-banner' ); ?></h4></td> 351 <td><h4><?php esc_html_e( 'App ID', 'smart-app-banner' ); ?></h4></td> 352 <td><h4><?php esc_html_e( 'App ID (iPad):', 'smart-app-banner' ); ?></h4></td> 353 <td><h4><?php esc_html_e( 'Affiliate data:', 'smart-app-banner' ); ?></h4></td> 354 <td><h4><?php esc_html_e( 'App argument:', 'smart-app-banner' ); ?></h4></td> 355 355 <td> </td> 356 356 </tr> … … 481 481 </script> 482 482 <tr> 483 <td><?php _e( 'Apps:', 'smart-app-banner' ); ?></td>483 <td><?php esc_html_e( 'Apps:', 'smart-app-banner' ); ?></td> 484 484 <td><select id="wsl-app-selection"><option></option> 485 485 <?php … … 494 494 ?> 495 495 <tr> 496 <td><?php _e( 'App ID:', 'smart-app-banner' ); ?></td>496 <td><?php esc_html_e( 'App ID:', 'smart-app-banner' ); ?></td> 497 497 <td><input id="app_id" type="text" name="wsl_smart_app_banner_app_id" value="<?php echo $app_id_list[0]; ?>" /></td> 498 498 </tr> 499 499 <tr> 500 <td><?php _e( 'App ID (iPad):', 'smart-app-banner' ); ?></td>501 <td><input id="app_id_ipad" type="text" name="wsl_smart_app_banner_app_id_ipad" value="<?php echo $app_id_ipad_list[0]; ?>" /> <?php _e( '(optional)', 'smart-app-banner' ); ?></td>500 <td><?php esc_html_e( 'App ID (iPad):', 'smart-app-banner' ); ?></td> 501 <td><input id="app_id_ipad" type="text" name="wsl_smart_app_banner_app_id_ipad" value="<?php echo $app_id_ipad_list[0]; ?>" /> <?php esc_html_e( '(optional)', 'smart-app-banner' ); ?></td> 502 502 </tr> 503 503 <tr> 504 <td><?php _e( 'Affiliate data:', 'smart-app-banner' ); ?></td>504 <td><?php esc_html_e( 'Affiliate data:', 'smart-app-banner' ); ?></td> 505 505 <td><input id="app_affiliate" type="text" name="wsl_smart_app_banner_affiliate_data" value="<?php echo $affiliate_data[0]; ?>" /></td> 506 506 </tr> 507 507 <tr> 508 <td><?php _e( 'App argument:', 'smart-app-banner' ); ?></td>508 <td><?php esc_html_e( 'App argument:', 'smart-app-banner' ); ?></td> 509 509 <td><input id="app_argument" type="text" name="wsl_smart_app_banner_app_argument" value="<?php echo $app_argument[0]; ?>" /></td> 510 510 </tr>
Note: See TracChangeset
for help on using the changeset viewer.