Changeset 3436273
- Timestamp:
- 01/09/2026 07:52:19 PM (6 weeks ago)
- Location:
- language-switcher-for-transposh/trunk
- Files:
-
- 4 added
- 4 edited
-
README.txt (modified) (2 diffs)
-
admin/css/cfx-language-switcher-for-transposh-admin.css (modified) (1 diff)
-
admin/partials/cfx-language-switcher-for-transposh-admin-display.php (modified) (3 diffs)
-
assets/images (added)
-
assets/images/cht-icon-256x256.png (added)
-
assets/images/plg-icon-256x256.png (added)
-
assets/styles/lsft.css (added)
-
cfx-language-switcher-for-transposh.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
language-switcher-for-transposh/trunk/README.txt
r3436176 r3436273 5 5 Requires at least: 5.0 6 6 Tested up to: 6.9 7 Stable tag: 2.0. 17 Stable tag: 2.0.2 8 8 Requires PHP: 5.6 9 9 Requires Plugins: transposh-translation-filter-for-wordpress … … 61 61 62 62 == Changelog == 63 64 = 2.0.2 = 65 * Added: Included info about other tools. 63 66 64 67 = 2.0.1 = -
language-switcher-for-transposh/trunk/admin/css/cfx-language-switcher-for-transposh-admin.css
r3436176 r3436273 467 467 margin-right: 10px; 468 468 } 469 470 #cfxlsft-general .more-tools-plugins { 471 display: flex; 472 flex-direction: column; 473 flex-wrap: wrap; 474 gap: 20px; 475 } 476 477 #cfxlsft-general .more-tools-plugins .plugin-item { 478 display: flex; 479 flex-direction: row; 480 align-items: start; 481 justify-content: start; 482 width: 100%; 483 } 484 485 #cfxlsft-general .more-tools-plugins .plugin-item .plugin-item-description { 486 display: flex; 487 flex-direction: column; 488 align-items: start; 489 justify-content: start; 490 margin-right: 20px; 491 } 492 #cfxlsft-general .more-tools-plugins .plugin-item img { 493 width: 128px; 494 height: 128px; 495 margin-right: 20px; 496 } 497 .more-tools-plugins hr { 498 border: 0; 499 border-top: 1px solid #ccd0d4; 500 margin: 16px 0; 501 } -
language-switcher-for-transposh/trunk/admin/partials/cfx-language-switcher-for-transposh-admin-display.php
r3436176 r3436273 75 75 } 76 76 77 if ( 'general' !== $lsft_tab && 'styles' !== $lsft_tab && 'shortcodes' !== $lsft_tab ) { 77 $lsft_tabs = array( 'general', 'styles', 'shortcodes', 'more_tools' ); 78 if ( ! in_array( $lsft_tab, $lsft_tabs, true ) ) { 78 79 wp_safe_redirect( 79 80 add_query_arg( … … 142 143 $url_stl = admin_url( 'admin.php?page=language-switcher-settings&tab=styles' ); 143 144 $url_shc = admin_url( 'admin.php?page=language-switcher-settings&tab=shortcodes' ); 145 $url_mrt = admin_url( 'admin.php?page=language-switcher-settings&tab=more_tools' ); 144 146 $tab_url_gen = wp_nonce_url( $url_gen, 'intnavontabs', '_wpnonce' ); 145 147 $tab_url_stl = wp_nonce_url( $url_stl, 'intnavontabs', '_wpnonce' ); 146 148 $tab_url_shc = wp_nonce_url( $url_shc, 'intnavontabs', '_wpnonce' ); 149 $tab_url_mrt = wp_nonce_url( $url_mrt, 'intnavontabs', '_wpnonce' ); 147 150 ?> 148 151 <a href="<?php echo esc_html( $tab_url_gen ); ?>" data-target="general" class="nav-tab <?php echo ( 'general' === $lsft_tab ) ? 'active' : ''; ?>">General</a> 149 152 <a href="<?php echo esc_html( $tab_url_stl ); ?>" data-target="styles" class="nav-tab <?php echo ( 'styles' === $lsft_tab ) ? 'active' : ''; ?>">Styles</a> 150 153 <a href="<?php echo esc_html( $tab_url_shc ); ?>" data-target="shortcodes" class="nav-tab <?php echo ( 'shortcodes' === $lsft_tab ) ? 'active' : ''; ?>">Shortcodes</a> 154 <a href="<?php echo esc_html( $tab_url_mrt ); ?>" data-target="more_tools" class="nav-tab <?php echo ( 'more_tools' === $lsft_tab ) ? 'active' : ''; ?>">More Tools</a> 151 155 </nav> 152 156 <div class="tab-content ls"> … … 474 478 </section> 475 479 </div> 480 481 <div id="more_tools" class="tab-panel <?php echo ( 'more_tools' === $lsft_tab ) ? 'active' : ''; ?>"> 482 <div class="settingsbox"> 483 <h3>More Tools</h3> 484 <p>Here you find other plugins by Codingfix, that's me :)</p> 485 <div class="more-tools-plugins"> 486 <div class="plugin-item"> 487 <img src="<?php echo esc_url( LSFT_PLUGIN_URL . 'assets/images/plg-icon-256x256.png' ); ?>" alt="Pluginer - Bulk install for WordPress plugins" /> 488 <div class="plugin-item-description"> 489 <h3><a href="https://wordpress.org/plugins/instalist/" target="_blank">Pluginer (formerly Instalist) - Bulk install for WordPress plugins</a></h3> 490 <p>Stop wasting time installing plugins one-by-one: Speed Up WordPress Setup with Pluginer.<br>Pluginer lets you create reusable plugin lists and install them all in a single click.<br><a href="https://wordpress.org/plugins/instalist/" target="_blank">Get Pluginer Free!</a></p> 491 </div> 492 </div> 493 <hr> 494 <div class="plugin-item"> 495 <img src="<?php echo esc_url( LSFT_PLUGIN_URL . 'assets/images/cht-icon-256x256.png' ); ?>" alt="Chat Everuwhere - Start a Whatsapp or Telegram chat from buttons, links, images, menu items and more!" /> 496 <div class="plugin-item-description"> 497 <h3><a href="https://wordpress.org/plugins/chat-everywhere/" target="_blank">Chat Everuwhere - Start a Whatsapp or Telegram chat from buttons, links, images, menu items and more!</a></h3> 498 <p>Start chats from any element. Just add the default class (or a custom class) to the DOM element you want and clicking on it will start a chat instantly. <br>You use Whatsapp, Telegram or both. <br><a href="https://wordpress.org/plugins/chat-everywhere/ target="_blank">Get Chat Everywhere Free!</a></p> 499 </div> 500 </div> 501 </div> 502 </div> 503 </div> 504 476 505 <br /> 477 506 <br /> -
language-switcher-for-transposh/trunk/cfx-language-switcher-for-transposh.php
r3436176 r3436273 16 16 * Plugin URI: https://codingfix.com/language-switcher-for-transposh 17 17 * Description: A small plugin to use a customized language switcher with Transposh plugin. 18 * Version: 2.0. 118 * Version: 2.0.2 19 19 * Author: Marco Gasi 20 20 * Author URI: https://codingfix.com … … 30 30 * Rename this for your plugin and update it as you release new versions. 31 31 */ 32 define( 'CFX_LSFT_VERSION', '2.0. 1' );32 define( 'CFX_LSFT_VERSION', '2.0.2' ); 33 33 34 34 /**
Note: See TracChangeset
for help on using the changeset viewer.