Changeset 951472
- Timestamp:
- 07/19/2014 08:50:57 AM (12 years ago)
- Location:
- language-icons-flags-switcher/trunk
- Files:
-
- 4 edited
-
functionsfile.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
-
result.php (modified) (2 diffs)
-
settingsmenu.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
language-icons-flags-switcher/trunk/functionsfile.php
r950174 r951472 23 23 24 24 25 $number_of_options = 4 5;25 $number_of_options = 47; 26 26 27 27 add_action('wp_footer', 'Ffll_fucntion'); … … 34 34 function Ffll__langshort ($atts) { 35 35 36 $number_of_options = 4 5;36 $number_of_options = 47; 37 37 for ($i=1;$i<=$number_of_options;$i++){ 38 38 … … 95 95 96 96 97 $number_of_options = 4 5;97 $number_of_options = 47; 98 98 99 99 -
language-icons-flags-switcher/trunk/readme.txt
r950174 r951472 17 17 You just have to select position,flag and add the link! 18 18 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.19 Flags 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. 20 20 21 21 == Installation == -
language-icons-flags-switcher/trunk/result.php
r950174 r951472 46 46 "opt43"=>array("name"=>"option_name43","img_alt"=>"Moldova","img_src"=>"img/moldova.png","img_title"=>"Moldova"), 47 47 "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") 49 51 ); 50 52 … … 53 55 54 56 55 $number_of_options = 4 5;57 $number_of_options = 47; 56 58 $i=1; 57 59 $options_order=array(); -
language-icons-flags-switcher/trunk/settingsmenu.php
r950174 r951472 38 38 39 39 40 $number_of_options = 4 5;40 $number_of_options = 47; 41 41 42 42 … … 198 198 199 199 <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/> 200 202 201 203 <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/> … … 214 216 215 217 <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/> 216 220 217 221 <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.