protected function showOther($a_load_data = true)
 {
     global $tpl, $ilTabs;
     $ilTabs->activateTab("otpf");
     include_once "Services/PersonalWorkspace/classes/class.ilWorkspaceShareTableGUI.php";
     $tbl = new ilWorkspaceShareTableGUI($this, "showOther", $this->access_handler, null, $a_load_data);
     $tpl->setContent($tbl->getHTML());
 }
 function share($a_load_data = true)
 {
     global $tpl;
     include_once "Services/PersonalWorkspace/classes/class.ilWorkspaceShareTableGUI.php";
     $tbl = new ilWorkspaceShareTableGUI($this, "share", $this->getAccessHandler(), $this->node_id, $a_load_data);
     $tpl->setContent($tbl->getHTML());
 }
 function share()
 {
     global $tpl, $ilToolbar;
     $users = $this->getAccessHandler()->getSharedOwners();
     // user selection
     include_once "./Services/Form/classes/class.ilSelectInputGUI.php";
     $si = new ilSelectInputGUI($this->lng->txt("user"), "user");
     $si->setOptions(array("" => "-") + $users);
     $ilToolbar->addInputItem($si);
     $ilToolbar->setFormAction($this->ctrl->getFormAction($this));
     $ilToolbar->addFormButton($this->lng->txt("ok"), "share");
     if (!$_REQUEST["user"]) {
         ilUtil::sendInfo($this->lng->txt("wsp_share_select_user"));
     } else {
         $si->setValue($_REQUEST["user"]);
         include_once "Services/PersonalWorkspace/classes/class.ilWorkspaceShareTableGUI.php";
         $tbl = new ilWorkspaceShareTableGUI($this, "share", $this->getAccessHandler(), $_REQUEST["user"], $this->node_id);
         $tpl->setContent($tbl->getHTML());
     }
 }