/
home
/
vianto5
/
cititower.mx
/
wp-content
/
plugins
/
sitepress-multilingual-cms
/
inc
/
/home/vianto5/cititower.mx/wp-content/plugins/sitepress-multilingual-cms/inc
mkdir
upload
Name
Size
Mode
Actions
absolute-links/
-
0755
rm
actions/
-
0755
rm
core/
-
0755
rm
hacks/
-
0755
rm
local-translation/
-
0755
rm
post-translation/
-
0755
rm
query-filtering/
-
0755
rm
setup/
-
0755
rm
taxonomy-term-translation/
-
0755
rm
tools/
-
0755
rm
translation-jobs/
-
0755
rm
translation-management/
-
0755
rm
translation-proxy/
-
0755
rm
upgrade-functions/
-
0755
rm
url-handling/
-
0755
rm
utilities/
-
0755
rm
wp-nav-menus/
-
0755
rm
wpml-config/
-
0755
rm
cache.php
4448
0644
edit
dl
rm
constants-tm.php
1366
0644
edit
dl
rm
constants.php
6695
0644
edit
dl
rm
deprecated-hooks.php
261
0644
edit
dl
rm
functions-debug-information.php
122
0644
edit
dl
rm
functions-helpers.php
1190
0644
edit
dl
rm
functions-load-tm.php
26044
0644
edit
dl
rm
functions-load.php
14242
0644
edit
dl
rm
functions-network.php
4163
0644
edit
dl
rm
functions-sanitation.php
1954
0644
edit
dl
rm
functions-security.php
2242
0644
edit
dl
rm
functions-troubleshooting.php
6971
0644
edit
dl
rm
functions.php
28121
0644
edit
dl
rm
hacks.php
982
0644
edit
dl
rm
icl-admin-notifier.php
29098
0644
edit
dl
rm
import-xml.php
1475
0644
edit
dl
rm
js-scripts.php
707
0644
edit
dl
rm
js-tm-scripts.php
3207
0644
edit
dl
rm
lang-data.php
9038
0644
edit
dl
rm
language-switcher.php
2416
0644
edit
dl
rm
not-compatible-plugins.php
2049
0644
edit
dl
rm
plugin-integration-nextgen.php
1854
0644
edit
dl
rm
plugins-integration.php
2070
0644
edit
dl
rm
template-functions.php
48587
0644
edit
dl
rm
upgrade.php
10337
0644
edit
dl
rm
wpml-api.php
19748
0644
edit
dl
rm
wpml-post-comments.class.php
6487
0644
edit
dl
rm
wpml-post-edit-ajax.class.php
13370
0644
edit
dl
rm
wpml-private-actions-tm.php
3572
0644
edit
dl
rm
wpml-private-actions.php
4482
0644
edit
dl
rm
wpml-private-filters.php
1049
0644
edit
dl
rm
wpml_load_request_handler.php
1547
0644
edit
dl
rm
wpml_zip.php
23598
0644
edit
dl
rm
Edit:
/home/vianto5/cititower.mx/wp-content/plugins/sitepress-multilingual-cms/inc/language-switcher.php
(2416B)
<?php /** * Class SitePressLanguageSwitcher * * @deprecated since 3.6.0 */ class SitePressLanguageSwitcher { /** * @deprecated since 3.6.0 * * @return string */ static function get_language_selector_footer() { ob_start(); do_action( 'wpml_footer_language_selector' ); $output = ob_get_contents(); ob_end_clean(); return $output; } /** * @deprecated since 3.6.0 */ function language_selector_footer() { do_action( 'wpml_footer_language_selector' ); } /** * @param string $native_name * @param bool $translated_name * @param bool $show_native_name * @param bool $show_translate_name * @param bool $include_html * * @return string * @deprecated since 3.6.0 * */ public function language_display( $native_name, $translated_name = false, $show_native_name = false, $show_translate_name = false, $include_html = true ) { $result = ''; if ( ! $show_native_name ) { $native_name = ''; } if ( ! $show_translate_name ) { $translated_name = ''; } if ( $native_name && $translated_name ) { if ( $native_name != $translated_name ) { if ( $show_native_name ) { if ( $include_html ) { $result .= '<span class="icl_lang_sel_native">'; } $result .= '%1$s'; if ( $include_html ) { $result .= '</span>'; } if ( $show_translate_name ) { $result .= ' '; if ( $include_html ) { $result .= '<span class="icl_lang_sel_translated">'; } $result .= $show_native_name ? '<span class="icl_lang_sel_bracket">(</span>%2$s<span class="icl_lang_sel_bracket">)</span>' : '%2$s'; if ( $include_html ) { $result .= '</span>'; } } } elseif ( $show_translate_name ) { if ( $include_html ) { $result .= '<span class="icl_lang_sel_translated">'; } $result .= '%2$s'; if ( $include_html ) { $result .= '</span>'; } } } else { if ( $include_html ) { $result .= '<span class="icl_lang_sel_current icl_lang_sel_native">'; } $result .= '%1$s'; if ( $include_html ) { $result .= '</span>'; } } } elseif ( $native_name ) { $result = '%1$s'; } elseif ( $translated_name ) { $result = '%2$s'; } return sprintf( $result, $native_name, $translated_name ); } } // end class global $icl_language_switcher; $icl_language_switcher = new SitePressLanguageSwitcher();
Save
cmd:
run