first commit

This commit is contained in:
2026-03-05 13:07:40 +01:00
commit 64ba0721ee
25709 changed files with 4691006 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
<?php
defined( 'ABSPATH' ) || exit; // Exit if accessed directly
?>
<p>
<?php
esc_html_e( 'Would you like to boost your website sharing abilities?', 'sierotki ' );
?>
</p>
<p>
<?php
printf(
esc_html__( 'Don\'t wait, install plugin %s!', 'sierotki' ),
sprintf(
'<a href="%s" target="_blank"><strong>%s</strong></a>',
$args['plugin_wp_home'],
$args['plugin_name']
)
);
?>
</p>
<p class="iworks-rate-center"><a href="<?php echo esc_url( $args['install_plugin_url'] ); ?>" class="iworks-rate-button iworks-rate-button--green dashicons-admin-plugins
"><?php echo esc_html( __( 'Install', 'sierotki' ) ); ?></a></p>

View File

@@ -0,0 +1,35 @@
<?php
defined( 'ABSPATH' ) || exit; // Exit if accessed directly
/**
* Notice displayed in admin panel.
*/
?>
<div class="notice notice-success is-dismissible notice-iworks-rate"
data-slug="<?php echo esc_attr( $args['slug'] ); ?>"
data-id="<?php echo esc_attr( $args['plugin_id'] ); ?>"
data-ajax-url="<?php echo esc_url( $args['ajax_url'] ); ?>"
>
<div class="<?php echo esc_attr( implode( ' ', $args['classes'] ) ); ?>">
<h4>
<?php
if ( ! empty( $args['logo'] ) ) {
printf( '<span class="iworks-rate-logo" style="background-image:url(%s)"></span>', esc_url( $args['logo'] ) ); }
?>
<span><?php printf( esc_html( __( 'Thank you for using our plugin %s!', 'sierotki' ) ), sprintf( '<strong>%s</strong>', $args['title'] ) ); ?></span></h4>
<?php
/* translators: %1$s: open anchor tag, %2$s: close anchor tag */
$content = __( 'Please let us know what you think about our plugin. It is important that we can develop this tool. Thank you for all the ratings, reviews and donates. If you have a technical problem, please before you add a review %1$scheck our FAQ%2$s or contact us if you did not find help there. We will try to help you!', 'sierotki' );
echo wpautop( wp_kses_post( sprintf( $content, sprintf( '<a href="%s#faq" target="_blank">', $args['url'] ), '</a>' ) ) );
?>
<div class="iworks-rate-buttons">
<a data-action="get-help" href="<?php echo $args['support_url']; ?>/#new-post" target="_blank" class="iworks-rate-button iworks-rate-button--green" ><?php echo esc_html( __( 'Get help', 'sierotki' ) ); ?></a>
<?php if ( intval( $args['rated'] ) === 0 ) { ?>
<a data-action="add-review" href="<?php echo $args['support_url']; ?>/reviews/?rate=5#new-post" target="_blank" class="iworks-rate-button iworks-rate-button--green" ><?php echo esc_html( __( 'Add review', 'sierotki' ) ); ?></a>
<?php } ?>
<a data-action="donate" href="https://ko-fi.com/iworks/?utm_source=<?php echo $args['slug']; ?>&utm_medium=notice-thanks" target="_blank" class="iworks-rate-button iworks-rate-button--green dashicons-heart" ><?php echo esc_html( __( 'Provide us a coffee', 'sierotki' ) ); ?></a>
<?php if ( intval( $args['rated'] ) === 0 ) { ?>
<button type="button" data-action="hide" class="iworks-rate-button iworks-rate-button--blue" ><?php echo esc_html( __( 'I added review, do not show again', 'sierotki' ) ); ?></button>
<?php } ?>
</div>
</div>
</div>

View File

@@ -0,0 +1,5 @@
<?php defined( 'ABSPATH' ) || exit; // Exit if accessed directly ?>
<p><?php echo wp_kses_post( __( 'However, working on plugins and technical support requires many hours of work. If you want to appreciate it, you can provide me a coffee.', 'sierotki' ) ); ?></p>
<p><?php echo wp_kses_post( __( 'If every plugin user did it, I could devote myself fully to working on this plugin. Thanks everyone!', 'sierotki' ) ); ?></p>
<p class="iworks-rate-center"><a href="https://ko-fi.com/iworks/?utm_source=<?php echo $args['slug']; ?>&utm_medium=widget-donate" target="_blank" class="iworks-rate-button iworks-rate-button--blue dashicons-heart"><?php echo esc_html( __( 'Provide me a coffee', 'sierotki' ) ); ?></a></p>

View File

@@ -0,0 +1,35 @@
<?php defined( 'ABSPATH' ) || exit; // Exit if accessed directly ?>
<p>
<?php
echo wp_kses_post(
__( 'Do you have a technical problem? Please contact us. We will be happy to help you. Or maybe you have an idea for a new feature? Please let us know about it by filling the support form. We will try to add it!', 'sierotki' )
);
?>
</p>
<p>
<?php
echo wp_kses_post(
sprintf(
/* translators: %1$s: open anchor tag, %2$s: close anchor tag, %3$s: open anchor tag, %4$s: close anchor tag */
__( 'Please %1$scheck our FAQ%2$s before adding a thread with technical problem. If you do not find help there, %3$scheck support forum%4$s for similar problems.', 'sierotki' ),
'<a href="' . $args['url'] . '#faq" target="_blank">',
'</a>',
'<a href="' . $args['support_url'] . '" target="_blank">',
'</a>'
)
);
?>
</p>
<p class="iworks-rate-center">
<a href="<?php echo $args['support_url']; ?>" target="_blank" class="iworks-rate-button iworks-rate-button--blue" ><?php echo esc_html( __( 'Get help', 'sierotki' ) ); ?></a>
</p>
<p>
<?php
echo wp_kses_post(
__( 'Do you like our plugin? Could you rate him? Please let us know what you think about our plugin. It is important that we can develop this tool. Thank you for all the ratings, reviews and donates.', 'sierotki' )
);
?>
</p>
<p class="iworks-rate-center">
<a href="<?php echo add_query_arg( 'rate', '5', $args['support_url'] . '/reviews/' ); ?>#new-post" target="_blank" class="iworks-rate-button iworks-rate-button--blue" ><?php echo esc_html( __( 'Add review', 'sierotki' ) ); ?></a>
</p>