REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 5.96 KB
Close
/home/nshryvcy/taramarriagebureau.com/wp-content/plugins/trx_utils/shortcodes/trx_basic/table.php
Text
Base64
<?php /* Theme setup section -------------------------------------------------------------------- */ if (!function_exists('planmyday_sc_table_theme_setup')) { add_action( 'planmyday_action_before_init_theme', 'planmyday_sc_table_theme_setup' ); function planmyday_sc_table_theme_setup() { add_action('planmyday_action_shortcodes_list', 'planmyday_sc_table_reg_shortcodes'); if (function_exists('planmyday_exists_visual_composer') && planmyday_exists_visual_composer()) add_action('planmyday_action_shortcodes_list_vc','planmyday_sc_table_reg_shortcodes_vc'); } } /* Shortcode implementation -------------------------------------------------------------------- */ /* [trx_table id="unique_id" style="1"] Table content, generated on one of many public internet resources, for example: http://www.impressivewebs.com/html-table-code-generator/ [/trx_table] */ if (!function_exists('planmyday_sc_table')) { function planmyday_sc_table($atts, $content=''){ if (planmyday_in_shortcode_blogger()) return ''; extract(planmyday_html_decode(shortcode_atts(array( // Individual params "align" => "", // Common params "id" => "", "class" => "", "animation" => "", "css" => "", "top" => "", "bottom" => "", "left" => "", "right" => "", "width" => "100%" ), $atts))); $class .= ($class ? ' ' : '') . planmyday_get_css_position_as_classes($top, $right, $bottom, $left); $css .= planmyday_get_css_dimensions_from_values($width); $content = str_replace( array('<p><table', 'table></p>', '><br />'), array('<table', 'table>', '>'), html_entity_decode($content, ENT_COMPAT, 'UTF-8')); $output = '<div' . ($id ? ' id="'.esc_attr($id).'"' : '') . ' class="sc_table' . (!empty($align) && $align!='none' ? ' align'.esc_attr($align) : '') . (!empty($class) ? ' '.esc_attr($class) : '') . '"' . (!planmyday_param_is_off($animation) ? ' data-animation="'.esc_attr(planmyday_get_animation_classes($animation)).'"' : '') . ($css!='' ? ' style="'.esc_attr($css).'"' : '') .'>' . do_shortcode($content) . '</div>'; return apply_filters('planmyday_shortcode_output', $output, 'trx_table', $atts, $content); } add_shortcode('trx_table', 'planmyday_sc_table'); } /* Register shortcode in the internal SC Builder -------------------------------------------------------------------- */ if ( !function_exists( 'planmyday_sc_table_reg_shortcodes' ) ) { //add_action('planmyday_action_shortcodes_list', 'planmyday_sc_table_reg_shortcodes'); function planmyday_sc_table_reg_shortcodes() { planmyday_sc_map("trx_table", array( "title" => esc_html__("Table", 'trx_utils'), "desc" => wp_kses_data( __("Insert a table into post (page). ", 'trx_utils') ), "decorate" => true, "container" => true, "params" => array( "align" => array( "title" => esc_html__("Content alignment", 'trx_utils'), "desc" => wp_kses_data( __("Select alignment for each table cell", 'trx_utils') ), "value" => "none", "type" => "checklist", "dir" => "horizontal", "options" => planmyday_get_sc_param('align') ), "_content_" => array( "title" => esc_html__("Table content", 'trx_utils'), "desc" => wp_kses_data( __("Content, created with any table-generator", 'trx_utils') ), "divider" => true, "rows" => 8, "value" => "Paste here table content, generated on one of many public internet resources, for example: http://www.impressivewebs.com/html-table-code-generator/ or http://html-tables.com/", "type" => "textarea" ), "width" => planmyday_shortcodes_width(), "top" => planmyday_get_sc_param('top'), "bottom" => planmyday_get_sc_param('bottom'), "left" => planmyday_get_sc_param('left'), "right" => planmyday_get_sc_param('right'), "id" => planmyday_get_sc_param('id'), "class" => planmyday_get_sc_param('class'), "animation" => planmyday_get_sc_param('animation'), "css" => planmyday_get_sc_param('css') ) )); } } /* Register shortcode in the VC Builder -------------------------------------------------------------------- */ if ( !function_exists( 'planmyday_sc_table_reg_shortcodes_vc' ) ) { //add_action('planmyday_action_shortcodes_list_vc', 'planmyday_sc_table_reg_shortcodes_vc'); function planmyday_sc_table_reg_shortcodes_vc() { vc_map( array( "base" => "trx_table", "name" => esc_html__("Table", 'trx_utils'), "description" => wp_kses_data( __("Insert a table", 'trx_utils') ), "category" => esc_html__('Content', 'trx_utils'), 'icon' => 'icon_trx_table', "class" => "trx_sc_container trx_sc_table", "content_element" => true, "is_container" => false, "show_settings_on_create" => true, "params" => array( array( "param_name" => "align", "heading" => esc_html__("Cells content alignment", 'trx_utils'), "description" => wp_kses_data( __("Select alignment for each table cell", 'trx_utils') ), "admin_label" => true, "class" => "", "value" => array_flip(planmyday_get_sc_param('align')), "type" => "dropdown" ), array( "param_name" => "content", "heading" => esc_html__("Table content", 'trx_utils'), "description" => wp_kses_data( __("Content, created with any table-generator", 'trx_utils') ), "class" => "", "value" => esc_html__("Paste here table content, generated on one of many public internet resources, for example: http://www.impressivewebs.com/html-table-code-generator/ or http://html-tables.com/", 'trx_utils'), "type" => "textarea_html" ), planmyday_get_vc_param('id'), planmyday_get_vc_param('class'), planmyday_get_vc_param('animation'), planmyday_get_vc_param('css'), planmyday_vc_width(), planmyday_vc_height(), planmyday_get_vc_param('margin_top'), planmyday_get_vc_param('margin_bottom'), planmyday_get_vc_param('margin_left'), planmyday_get_vc_param('margin_right') ), 'js_view' => 'VcTrxTextContainerView' ) ); class WPBakeryShortCode_Trx_Table extends Planmyday_Vc_ShortCodeContainer {} } } ?>
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 21
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
audio.php
9.81 KB
lrw-r--r--
2025-04-30 03:15:53
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
blogger.php
32.31 KB
lrw-r--r--
2025-04-30 03:15:53
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
call_to_action.php
17.19 KB
lrw-r--r--
2025-04-30 03:15:53
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
columns.php
16.24 KB
lrw-r--r--
2025-04-30 03:15:53
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
content.php
4.86 KB
lrw-r--r--
2025-04-30 03:15:53
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
form.php
21.89 KB
lrw-r--r--
2025-04-30 03:15:53
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
googlemap.php
13.52 KB
lrw-r--r--
2025-04-30 03:15:53
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
image.php
8.84 KB
lrw-r--r--
2025-04-30 03:15:53
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
infobox.php
8.21 KB
lrw-r--r--
2025-04-30 03:15:53
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
line.php
9.61 KB
lrw-r--r--
2025-04-30 03:15:53
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
list.php
13.83 KB
lrw-r--r--
2025-04-30 03:15:53
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
price_block.php
11.59 KB
lrw-r--r--
2025-04-30 03:15:53
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
promo.php
14.41 KB
lrw-r--r--
2025-04-30 03:15:53
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
quote.php
5.83 KB
lrw-r--r--
2025-04-30 03:15:53
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
section.php
25.57 KB
lrw-r--r--
2025-04-30 03:15:53
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
skills.php
33.22 KB
lrw-r--r--
2025-04-30 03:15:53
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
slider.php
37.03 KB
lrw-r--r--
2025-04-30 03:15:53
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
socials.php
12.37 KB
lrw-r--r--
2025-04-30 03:15:53
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
table.php
5.96 KB
lrw-r--r--
2025-04-30 03:15:53
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
title.php
16.30 KB
lrw-r--r--
2025-04-30 03:15:53
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
video.php
14.91 KB
lrw-r--r--
2025-04-30 03:15:53
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).