本文整理汇总了PHP中crum_appear_effects函数的典型用法代码示例。如果您正苦于以下问题:PHP crum_appear_effects函数的具体用法?PHP crum_appear_effects怎么用?PHP crum_appear_effects使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了crum_appear_effects函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: fields
/**
* The shortcodes attributes with the field options
*
* @access private
* @param array $atts
* @return shortcode output
*/
public static function fields()
{
global $mvb_metro_factory;
$the_fields = array('main_title' => array('type' => 'text', 'label' => __('Title', 'mvb')), 'address' => array('type' => 'text', 'label' => __('Address to display on map', 'mvb')), 'height' => array('type' => 'text', 'label' => __('Height (in px)', 'mvb'), 'col_span' => 'lbl_half'), 'zoom' => array('type' => 'text', 'label' => __('Map zoom (from 0 to 21+)', 'mvb'), 'col_span' => 'lbl_half'), 'content' => array('type' => 'textarea', 'editor' => TRUE, 'label' => __('Additional information', 'mvb')), 'separator-effects' => array('type' => 'separator'), 'effects' => array('type' => 'select', 'label' => __('Appear effects', 'mvb'), 'help' => __('Select one of appear effects for block', 'mvb'), 'default' => '0', 'options' => crum_appear_effects(), 'col_span' => 'lbl_third'), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'mvb'), 'help' => __('Separated by space', 'mvb'), 'col_span' => 'lbl_third'), 'css_styles' => array('type' => 'text', 'label' => __('Additional CSS styles', 'mvb'), 'help' => __('Separated by <b>;</b>', 'mvb'), 'col_span' => 'lbl_full'), 'unique_id' => array('type' => 'text', 'default' => uniqid('mvbtab_'), 'label' => __('Unique ID', 'mvb'), 'help' => __('Must be unique for every tab on the page.', 'mvb'), 'col_span' => 'lbl_third'));
$the_fields = apply_filters('mvb_fields_filter', $the_fields);
return $the_fields;
}
示例2: fields
/**
* The shortcodes attributes with the field options
*
* @access private
* @param array $atts
* @return shortcode output
*/
public static function fields()
{
global $mvb_metro_factory;
$the_fields = array('main_title' => array('type' => 'text', 'label' => __('Title', 'mvb')), 'separator1' => array('type' => 'separator'), 'presentation_box' => array('type' => 'repeater', 'button' => __('Add box', 'mvb'), 'label' => __('Box', 'mvb'), 'lbl_d' => __('Box Title', 'mvb'), 'fields' => array('image' => array('type' => 'image', 'label' => __('Image', 'mvb'), 'col_span' => 'lbl_half'), 'main_title' => array('type' => 'text', 's_title' => TRUE, 'label' => __('Title', 'mvb'), 'col_span' => 'lbl_half'), 'sub_title' => array('type' => 'text', 'label' => __('Subtitle', 'mvb'), 'col_span' => 'lbl_half'), 'separator' => array('type' => 'separator'), 'color' => array('type' => 'colorpicker', 'label' => __('Background Color', 'mvb'), 'default' => '61727b', 'col_span' => 'lbl_third'), 'icon_color' => array('type' => 'colorpicker', 'label' => __('Icon text color', 'mvb'), 'default' => 'DBDBDB', 'col_span' => 'lbl_third'), 'icon_shadow_color' => array('type' => 'colorpicker', 'label' => __('Icon shadow color', 'mvb'), 'default' => 'DBDBDB', 'col_span' => 'lbl_third'), 'separator' => array('type' => 'separator'), 'icon' => array('type' => 'icon', 'label' => __('Icon', 'mvb'), 'col_span' => 'lbl_third'), 'separator1' => array('type' => 'separator'), 'link_url' => array('type' => 'text', 'label' => __('Link (URL)', 'mvb'), 'col_span' => 'lbl_half'), 'page_id' => array('type' => 'mvb_dropdown', 'label' => __('Link to page', 'mvb'), 'what' => 'pages', 'default' => 0, 'col_span' => 'lbl_half'), 'content' => array('type' => 'textarea', 'label' => __('Content', 'mvb')), 'read_more' => array('type' => 'select', 'label' => __('Display the "read more" link', 'mvb'), 'default' => 1, 'options' => mvb_yes_no(), 'col_span' => 'lbl_half'), 'read_more_text' => array('type' => 'text', 'label' => __('"Read more" link text', 'mvb'), 'default' => __('Read more', 'mvb'), 'col_span' => 'lbl_half'), 'separator-effects' => array('type' => 'separator'), 'effects' => array('type' => 'select', 'label' => __('Appear effects', 'mvb'), 'help' => __('Select one of appear effects for block', 'mvb'), 'default' => '0', 'options' => crum_appear_effects(), 'col_span' => 'lbl_third'), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'mvb'), 'help' => __('Separated by space', 'mvb'), 'col_span' => 'lbl_third'))), 'separator' => array('type' => 'separator'), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'mvb'), 'help' => __('Separated by space', 'mvb'), 'col_span' => 'lbl_third'), 'css_styles' => array('type' => 'text', 'label' => __('Additional CSS styles', 'mvb'), 'help' => __('Separated by <b>;</b>', 'mvb'), 'col_span' => 'lbl_full'));
$the_fields = apply_filters('mvb_fields_filter', $the_fields);
return $the_fields;
}
示例3: fields
/**
* The shortcodes attributes with the field options
*
* @access private
* @param array $atts
* @return shortcode output
*/
public static function fields()
{
global $mvb_metro_factory;
$the_fields = array('main_title' => array('type' => 'text', 'label' => __('Title', 'dfd')), 'accordion_panel' => array('type' => 'repeater', 'button' => __('Add section', 'dfd'), 'label' => __('Section', 'dfd'), 'lbl_d' => __('Section Title', 'dfd'), 'fields' => array('icon' => array('type' => 'icon', 'label' => __('Icon', 'dfd'), 'col_span' => 'lbl_third'), 'panel_title' => array('type' => 'text', 's_title' => TRUE, 'label' => __('Section Title', 'dfd'), 'col_span' => 'lbl_third'), 'content' => array('type' => 'textarea', 'label' => __('Section content', 'dfd')))), 'separator-effects' => array('type' => 'separator'), 'effects' => array('type' => 'select', 'label' => __('Appear effects', 'dfd'), 'help' => __('Select one of appear effects for block', 'dfd'), 'default' => '0', 'options' => crum_appear_effects(), 'col_span' => 'lbl_third'), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'dfd'), 'help' => __('Separated by space', 'dfd'), 'col_span' => 'lbl_third'), 'css_styles' => array('type' => 'text', 'label' => __('Additional CSS styles', 'dfd'), 'help' => __('Separated by <b>;</b>', 'dfd'), 'col_span' => 'lbl_full'), 'unique_id' => array('type' => 'text', 'default' => uniqid('mvbacc_'), 'label' => __('Unique ID', 'dfd'), 'help' => __('Must be unique for every tab on the page.', 'dfd'), 'col_span' => 'lbl_third'));
$the_fields = apply_filters('mvb_fields_filter', $the_fields);
return $the_fields;
}
示例4: fields
/**
* The shortcodes attributes with the field options
*
* @access private
* @param array $atts
* @return shortcode output
*/
public static function fields()
{
global $mvb_metro_factory;
$the_fields = array('main_title' => array('type' => 'text', 'label' => __('Title', 'mvb')), 'separator1' => array('type' => 'separator'), 'presentation_box' => array('type' => 'repeater', 'button' => __('Add team member', 'mvb'), 'label' => __('Member', 'mvb'), 'lbl_d' => __('Mamber name', 'mvb'), 'fields' => array('image' => array('type' => 'image', 'label' => __('Image', 'mvb'), 'col_span' => 'lbl_half'), 'image_flip' => array('type' => 'image', 'label' => __('Flip Image', 'mvb'), 'col_span' => 'lbl_half'), 'separator11' => array('type' => 'separator', 'border' => true), 'main_title' => array('type' => 'text', 's_title' => TRUE, 'label' => __('Member name', 'mvb'), 'col_span' => 'lbl_half'), 'sub_title' => array('type' => 'text', 'label' => __('Member additional', 'mvb', 'mvb'), 'col_span' => 'lbl_half'), 'content' => array('type' => 'textarea', 'label' => __('Content', 'mvb')), 'separator-link' => array('type' => 'separator'), 'link_url' => array('type' => 'text', 'label' => __('Link (URL)', 'mvb'), 'col_span' => 'lbl_half'), 'page_id' => array('type' => 'mvb_dropdown', 'label' => __('Link to page', 'mvb'), 'what' => 'pages', 'default' => 0, 'col_span' => 'lbl_half'), 'link_title' => array('type' => 'text', 'label' => __('Link Title', 'mvb'), 'default' => 'Read more', 'col_span' => 'lbl_half'), 'separator0' => array('type' => 'separator', 'border' => true), 'tw_link' => array('type' => 'text', 'label' => 'Twitter', 'col_span' => 'lbl_half'), 'fb_link' => array('type' => 'text', 'label' => 'Facebook', 'col_span' => 'lbl_half'), 'li_link' => array('type' => 'text', 'label' => 'LinkedIN', 'col_span' => 'lbl_half'), 'gp_link' => array('type' => 'text', 'label' => 'Google +', 'col_span' => 'lbl_half'), 'in_link' => array('type' => 'text', 'label' => 'Instagram', 'col_span' => 'lbl_half'), 'vi_link' => array('type' => 'text', 'label' => 'Vimeo', 'col_span' => 'lbl_half'), 'lf_link' => array('type' => 'text', 'label' => 'Last FM', 'col_span' => 'lbl_half'), 'vk_link' => array('type' => 'text', 'label' => 'Vkontakte', 'col_span' => 'lbl_half'), 'yt_link' => array('type' => 'text', 'label' => 'YouTube', 'col_span' => 'lbl_half'), 'de_link' => array('type' => 'text', 'label' => 'Devianart', 'col_span' => 'lbl_half'), 'pi_link' => array('type' => 'text', 'label' => 'Picasa', 'col_span' => 'lbl_half'), 'pt_link' => array('type' => 'text', 'label' => 'Pinterest', 'col_span' => 'lbl_half'), 'wp_link' => array('type' => 'text', 'label' => 'Wordpress', 'col_span' => 'lbl_half'), 'db_link' => array('type' => 'text', 'label' => 'Dropbox', 'col_span' => 'lbl_half'), 'separator-effects' => array('type' => 'separator'), 'effects' => array('type' => 'select', 'label' => __('Appear effects', 'mvb'), 'help' => __('Select one of appear effects for block', 'mvb'), 'default' => '0', 'options' => crum_appear_effects(), 'col_span' => 'lbl_half'), 'thumbnail_transform' => array('type' => 'select', 'label' => __('Tumbnail Transform', 'mvb'), 'help' => __('Select one of appear effects for thubmnail', 'mvb'), 'default' => 0, 'options' => dfd_tumbnail_transform(), 'col_span' => 'lbl_half'))), 'separator' => array('type' => 'separator'), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'mvb'), 'help' => __('Separated by space', 'mvb')), 'css_styles' => array('type' => 'text', 'label' => __('Additional CSS styles', 'mvb'), 'help' => __('Separated by <b>;</b>', 'mvb'), 'col_span' => 'lbl_full'));
$the_fields = apply_filters('mvb_fields_filter', $the_fields);
return $the_fields;
}
示例5: fields
/**
* The shortcodes attributes with the field options
*
* @access private
* @param array $atts
* @return shortcode output
*/
public static function fields()
{
global $mvb_metro_factory;
$the_fields = array('main_title' => array('type' => 'text', 'label' => __('Title', 'dfd')), 'separator1' => array('type' => 'separator'), 'single_client' => array('type' => 'repeater', 'button' => __('Add client', 'dfd'), 'label' => __('Client', 'dfd'), 'lbl_d' => __('Client Name', 'dfd'), 'fields' => array('image' => array('type' => 'image', 'label' => __('Image', 'dfd'), 'col_span' => 'lbl_half'), 'main_title' => array('type' => 'text', 's_title' => TRUE, 'label' => __('Client Name', 'dfd'), 'col_span' => 'lbl_half'), 'client_url' => array('type' => 'text', 'label' => __('Client URL', 'dfd'), 'col_span' => 'lbl_half'))), 'separator-slideshow' => array('type' => 'separator'), 'slideshow' => array('type' => 'select', 'label' => __('Autostart Slideshow', 'dfd'), 'default' => 1, 'options' => mvb_yes_no(), 'col_span' => 'lbl_half'), 'slideshow_speed' => array('type' => 'text', 'label' => __('Slideshow Speed', 'dfd'), 'help' => __('Set slideshow speed in ms', 'dfd'), 'defaut' => '7000', 'col_span' => 'lbl_half'), 'separator-effects' => array('type' => 'separator'), 'effects' => array('type' => 'select', 'label' => __('Appear effects', 'dfd'), 'help' => __('Select one of appear effects for block', 'dfd'), 'default' => '0', 'options' => crum_appear_effects(), 'col_span' => 'lbl_half'), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'dfd'), 'help' => __('Separated by space', 'dfd'), 'col_span' => 'lbl_half'), 'css_styles' => array('type' => 'text', 'label' => __('Additional CSS styles', 'dfd'), 'help' => __('Separated by <b>;</b>', 'dfd'), 'col_span' => 'lbl_full'), 'separator' => array('type' => 'separator'), 'new_tab' => array('type' => 'select', 'label' => __('Opens in new tab', 'dfd'), 'default' => 0, 'options' => mvb_yes_no(), 'col_span' => 'lbl_half'), 'unique_id' => array('type' => 'text', 'default' => uniqid('mvbacc_'), 'label' => __('Unique ID', 'dfd'), 'help' => __('Must be unique for every module on the page.', 'dfd'), 'col_span' => 'lbl_half'), 'separator2' => array('type' => 'separator'), 'description' => array('type' => 'textarea', 'editor' => true, 'label' => __('Description', 'dfd')), 'separator2' => array('type' => 'separator'), 'view_all_show' => array('type' => 'select', 'label' => __('Display the "view all" link', 'dfd'), 'default' => '1', 'options' => mvb_yes_no(), 'col_span' => 'lbl_half'), 'view_all_text' => array('type' => 'text', 'label' => __('"View all" link text', 'dfd'), 'default' => __('View all', 'dfd'), 'col_span' => 'lbl_half'), 'link_url' => array('type' => 'text', 'label' => __('View all link URL', 'dfd'), 'col_span' => 'lbl_half'), 'page_id' => array('type' => 'mvb_dropdown', 'label' => __('Link to page', 'dfd'), 'what' => 'pages', 'default' => 0, 'col_span' => 'lbl_half'));
$the_fields = apply_filters('mvb_fields_filter', $the_fields);
return $the_fields;
}
示例6: fields
/**
* The shortcodes attributes with the field options
*
* @access private
* @param array $atts
* @return shortcode output
*/
public static function fields()
{
global $mvb_metro_factory;
$the_fields = array('simple_mode' => array('type' => 'select', 'label' => __('Simple Mode', 'mvb'), 'default' => 0, 'options' => mvb_yes_no(), 'col_span' => 'lbl_half'), 'separator-slideshow' => array('type' => 'separator'), 'slideshow' => array('type' => 'select', 'label' => __('Autostart Slideshow', 'mvb'), 'default' => 1, 'options' => mvb_yes_no(), 'col_span' => 'lbl_half'), 'slideshow_speed' => array('type' => 'text', 'label' => __('Slideshow Speed', 'mvb'), 'help' => __('Set slideshow speed in ms', 'mvb'), 'defaut' => '7000', 'col_span' => 'lbl_half'), 'separator-effects' => array('type' => 'separator'), 'effects' => array('type' => 'select', 'label' => __('Appear effects', 'mvb'), 'help' => __('Select one of appear effects for block', 'mvb'), 'default' => '0', 'options' => crum_appear_effects(), 'col_span' => 'lbl_half'), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'mvb'), 'help' => __('Separated by space', 'mvb'), 'col_span' => 'lbl_third'), 'css_styles' => array('type' => 'text', 'label' => __('Additional CSS styles', 'mvb'), 'help' => __('Separated by <b>;</b>', 'mvb'), 'col_span' => 'lbl_full'));
$the_fields = apply_filters('mvb_fields_filter', $the_fields);
return $the_fields;
}
示例7: fields
/**
* The shortcodes attributes with the field options
*
* @access private
* @param array $atts
* @return shortcode output
*/
public static function fields()
{
global $mvb_metro_factory;
$the_fields = array('main_title' => array('type' => 'text', 'label' => __('Title', 'dfd')), 'separator1' => array('type' => 'separator'), 'presentation_box' => array('type' => 'repeater', 'button' => __('Add box', 'dfd'), 'label' => __('Box', 'dfd'), 'lbl_d' => __('Box Title', 'dfd'), 'fields' => array('image' => array('type' => 'image', 'label' => __('Image', 'dfd'), 'col_span' => 'lbl_half'), 'main_title' => array('type' => 'text', 's_title' => TRUE, 'label' => __('Title', 'dfd'), 'col_span' => 'lbl_half'), 'sub_title' => array('type' => 'text', 'label' => __('Subtitle', 'dfd'), 'col_span' => 'lbl_half'), 'separator1' => array('type' => 'separator'), 'link_url' => array('type' => 'text', 'label' => __('Link (URL)', 'dfd'), 'col_span' => 'lbl_half'), 'page_id' => array('type' => 'mvb_dropdown', 'label' => __('Link to page', 'dfd'), 'what' => 'pages', 'default' => 0, 'col_span' => 'lbl_half'), 'separator' => array('type' => 'separator'), 'link_title' => array('type' => 'text', 'label' => __('Link Title', 'dfd'), 'col_span' => 'lbl_half'), 'link_in_main_title' => array('type' => 'select', 'label' => __('Link In Main Title', 'dfd'), 'default' => 0, 'options' => array(0 => __('No', 'dfd'), 1 => __('Yes', 'dfd')), 'col_span' => 'lbl_half'), 'separator' => array('type' => 'separator'), 'icon' => array('type' => 'icon', 'label' => __('Icon', 'dfd')), 'separator01' => array('type' => 'separator'), 'icon_size' => array('type' => 'text', 'label' => __('Icon size (in px)', 'dfd'), 'default' => '120', 'col_span' => 'lbl_third'), 'content' => array('type' => 'textarea', 'label' => __('Content', 'dfd')), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'dfd'), 'help' => __('Separated by space', 'dfd')))), 'separator-effects' => array('type' => 'separator'), 'effects' => array('type' => 'select', 'label' => __('Appear effects', 'dfd'), 'help' => __('Select one of appear effects for block', 'dfd'), 'default' => '0', 'options' => crum_appear_effects(), 'col_span' => 'lbl_half'), 'image_align' => array('type' => 'select', 'label' => __('Icon or image align', 'dfd'), 'help' => __('The image or cion will appear to the left or to the right from content', 'dfd'), 'options' => crum_get_align(), 'col_span' => 'lbl_half'), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'dfd'), 'help' => __('Separated by space', 'dfd'), 'col_span' => 'lbl_half'), 'css_styles' => array('type' => 'text', 'label' => __('Additional CSS styles', 'dfd'), 'help' => __('Separated by <b>;</b>', 'dfd'), 'col_span' => 'lbl_full'));
$the_fields = apply_filters('mvb_fields_filter', $the_fields);
return $the_fields;
}
示例8: fields
/**
* The shortcodes attributes with the field options
*
* @access private
* @param array $atts
* @return shortcode output
*/
public static function fields()
{
global $mvb_metro_factory;
$the_fields = array('main_title' => array('type' => 'text', 'label' => __('Title', 'mvb')), 'image' => array('type' => 'image', 'label' => __('Image', 'mvb'), 'col_span' => 'lbl_half'), 'name' => array('type' => 'text', 'label' => __('Name', 'mvb'), 'col_span' => 'lbl_half'), 'client_job' => array('type' => 'text', 'label' => __('Job position', 'mvb'), 'col_span' => 'lbl_half'), 'description' => array('type' => 'textarea', 'label' => __('Description', 'mvb')), 'separator-animate' => array('type' => 'separator'), 'animate_skill' => array('type' => 'select', 'label' => __('Animate skills', 'mvb'), 'default' => 0, 'options' => mvb_yes_no()), 'skill' => array('type' => 'repeater', 'button' => __('Add skill', 'mvb'), 'label' => __('Skill', 'mvb'), 'lbl_d' => __('Skill Title', 'mvb'), 'fields' => array('skill_title' => array('type' => 'text', 's_title' => TRUE, 'label' => __('Skill Title', 'mvb'), 'col_span' => 'lbl_half'), 'skill_percent' => array('type' => 'text', 'label' => __('Skill percent', 'mvb'), 'col_span' => 'lbl_forth'), 'separator' => array('type' => 'separator'), 'icon' => array('type' => 'icon', 'label' => __('Icon', 'mvb'), 'col_span' => 'lbl_forth'), 'icon_color' => array('type' => 'colorpicker', 'label' => __('Icon text color', 'mvb'), 'default' => 'c0c0c0', 'col_span' => 'lbl_forth'))), 'separator-effects' => array('type' => 'separator'), 'effects' => array('type' => 'select', 'label' => __('Appear effects', 'mvb'), 'help' => __('Select one of appear effects for block', 'mvb'), 'default' => '0', 'options' => crum_appear_effects(), 'col_span' => 'lbl_half'), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'mvb'), 'help' => __('Separated by space', 'mvb'), 'col_span' => 'lbl_third'), 'css_styles' => array('type' => 'text', 'label' => __('Additional CSS styles', 'mvb'), 'help' => __('Separated by <b>;</b>', 'mvb'), 'col_span' => 'lbl_full'));
$the_fields = apply_filters('mvb_fields_filter', $the_fields);
return $the_fields;
}
示例9: fields
/**
* The shortcodes attributes with the field options
*
* @access private
* @param array $atts
* @return shortcode output
*/
public static function fields()
{
global $mvb_metro_factory;
$the_fields = array('main_title' => array('type' => 'text', 'label' => __('Title', 'mvb'), 'col_span' => 'lbl_half'), 'no_of_posts' => array('type' => 'text', 'default' => 5, 'label' => __('Number of posts', 'mvb'), 'col_span' => 'lbl_half'), 'categories' => array('type' => 'select_multi', 'title' => __('Select category', 'mvb'), 'label' => __('Categories', 'mvb'), 'callback' => 'mvb_get_select_options_multi', 'options' => 'category'), 'separator-effects' => array('type' => 'separator'), 'effects' => array('type' => 'select', 'label' => __('Appear effects', 'mvb'), 'help' => __('Select one of appear effects for block', 'mvb'), 'default' => '0', 'options' => crum_appear_effects(), 'col_span' => 'lbl_third'), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'mvb'), 'help' => __('Separated by space', 'mvb'), 'col_span' => 'lbl_third'), 'css_styles' => array('type' => 'text', 'label' => __('Additional CSS styles', 'mvb'), 'help' => __('Separated by <b>;</b>', 'mvb'), 'col_span' => 'lbl_full'), 'unique_id' => array('type' => 'text', 'default' => uniqid('mvbacc_'), 'label' => __('Unique ID', 'mvb'), 'help' => __('Must be unique for every tab on the page.', 'mvb'), 'col_span' => 'lbl_third'));
$the_fields = apply_filters('mvb_fields_filter', $the_fields);
return $the_fields;
}
示例10: fields
/**
* The shortcodes attributes with the field options
*
* @access private
* @param array $atts
* @return shortcode output
*/
public static function fields()
{
global $mvb_metro_factory;
$the_fields = array('main_title' => array('type' => 'text', 'label' => __('Title', 'mvb')), 'separator1' => array('type' => 'separator'), 'sliding_text' => array('type' => 'repeater', 'button' => __('Add text box', 'mvb'), 'label' => __('Text Box', 'mvb'), 'lbl_d' => __('Text Box', 'mvb'), 'fields' => array('content' => array('type' => 'textarea', 'editor' => true, 'label' => __('Content', 'mvb'), 'insert_image' => true))), 'separator-slideshow' => array('type' => 'separator'), 'slideshow' => array('type' => 'select', 'label' => __('Autostart Slideshow', 'mvb'), 'default' => 1, 'options' => mvb_yes_no(), 'col_span' => 'lbl_half'), 'slideshow_speed' => array('type' => 'text', 'label' => __('Slideshow Speed', 'mvb'), 'help' => __('Set slideshow speed in ms', 'mvb'), 'default' => '7000', 'col_span' => 'lbl_half'), 'slideshow_effect' => array('type' => 'select', 'label' => __('Slideshow effect', 'mvb'), 'default' => 'slide', 'options' => array('horizontal' => __('Slide horisontal', 'mvb'), 'vertical' => __('Slide vertical', 'mvb'), 'fade' => __('Fade', 'mvb')), 'col_span' => 'lbl_half'), 'separator-effects' => array('type' => 'separator'), 'effects' => array('type' => 'select', 'label' => __('Appear effects', 'mvb'), 'help' => __('Select one of appear effects for block', 'mvb'), 'default' => '0', 'options' => crum_appear_effects(), 'col_span' => 'lbl_half'), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'mvb'), 'help' => __('Separated by space', 'mvb'), 'col_span' => 'lbl_half'), 'css_styles' => array('type' => 'text', 'label' => __('Additional CSS styles', 'mvb'), 'help' => __('Separated by <b>;</b>', 'mvb'), 'col_span' => 'lbl_full'), 'unique_id' => array('type' => 'text', 'default' => uniqid('mvbst_'), 'label' => __('Unique ID', 'mvb'), 'help' => __('Must be unique for every tab on the page.', 'mvb'), 'col_span' => 'lbl_third'));
$the_fields = apply_filters('mvb_fields_filter', $the_fields);
return $the_fields;
}
示例11: fields
/**
* The shortcodes attributes with the field options
*
* @access private
* @param array $atts
* @return shortcode output
*/
public static function fields()
{
global $mvb_metro_factory;
$the_fields = array('main_title' => array('type' => 'text', 'label' => __('Title', 'mvb')), 'few_rows' => array('type' => 'select', 'label' => __('Few rows', 'mvb'), 'default' => 0, 'options' => mvb_yes_no()), 'separator1' => array('type' => 'separator'), 'single_client' => array('type' => 'repeater', 'button' => __('Add client', 'mvb'), 'label' => __('Client', 'mvb'), 'lbl_d' => __('Client Name', 'mvb'), 'fields' => array('image' => array('type' => 'image', 'label' => __('Image', 'mvb'), 'col_span' => 'lbl_half'), 'main_title' => array('type' => 'text', 's_title' => TRUE, 'label' => __('Client Name', 'mvb'), 'col_span' => 'lbl_half'), 'client_url' => array('type' => 'text', 'label' => __('Client URL', 'mvb'), 'col_span' => 'lbl_half'))), 'separator-effects' => array('type' => 'separator'), 'effects' => array('type' => 'select', 'label' => __('Appear effects', 'mvb'), 'help' => __('Select one of appear effects for block', 'mvb'), 'default' => '0', 'options' => crum_appear_effects(), 'col_span' => 'lbl_half'), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'mvb'), 'help' => __('Separated by space', 'mvb'), 'col_span' => 'lbl_half'), 'css_styles' => array('type' => 'text', 'label' => __('Additional CSS styles', 'mvb'), 'help' => __('Separated by <b>;</b>', 'mvb'), 'col_span' => 'lbl_full'), 'separator' => array('type' => 'separator'), 'new_tab' => array('type' => 'select', 'label' => __('Opens in new tab', 'mvb'), 'default' => 0, 'options' => mvb_yes_no(), 'col_span' => 'lbl_half'), 'unique_id' => array('type' => 'text', 'default' => uniqid('mvbacct_'), 'label' => __('Unique ID', 'mvb'), 'help' => __('Must be unique for every module on the page.', 'mvb'), 'col_span' => 'lbl_half'));
$the_fields = apply_filters('mvb_fields_filter', $the_fields);
return $the_fields;
}
示例12: fields
/**
* The shortcodes attributes with the field options
*
* @access private
* @param array $atts
* @return shortcode output
*/
public static function fields()
{
global $mvb_metro_factory;
$the_fields = array('main_title' => array('type' => 'text', 'label' => __('Title', 'mvb'), 'col_span' => 'lbl_half'), 'separator' => array('type' => 'separator'), 'image' => array('type' => 'image', 'label' => __('Image', 'mvb'), 'col_span' => 'lbl_half'), 'image_align' => array('type' => 'select', 'label' => __('Align', 'mvb'), 'options' => crum_get_align(), 'col_span' => 'lbl_half'), 'separator' => array('type' => 'separator'), 'link_url' => array('type' => 'text', 'label' => __('Link (URL)', 'mvb'), 'col_span' => 'lbl_half'), 'page_id' => array('type' => 'mvb_dropdown', 'label' => __('Link to page', 'mvb'), 'what' => 'pages', 'default' => 0, 'col_span' => 'lbl_half'), 'content' => array('type' => 'textarea', 'label' => __('Content', 'mvb')), 'read_more' => array('type' => 'select', 'label' => __('Display the "read more" link', 'mvb'), 'default' => 1, 'options' => mvb_yes_no(), 'col_span' => 'lbl_half'), 'read_more_text' => array('type' => 'text', 'label' => __('"Read more" link text', 'mvb'), 'default' => __('Read more', 'mvb'), 'col_span' => 'lbl_half'), 'separator-effects' => array('type' => 'separator'), 'effects' => array('type' => 'select', 'label' => __('Appear effects', 'mvb'), 'help' => __('Select one of appear effects for block', 'mvb'), 'default' => '0', 'options' => crum_appear_effects(), 'col_span' => 'lbl_half'), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'mvb'), 'help' => __('Separated by space', 'mvb'), 'col_span' => 'lbl_half'), 'css_styles' => array('type' => 'text', 'label' => __('Additional CSS styles', 'mvb'), 'help' => __('Separated by <b>;</b>', 'mvb'), 'col_span' => 'lbl_full'));
$the_fields = apply_filters('mvb_fields_filter', $the_fields);
return $the_fields;
}
示例13: fields
/**
* The shortcodes attributes with the field options
*
* @access private
* @param array $atts
* @return shortcode output
*/
public static function fields()
{
global $mvb_metro_factory;
$the_fields = array('main_title' => array('type' => 'text', 'label' => __('Title', 'dfd')), 'address' => array('type' => 'text', 'label' => __('Address to display on map', 'dfd')), 'height' => array('type' => 'text', 'label' => __('Height (in px)', 'dfd'), 'col_span' => 'lbl_half'), 'zoom' => array('type' => 'text', 'label' => __('Map zoom (from 0 to 21+)', 'dfd'), 'col_span' => 'lbl_half', 'default' => '14'), 'map_style' => array('type' => 'select', 'label' => __('Map Style', 'dfd'), 'help' => __('Select one of map styles', 'dfd'), 'default' => 'apple-maps-esque', 'options' => array('0' => __('Default', 'dfd'), 'apple-maps-esque' => __('Apple Maps-esque', 'dfd'), 'blue-water' => __('Blue water', 'dfd'), 'midnight-commander' => __('Midnight Commander', 'dfd'), 'pale-dawn' => __('Pale Dawn', 'dfd'), 'retro' => __('Retro', 'dfd'), 'subtle-grayscale' => __('Subtle Grayscale', 'dfd')), 'col_span' => 'lbl_third'), 'content' => array('type' => 'textarea', 'editor' => TRUE, 'label' => __('Additional information', 'dfd')), 'infowindow_content' => array('type' => 'textarea', 'editor' => true, 'label' => __('Infowindow content', 'dfd')), 'separator-effects' => array('type' => 'separator'), 'effects' => array('type' => 'select', 'label' => __('Appear effects', 'dfd'), 'help' => __('Select one of appear effects for block', 'dfd'), 'default' => 0, 'options' => crum_appear_effects(), 'col_span' => 'lbl_third'), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'dfd'), 'help' => __('Separated by space', 'dfd'), 'col_span' => 'lbl_third'), 'css_styles' => array('type' => 'text', 'label' => __('Additional CSS styles', 'dfd'), 'help' => __('Separated by <b>;</b>', 'dfd'), 'col_span' => 'lbl_full'), 'unique_id' => array('type' => 'text', 'default' => uniqid('mvbtab_'), 'label' => __('Unique ID', 'dfd'), 'help' => __('Must be unique for every tab on the page.', 'dfd'), 'col_span' => 'lbl_third'));
$the_fields = apply_filters('mvb_fields_filter', $the_fields);
return $the_fields;
}
示例14: fields
/**
* The shortcodes attributes with the field options
*
* @access private
* @param array $atts
* @return shortcode output
*/
public static function fields()
{
global $mvb_metro_factory;
$the_fields = array('main_title' => array('type' => 'text', 'label' => __('Title', 'dfd'), 'col_span' => 'lbl_full'), 'separator-icon' => array('type' => 'separator'), 'icon' => array('type' => 'icon', 'label' => __('Icon', 'dfd'), 'default' => 'moon-rocket', 'col_span' => 'lbl_half'), 'separator-animation' => array('type' => 'separator'), 'animation_dates_speed' => array('type' => 'select', 'label' => __('Dates Speed', 'dfd'), 'help' => __('Dates animation Speed', 'dfd'), 'default' => 'normal', 'options' => array('slow' => __('Slow', 'dfd'), 'normal' => __('Normal', 'dfd'), 'fast' => __('Fast', 'dfd')), 'col_span' => 'lbl_third'), 'animation_start_at' => array('type' => 'text', 'label' => __('Start at', 'dfd'), 'default' => 1, 'col_span' => 'lbl_third'), 'separator-effects' => array('type' => 'separator'), 'effects' => array('type' => 'select', 'label' => __('Appear effects', 'dfd'), 'help' => __('Select one of appear effects for block', 'dfd'), 'default' => '0', 'options' => crum_appear_effects(), 'col_span' => 'lbl_half'), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'dfd'), 'help' => __('Separated by space', 'dfd'), 'col_span' => 'lbl_third'), 'css_styles' => array('type' => 'text', 'label' => __('Additional CSS styles', 'dfd'), 'help' => __('Separated by <b>;</b>', 'dfd'), 'col_span' => 'lbl_full'));
$the_fields = apply_filters('mvb_fields_filter', $the_fields);
return $the_fields;
}
示例15: fields
/**
* The shortcodes attributes with the field options
*
* @access private
* @param array $atts
* @return shortcode output
*/
public static function fields()
{
global $mvb_metro_factory;
$the_fields = array('main_title' => array('type' => 'text', 'label' => __('Title', 'mvb'), 'col_span' => 'lbl_half'), 'icon' => array('type' => 'icon', 'custom' => true, 'label' => __('Icon', 'mvb')), 'separator-effects' => array('type' => 'separator'), 'effects' => array('type' => 'select', 'label' => __('Appear effects', 'mvb'), 'help' => __('Select one of appear effects for block', 'mvb'), 'default' => '0', 'options' => crum_appear_effects(), 'col_span' => 'lbl_half'), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'mvb'), 'help' => __('Separated by space', 'mvb'), 'col_span' => 'lbl_half'));
$the_fields = apply_filters('mvb_fields_filter', $the_fields);
return $the_fields;
}