'description' => esc_attr__( 'Controls the text color of t l VA -WsÒϾl => '',
'default' => $fusion_settings->get( 'flip_boxes_front_text' ),
'group' => esc_attr__( 'Design', 'fusion-builder' ),
],
[
'type' => 'colorpickeralpha',
'heading' l ־l -WsO@ܾl tr__( 'Controls the background color of the backside. IMPORTANT: Flip boxes must have background colors to work correctly in all browsers.', 'fusion-builder' ),
'param_name' => 'background_color_back',
'value'
l ;HA l cAI1 VA `l zʒR ;HA l | VA $ƾl .W| WA Ȇl |rR 6TA esc_attr__( 'Background Image Backside', 'fusion-builder' ),
dhl e *l dhl BW1 `*l )l Icdhl ack',
'value' => '',
'group' => esc_attr__( 'Design', 'fusion-builder' ),
],
[
'type' => 'textfield',
'head 8dhl e վl `)l BW1 Q>l )l Ic`dhl PBFA 1 VA PBFA wVA
'value' => '',
'hidden' => true,
'group' => esc_attr__( 'Des Hchl e l @l BW1 Hl RHl Icpchl PBFA 1 VA PBFA wVA lor of the backside. ', 'fusion-builder' ),
'param_name' => 'title_back_color',
'val RHl ;HA l cAI1 VA l zʒR ;HA #l | VA PBFA wVA => 'colorpickeralpha',
'heading' => esc_attr__( 'Text Color Backside', 'fusion ahl e {l l BW1 Ul kl Icahl @ l 1 VA ml wVA et( 'flip_boxes_back_text' ),
'preview' => $hover_preview,
'group' => esc_ PBFA ˪?g`hl gl +i 6l ll ވS VA jl 1 VA 0rl wVA 'param_name' => 'border_size',
'value' => '',
'min' => '0',
chl e վl SHl BW1 el `:l Icchl l
],
[
'type' => 'colorpickeralpha',
'heading' => esc_attr__( 'Border Color', 'fusion-builder' ) `,l ˪?g(`hl ,l JwP`hl 0,l 3g}wx`hl A`hl +{5`hl ' ),
'dependency' => [
[
'element' => 'border_size',
'value' =l @l xl l l S l 1 wVA usion-builder' ),
'description' => esc_attr__( 'Controls the flip box border radius. In pi ^hl e Dl Dl BW1 )߾l @Dl Ic^hl PBFA 1 VA o embed events anywhere on your site.', 'wpforms-lite' ),
esc_attr( $step['button_class'] ),
esc_url( $step['button_url'] ),
esc_html( $step['button_text'] )
);
}
/**
* Generate and output footer section HTML.
*
* @since 1.9.8.6
*/
protected function output_section_footer(): void {
printf(
'',
esc_html__( 'From the same team trusted by over 6 million sites.', 'wpforms-lite' )
);
}
/**
* Step 'Result' data.
*
* @since 1.9.8.6
*
* @return array Step data.
*/
protected function get_data_step_result(): array {
$step = $this->get_default_step_data();
$plugin_license_level = $this->get_plugin_license_level();
if ( $plugin_license_level === 'lite' ) {
$this->apply_lite_step_data( $step );
} elseif ( $plugin_license_level === 'pro' ) {
$this->apply_pro_step_data( $step );
}
return $step;
}
/**
* Whether the plugin is finished setup or not.
*
* @since 1.9.8.6
*/
protected function is_plugin_finished_setup(): bool {
if ( ! $this->is_plugin_configured() ) {
return false;
}
return $this->get_plugin_license_level() === 'pro';
}
/**
* Get default step data.
*
* @since 1.9.8.6
*
* @return array Default step data.
*/
private function get_default_step_data(): array {
return [
'icon' => 'step-3.svg',
'section_class' => $this->output_data['plugin_setup'] ? '' : 'grey',
'button_text' => esc_html__( 'Learn More', 'wpforms-lite' ),
'button_class' => 'grey disabled',
'button_url' => '',
];
}
/**
* Get plugin license level.
*
* @since 1.9.8.6
*
* @return string License level ('lite', 'pro') or false if not activated.
*/
private function get_plugin_license_level(): string {
if ( ! function_exists( 'sugar_calendar' ) ) {
return 'lite';
}
$sugar_calendar = sugar_calendar();
return $sugar_calendar->__get( 'is_pro' ) ? 'pro' : 'lite';
}
/**
* Apply lite version step data.
*
* @since 1.9.8.6
*
* @param array $step Step data array (passed by reference).
*/
private function apply_lite_step_data( array &$step ): void {
$step['button_url'] = $this->config['sugar-calendar_addon_page'];
$step['button_class'] = $this->output_data['plugin_setup'] ? 'button-primary' : 'grey disabled';
}
/**
* Apply pro version step data.
*
* @since 1.9.8.6
*
* @param array $step Step data array (passed by reference).
*/
private function apply_pro_step_data( array &$step ): void {
$addon_installed = array_key_exists( $this->config['sugar-calendar_addon'], $this->output_data['all_plugins'] );
$configured = $this->is_plugin_configured();
$step['button_text'] = $addon_installed && $configured
? esc_html__( 'Sugar Calendar Pro Installed & Activated', 'wpforms-lite' )
: esc_html__( 'Install Now', 'wpforms-lite' );
$step['button_class'] = $this->output_data['plugin_setup'] || ! $configured ? 'grey disabled' : 'button-primary';
$step['icon'] = $addon_installed && $configured ? 'step-complete.svg' : 'step-3.svg';
}
/**
* Whether a plugin is configured or not.
*
* @since 1.9.8.6
*
* @return bool True if plugin is configured properly.
*/
protected function is_plugin_configured(): bool {
if ( ! $this->is_plugin_activated() ) {
return false;
}
$events = get_posts(
[
'post_type' => 'sc_event',
'post_status' => 'any',
'posts_per_page' => 1,
'fields' => 'ids',
]
);
return ! empty( $events );
}
/**
* Whether a plugin is active or not.
*
* @since 1.9.8.6
*
* @return bool True if the plugin is active.
*/
protected function is_plugin_activated(): bool {
return (
( function_exists( 'sugar_calendar' ) || class_exists( 'Sugar_Calendar\Plugin' ) ) &&
(
is_plugin_active( $this->config['lite_plugin'] ) ||
is_plugin_active( $this->config['pro_plugin'] )
)
);
}
/**
* Whether a plugin is available (class/function exists).
*
* @since 1.9.8.6
*
* @return bool True if plugin is available.
*/
protected function is_plugin_available(): bool {
return class_exists( 'Sugar_Calendar\Plugin' ) || function_exists( 'sugar_calendar' );
}
/**
* Whether pro version is active.
*
* @since 1.9.8.6
*
* @return bool True if pro version is active.
*/
protected function is_pro_active(): bool {
if ( ! function_exists( 'sugar_calendar' ) ) {
return false;
}
return sugar_calendar()->is_pro();
}
/**
* Get the heading for the install step.
*
* @since 1.9.8.6
*
* @return string Install step heading.
*/
protected function get_install_heading(): string {
return esc_html__( 'Install and Activate Sugar Calendar', 'wpforms-lite' );
}
/**
* Get the description for the install step.
*
* @since 1.9.8.6
*
* @return string Install step description.
*/
protected function get_install_description(): string {
return esc_html__( 'Bring your forms to life. Install Sugar Calendar and start creating events.', 'wpforms-lite' );
}
/**
* Get the plugin title.
*
* @since 1.9.8.6
*
* @return string Plugin title.
*/
protected function get_plugin_title(): string {
return esc_html__( 'Sugar Calendar', 'wpforms-lite' );
}
/**
* Get the install button text.
*
* @since 1.9.8.6
*
* @return string Install button text.
*/
protected function get_install_button_text(): string {
return esc_html__( 'Install Sugar Calendar', 'wpforms-lite' );
}
/**
* Get the text when a plugin is installed and activated.
*
* @since 1.9.8.6
*
* @return string Installed & activated text.
*/
protected function get_installed_activated_text(): string {
return esc_html__( 'Sugar Calendar Installed & Activated', 'wpforms-lite' );
}
/**
* Get the activate button text.
*
* @since 1.9.8.6
*
* @return string Activate button text.
*/
protected function get_activate_text(): string {
return esc_html__( 'Activate Sugar Calendar', 'wpforms-lite' );
}
/**
* Get the heading for the setup step.
*
* @since 1.9.8.6
*
* @return string Setup step heading.
*/
protected function get_setup_heading(): string {
return esc_html__( 'Create Your First Event', 'wpforms-lite' );
}
/**
* Get the description for the setup step.
*
* @since 1.9.8.6
*
* @return string Setup step description.
*/
protected function get_setup_description(): string {
return esc_html__( 'Add your first booking or class to your calendar in seconds. Clean, simple, and built right into WordPress.', 'wpforms-lite' );
}
/**
* Get the setup button text.
*
* @since 1.9.8.6
*
* @return string Setup button text.
*/
protected function get_setup_button_text(): string {
return esc_html__( 'Add First Event', 'wpforms-lite' );
}
/**
* Get the text when setup is completed.
*
* @since 1.9.8.6
*
* @return string Setup completed text.
*/
protected function get_setup_completed_text(): string {
return esc_html__( 'Event Created', 'wpforms-lite' );
}
/**
* Get the text when a pro-version is installed and activated.
*
* @since 1.9.8.6
*
* @return string Pro installed and activated text.
*/
protected function get_pro_installed_activated_text(): string {
return esc_html__( 'Sugar Calendar Pro Installed & Activated', 'wpforms-lite' );
}
}
3000 Euro Inflationsprämie Archive - Bürger & Geld
Zum Inhalt springen
Stand: 19. Juli 2024, 8:38 Uhr
3000 Euro Inflationsprämie
Die Inflation ist zwar abgeflacht, hat in den letzten beiden Jahren aber schwindelnde Höhen erreicht. … Weiterlesen …
Inmitten der aufgeheizten Wirtschaftslage Deutschlands entfacht ein neuer Zündstoff die gesellschaftliche Debatte – die Inflationsausgleichsprämie. … Weiterlesen …
Auf fast allen Seiten im Internet, die sich mit dem Bürgergeld befassen, war in jüngster … Weiterlesen …