Plugin Directory

Changeset 1790038


Ignore:
Timestamp:
12/20/2017 11:38:19 AM (8 years ago)
Author:
weblife
Message:

font awesome fixes

Location:
wp-click-2-chat/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-click-2-chat/trunk/css/wc2c-admin.css

    r1789865 r1790038  
    1111    font-size:15px;
    1212}
     13
     14
     15.wc2c-regular-text {
     16    width: 25em;
     17}
  • wp-click-2-chat/trunk/wp-click-2-chat.php

    r1789913 r1790038  
    118118                            <th><?php _e('Phone Number', 'wc2c') ?></th>
    119119                            <td>
    120                                 <input value="<?php echo esc_attr(wc2c_get_setting('phone_number'))  ?>" name="wc2c_phone_number" id="wc2c_phone_number" type="text" class="regular-text" />
     120                                <input value="<?php echo esc_attr(wc2c_get_setting('phone_number'))  ?>" name="wc2c_phone_number" id="wc2c_phone_number" type="text" class="wc2c-regular-text" />
    121121                                <p class="description"><?php echo _e('The recipient phone number - please use full number <br />(with country and area code)', 'wc2c') ?></p>
    122122                            </td>
     
    125125                            <th><?php _e('Share Text', 'wc2c') ?></th>
    126126                            <td>
    127                                 <textarea name="wc2c_share_text" id="wc2c_share_text" class="regular-text"><?php echo wc2c_get_setting('share_text')  ?></textarea>
     127                                <textarea name="wc2c_share_text" id="wc2c_share_text" class="wc2c-regular-text"><?php echo wc2c_get_setting('share_text')  ?></textarea>
    128128                                <p class="description"><?php echo _e('The text that will be displayed in the WhatsApp message<br /> tip: You can use [post_title] placeholder in this text', 'wc2c') ?></p>
    129129                            </td>
     
    132132                            <th><?php _e('Status', 'wc2c') ?></th>
    133133                            <td>
    134                                 <select  name="wc2c_status" id="wc2c_status"class="regular-text">
     134                                <select  name="wc2c_status" id="wc2c_status" class="wc2c-regular-text">
    135135                                    <option <?php if(wc2c_get_setting('status') == "enabled" || wc2c_get_setting('status') == "") {echo 'selected';}  ?> value="enabled">Enabled</option>
    136136                                    <option <?php if(wc2c_get_setting('status') == "disabled") {echo 'selected';}  ?> value="disabled">Disabled</option>
     
    149149                            <th><?php _e('Button Type', 'wc2c') ?></th>
    150150                            <td>
    151                                 <select  name="wc2c_button_type" id="wc2c_button_type"class="regular-text">
     151                                <select  name="wc2c_button_type" id="wc2c_button_type" class="wc2c-regular-text">
    152152                                    <option <?php if(wc2c_get_setting('button_type') == "bottom-left") {echo 'selected';}  ?> value="bottom-left">Bottom Left</option>
    153153                                    <option <?php if(wc2c_get_setting('button_type') == "bottom-right") {echo 'selected';}  ?> value="bottom-right">Bottom Right</option>
     
    165165                            <th><?php _e('Button Text', 'wc2c') ?></th>
    166166                            <td>
    167                                 <input maxlength="25" value="<?php echo esc_attr(wc2c_get_setting('button_text'))  ?>"  name="wc2c_button_text" id="wc2c_button_text" type="text" class="regular-text" />
     167                                <input maxlength="25" value="<?php echo esc_attr(wc2c_get_setting('button_text'))  ?>"  name="wc2c_button_text" id="wc2c_button_text" type="text" class="wc2c-regular-text" />
    168168                                <p class="description"><?php echo _e('The text that appears on the button (max 25 characters)', 'wc2c') ?></p>
    169169                            </td>
     
    173173                            <th><?php _e('Button Background Color', 'wc2c') ?></th>
    174174                            <td>
    175                                 <input value="<?php echo esc_attr(wc2c_get_setting('button_bg_color'))  ?>" name="wc2c_button_bg_color" id="wc2c_button_bg_color" type="text" class="color-picker-input regular-text" />
     175                                <input value="<?php echo esc_attr(wc2c_get_setting('button_bg_color'))  ?>" name="wc2c_button_bg_color" id="wc2c_button_bg_color" type="text" class="color-picker-input wc2c-regular-text" />
    176176                                <p class="description"><?php echo _e('The background color of the button', 'wc2c') ?></p>
    177177                            </td>
     
    181181                            <th><?php _e('Button Text Color', 'wc2c') ?></th>
    182182                            <td>
    183                                 <input value="<?php echo esc_attr(wc2c_get_setting('button_text_color'))  ?>" name="wc2c_button_text_color" id="wc2c_button_text_color" type="text" class="color-picker-input regular-text" />
     183                                <input value="<?php echo esc_attr(wc2c_get_setting('button_text_color'))  ?>" name="wc2c_button_text_color" id="wc2c_button_text_color" type="text" class="color-picker-input wc2c-regular-text" />
    184184                                <p class="description"><?php echo _e('The text color of the button', 'wc2c') ?></p>
    185185                            </td>
     
    189189                            <th><?php _e('Button Icon Color', 'wc2c') ?></th>
    190190                            <td>
    191                                 <input value="<?php echo esc_attr(wc2c_get_setting('button_icon_color'))  ?>" name="wc2c_button_icon_color" id="wc2c_button_icon_color" type="text" class="color-picker-input regular-text" />
     191                                <input value="<?php echo esc_attr(wc2c_get_setting('button_icon_color'))  ?>" name="wc2c_button_icon_color" id="wc2c_button_icon_color" type="text" class="color-picker-input wc2c-regular-text" />
    192192                                <p class="description"><?php echo _e('The color of the WhatsApp icon', 'wc2c') ?></p>
    193193                            </td>
     
    205205                               
    206206                                ?>
    207                                 <select multiple="multiple" name="wc2c_display_in[]" id="wc2c_display_in" class="regular-text select-2">
     207                                <select multiple="multiple" name="wc2c_display_in[]" id="wc2c_display_in" class="wc2c-regular-text select-2">
    208208                                    <option <?php if(in_array('all', $display_in)) { echo 'selected'; } ?> value="all">Entire Website</option>
    209209                                    <option <?php if(in_array('posts', $display_in)) { echo 'selected'; } ?> value="posts">Posts</option>
     
    234234                            <th><?php _e('Facebook Event Name', 'wc2c') ?></th>
    235235                            <td>
    236                                 <input value="<?php echo esc_attr(wc2c_get_setting('facebook_event_name'))  ?>" name="wc2c_facebook_event_name" id="wc2c_facebook_event_name" type="text" class="regular-text" />
     236                                <input value="<?php echo esc_attr(wc2c_get_setting('facebook_event_name'))  ?>" name="wc2c_facebook_event_name" id="wc2c_facebook_event_name" type="text" class="wc2c-regular-text" />
    237237                                <p class="description"><?php echo _e('The name of the Facebook event that will be fired on button click', 'wc2c') ?></p>
    238238                            </td>
     
    242242                            <th><?php _e('Google Event Name', 'wc2c') ?></th>
    243243                            <td>
    244                                 <input value="<?php echo esc_attr(wc2c_get_setting('google_event_name'))  ?>" name="wc2c_google_event_name" id="wc2c_google_event_name" type="text" class="regular-text" />
     244                                <input value="<?php echo esc_attr(wc2c_get_setting('google_event_name'))  ?>" name="wc2c_google_event_name" id="wc2c_google_event_name" type="text" class="wc2c-regular-text" />
    245245                                <p class="description"><?php echo _e('The name of the Google event that will be fired on button click', 'wc2c') ?></p>
    246246                            </td>
     
    285285    wp_register_script('wc2c-script', plugins_url('/js/wc2c.js', __FILE__ ) , array( 'jquery'));
    286286    wp_enqueue_style('wc2c-style');
     287    wp_enqueue_style('wc2c-fa-style');
    287288    wp_enqueue_script('wc2c-script');       
    288289}
Note: See TracChangeset for help on using the changeset viewer.