Ejemplo n.º 1
0
 function on_create()
 {
     $this->order = apply_filters('coursepress_' . $this->name . '_order', $this->order);
     add_filter('wp_video_shortcode', array(&$this, 'cp_video_shortcode'));
     $this->description = __('Allows adding video files and video embeds to the unit', 'cp');
     $this->label = __('Video', 'cp');
     $this->save_module_data();
     parent::additional_module_actions();
 }
Ejemplo n.º 2
0
 function on_create()
 {
     $this->order = apply_filters('coursepress_' . $this->name . '_order', $this->order);
     $this->description = __('Add text block to the unit.', 'cp');
     $this->label = __('Text', 'cp');
     $this->save_module_data();
     parent::additional_module_actions();
 }
Ejemplo n.º 3
0
 function on_create()
 {
     $this->order = apply_filters('coursepress_' . $this->name . '_order', $this->order);
     $this->description = __('Add a chat box from the Wordpress Chat plugin', 'cp');
     $this->label = __('Live Chat', 'cp');
     $this->save_module_data();
     parent::additional_module_actions();
 }
Ejemplo n.º 4
0
 function on_create()
 {
     $this->order = apply_filters('coursepress_' . $this->name . '_order', $this->order);
     $this->description = __('Multiple choice question where only one option can be selected', 'cp');
     $this->label = __('Single Choice', 'cp');
     $this->save_module_data();
     parent::additional_module_actions();
 }
Ejemplo n.º 5
0
 function on_create()
 {
     $this->order = apply_filters('coursepress_' . $this->name . '_order', $this->order);
     $this->description = __('Ask students to upload a file. Useful if students need to send you various files like essays, homework etc.', 'cp');
     $this->label = __('File Download', 'cp');
     $this->save_module_data();
     parent::additional_module_actions();
 }
Ejemplo n.º 6
0
 function on_create()
 {
     $this->order = apply_filters('coursepress_' . $this->name . '_order', $this->order);
     $this->description = __('Add audio files with player to the unit', 'cp');
     $this->label = __('Audio', 'cp');
     $this->save_module_data();
     parent::additional_module_actions();
 }
Ejemplo n.º 7
0
 function on_create()
 {
     $this->order = apply_filters('coursepress_' . $this->name . '_order', $this->order);
     $this->description = __('Image, 100% width', 'cp');
     $this->label = __('Image', 'cp');
     $this->save_module_data();
     parent::additional_module_actions();
 }
Ejemplo n.º 8
0
 function on_create()
 {
     $this->order = apply_filters('coursepress_' . $this->name . '_order', $this->order);
     $this->description = __('Allow students to enter a single line of text', 'cp');
     $this->label = __('Answer Field', 'cp');
     $this->save_module_data();
     parent::additional_module_actions();
 }
 function on_create()
 {
     $this->order = apply_filters('coursepress_' . $this->name . '_order', $this->order);
     $this->description = __('Inserts section break ( <hr> element )', 'cp');
     $this->label = __('Section Break', 'cp');
     $this->save_module_data();
     parent::additional_module_actions();
 }
Ejemplo n.º 10
0
 function on_create()
 {
     $this->order = apply_filters('coursepress_' . $this->name . '_order', $this->order);
     $this->description = __('Breaks the Unit into more pages', 'cp');
     $this->label = __('Page Break', 'cp');
     $this->save_module_data();
     parent::additional_module_actions();
 }