Plugin Directory

Changeset 951472


Ignore:
Timestamp:
07/19/2014 08:50:57 AM (12 years ago)
Author:
havengr
Message:

New Flags

Location:
language-icons-flags-switcher/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • language-icons-flags-switcher/trunk/functionsfile.php

    r950174 r951472  
    2323
    2424
    25 $number_of_options = 45;
     25$number_of_options = 47;
    2626
    2727add_action('wp_footer', 'Ffll_fucntion');
     
    3434function Ffll__langshort ($atts) {
    3535
    36 $number_of_options = 45;
     36$number_of_options = 47;
    3737for ($i=1;$i<=$number_of_options;$i++){
    3838
     
    9595
    9696
    97 $number_of_options = 45;
     97$number_of_options = 47;
    9898
    9999
  • language-icons-flags-switcher/trunk/readme.txt

    r950174 r951472  
    1717You just have to select position,flag and add the link!
    1818
    19 Flags Icons: English, Bosnia, Moldova, Greece, Slovenia, Belgium, Hong Kong, Brazil, Estonia, Lithuania, Latvia, Argentina, Finland, Norway, Germany, Spain, Wales, Ireland, Romania, India, Hungary, Portugal, Usa, Turkey, Japan, Israel, Saudi Arabia, Sweden, France, Italy, Netherlands, s. Korea, China, Czech , Cyprus, Russia, Malaysia, Singapore, Thailand, Denmark, Bulgaria , Canad, Dominician Republic and Poland.
     19Flags Icons: English, Bosnia, Klingon, Iceland, Moldova, Greece, Belgium, Hong Kong, Brazil, Estonia, Lithuania, Latvia, Argentina, Finland, Norway, Germany, Spain, Wales, Ireland, Romania, India, Hungary, Portugal, Usa, Turkey, Japan, Israel, Saudi Arabia, Sweden, France, Italy, Netherlands, s. Korea, China, Czech , Cyprus, Russia, Malaysia, Singapore, Thailand, Denmark, Bulgaria , Canad, Dominician Republic and Poland.
    2020
    2121== Installation ==
  • language-icons-flags-switcher/trunk/result.php

    r950174 r951472  
    4646        "opt43"=>array("name"=>"option_name43","img_alt"=>"Moldova","img_src"=>"img/moldova.png","img_title"=>"Moldova"),
    4747        "opt44"=>array("name"=>"option_name44","img_alt"=>"Bosnia","img_src"=>"img/bosnia.png","img_title"=>"Bosnia"),
    48         "opt45"=>array("name"=>"option_name45","img_alt"=>"Slovenia","img_src"=>"img/slovenia.png","img_title"=>"Slovenia")
     48        "opt45"=>array("name"=>"option_name45","img_alt"=>"Slovenia","img_src"=>"img/slovenia.png","img_title"=>"Slovenia"),
     49        "opt46"=>array("name"=>"option_name46","img_alt"=>"Iceland","img_src"=>"img/iceland.png","img_title"=>"Iceland"),
     50        "opt47"=>array("name"=>"option_name47","img_alt"=>"Klingon","img_src"=>"img/klingon.png","img_title"=>"Klingon")
    4951);
    5052
     
    5355
    5456
    55 $number_of_options = 45;
     57$number_of_options = 47;
    5658$i=1;
    5759$options_order=array();
  • language-icons-flags-switcher/trunk/settingsmenu.php

    r950174 r951472  
    3838
    3939
    40 $number_of_options = 45;
     40$number_of_options = 47;
    4141
    4242
     
    198198           
    199199            <input type="checkbox" name="option_33" value="1" <?php checked( '1', get_option( 'option_33' ) ); ?>><img src="<?php echo plugins_url( 'img/hungary.png' , __FILE__ ); ?>" ><input type="url" placeholder="Enter a valid url address" name="option_name33" value="<?php echo get_option('option_name33'); ?>"><input type="number" value="<?php if(trim(get_option('option_order33'))==''){echo "0";}else{echo get_option('option_order33');}?>"  name="option_order33"><br/>
     200
     201<input type="checkbox" name="option_46" value="1" <?php checked( '1', get_option( 'option_46' ) ); ?>><img src="<?php echo plugins_url( 'img/iceland.png' , __FILE__ ); ?>" ><input type="url" placeholder="Enter a valid url address" name="option_name46" value="<?php echo get_option('option_name46'); ?>"><input type="number" value="<?php if(trim(get_option('option_order46'))==''){echo "0";}else{echo get_option('option_order46');}?>"  name="option_order46"><br/>
    200202           
    201203            <input type="checkbox" name="option_29" value="1" <?php checked( '1', get_option( 'option_29' ) ); ?>><img src="<?php echo plugins_url( 'img/india.png' , __FILE__ ); ?>" ><input type="url" placeholder="Enter a valid url address" name="option_name29" value="<?php echo get_option('option_name29'); ?>"><input type="number" value="<?php if(trim(get_option('option_order29'))==''){echo "0";}else{echo get_option('option_order29');}?>"  name="option_order29"><br/>
     
    214216                       
    215217            <input type="checkbox" name="option_12" value="1" <?php checked( '1', get_option( 'option_12' ) ); ?>><img src="<?php echo plugins_url( 'img/italy.png' , __FILE__ ); ?>" ><input type="url" placeholder="Enter a valid url address" name="option_name12" value="<?php echo get_option('option_name12'); ?>"><input type="number" value="<?php if(trim(get_option('option_order12'))==''){echo "0";}else{echo get_option('option_order12');}?>"  name="option_order12"><br/>
     218
     219<input type="checkbox" name="option_47" value="1" <?php checked( '1', get_option( 'option_47' ) ); ?>><img src="<?php echo plugins_url( 'img/klingon.png' , __FILE__ ); ?>" ><input type="url" placeholder="Enter a valid url address" name="option_name47" value="<?php echo get_option('option_name47'); ?>"><input type="number" value="<?php if(trim(get_option('option_order47'))==''){echo "0";}else{echo get_option('option_order47');}?>"  name="option_order47"><br/>
    216220           
    217221            <input type="checkbox" name="option_7" value="1" <?php checked( '1', get_option( 'option_7' ) ); ?>><img src="<?php echo plugins_url( 'img/japan.png' , __FILE__ ); ?>" ><input type="url" placeholder="Enter a valid url address" name="option_name7" value="<?php echo get_option('option_name7'); ?>"><input type="number" value="<?php if(trim(get_option('option_order7'))==''){echo "0";}else{echo get_option('option_order7');}?>"  name="option_order7"><br/>           
Note: See TracChangeset for help on using the changeset viewer.