public function setup_post_metabox()
 {
     $meta_box = array('id' => $this->postType . '-metabox', 'title' => __('Nastavení', FRM_PREFIX), 'screen' => $this->postType, 'context' => 'normal', 'priority' => 'default', 'rows' => array(array('fields' => array(array('name' => __('Odstavec', FRM_PREFIX), 'desc' => '', 'id' => $this->netevl_libtools->create_id(array($this->postType, 'odstavec')), 'type' => 'text', 'std' => ''), array('name' => __('Písmeno', FRM_PREFIX), 'desc' => '', 'id' => $this->netevl_libtools->create_id(array($this->postType, 'pismeno')), 'type' => 'text', 'std' => ''), array('name' => __('Číslo', FRM_PREFIX), 'desc' => '', 'id' => $this->netevl_libtools->create_id(array($this->postType, 'cislo')), 'type' => 'text', 'std' => ''))), array('fields' => array(array('name' => __('Odkaz na paragraf', FRM_PREFIX), 'desc' => '', 'id' => $this->netevl_libtools->create_id(array($this->postType, 'odkaz_paragraf')), 'type' => 'text', 'std' => '')))));
     netevl_add_meta_box($meta_box);
 }
 public function setup_post_metabox()
 {
     $meta_box = array('id' => $this->postType . '-metabox', 'title' => __('Nastavení', FRM_PREFIX), 'screen' => $this->postType, 'context' => 'normal', 'priority' => 'default', 'rows' => array(array('fields' => array(array('name' => __('Číslo', FRM_PREFIX), 'desc' => '', 'id' => $this->netevl_libtools->create_id(array($this->postType, 'cislo')), 'type' => 'text', 'std' => ''), array('name' => __('Schváleno', FRM_PREFIX), 'desc' => '', 'id' => $this->netevl_libtools->create_id(array($this->postType, 'schvaleno')), 'type' => 'text', 'std' => ''), array('name' => __('Skupina', FRM_PREFIX), 'desc' => '', 'id' => $this->netevl_libtools->create_id(array($this->postType, 'skupina')), 'type' => 'select', 'std' => '', 'options' => array('standardy' => 'Standardy', 'interpretace' => 'Interpretace'))))));
     netevl_add_meta_box($meta_box);
 }
 public function setup_post_metabox()
 {
     $meta_box = array('id' => $this->postType . '-metabox', 'title' => __('Nastavení', FRM_PREFIX), 'screen' => $this->postType, 'context' => 'normal', 'priority' => 'default', 'rows' => array(array('fields' => array(array('name' => __('Číslo', FRM_PREFIX), 'desc' => '', 'id' => $this->netevl_libtools->create_id(array($this->postType, 'cislo')), 'type' => 'text', 'std' => ''), array('name' => __('Číslo - senát', FRM_PREFIX), 'desc' => '', 'id' => $this->netevl_libtools->create_id(array($this->postType, 'cislo_senat')), 'type' => 'text', 'std' => ''))), array('fields' => array(array('name' => __('Odkaz', FRM_PREFIX), 'desc' => '', 'id' => $this->netevl_libtools->create_id(array($this->postType, 'odkaz')), 'type' => 'text', 'std' => ''), array('name' => __('Odkaz - psp.cz', FRM_PREFIX), 'desc' => '', 'id' => $this->netevl_libtools->create_id(array($this->postType, 'odkaz_psp')), 'type' => 'text', 'std' => ''))), array('fields' => array(array('name' => __('Odkaz - senat.cz', FRM_PREFIX), 'desc' => '', 'id' => $this->netevl_libtools->create_id(array($this->postType, 'odkaz_senat')), 'type' => 'text', 'std' => ''), array('name' => __('Odkaz - měněné předpisy', FRM_PREFIX), 'desc' => '', 'id' => $this->netevl_libtools->create_id(array($this->postType, 'odkaz_predpisy')), 'type' => 'text', 'std' => '')))));
     netevl_add_meta_box($meta_box);
 }
 public function setup_post_metabox()
 {
     $meta_box = array('id' => $this->postType . '-metabox', 'title' => __('Nastavení', FRM_PREFIX), 'screen' => $this->postType, 'context' => 'normal', 'priority' => 'default', 'rows' => array(array('fields' => array(array('name' => __('Typ', FRM_PREFIX), 'desc' => '', 'id' => $this->netevl_libtools->create_id(array($this->postType, 'typ')), 'type' => 'select', 'std' => '', 'options' => array('1' => 'Video seminář', '2' => 'Video zdarma', '3' => 'Webinář')), array('name' => __('YouTube ID ukázky', FRM_PREFIX), 'desc' => '', 'id' => $this->netevl_libtools->create_id(array($this->postType, 'youtubeid')), 'type' => 'text', 'std' => '')))));
     netevl_add_meta_box($meta_box);
 }