$alt, 'class' => $class, 'style' => $style, ) ); if ( $image ) { return $image; } } // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage return '' . esc_attr( $alt ) . ''; } // Definiere erlaubte HTML-Tags für Bildausgaben $allowed_img_html = array( 'img' => array( 'src' => true, 'alt' => true, 'class' => true, 'style' => true, ), ); // Load settings $settings = get_option( 'accesly_settings' ); $active = isset( $settings['widget_active'] ) ? $settings['widget_active'] : 0; $theme = isset( $settings['widget_theme'] ) ? $settings['widget_theme'] : 'modern'; $wp_pos = isset( $settings['widget_position'] ) ? $settings['widget_position'] : 'unten rechts'; $menu_position = isset( $settings['menu_position'] ) ? $settings['menu_position'] : 'rechts'; $language = isset( $settings['language'] ) ? $settings['language'] : 'browser'; $shortcode = isset( $settings['shortcode'] ) ? $settings['shortcode'] : 0; $button_colors = isset( $settings['button_colors'] ) ? $settings['button_colors'] : array( 'accent' => '#ff0000', 'background' => '#ffffff', 'text' => '#000000' ); $custom_icon = isset( $settings['custom_icon'] ) ? $settings['custom_icon'] : ''; $license_status = get_option( 'accesly_license_status', 'inactive' ); $license_active = ( $license_status === 'active' ); // Default values if the license is not active $default_background = '#EDEDED'; $default_text = '#000000'; $default_icon = ( $default_text === '#000000' ) ? esc_url( ACCESLY_PLUGIN_URL . 'assets/icons/Logo.svg' ) : plugins_url( 'assets/icons/accessly-light.svg', __FILE__ ); $default_shortcode = 0; $default_remove_branding = 0; $default_language = 'en'; if ( ! $license_active ) { $settings['remove_branding'] = $default_remove_branding; $settings['button_colors']['background'] = $default_background; $settings['button_colors']['text'] = $default_text; $settings['shortcode'] = $default_shortcode; $settings['custom_icon'] = $default_icon; $settings['language'] = $default_language; } ?>

'; esc_html_e( 'Settings saved!', 'accesly-widget' ); echo '

'; } ?>

?

● ●

__( 'Top Right', 'accesly-widget' ), 'oben links' => __( 'Top Left', 'accesly-widget' ), 'unten rechts' => __( 'Bottom Right', 'accesly-widget' ), 'unten links' => __( 'Bottom Left', 'accesly-widget' ) ); $pos_images = array( 'oben rechts' => esc_url( ACCESLY_PLUGIN_URL . 'assets/icons/right-top.png' ), 'oben links' => esc_url( ACCESLY_PLUGIN_URL . 'assets/icons/left-top.png' ), 'unten rechts' => esc_url( ACCESLY_PLUGIN_URL . 'assets/icons/right-bottom.png' ), 'unten links' => esc_url( ACCESLY_PLUGIN_URL . 'assets/icons/left-bottom.png' ) ); ?>
$label ) : ?>

esc_html__( 'Right', 'accesly-widget' ), 'links' => esc_html__( 'Left', 'accesly-widget' ) ]; $menu_images = [ 'rechts' => esc_url( ACCESLY_PLUGIN_URL . 'assets/icons/menu-right.png' ), 'links' => esc_url( ACCESLY_PLUGIN_URL . 'assets/icons/menu-left.png' ) ]; ?>
$label ): ?>

>

' . esc_html__( 'Pro', 'accesly-widget' ) . ''; ?>

>

' . esc_html__( 'Pro', 'accesly-widget' ) . ''; ?>

[accesly_widget]

' . esc_html__( 'Pro', 'accesly-widget' ) . ''; ?>


' . esc_html( $title ) . ' ×'; } } ?>

' . esc_html__( 'Pro', 'accesly-widget' ) . ''; ?>

' . esc_html( $accesly_message ) . '

'; } ?>