/>
                                </p>

                                <div class="wpml-st-exclude-contexts-box"
                                     style="display:none;"
                                     title="<?php 
        echo esc_attr__('Auto-register strings from these text domains', 'wpml-string-translation');
        ?>
"
                                >
                                    <form method="post" action="" data-nonce="<?php 
        echo wp_create_nonce('wpml-st-cancel-button');
        ?>
" >
                                        <?php 
        $exclude = new WPML_Autoregister_Context_Exclude($wpdb, new WPML_ST_Settings());
        $excluded = $exclude->get_excluded_contexts();
        $has_excluded = count($excluded) > 0;
        ?>


                                        <div id="wpml-st-filter-and-select-all-box">
                                            <input type="input" name="search" placeholder="<?php 
        echo esc_attr__('Search', 'wpml-string-translation');
        ?>
" />

                                            <br/>

                                            <p>
                                                <input type="checkbox" name="select_all" <?php 
 public function get_admin_string_filter($lang)
 {
     global $sitepress_settings, $wpdb, $sitepress;
     if (isset($sitepress_settings['st']['db_ok_for_gettext_context'])) {
         if (!(isset($this->string_filters[$lang]) && 'WPML_Register_String_Filter' == get_class($this->string_filters[$lang]))) {
             $this->string_filters[$lang] = isset($this->string_filters[$lang]) ? $this->string_filters[$lang] : false;
             $exclude = new WPML_Autoregister_Context_Exclude($wpdb, new WPML_ST_Settings());
             $this->string_filters[$lang] = new WPML_Register_String_Filter($wpdb, $sitepress, $lang, $this->string_factory, $this->string_filters[$lang], $exclude->get_excluded_contexts());
         }
         return $this->string_filters[$lang];
     } else {
         return null;
     }
 }