/**
  *
  * @TODO document
  *
  */
 function do_panel($user)
 {
     if (empty($this->tabs)) {
         return;
     }
     $set = array('handle' => 'profiletabs', 'title' => 'Profile Options', 'tag' => false, 'type' => 'profile', 'stext' => __('Save Profile Options', 'pagelines'), 'tabs' => $this->tabs, 'user' => $user);
     $panel = new PLPanel();
     $panel->the_panel($set);
 }
 /**
  *
  * @TODO document
  *
  */
 function draw_panel()
 {
     global $post_ID;
     global $pagelines_template;
     // if page doesn't support settings
     if ($this->page_for_posts) {
         $this->non_meta_template();
         return;
     }
     $set = array('handle' => $this->settings['handle'], 'title' => $this->settings['name'], 'tag' => ui_key($this->get_edit_type()), 'type' => 'meta', 'stext' => __('Save Meta Settings', 'pagelines'), 'tabs' => $this->tabs, 'hidetabs' => $this->hide_tabs, 'post_ID' => $post_ID, 'post_type' => $this->settings['posttype']);
     $panel = new PLPanel();
     $panel->the_panel($set);
 }