示例#1
0
 function __construct()
 {
     $id = 'preset_issue_tracker';
     $settings = array('slug' => 'table', 'type' => 'preset', 'label' => __('Issue Tracker', 'gravityview'), 'description' => __('Manage issues and their statuses.', 'gravityview'), 'logo' => plugins_url('includes/presets/issue-tracker/logo-issue-tracker.png', GRAVITYVIEW_FILE), 'preview' => 'http://demo.gravityview.co/blog/view/issue-tracker/', 'preset_form' => GRAVITYVIEW_DIR . 'includes/presets/issue-tracker/form-issue-tracker.xml', 'preset_fields' => GRAVITYVIEW_DIR . 'includes/presets/issue-tracker/fields-issue-tracker.xml');
     parent::__construct($id, $settings);
 }
 function __construct()
 {
     $id = 'preset_resume_board';
     $settings = array('slug' => 'table', 'type' => 'preset', 'label' => __('Resume Board', 'gravityview'), 'description' => __('Allow job-seekers to post their resumes.', 'gravityview'), 'logo' => plugins_url('includes/presets/resume-board/logo-resume-board.png', GRAVITYVIEW_FILE), 'preview' => 'http://demo.gravityview.co/blog/view/resume-board/', 'preset_form' => GRAVITYVIEW_DIR . 'includes/presets/resume-board/form-resume-board.xml', 'preset_fields' => GRAVITYVIEW_DIR . 'includes/presets/resume-board/fields-resume-board.xml');
     parent::__construct($id, $settings);
 }
 function __construct()
 {
     $id = 'preset_business_data';
     $settings = array('slug' => 'table', 'type' => 'preset', 'label' => __('Business Data', 'gravityview'), 'description' => __('Display business information in a table.', 'gravityview'), 'logo' => plugins_url('includes/presets/business-data/logo-business-data.png', GRAVITYVIEW_FILE), 'preview' => 'http://demo.gravityview.co/blog/view/business-table/', 'preset_form' => GRAVITYVIEW_DIR . 'includes/presets/business-data/form-business-data.xml', 'preset_fields' => GRAVITYVIEW_DIR . 'includes/presets/business-data/fields-business-data.xml');
     parent::__construct($id, $settings);
 }