File manager - Edit - /home/infoilmg/public_html/wp-content/plugins/fs-poster/App/Pages/Settings/Views/Components/vk.php
Back
<?php namespace FSPoster\App\Pages\Settings\Views; use FSPoster\App\Providers\Pages; use FSPoster\App\Providers\Helper; defined( 'ABSPATH' ) or exit; ?> <link rel="stylesheet" href="<?php echo Pages::asset( 'Settings', 'css/fsp-instagram-preview.css' ); ?>"> <div class="fsp-settings-row"> <div class="fsp-settings-col"> <div class="fsp-settings-label-text"><?php echo fsp__( 'Load own communities' ); ?></div> <div class="fsp-settings-label-subtext"><?php echo fsp__( 'Enable to add all your communities (page, group, event) to the plugin, communities that you are an admin.' ); ?></div> </div> <div class="fsp-settings-col"> <div class="fsp-toggle"> <input type="checkbox" name="fs_vk_load_admin_communities" class="fsp-toggle-checkbox" id="fs_vk_load_admin_communities"<?php echo Helper::getOption( 'vk_load_admin_communities', '1' ) ? ' checked' : ''; ?>> <label class="fsp-toggle-label" for="fs_vk_load_admin_communities"></label> </div> </div> </div> <div class="fsp-settings-row"> <div class="fsp-settings-col"> <div class="fsp-settings-label-text"><?php echo fsp__( 'Load communities' ); ?></div> <div class="fsp-settings-label-subtext"><?php echo fsp__( 'Enable to add all the communities to the plugin, communities that you are a member.' ); ?></div> </div> <div class="fsp-settings-col"> <div class="fsp-toggle"> <input type="checkbox" name="fs_vk_load_members_communities" class="fsp-toggle-checkbox" id="fs_vk_load_members_communities"<?php echo Helper::getOption( 'vk_load_members_communities', '1' ) ? ' checked' : ''; ?>> <label class="fsp-toggle-label" for="fs_vk_load_members_communities"></label> </div> </div> </div> <div class="fsp-settings-row"> <div class="fsp-settings-col"> <div class="fsp-settings-label-text"><?php echo fsp__( 'Maximum communities to add to the plugin' ); ?></div> <div class="fsp-settings-label-subtext"><?php echo fsp__( 'Define how many communities you want to add to the plugin. You can add a maximum of 1000 communities.' ); ?></div> </div> <div class="fsp-settings-col"> <input autocomplete="off" type="text" name="fs_vk_max_communities_limit" class="fsp-form-input" value="<?php echo esc_html( Helper::getOption( 'vk_max_communities_limit', '100' ) ); ?>"> </div> </div> <div class="fsp-settings-row"> <div class="fsp-settings-col"> <div class="fsp-settings-label-text"><?php echo fsp__( 'Upload the featured image to VKontakte' ); ?></div> <div class="fsp-settings-label-subtext"><?php echo fsp__( 'Enable to upload the featured image to VK, not attached image from the link; otherwise, your posts on VK will be shared as link card view.' ); ?></div> </div> <div class="fsp-settings-col"> <div class="fsp-toggle"> <input type="checkbox" name="fs_vk_upload_image" class="fsp-toggle-checkbox" id="fs_vk_upload_image"<?php echo Helper::getOption( 'vk_upload_image', '1' ) ? ' checked' : ''; ?>> <label class="fsp-toggle-label" for="fs_vk_upload_image"></label> </div> </div> </div> <div class="fsp-settings-row fsp-is-collapser"> <div class="fsp-settings-collapser"> <div class="fsp-settings-label-text"><?php echo fsp__( 'Custom message' ); ?> <i class="fas fa-angle-up fsp-settings-collapse-state fsp-is-rotated"></i></div> <div class="fsp-settings-label-subtext"><?php echo fsp__( 'You can customize the text of the shared post as you like by using the current keywords.' ); ?></div> </div> <div class="fsp-settings-collapse"> <div class="fsp-settings-col"> <div class="fsp-settings-col-title"><?php echo fsp__( 'Text' ); ?></div> <div class="fsp-custom-post" data-preview="fspCustomPostPreview"> <textarea name="fs_post_text_message_vk" class="fsp-form-textarea"><?php echo esc_html( Helper::getOption( 'post_text_message_vk', "{title}" ) ); ?></textarea> <div class="fsp-custom-post-buttons"> <button type="button" class="fsp-button fsp-is-gray fsp-append-to-text" data-key="{id}"> {ID} <i class="fas fa-info-circle fsp-tooltip" data-title="<?php echo fsp__( 'Post ID' ); ?>"></i> </button> <button type="button" class="fsp-button fsp-is-gray fsp-append-to-text" data-key="{product_regular_price}"> {PRODUCT_REGULAR_PRICE} <i class="fas fa-info-circle fsp-tooltip" data-title="<?php echo fsp__( 'WooCommerce - product price' ); ?>"></i> </button> <button type="button" class="fsp-button fsp-is-gray fsp-append-to-text" data-key="{author}"> {AUTHOR} <i class="fas fa-info-circle fsp-tooltip" data-title="<?php echo fsp__( 'Post author name' ); ?>"></i> </button> <button type="button" class="fsp-button fsp-is-gray fsp-append-to-text" data-key="{content_short_40}"> {CONTENT_SHORT_40} <i class="fas fa-info-circle fsp-tooltip" data-title="<?php echo fsp__( 'The default is the first 40 characters. You can set the number whatever you want. The plugin will share that number of characters.' ); ?>"></i> </button> <button type="button" class="fsp-button fsp-is-gray fsp-append-to-text" data-key="{title}"> {TITLE} <i class="fas fa-info-circle fsp-tooltip" data-title="<?php echo fsp__( 'Post title' ); ?>"></i> </button> <button type="button" class="fsp-button fsp-is-gray fsp-append-to-text" data-key="{featured_image_url}"> {FEATURED_IMAGE_URL} <i class="fas fa-info-circle fsp-tooltip" data-title="<?php echo fsp__( 'Featured image URL' ); ?>"></i> </button> <button type="button" class="fsp-button fsp-is-gray fsp-append-to-text" data-key="{tags}"> {TAGS} <i class="fas fa-info-circle fsp-tooltip" data-title="<?php echo fsp__( 'Post Tags' ); ?>"></i> </button> <button type="button" class="fsp-button fsp-is-gray fsp-append-to-text" data-key="{product_sale_price}"> {PRODUCT_SALE_PRICE} <i class="fas fa-info-circle fsp-tooltip" data-title="<?php echo fsp__( 'WooCommerce - product sale price' ); ?>"></i> </button> <button type="button" class="fsp-button fsp-is-gray fsp-append-to-text" data-key="{content_full}"> {CONTENT_FULL} <i class="fas fa-info-circle fsp-tooltip" data-title="<?php echo fsp__( 'Post full content' ); ?>"></i> </button> <button type="button" class="fsp-button fsp-is-gray fsp-append-to-text" data-key="{short_link}"> {SHORT_LINK} <i class="fas fa-info-circle fsp-tooltip" data-title="<?php echo fsp__( 'Post short link' ); ?>"></i> </button> <button type="button" class="fsp-button fsp-is-gray fsp-append-to-text" data-key="{excerpt}"> {EXCERPT} <i class="fas fa-info-circle fsp-tooltip" data-title="<?php echo fsp__( 'Post excerpt' ); ?>"></i> </button> <button type="button" class="fsp-button fsp-is-gray fsp-append-to-text" data-key="{categories}"> {CATEGORIES} <i class="fas fa-info-circle fsp-tooltip" data-title="<?php echo fsp__( 'Post Categories' ); ?>"></i> </button> <button type="button" class="fsp-button fsp-is-gray fsp-append-to-text" data-key="{uniq_id}"> {UNIQ_ID} <i class="fas fa-info-circle fsp-tooltip" data-title="<?php echo fsp__( 'Unique ID' ); ?>"></i> </button> <button type="button" class="fsp-button fsp-is-gray fsp-append-to-text" data-key="{cf_KEY}"> {CF_KEY} <i class="fas fa-info-circle fsp-tooltip" data-title="<?php echo fsp__( 'Custom fields. Replace KEY with the custom field name.' ); ?>"></i> </button> <button type="button" class="fsp-button fsp-is-gray fsp-append-to-text" data-key="{link}"> {LINK} <i class="fas fa-info-circle fsp-tooltip" data-title="<?php echo fsp__( 'Post link' ); ?>"></i> </button> <button type="button" class="fsp-button fsp-is-red fsp-clear-button fsp-tooltip" data-title="<?php echo fsp__( 'Click to clear the textbox' ); ?>"> <?php echo fsp__( 'CLEAR' ); ?> </button> </div> </div> </div> <div class="fsp-settings-col"> <div class="fsp-settings-col-title"><?php echo fsp__( 'Preview' ); ?></div> <div class="fsp-settings-preview"> <div class="fsp-settings-preview-header"> <img src="#" onerror="FSPoster.no_photo( this );"> <div class="fsp-settings-preview-header-title"><?php echo get_bloginfo( 'name' ); ?></div> <i class="fas fa-ellipsis-h fsp-settings-preview-dots"></i> </div> <div class="fsp-settings-preview-image"></div> <div class="fsp-settings-preview-footer"> <div class="fsp-settings-preview-controls"> <i class="far fa-heart"></i> <i class="far fa-comment"></i> <i class="far fa-paper-plane"></i> </div> <div class="fsp-settings-preview-info"> <span class="fsp-settings-preview-info-title"><?php echo get_bloginfo( 'name' ); ?></span> <span id="fspCustomPostPreview" class="fsp-settings-preview-info-text"><?php echo esc_html( Helper::getOption( 'post_text_message_vk', "{title}" ) ); ?></span> </div> </div> </div> </div> </div> </div>
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Generation time: 0.05 |
proxy
|
phpinfo
|
Settings