Plugin Directory

Changeset 1930404


Ignore:
Timestamp:
08/26/2018 09:22:56 AM (8 years ago)
Author:
sjhoo
Message:

some bugs fixed 3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tgchannel/trunk/admin/settings.php

    r1930397 r1930404  
     1<?php
     2    if (!get_option('TG_Channel_background')){ 
     3    update_option( 'TG_Channel_background',plugins_url('/css/geometry.png', __FILE__));
     4    }
     5    if (!get_option('TG_Channel_background_color')){   
     6    update_option( 'TG_Channel_background_color','#ffffff');
     7    }           
     8    if (!get_option('TG_Channel_Header_color')){   
     9    update_option( 'TG_Channel_Header_color','#4c70db');
     10    }
     11    if (!get_option('TG_Channel_Footer_color')){   
     12    update_option( 'TG_Channel_Footer_color','#ffffff');
     13    }   
     14    if (!get_option('TG_Channel_Header_Font_color')){   
     15    update_option( 'TG_Channel_Header_Font_color','#ffffff');
     16    }
     17    if (!get_option('TG_Channel_Footer_Font_color')){   
     18    update_option( 'TG_Channel_Footer_Font_color','#4c70db');
     19    }
     20    if (!get_option('TG_Channel_Header_Font_size')){   
     21    update_option( 'TG_Channel_Header_Font_size','20px');
     22    }
     23    if (!get_option('TG_Channel_Footer_Font_size')){   
     24    update_option( 'TG_Channel_Footer_Font_size','17px');
     25    }
     26    if (!get_option('TG_Channel_Header_Height')){   
     27    update_option( 'TG_Channel_Header_Height','50px');
     28    }
     29    if (!get_option('TG_Channel_Footer_Height')){   
     30    update_option( 'TG_Channel_Footer_Height','50px');
     31    }
     32    if (!get_option('TG_Channel_Body_height')){
     33    update_option( 'TG_Channel_Body_height','400px');
     34    }
     35    if (!get_option('TG_Channel_Body_width')){ 
     36    update_option( 'TG_Channel_Body_width','308px');
     37    }
     38    if (!get_option('TG_Channel_Body_width')){ 
     39    update_option( 'TG_Channel_body_size','custom');
     40    }
     41
     42
     43?>
    144 <div class="wrap">
    245
Note: See TracChangeset for help on using the changeset viewer.