示例#1
0
文件: config.php 项目: jhener79/vlakc
 static function get_config()
 {
     return array('name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_DESC'), 'type' => 'single', 'group' => 'extra other', 'icon' => 'pie-chart', 'atts' => array('percent' => array('type' => 'slider', 'min' => 1, 'max' => 100, 'step' => 1, 'default' => 75, 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_PERCENT'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_PERCENT_DESC')), 'before' => array('default' => '', 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_BEFORE'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_BEFORE_DESC'), 'child' => array('text' => array('default' => '', 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_TEXT'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_TEXT_DESC')), 'after' => array('default' => '', 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_AFTER'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_AFTER_DESC')), 'text_size' => array('default' => 22, 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_TEXT_SIZE'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_TEXT_SIZE_DESC')))), 'size' => array('type' => 'slider', 'min' => 32, 'max' => 580, 'step' => 10, 'default' => 200, 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_SIZE'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_SIZE_DESC'), 'child' => array('line_width' => array('type' => 'slider', 'min' => 1, 'max' => 30, 'step' => 1, 'default' => 10, 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_LINE_WIDTH'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_LINE_WIDTH_DESC')), 'line_cap' => array('type' => 'select', 'values' => array('round' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_ROUND'), 'square' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_SQUARE'), 'butt' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_BUTT')), 'default' => 'round', 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_LINE_CAP'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_LINE_CAP_DESC')), 'show_scale' => array('type' => 'bool', 'default' => 'yes', 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_SCALE'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_SCALE_DESC')))), 'bar_color' => array('type' => 'color', 'default' => '#F14B51', 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_COLOR'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_COLOR_DESC'), 'child' => array('fill_color' => array('type' => 'color', 'default' => '#f5f5f5', 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_FILL_COLOR'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_FILL_COLOR_DESC')), 'scale_color' => array('type' => 'color', 'default' => '#dddddd', 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_SCALE_COLOR'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_SCALE_COLOR_DESC')), 'text_color' => array('type' => 'color', 'default' => '#bbbbbb', 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_TEXT_COLOR'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_TEXT_COLOR_DESC')))), 'animation' => array('type' => 'select', 'values' => array_combine(Su_Data::easings(), Su_Data::easings()), 'default' => 'easeInOutExpo', 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_ANIMATION'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_ANIMATION_DESC'), 'child' => array('duration' => array('type' => 'slider', 'min' => 0.5, 'max' => 10, 'step' => 0.5, 'default' => 1, 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_DURATION'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_DURATION_DESC')), 'delay' => array('type' => 'slider', 'min' => 0.1, 'max' => 5, 'step' => 0.2, 'default' => 0.3, 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_DELAY'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_DELAY_DESC')))), 'scroll_reveal' => array('default' => '', 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_SCROLL_REVEAL'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_SCROLL_REVEAL_DESC')), 'class' => array('default' => '', 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_CLASS'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_CLASS_DESC'))));
 }
示例#2
0
文件: config.php 项目: jhener79/vlakc
 static function get_config()
 {
     return array('name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_BAR'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_BAR_DESC'), 'type' => 'single', 'group' => 'extra other', 'icon' => 'tasks', 'atts' => array('style' => array('type' => 'select', 'values' => array('1' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_DEFAULT'), '2' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_FANCY'), '3' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_THIN'), '4' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_STRIPED'), '5' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_ANIMATE')), 'default' => '1', 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_STYLE'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_STYLE_DESC')), 'percent' => array('type' => 'slider', 'min' => 0, 'max' => 100, 'step' => 1, 'default' => 75, 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PERCENT'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PERCENT_DESC'), 'child' => array('show_percent' => array('type' => 'bool', 'default' => 'yes', 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_SHOW_PERCENT'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_SHOW_PERCENT_DESC')))), 'text' => array('default' => '', 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_TEXT'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_TEXT_DESC')), 'text_color' => array('type' => 'color', 'default' => '#FFFFFF', 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_TEXT_COLOR'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_TEXT_COLOR_DESC'), 'child' => array('bar_color' => array('type' => 'color', 'default' => '#f0f0f0', 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_BAR_COLOR'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_BAR_COLOR_DESC')), 'fill_color' => array('type' => 'color', 'default' => '#4fc1e9', 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_FILL_COLOR'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_FILL_COLOR_DESC')))), 'animation' => array('type' => 'select', 'values' => array_combine(Su_Data::easings(), Su_Data::easings()), 'default' => 'easeInOutExpo', 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_ANIMATION'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_ANIMATION_DESC'), 'child' => array('duration' => array('type' => 'slider', 'min' => 0.5, 'max' => 10, 'step' => 0.5, 'default' => 1.5, 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_DURATION'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_DURATION_DESC')), 'delay' => array('type' => 'slider', 'min' => 0.1, 'max' => 5, 'step' => 0.2, 'default' => 0.3, 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_DELAY'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_DELAY_DESC')))), 'scroll_reveal' => array('default' => '', 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_SCROLL_REVEAL'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_SCROLL_REVEAL_DESC')), 'class' => array('default' => '', 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_CLASS'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_CLASS_DESC'))));
 }