PluginProbe
Catch Web Tools / 0.1
Catch Web Tools v0.1
trunk 0.1 0.2 0.3 0.4 1.0 1.1 1.2 1.3 1.4 1.4.1 1.5 1.5.1 1.5.2 1.6 1.7 1.8 1.8.1 1.9 1.9.1 1.9.2 1.9.3 1.9.4 1.9.5 1.9.6 All 58 releases
catch-web-tools / admin / modules / custom-css.php

custom-css.php in Catch Web Tools 0.1, at admin/modules/custom-css.php

42 lines 2.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * @package Admin
4 * @sub-package Admin Custom CSS Display
5 */
6 ?>
7 <div id="catchwebtools" class="wrap">
8 <?php include ( 'header.php' ); ?>
9 <?php include ( 'navigation.php' ); ?>
10 <div id="customcss">
11 <form method="post" action="options.php">
12 <?php settings_fields( 'custom-css-settings-group' ); ?>
13 <?php $settings = get_catchwebtools_options( 'catchwebtools_custom_css' ); ?>
14 <div class="option-container">
15 <h3 class="option-toggle option-active"><a href="#"><?php _e( 'Custom Css Settings', 'catchwebtools' ); ?></a></h3>
16 <div class="option-content inside open">
17 <table class="form-table">
18 <tbody>
19 <tr>
20 <th scope="row"><?php _e( 'Enter Custom Css', 'catchwebtools' ); ?></th>
21 <td>
22 <?php
23 $text = ( ! empty ( $settings ) ) ? esc_html( $settings ): '';
24 echo '<textarea cols="80" rows="7" name="catchwebtools_custom_css">' .$text. '</textarea>';
25 echo '<p class="description">'. __( 'You can just add your Custom CSS and save, it will show up in the frontend head section. Leave it blank if it is not needed.', 'catchwebtools' ) . '<p class="description">';
26 ?>
27 </td>
28 </tr>
29 <tr>
30 <th scope="row"><?php _e( 'CSS Tutorial from W3Schools.', 'catchwebtools' ); ?></th>
31 <td>
32 <a class="button" href="<?php echo esc_url( __( 'http://www.w3schools.com/css/default.asp', 'catchwebtools' ) ); ?>" title="<?php esc_attr_e( 'CSS Tutorial', 'catchwebtools' ); ?>" target="_blank"><?php _e( 'Click Here to Read', 'catchwebtools' );?></a>
33 </td>
34 </tr>
35 </tbody>
36 </table>
37 <?php submit_button('Save Changes'); ?>
38 </div>
39 </div>
40 </form>
41 </div><!-- #customcss -->
42 </div><!-- .wrap -->