shapes
7 years ago
updater
5 years ago
vendor
5 years ago
admin-posts.php
7 years ago
admin-settings-js-config.php
8 years ago
admin-settings-license.php
5 years ago
admin-settings-modules.php
5 years ago
admin-settings-post-types.php
6 years ago
admin-settings-tools.php
5 years ago
admin-settings-upgrade.php
7 years ago
admin-settings-user-access.php
7 years ago
admin-settings-welcome.php
5 years ago
admin-settings.php
7 years ago
column-css.php
5 years ago
column-group.php
7 years ago
column-settings.php
5 years ago
column.php
7 years ago
compatibility.php
5 years ago
export-filters.php
8 years ago
export.php
5 years ago
global-settings.php
5 years ago
icon-selector.php
8 years ago
layout-js-config.php
8 years ago
layout-settings.php
7 years ago
loop-settings-matching.php
7 years ago
module-settings.php
5 years ago
module.php
7 years ago
row-css.php
5 years ago
row-js.php
7 years ago
row-settings.php
5 years ago
row-video.php
5 years ago
row.php
7 years ago
shape-layer.php
7 years ago
strings.php
7 years ago
ui-bar-title-area.php
5 years ago
ui-bar.php
5 years ago
ui-extras.php
5 years ago
ui-field-align.php
7 years ago
ui-field-animation.php
7 years ago
ui-field-border.php
7 years ago
ui-field-button-group.php
7 years ago
ui-field-button.php
8 years ago
ui-field-code.php
8 years ago
ui-field-color.php
7 years ago
ui-field-date.php
7 years ago
ui-field-dimension.php
7 years ago
ui-field-editor.php
8 years ago
ui-field-font.php
7 years ago
ui-field-form.php
5 years ago
ui-field-gradient.php
7 years ago
ui-field-icon.php
7 years ago
ui-field-layout.php
8 years ago
ui-field-link.php
5 years ago
ui-field-multiple-audios.php
8 years ago
ui-field-multiple-photos.php
8 years ago
ui-field-ordering.php
8 years ago
ui-field-photo-sizes.php
7 years ago
ui-field-photo.php
5 years ago
ui-field-post-type.php
8 years ago
ui-field-preset.php
7 years ago
ui-field-raw.php
7 years ago
ui-field-select.php
7 years ago
ui-field-shadow.php
7 years ago
ui-field-shape-transform.php
7 years ago
ui-field-suggest.php
7 years ago
ui-field-text.php
7 years ago
ui-field-textarea.php
6 years ago
ui-field-time.php
8 years ago
ui-field-timezone.php
8 years ago
ui-field-typography.php
7 years ago
ui-field-unit.php
7 years ago
ui-field-video.php
8 years ago
ui-field.php
7 years ago
ui-js-config.php
5 years ago
ui-js-templates.php
5 years ago
ui-legacy-custom-field.php
8 years ago
ui-legacy-field.php
7 years ago
ui-legacy-settings.php
8 years ago
ui-loop-settings.php
5 years ago
ui-service-settings.php
8 years ago
ui-settings-config.php
6 years ago
ui-settings-form-row.php
5 years ago
ui-settings-form.php
5 years ago
updater-config.php
5 years ago
admin-posts.php
29 lines
| 1 | <div class="fl-builder-admin"> |
| 2 | <?php if ( FLBuilderUserAccess::current_user_can( 'builder_access' ) ) : ?> |
| 3 | <div class="fl-builder-admin-tabs"> |
| 4 | <a href="javascript:void(0);" onclick="return false;" class="fl-enable-editor<?php echo ( ! $enabled ) ? ' fl-active' : ''; ?>"><?php _e( 'Text Editor', 'fl-builder' ); ?></a> |
| 5 | <a href="javascript:void(0);" onclick="return false;" class="fl-enable-builder<?php echo ( $enabled ) ? ' fl-active' : ''; ?>"><?php echo FLBuilderModel::get_branding(); ?></a> |
| 6 | </div> |
| 7 | <?php endif; ?> |
| 8 | <div class="fl-builder-admin-ui"> |
| 9 | <?php /* translators: 1: branded builder name: 2: post type name */ ?> |
| 10 | <h3><?php printf( _x( '%1$s is currently active for this %2$s.', 'The first %s stands for custom branded "Page Builder" name. The second %s stands for the post type name.', 'fl-builder' ), FLBuilderModel::get_branding(), $post_type_name ); ?></h3> |
| 11 | <?php if ( FLBuilderUserAccess::current_user_can( 'builder_access' ) ) : ?> |
| 12 | <?php /* translators: %s: branded builder name */ ?> |
| 13 | <a href="<?php echo FLBuilderModel::get_edit_url(); ?>" class="fl-launch-builder button button-primary button-large"><?php printf( _x( 'Launch %s', '%s stands for custom branded "Page Builder" name.', 'fl-builder' ), FLBuilderModel::get_branding() ); ?></a> |
| 14 | <?php else : ?> |
| 15 | <?php /* translators: %s: post type name */ ?> |
| 16 | <a href="<?php echo get_permalink(); ?>" class="button button-large"><?php printf( _x( 'View %s', '%s stands the post type name.', 'fl-builder' ), $post_type_name ); ?></a> |
| 17 | <?php endif; ?> |
| 18 | </div> |
| 19 | <div class="fl-builder-loading"></div> |
| 20 | </div> |
| 21 | <script type="text/javascript"> |
| 22 | |
| 23 | FLBuilderAdminPostsStrings = { |
| 24 | <?php /* translators: 1: branded builder name */ ?> |
| 25 | switchToEditor: "<?php printf( esc_attr_x( 'Switching to Text Editor mode will disable your %1$s layout until it is enabled again. Any edits made while in Text Editor mode will not be made on your %1$s layout. Do you want to continue?', '%s stands for custom branded \"Page Builder\" name.', 'fl-builder' ), FLBuilderModel::get_branding() ); ?>" |
| 26 | }; |
| 27 | |
| 28 | </script> |
| 29 |