File manager - Edit - /home/rangceb/diohome.com/wp-content468461/updraft/plugins-old/lingotek-translation/admin/import.php
Back
<?php /** * I think this file is not used, and probably should be removed. * * @package lingotek-translation */ // phpcs:disable ?> <div class="wrap"> <h2><?php esc_html_e( 'Import', 'lingotek-translation' ); ?></h2> <p class="description"><?php printf(__( 'Import your posts from another WordPress blog through Lingotek', 'lingotek-translation' ), 'admin.php?page=lingotek-translation_import' ); ?></p> <?php $menu_items = array( 'content' => __( 'Content', 'wp-lingotek' ), 'settings' => __( 'Settings', 'wp-lingotek' ), ); ?> <h3 class="nav-tab-wrapper"> <?php $menu_item_index = 0; foreach ( $menu_items as $menu_item_key => $menu_item_label ) { $use_as_default = ( $menu_item_index === 0 && ! isset( $_GET['sm'] ) ) ? true : false; $alias = null; // custom sub sub-menus if ( isset( $_GET['sm'] ) && $_GET['sm'] == 'edit-profile' ) { $alias = 'profiles'; } ?> <a class="nav-tab <?php if ( $use_as_default || ( isset( $_GET['sm'] ) && $_GET['sm'] == $menu_item_key ) || $alias == $menu_item_key ) : ?> nav-tab-active<?php endif; ?>" href="admin.php?page=<?php echo esc_url( $_GET['page'] ); ?>&sm=<?php echo esc_url( $menu_item_key ); ?>"><?php echo $menu_item_label; ?></a> <?php $menu_item_index++; } ?> </h3> <?php settings_errors(); $submenu = isset( $_GET['sm'] ) ? $_GET['sm'] : 'content'; $dir = dirname( __FILE__ ) . '/import/'; $filename = $dir . 'view-' . $submenu . '.php'; if ( file_exists( $filename ) ) { require $filename; } else { echo 'TO-DO: create <i>' . 'import/view-' . $submenu . '.php</i>'; } ?> </div>
| ver. 1.4 |
Github
|
.
| PHP 8.4.10 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings