@ 2014-08-19T18:38:52Z public function flag_display_settings_cb() {
$get_flag_choices = get_option ('flag_display_settings');
$default_language_code = get_option ('googlelanguagetranslator_language');
$option_name = 'flag_display_settings' ;
$new_value = array('flag-'.$default_language_code.'' => 1);
foreach ($this->languages_array as $key => $value) {
$language_code = $key;
if(!array_key_exists('flag-'.$language_code, $get_flag_choices)) {
$get_flag_choices ['flag-'.$language_code] = 0;
} else {
$get_flag_choices ['flag-'.$language_code] = 0;
}
}
if ( get_option( $option_name ) == false ) {
// The option does not exist, so we update it.
update_option( $option_name, $new_value );
}
$get_flag_choices = get_option (''.$option_name.'');
?>
<div class="flagdisplay" style="width:25%; float:left">
<div><input type="checkbox" name="flag_display_settings[flag-af]" value="1" <?php checked( 1,$get_flag_choices['flag-af']); ?>/> Afrikaans</div>
<div><input type="checkbox" name="flag_display_settings[flag-sq]" value="1" <?php checked( 1,$get_flag_choices['flag-sq']); ?>/> Albanian</div>
<div><input type="checkbox" name="flag_display_settings[flag-ar]" value="1" <?php checked( 1,$get_flag_choices['flag-ar']); ?>/> Arabic</div>
<div><input type="checkbox" name="flag_display_settings[flag-hy]" value="1" <?php checked( 1,$get_flag_choices['flag-hy']); ?>/> Armenian</div>
<div><input type="checkbox" name="flag_display_settings[flag-az]" value="1" <?php checked( 1,$get_flag_choices['flag-az']); ?>/> Azerbaijani</div>
<div><input type="checkbox" name="flag_display_settings[flag-eu]" value="1" <?php checked( 1,$get_flag_choices['flag-eu']); ?>/> Basque</div>
<div><input type="checkbox" name="flag_display_settings[flag-be]" value="1" <?php checked( 1,$get_flag_choices['flag-be']); ?>/> Belarusian</div>
<div><input type="checkbox" name="flag_display_settings[flag-bn]" value="1" <?php checked( 1,$get_flag_choices['flag-bn']); ?>/> Bengali</div>
<div><input type="checkbox" name="flag_display_settings[flag-bs]" value="1" <?php checked( 1,$get_flag_choices['flag-bs']); ?>/> Bosnian</div>
<div><input type="checkbox" name="flag_display_settings[flag-bg]" value="1" <?php checked( 1,$get_flag_choices['flag-bg']); ?>/> Bulgarian</div>
<div><input type="checkbox" name="flag_display_settings[flag-ca]" value="1" <?php checked( 1,$get_flag_choices['flag-ca']); ?>/> Catalan</div>
<div><input type="checkbox" name="flag_display_settings[flag-ceb]" value="1" <?php checked( 1,$get_flag_choices['flag-ceb']); ?>/> Cebuano</div>
<div><input type="checkbox" name="flag_display_settings[flag-zh-CN]" value="1" <?php checked( 1,$get_flag_choices['flag-zh-CN']); ?>/> Chinese</div>
<div><input type="checkbox" name="flag_display_settings[flag-zh-TW]" value="1" <?php checked( 1,$get_flag_choices['flag-zh-TW']); ?>/> Chinese (Han)</div>
<div><input type="checkbox" name="flag_display_settings[flag-hr]" value="1" <?php checked( 1,$get_flag_choices['flag-hr']); ?>/> Croatian</div>
<div><input type="checkbox" name="flag_display_settings[flag-cs]" value="1" <?php checked( 1,$get_flag_choices['flag-cs']); ?>/> Czech</div>
<div><input type="checkbox" name="flag_display_settings[flag-da]" value="1" <?php checked( 1,$get_flag_choices['flag-da']); ?>/> Danish</div>
<div><input type="checkbox" name="flag_display_settings[flag-nl]" value="1" <?php checked( 1,$get_flag_choices['flag-nl']); ?>/> Dutch</div>
<div><input type="checkbox" name="flag_display_settings[flag-en]" value="1" <?php checked(1,$get_flag_choices['flag-en']); ?>/> English</div>
<div><input type="checkbox" name="flag_display_settings[flag-eo]" value="1" <?php checked( 1,$get_flag_choices['flag-eo']); ?>/> Esperanto</div>
<div><input type="checkbox" name="flag_display_settings[flag-et]" value="1" <?php checked( 1,$get_flag_choices['flag-et']); ?>/> Estonian</div>
</div>
<div class="flagdisplay" style="width:25%; float:left">
<div><input type="checkbox" name="flag_display_settings[flag-tl]" value="1" <?php checked( 1,$get_flag_choices['flag-tl']); ?>/> Filipino</div>
<div><input type="checkbox" name="flag_display_settings[flag-fi]" value="1" <?php checked( 1,$get_flag_choices['flag-fi']); ?>/> Finnish</div>
<div><input type="checkbox" name="flag_display_settings[flag-fr]" value="1" <?php checked( 1,$get_flag_choices['flag-fr']); ?>/> French</div>
<div><input type="checkbox" name="flag_display_settings[flag-gl]" value="1" <?php checked( 1,$get_flag_choices['flag-gl']); ?>/> Galician</div>
<div><input type="checkbox" name="flag_display_settings[flag-ka]" value="1" <?php checked( 1,$get_flag_choices['flag-ka']); ?>/> Georgian</div>
<div><input type="checkbox" name="flag_display_settings[flag-de]" value="1" <?php checked( 1,$get_flag_choices['flag-de']); ?>/> German</div>
<div><input type="checkbox" name="flag_display_settings[flag-el]" value="1" <?php checked( 1,$get_flag_choices['flag-el']); ?>/> Greek</div>
<div><input type="checkbox" name="flag_display_settings[flag-gu]" value="1" <?php checked( 1,$get_flag_choices['flag-gu']); ?>/> Gujarati</div>
<div><input type="checkbox" name="flag_display_settings[flag-ht]" value="1" <?php checked( 1,$get_flag_choices['flag-ht']); ?>/> Haitian Creole</div>
<div><input type="checkbox" name="flag_display_settings[flag-ha]" value="1" <?php checked( 1,$get_flag_choices['flag-ha']); ?>/> Hausa</div>
<div><input type="checkbox" name="flag_display_settings[flag-iw]" value="1" <?php checked( 1,$get_flag_choices['flag-iw']); ?>/> Hebrew</div>
<div><input type="checkbox" name="flag_display_settings[flag-hi]" value="1" <?php checked( 1,$get_flag_choices['flag-hi']); ?>/> Hindi</div>
<div><input type="checkbox" name="flag_display_settings[flag-hmn]" value="1" <?php checked( 1,$get_flag_choices['flag-hmn']); ?>/> Hmong</div>
<div><input type="checkbox" name="flag_display_settings[flag-hu]" value="1" <?php checked( 1,$get_flag_choices['flag-hu']); ?>/> Hungarian</div>
<div><input type="checkbox" name="flag_display_settings[flag-is]" value="1" <?php checked( 1,$get_flag_choices['flag-is']); ?>/> Icelandic</div>
<div><input type="checkbox" name="flag_display_settings[flag-ig]" value="1" <?php checked( 1,$get_flag_choices['flag-ig']); ?>/> Igbo</div>
<div><input type="checkbox" name="flag_display_settings[flag-id]" value="1" <?php checked( 1,$get_flag_choices['flag-id']); ?>/> Indonesian</div>
<div><input type="checkbox" name="flag_display_settings[flag-ga]" value="1" <?php checked( 1,$get_flag_choices['flag-ga']); ?>/> Irish</div>
<div><input type="checkbox" name="flag_display_settings[flag-it]" value="1" <?php checked( 1,$get_flag_choices['flag-it']); ?>/> Italian</div>
<div><input type="checkbox" name="flag_display_settings[flag-ja]" value="1" <?php checked( 1,$get_flag_choices['flag-ja']); ?>/> Japanese</div>
<div><input type="checkbox" name="flag_display_settings[flag-jw]" value="1" <?php checked( 1,$get_flag_choices['flag-jw']); ?>/> Javanese</div>
</div>
<div class="flagdisplay" style="width:25%; float:left">
<div><input type="checkbox" name="flag_display_settings[flag-kn]" value="1" <?php checked( 1,$get_flag_choices['flag-kn']); ?>/> Kannada</div>
<div><input type="checkbox" name="flag_display_settings[flag-km]" value="1" <?php checked( 1,$get_flag_choices['flag-km']); ?>/> Khmer</div>
<div><input type="checkbox" name="flag_display_settings[flag-ko]" value="1" <?php checked( 1,$get_flag_choices['flag-ko']); ?>/> Korean</div>
<div><input type="checkbox" name="flag_display_settings[flag-lo]" value="1" <?php checked( 1,$get_flag_choices['flag-lo']); ?>/> Lao</div>
<div><input type="checkbox" name="flag_display_settings[flag-la]" value="1" <?php checked( 1,$get_flag_choices['flag-la']); ?>/> Latin</div>
<div><input type="checkbox" name="flag_display_settings[flag-lv]" value="1" <?php checked( 1,$get_flag_choices['flag-lv']); ?>/> Latvian</div>
<div><input type="checkbox" name="flag_display_settings[flag-lt]" value="1" <?php checked( 1,$get_flag_choices['flag-lt']); ?>/> Lithuanian</div>
<div><input type="checkbox" name="flag_display_settings[flag-mk]" value="1" <?php checked( 1,$get_flag_choices['flag-mk']); ?>/> Macedonian</div>
<div><input type="checkbox" name="flag_display_settings[flag-ms]" value="1" <?php checked( 1,$get_flag_choices['flag-ms']); ?>/> Malay</div>
<div><input type="checkbox" name="flag_display_settings[flag-mt]" value="1" <?php checked( 1,$get_flag_choices['flag-mt']); ?>/> Maltese</div>
<div><input type="checkbox" name="flag_display_settings[flag-mi]" value="1" <?php checked( 1,$get_flag_choices['flag-mi']); ?>/> Maori</div>
<div><input type="checkbox" name="flag_display_settings[flag-mr]" value="1" <?php checked( 1,$get_flag_choices['flag-mr']); ?>/> Marathi</div>
<div><input type="checkbox" name="flag_display_settings[flag-mn]" value="1" <?php checked( 1,$get_flag_choices['flag-mn']); ?>/> Mongolian</div>
<div><input type="checkbox" name="flag_display_settings[flag-ne]" value="1" <?php checked( 1,$get_flag_choices['flag-ne']); ?>/> Nepali</div>
<div><input type="checkbox" name="flag_display_settings[flag-no]" value="1" <?php checked( 1,$get_flag_choices['flag-no']); ?>/> Norwegian</div>
<div><input type="checkbox" name="flag_display_settings[flag-fa]" value="1" <?php checked( 1,$get_flag_choices['flag-fa']); ?>/> Persian</div>
<div><input type="checkbox" name="flag_display_settings[flag-pl]" value="1" <?php checked( 1,$get_flag_choices['flag-pl']); ?>/> Polish</div>
<div><input type="checkbox" name="flag_display_settings[flag-pt]" value="1" <?php checked( 1,$get_flag_choices['flag-pt']); ?>/> Portuguese</div>
<div><input type="checkbox" name="flag_display_settings[flag-pa]" value="1" <?php checked( 1,$get_flag_choices['flag-pa']); ?>/> Punjabi</div>
<div><input type="checkbox" name="flag_display_settings[flag-ro]" value="1" <?php checked( 1,$get_flag_choices['flag-ro']); ?>/> Romanian</div>
<div><input type="checkbox" name="flag_display_settings[flag-ru]" value="1" <?php checked( 1,$get_flag_choices['flag-ru']); ?>/> Russian</div>
</div>
<div class="flagdisplay" style="width:25%; float:left">
<div><input type="checkbox" name="flag_display_settings[flag-sr]" value="1" <?php checked( 1,$get_flag_choices['flag-sr']); ?>/> Serbian</div>
<div><input type="checkbox" name="flag_display_settings[flag-sk]" value="1" <?php checked( 1,$get_flag_choices['flag-sk']); ?>/> Slovak</div>
<div><input type="checkbox" name="flag_display_settings[flag-sl]" value="1" <?php checked( 1,$get_flag_choices['flag-sl']); ?>/> Slovenian</div>
<div><input type="checkbox" name="flag_display_settings[flag-so]" value="1" <?php checked( 1,$get_flag_choices['flag-so']); ?>/> Somali</div>
<div><input type="checkbox" name="flag_display_settings[flag-es]" value="1" <?php checked( 1,$get_flag_choices['flag-es']); ?>/> Spanish</div>
<div><input type="checkbox" name="flag_display_settings[flag-sw]" value="1" <?php checked( 1,$get_flag_choices['flag-sw']); ?>/> Swahili</div>
<div><input type="checkbox" name="flag_display_settings[flag-sv]" value="1" <?php checked( 1,$get_flag_choices['flag-sv']); ?>/> Swedish</div>
<div><input type="checkbox" name="flag_display_settings[flag-ta]" value="1" <?php checked( 1,$get_flag_choices['flag-ta']); ?>/> Tamil</div>
<div><input type="checkbox" name="flag_display_settings[flag-te]" value="1" <?php checked( 1,$get_flag_choices['flag-te']); ?>/> Telugu</div>
<div><input type="checkbox" name="flag_display_settings[flag-th]" value="1" <?php checked( 1,$get_flag_choices['flag-th']); ?>/> Thai</div>
<div><input type="checkbox" name="flag_display_settings[flag-tr]" value="1" <?php checked( 1,$get_flag_choices['flag-tr']); ?>/> Turkish</div>
<div><input type="checkbox" name="flag_display_settings[flag-uk]" value="1" <?php checked( 1,$get_flag_choices['flag-uk']); ?>/> Ukranian</div>
<div><input type="checkbox" name="flag_display_settings[flag-ur]" value="1" <?php checked( 1,$get_flag_choices['flag-ur']); ?>/> Urdu</div>
<div><input type="checkbox" name="flag_display_settings[flag-vi]" value="1" <?php checked( 1,$get_flag_choices['flag-vi']); ?>/> Vietnamese</div>
<div><input type="checkbox" name="flag_display_settings[flag-cy]" value="1" <?php checked( 1,$get_flag_choices['flag-cy']); ?>/> Welsh</div>
<div><input type="checkbox" name="flag_display_settings[flag-yi]" value="1" <?php checked( 1,$get_flag_choices['flag-yi']); ?>/> Yiddish</div>
<div><input type="checkbox" name="flag_display_settings[flag-yo]" value="1" <?php checked( 1,$get_flag_choices['flag-yo']); ?>/> Yoruba</div>
<div><input type="checkbox" name="flag_display_settings[flag-zu]" value="1" <?php checked( 1,$get_flag_choices['flag-zu']); ?>/> Zulu</div>
</div>
<div style="clear:both"></div>
<?php }
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).
Version System time (s) User time (s) Memory (MiB) 5.4.31 0.009 0.037 12.62 5.4.30 0.005 0.037 12.63 5.4.29 0.005 0.046 12.62 5.4.28 0.004 0.039 12.52 5.4.27 0.004 0.039 12.52 5.4.26 0.003 0.047 12.52 5.4.25 0.005 0.041 12.52 5.4.24 0.006 0.037 12.52 5.4.23 0.007 0.038 12.51 5.4.22 0.005 0.053 12.51 5.4.21 0.009 0.032 12.51 5.4.20 0.005 0.039 12.51 5.4.19 0.007 0.036 12.51 5.4.18 0.007 0.036 12.51 5.4.17 0.005 0.038 12.52 5.4.16 0.005 0.040 12.51 5.4.15 0.005 0.038 12.51 5.4.14 0.003 0.045 12.20 5.4.13 0.005 0.039 12.18 5.4.12 0.003 0.037 12.14 5.4.11 0.007 0.033 12.14 5.4.10 0.004 0.038 12.14 5.4.9 0.006 0.042 12.14 5.4.8 0.004 0.040 12.14 5.4.7 0.005 0.036 12.14 5.4.6 0.009 0.035 12.13 5.4.5 0.009 0.049 12.13 5.4.4 0.013 0.030 12.12 5.4.3 0.007 0.039 12.12 5.4.2 0.007 0.035 12.11 5.4.1 0.008 0.033 12.12 5.4.0 0.003 0.040 11.61 5.3.29 0.005 0.045 12.81 5.3.28 0.005 0.044 12.73 5.3.27 0.004 0.041 12.75 5.3.26 0.007 0.037 12.74 5.3.25 0.002 0.042 12.74 5.3.24 0.008 0.036 12.75 5.3.23 0.007 0.037 12.73 5.3.22 0.011 0.047 12.70 5.3.21 0.005 0.043 12.70 5.3.20 0.005 0.039 12.70 5.3.19 0.006 0.038 12.71 5.3.18 0.009 0.035 12.70 5.3.17 0.007 0.037 12.70 5.3.16 0.005 0.039 12.70 5.3.15 0.005 0.039 12.70 5.3.14 0.009 0.034 12.70 5.3.13 0.006 0.040 12.68 5.3.12 0.007 0.040 12.69 5.3.11 0.009 0.037 12.69 5.3.10 0.008 0.037 12.18 5.3.9 0.003 0.039 12.16 5.3.8 0.006 0.035 12.14 5.3.7 0.006 0.036 12.14 5.3.6 0.008 0.034 12.13 5.3.5 0.008 0.034 12.08 5.3.4 0.005 0.038 12.07 5.3.3 0.006 0.037 12.04 5.3.2 0.004 0.038 11.82 5.3.1 0.008 0.034 11.78 5.3.0 0.009 0.034 11.77 5.2.17 0.003 0.034 9.26 5.2.16 0.004 0.031 9.26 5.2.15 0.003 0.034 9.27 5.2.14 0.005 0.032 9.26 5.2.13 0.008 0.026 9.21 5.2.12 0.005 0.029 9.22 5.2.11 0.006 0.029 9.23 5.2.10 0.003 0.031 9.22 5.2.9 0.002 0.034 9.22 5.2.8 0.005 0.043 9.21 5.2.7 0.006 0.037 9.22 5.2.6 0.002 0.032 9.17 5.2.5 0.006 0.028 9.14 5.2.4 0.003 0.036 9.13 5.2.3 0.010 0.026 9.09 5.2.2 0.002 0.031 9.09 5.2.1 0.006 0.026 9.00 5.2.0 0.004 0.030 8.86 5.1.6 0.003 0.027 8.16 5.1.5 0.002 0.030 8.16 5.1.4 0.003 0.037 8.15 5.1.3 0.008 0.035 8.50 5.1.2 0.003 0.032 8.52 5.1.1 0.002 0.028 8.24 5.1.0 0.005 0.028 8.24 5.0.5 0.001 0.024 6.73 5.0.4 0.004 0.025 6.59 5.0.3 0.006 0.031 6.40 5.0.2 0.004 0.020 6.37 5.0.1 0.003 0.020 6.35 5.0.0 0.003 0.033 6.34 4.4.9 0.005 0.013 4.78 4.4.8 0.002 0.017 4.75 4.4.7 0.006 0.013 4.75 4.4.6 0.003 0.015 4.76 4.4.5 0.004 0.015 4.77 4.4.4 0.001 0.027 4.73 4.4.3 0.005 0.013 4.76 4.4.2 0.004 0.018 4.84 4.4.1 0.003 0.015 4.85 4.4.0 0.004 0.024 4.76 4.3.11 0.004 0.015 4.67 4.3.10 0.000 0.018 4.66 4.3.9 0.003 0.014 4.63 4.3.8 0.004 0.023 4.63 4.3.7 0.002 0.015 4.63 4.3.6 0.003 0.015 4.63 4.3.5 0.005 0.014 4.63 4.3.4 0.001 0.027 4.59 4.3.3 0.004 0.019 3.39 4.3.2 0.002 0.017 3.38 4.3.1 0.003 0.015 3.33 4.3.0 0.003 0.020 7.82
preferences:dark mode live preview
142.09 ms | 1446 KiB | 7 Q