5include_once 
'./Services/User/classes/class.ilObjUser.php';
 
    6include_once 
"Services/Mail/classes/class.ilMail.php";
 
    7include_once 
'Services/Mail/classes/class.ilMailGlobalServices.php';
 
    8include_once 
'Services/UIComponent/AdvancedSelectionList/classes/class.ilAdvancedSelectionListGUI.php';
 
   53                $ilMainMenu->setActive(
"desktop");
 
   54                $this->lng->loadLanguageModule(
"pdesk");
 
   55                $this->lng->loadLanguageModule(
"pd"); 
 
   58                if (
$_SESSION[
"AccountId"] == ANONYMOUS_USER_ID)
 
   60                        $this->
ilias->raiseError($this->lng->txt(
"msg_not_available_for_anon"),$this->ilias->error_obj->MESSAGE);
 
   62                $this->cmdClass = 
$_GET[
'cmdClass'];
 
   76                $next_class = $this->ctrl->getNextClass();
 
   77                $this->ctrl->setReturn($this, 
"show");
 
   82                if (isset(
$_GET[
'PDHistory']) && 
$_GET[
'PDHistory'])
 
   90                        case "ilbookmarkadministrationgui":
 
   97                                include_once(
"./Services/Bookmarks/classes/class.ilBookmarkAdministrationGUI.php");
 
   99                                if ($bookmark_gui->getMode() == 
'tree') {
 
  105                                $ret =& $this->ctrl->forwardCommand($bookmark_gui);
 
  109                        case "ilpersonalprofilegui":
 
  112                                include_once(
"./Services/User/classes/class.ilPersonalProfileGUI.php");
 
  114                                $ret =& $this->ctrl->forwardCommand($profile_gui);
 
  118                        case "ilpersonalsettingsgui":
 
  121                                include_once(
"./Services/User/classes/class.ilPersonalSettingsGUI.php");
 
  123                                $ret =& $this->ctrl->forwardCommand($settings_gui);
 
  128                                include_once(
'./Services/User/classes/class.ilObjUserGUI.php');
 
  130                                $ret =& $this->ctrl->forwardCommand($user_gui);
 
  133                        case 'ilcalendarpresentationgui':
 
  136                                $this->tpl->setTitle($this->lng->txt(
"calendar"));
 
  138                                include_once(
'./Services/Calendar/classes/class.ilCalendarPresentationGUI.php');
 
  140                                $ret = $this->ctrl->forwardCommand($cal);
 
  155                                include_once(
"./Services/Notes/classes/class.ilPDNotesGUI.php");
 
  157                                $ret =& $this->ctrl->forwardCommand($pd_notes_gui);
 
  164                                include_once(
"./Services/News/classes/class.ilPDNewsGUI.php");
 
  166                                $ret =& $this->ctrl->forwardCommand($pd_news_gui);
 
  169                        case "illearningprogressgui":
 
  172                                include_once 
'./Services/Tracking/classes/class.ilLearningProgressGUI.php';
 
  174                                $ret =& $this->ctrl->forwardCommand($new_gui);
 
  181                                include_once(
"./Services/Block/classes/class.ilColumnGUI.php");
 
  188                                require_once 
'Services/Contact/BuddySystem/classes/class.ilBuddySystem.php';
 
  191                                        $ilErr->raiseError($this->lng->txt(
'msg_no_perm_read'), 
$ilErr->MESSAGE);
 
  196                                $this->tpl->setTitle($this->lng->txt(
'mail_addressbook'));
 
  198                                require_once 
'Services/Contact/classes/class.ilContactGUI.php';
 
  202                        case 'ilpersonalworkspacegui':          
 
  205                                include_once 
'Services/PersonalWorkspace/classes/class.ilPersonalWorkspaceGUI.php';
 
  207                                $ret = $this->ctrl->forwardCommand($wsgui);                                                             
 
  211                        case 'ilportfoliorepositorygui':
 
  214                                include_once 
'Modules/Portfolio/classes/class.ilPortfolioRepositoryGUI.php';
 
  216                                $ret = $this->ctrl->forwardCommand($pfgui);                             
 
  220                        case 'ilpersonalskillsgui':                             
 
  222                                include_once 
'./Services/Skill/classes/class.ilPersonalSkillsGUI.php';
 
  225                                $ret = $this->ctrl->forwardCommand($skgui);
 
  236                                $cmd = $this->ctrl->getCmd(
"show");
 
  251                        foreach(
$_GET as $key => $val)
 
  253                                if(substr($key, 0, strlen(
'param_')) == 
'param_')
 
  255                                        $this->ctrl->setParameterByClass(
$_GET[
'redirectClass'], substr($key, strlen(
'param_')), $val);
 
  267                $this->tpl->getStandardTemplate();
 
  279                $this->tpl->addBlockFile(
"CONTENT", 
"content", 
"tpl.adm_content.html");
 
  280                $this->tpl->addBlockFile(
"STATUSLINE", 
"statusline", 
"tpl.statusline.html");
 
  289                include_once(
"Services/Block/classes/class.ilBlockSetting.php");
 
  293                $this->pd_tpl = 
new ilTemplate(
"tpl.usr_personaldesktop.html", 
true, 
true, 
"Services/PersonalDesktop");
 
  294                $this->tpl->getStandardTemplate();
 
  299                $this->tpl->setTitle($this->lng->txt(
"overview"));
 
  306                if(count($this->action_menu->getItems()))
 
  314                        $this->action_menu->setAsynch(
false);
 
  315                        $this->action_menu->setAsynchUrl(
'');
 
  316                        $this->action_menu->setListTitle(
$lng->txt(
'actions'));
 
  317                        $this->action_menu->setId(
'act_pd');
 
  318                        $this->action_menu->setSelectionHeaderClass(
'small');
 
  319                        $this->action_menu->setItemLinkClass(
'xsmall');
 
  320                        $this->action_menu->setLinksMode(
'il_ContainerItemCommand2');
 
  322                        $this->action_menu->setUseImages(
false);
 
  324                        $htpl = 
new ilTemplate(
'tpl.header_action.html', 
true, 
true, 
'Services/Repository');
 
  325                        $htpl->setVariable(
'ACTION_DROP_DOWN', $this->action_menu->getHTML());
 
  327                        $tpl->setHeaderActionMenu($htpl->get());
 
  339                global 
$ilCtrl, $ilPluginAdmin;
 
  341                include_once(
"Services/Block/classes/class.ilColumnGUI.php");
 
  345                if (
$ilCtrl->getNextClass() == 
"ilcolumngui" &&
 
  376                                        include_once(
"./Services/UIComponent/classes/class.ilUIHookProcessor.php");
 
  378                                                array(
"personal_desktop_gui" => $this));
 
  379                                        if (!$uip->replaced())
 
  398                include_once(
"Services/Block/classes/class.ilColumnGUI.php");
 
  407                if (
$ilCtrl->getNextClass() == 
"ilcolumngui" &&
 
  420                                include_once(
"./Services/UIComponent/classes/class.ilUIHookProcessor.php");
 
  422                                        array(
"personal_desktop_gui" => $this));
 
  423                                if (!$uip->replaced())
 
  441                include_once(
"Services/Block/classes/class.ilColumnGUI.php");
 
  450                if (
$ilCtrl->getNextClass() == 
"ilcolumngui" &&
 
  463                                include_once(
"./Services/UIComponent/classes/class.ilUIHookProcessor.php");
 
  465                                        array(
"personal_desktop_gui" => $this));
 
  466                                if (!$uip->replaced())
 
  480                $this->pd_tpl = 
new ilTemplate(
"tpl.usr_personaldesktop.html", 
true, 
true, 
"Services/PersonalDesktop");
 
  481                $this->tpl->getStandardTemplate();
 
  487                $this->tpl->setTitle($this->lng->txt(
"personal_desktop"));
 
  498                if (strlen($err_msg) > 0)
 
  500                        $this->
ilias->raiseError($this->lng->txt($err_msg),$this->ilias->error_obj->MESSAGE);
 
  510                include_once(
"Services/Mail/classes/class.ilPDSysMessageBlockGUI.php");
 
  512                return $sys_block->getHTML();
 
  528                        $key_sorta = explode(
";", $key_sort);
 
  530                        $multikeys = array_keys($array);
 
  531                        $keys = array_keys($array[$multikeys[0]]);
 
  533                        for($m=0; $m < count($key_sorta); $m++) {
 
  534                                $nkeys[$m] = trim($key_sorta[$m]);
 
  536                        $n += count($key_sorta);
 
  538                        for($i=0; $i < count($keys); $i++){
 
  539                                if(!in_array($keys[$i], $key_sorta)) {
 
  540                                        $nkeys[
$n] = $keys[$i];
 
  545                        for($u=0;$u<count($array); $u++) {
 
  546                                $arr = $array[$multikeys[$u]];
 
  547                                for($s=0; $s<count($nkeys); $s++) {
 
  549                                        $output[$multikeys[$u]][$k] = $array[$multikeys[$u]][$k];
 
  564                $ilHelp->setScreenIdComponent(
"pd");
 
  570        public function jumpToMemberships()
 
  577                if(!
$ilSetting->get(
'disable_my_memberships'))
 
  579                        require_once 
'Services/PersonalDesktop/classes/class.ilPDSelectedItemsBlockGUI.php';
 
  589        public function jumpToSelectedItems()
 
  598                        require_once 
'Services/PersonalDesktop/classes/class.ilPDSelectedItemsBlockGUI.php';
 
  610                $this->ctrl->redirectByClass(
"ilpersonalprofilegui");
 
  619                        $this->ctrl->setParameterByClass(
"ilportfoliorepositorygui", 
"shr_id", 
$_REQUEST[
"dsh"]);
 
  626                        $this->ctrl->setParameterByClass(
"ilobjportfoliogui", 
"prt_id", (
int)
$_GET[
"prt_id"]);
 
  627                        $this->ctrl->setParameterByClass(
"ilobjportfoliogui", 
"gtp", (
int)
$_GET[
"gtp"]);
 
  628                        $this->ctrl->redirectByClass(array(
"ilportfoliorepositorygui", 
"ilobjportfoliogui"), 
"preview");
 
  632                        $this->ctrl->redirectByClass(
"ilportfoliorepositorygui", 
$cmd);
 
  641                $this->ctrl->redirectByClass(
"ilpersonalsettingsgui");
 
  649                if ($this->
ilias->getSetting(
"disable_bookmarks"))
 
  656                $this->ctrl->redirectByClass(
"ilbookmarkadministrationgui");
 
  664                if ($this->
ilias->getSetting(
'disable_notes'))
 
  671                $this->ctrl->redirectByClass(
"ilpdnotesgui");                   
 
  679                $this->ctrl->redirectByClass(
"ilpdnewsgui");
 
  687                $this->ctrl->redirectByClass(
"illearningprogressgui");
 
  695                $this->ctrl->redirectByClass(
"ilcalendarpresentationgui");
 
  703                $this->ctrl->redirectByClass(array(
'ilpersonaldesktopgui', 
'ilcontactgui'));
 
  715                        $this->ctrl->setParameterByClass(
"ilpersonalworkspacegui", 
"shr_id", 
$_REQUEST[
"dsh"]);
 
  721                        $this->ctrl->setParameterByClass(
"ilpersonalworkspacegui", 
"wsp_id", (
int)
$_REQUEST[
"wsp_id"]);
 
  726                        $this->ctrl->setParameterByClass(
"ilpersonalworkspacegui", 
"gtp", (
int)
$_REQUEST[
"gtp"]);
 
  729                $this->ctrl->redirectByClass(
"ilpersonalworkspacegui", 
$cmd);
 
  737                $this->ctrl->redirectByClass(
"ilpersonalskillsgui");
 
  742                $stored_classes = array(
'ilpersonaldesktopgui',
 
  743                                                                'ilpersonalprofilegui',
 
  745                                                                'ilcalendarpresentationgui',
 
  746                                                                'ilbookmarkadministrationgui',
 
  747                                                                'illearningprogressgui');
 
  749                if(isset(
$_SESSION[
'il_pd_history']) and in_array(
$_SESSION[
'il_pd_history'],$stored_classes))
 
  755                        $this->ctrl->getNextClass($this);
 
  761                $this->cmdClass = $a_class;
 
  771                if ($pd_set->get(
"enable_block_moving"))
 
  773                        $a_column_gui->setEnableMovement(
true);
 
  775                $a_column_gui->setActionMenu($this->action_menu);
 
  783                $this->tpl->setTitle($this->lng->txt(
"personal_desktop"));
 
show()
returns the content of IniFile @access public
User interface class for advanced drop-down selection lists.
preloadPDBlockSettings()
Preload pd info.
GUI class for personal bookmark administration.
Column user interface class.
const LP_CONTEXT_PERSONAL_DESKTOP
Class ilObjUserTrackingGUI.
const VIEW_SELECTED_ITEMS
const VIEW_MY_MEMBERSHIPS
BlockGUI class for System Messages block on personal desktop.
GUI class for personal desktop.
getCenterColumnHTML()
Display center column.
jumpToSkills()
Jump to personal skills.
displayHeader()
display header and locator
getRightColumnHTML()
Display right column.
jumpToLP()
workaround for menu in calendar only
getStandardTemplates()
get standard templates
jumpToNotes()
workaround for menu in calendar only
& executeCommand()
execute command
getTreeModeTemplates()
get tree mode templates
getLeftColumnHTML()
Display left column.
ilPersonalDesktopGUI()
constructor
multiarray_sort($array, $key_sort)
Returns the multidimenstional sorted array.
jumpToCalendar()
Jump to calendar.
jumpToNews()
workaround for menu in calendar only
redirect()
directly redirects a call
jumpToContacts()
Jump to contacts.
jumpToProfile()
workaround for menu in calendar only
__storeLastClass($a_class)
jumpToBookmarks()
workaround for menu in calendar only
setTabs()
set personal desktop tabs
jumpToSettings()
workaround for menu in calendar only
initColumn($a_column_gui)
displaySystemMessages()
Display system messages.
removeMember()
copied from usr_personaldesktop.php
jumpToWorkspace()
Jump to personal workspace.
GUI class for personal profile.
GUI class for personal profile.
Personal skills GUI class.
GUI class for personal workspace.
Portfolio repository gui class.
special template class to simplify handling of ITX/PEAR
UI interface hook processor.
static getStyleSheetLocation($mode="output", $a_css_name="", $a_css_location="")
get full style sheet file name (path inclusive) of current user
static redirect($a_script)
http redirect to other script
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)
static infoPanel($a_keep=true)
redirection script todo: (a better solution should control the processing via a xml file)
if($_REQUEST['ilias_path']) define('ILIAS_HTTP_PATH' $_REQUEST['ilias_path']