ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
class.ilPersonalDesktopGUI.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
4
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';
9
25{
26 var $tpl;
27 var $lng;
28 var $ilias;
29
30 var $cmdClass = '';
31
35 protected $action_menu;
36
41 {
42 global $ilias, $tpl, $lng, $rbacsystem, $ilCtrl, $ilMainMenu, $ilUser, $tree;
43
44
45 $this->tpl =& $tpl;
46 $this->lng =& $lng;
47 $this->ilias =& $ilias;
48 $this->ctrl =& $ilCtrl;
49
50 $ilCtrl->setContext($ilUser->getId(),
51 "user");
52
53 $ilMainMenu->setActive("desktop");
54 $this->lng->loadLanguageModule("pdesk");
55 $this->lng->loadLanguageModule("pd"); // #16813
56
57 // catch hack attempts
58 if ($_SESSION["AccountId"] == ANONYMOUS_USER_ID)
59 {
60 $this->ilias->raiseError($this->lng->txt("msg_not_available_for_anon"),$this->ilias->error_obj->MESSAGE);
61 }
62 $this->cmdClass = $_GET['cmdClass'];
63
64 //$tree->useCache(false);
65
66 $this->action_menu = new ilAdvancedSelectionListGUI();
67 }
68
72 function &executeCommand()
73 {
74 global $ilSetting, $rbacsystem, $ilErr;
75
76 $next_class = $this->ctrl->getNextClass();
77 $this->ctrl->setReturn($this, "show");
78
79 $this->tpl->addCss(ilUtil::getStyleSheetLocation('filesystem','delos.css','Services/Calendar'));
80
81 // read last active subsection
82 if (isset($_GET['PDHistory']) && $_GET['PDHistory'])
83 {
84 $next_class = $this->__loadNextClass();
85 }
86 $this->__storeLastClass($next_class);
87
88 switch($next_class)
89 {
90 case "ilbookmarkadministrationgui":
91 if ($ilSetting->get('disable_bookmarks'))
92 {
93 ilUtil::sendFailure($this->lng->txt('permission_denied'), true);
94 ilUtil::redirect('ilias.php?baseClass=ilPersonalDesktopGUI');
95 return;
96 }
97 include_once("./Services/Bookmarks/classes/class.ilBookmarkAdministrationGUI.php");
98 $bookmark_gui = new ilBookmarkAdministrationGUI();
99 if ($bookmark_gui->getMode() == 'tree') {
100 $this->getTreeModeTemplates();
101 } else {
102 $this->getStandardTemplates();
103 }
104 $this->setTabs();
105 $ret =& $this->ctrl->forwardCommand($bookmark_gui);
106 break;
107
108 // profile
109 case "ilpersonalprofilegui":
110 $this->getStandardTemplates();
111 $this->setTabs();
112 include_once("./Services/User/classes/class.ilPersonalProfileGUI.php");
113 $profile_gui = new ilPersonalProfileGUI();
114 $ret =& $this->ctrl->forwardCommand($profile_gui);
115 break;
116
117 // settings
118 case "ilpersonalsettingsgui":
119 $this->getStandardTemplates();
120 $this->setTabs();
121 include_once("./Services/User/classes/class.ilPersonalSettingsGUI.php");
122 $settings_gui = new ilPersonalSettingsGUI();
123 $ret =& $this->ctrl->forwardCommand($settings_gui);
124 break;
125
126 // profile
127 case "ilobjusergui":
128 include_once('./Services/User/classes/class.ilObjUserGUI.php');
129 $user_gui = new ilObjUserGUI("",$_GET["user"], false, false);
130 $ret =& $this->ctrl->forwardCommand($user_gui);
131 break;
132
133 case 'ilcalendarpresentationgui':
134 $this->getStandardTemplates();
135 $this->displayHeader();
136 $this->tpl->setTitle($this->lng->txt("calendar"));
137 $this->setTabs();
138 include_once('./Services/Calendar/classes/class.ilCalendarPresentationGUI.php');
139 $cal = new ilCalendarPresentationGUI();
140 $ret = $this->ctrl->forwardCommand($cal);
141 $this->tpl->show();
142 break;
143
144 // pd notes
145 case "ilpdnotesgui":
146 if ($ilSetting->get('disable_notes'))
147 {
148 ilUtil::sendFailure($this->lng->txt('permission_denied'), true);
149 ilUtil::redirect('ilias.php?baseClass=ilPersonalDesktopGUI');
150 return;
151 }
152
153 $this->getStandardTemplates();
154 $this->setTabs();
155 include_once("./Services/Notes/classes/class.ilPDNotesGUI.php");
156 $pd_notes_gui = new ilPDNotesGUI();
157 $ret =& $this->ctrl->forwardCommand($pd_notes_gui);
158 break;
159
160 // pd news
161 case "ilpdnewsgui":
162 $this->getStandardTemplates();
163 $this->setTabs();
164 include_once("./Services/News/classes/class.ilPDNewsGUI.php");
165 $pd_news_gui = new ilPDNewsGUI();
166 $ret =& $this->ctrl->forwardCommand($pd_news_gui);
167 break;
168
169 case "illearningprogressgui":
170 $this->getStandardTemplates();
171 $this->setTabs();
172 include_once './Services/Tracking/classes/class.ilLearningProgressGUI.php';
174 $ret =& $this->ctrl->forwardCommand($new_gui);
175
176 break;
177
178 case "ilcolumngui":
179 $this->getStandardTemplates();
180 $this->setTabs();
181 include_once("./Services/Block/classes/class.ilColumnGUI.php");
182 $column_gui = new ilColumnGUI("pd");
183 $this->initColumn($column_gui);
184 $this->show();
185 break;
186
187 case 'ilcontactgui':
188 require_once 'Services/Contact/BuddySystem/classes/class.ilBuddySystem.php';
189 if(!ilBuddySystem::getInstance()->isEnabled())
190 {
191 $ilErr->raiseError($this->lng->txt('msg_no_perm_read'), $ilErr->MESSAGE);
192 }
193
194 $this->getStandardTemplates();
195 $this->setTabs();
196 $this->tpl->setTitle($this->lng->txt('mail_addressbook'));
197
198 require_once 'Services/Contact/classes/class.ilContactGUI.php';
199 $this->ctrl->forwardCommand(new ilContactGUI());
200 break;
201
202 case 'ilpersonalworkspacegui':
203 $this->getStandardTemplates();
204 $this->setTabs();
205 include_once 'Services/PersonalWorkspace/classes/class.ilPersonalWorkspaceGUI.php';
206 $wsgui = new ilPersonalWorkspaceGUI();
207 $ret = $this->ctrl->forwardCommand($wsgui);
208 $this->tpl->show();
209 break;
210
211 case 'ilportfoliorepositorygui':
212 $this->getStandardTemplates();
213 $this->setTabs();
214 include_once 'Modules/Portfolio/classes/class.ilPortfolioRepositoryGUI.php';
215 $pfgui = new ilPortfolioRepositoryGUI();
216 $ret = $this->ctrl->forwardCommand($pfgui);
217 $this->tpl->show();
218 break;
219
220 case 'ilpersonalskillsgui':
221 $this->setTabs();
222 include_once './Services/Skill/classes/class.ilPersonalSkillsGUI.php';
223 $skgui = new ilPersonalSkillsGUI();
224 $this->getStandardTemplates();
225 $ret = $this->ctrl->forwardCommand($skgui);
226 $this->tpl->show();
227 break;
228
229 case 'redirect':
230 $this->redirect();
231 break;
232
233 default:
234 $this->getStandardTemplates();
235 $this->setTabs();
236 $cmd = $this->ctrl->getCmd("show");
237 $this->$cmd();
238 break;
239 }
240 $ret = null;
241 return $ret;
242 }
243
247 public function redirect()
248 {
249 if(is_array($_GET))
250 {
251 foreach($_GET as $key => $val)
252 {
253 if(substr($key, 0, strlen('param_')) == 'param_')
254 {
255 $this->ctrl->setParameterByClass($_GET['redirectClass'], substr($key, strlen('param_')), $val);
256 }
257 }
258 }
259 ilUtil::redirect($this->ctrl->getLinkTargetByClass($_GET['redirectClass'], $_GET['redirectCmd'], '', true));
260 }
261
266 {
267 $this->tpl->getStandardTemplate();
268 // add template for content
269// $this->tpl->addBlockFile("CONTENT", "content", "tpl.adm_content.html");
270// $this->tpl->addBlockFile("STATUSLINE", "statusline", "tpl.statusline.html");
271 }
272
277 {
278 // add template for content
279 $this->tpl->addBlockFile("CONTENT", "content", "tpl.adm_content.html");
280 $this->tpl->addBlockFile("STATUSLINE", "statusline", "tpl.statusline.html");
281 }
282
286 function show()
287 {
288 // preload block settings
289 include_once("Services/Block/classes/class.ilBlockSetting.php");
291
292 // add template for content
293 $this->pd_tpl = new ilTemplate("tpl.usr_personaldesktop.html", true, true, "Services/PersonalDesktop");
294 $this->tpl->getStandardTemplate();
295
296 // display infopanel if something happened
298
299 $this->tpl->setTitle($this->lng->txt("overview"));
300 $this->tpl->setVariable("IMG_SPACE", ilUtil::getImagePath("spacer.png", false));
301
302 $this->tpl->setContent($this->getCenterColumnHTML());
303 $this->tpl->setRightContent($this->getRightColumnHTML());
304 $this->tpl->setLeftContent($this->getLeftColumnHTML());
305
306 if(count($this->action_menu->getItems()))
307 {
312 global $tpl, $lng;
313
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');
321 $this->action_menu->setHeaderIcon(ilAdvancedSelectionListGUI::DOWN_ARROW_DARK);
322 $this->action_menu->setUseImages(false);
323
324 $htpl = new ilTemplate('tpl.header_action.html', true, true, 'Services/Repository');
325 $htpl->setVariable('ACTION_DROP_DOWN', $this->action_menu->getHTML());
326
327 $tpl->setHeaderActionMenu($htpl->get());
328 }
329
330 $this->tpl->show();
331 }
332
333
338 {
339 global $ilCtrl, $ilPluginAdmin;
340
341 include_once("Services/Block/classes/class.ilColumnGUI.php");
342 $column_gui = new ilColumnGUI("pd", IL_COL_CENTER);
343 $this->initColumn($column_gui);
344
345 if ($ilCtrl->getNextClass() == "ilcolumngui" &&
346 $column_gui->getCmdSide() == IL_COL_CENTER)
347 {
348 $html = $ilCtrl->forwardCommand($column_gui);
349 }
350 else
351 {
352 if (!$ilCtrl->isAsynch())
353 {
354 if ($column_gui->getScreenMode() != IL_SCREEN_SIDE)
355 {
356 // right column wants center
357 if ($column_gui->getCmdSide() == IL_COL_RIGHT)
358 {
359 $column_gui = new ilColumnGUI("pd", IL_COL_RIGHT);
360 $this->initColumn($column_gui);
361 $html = $ilCtrl->forwardCommand($column_gui);
362 }
363 // left column wants center
364 if ($column_gui->getCmdSide() == IL_COL_LEFT)
365 {
366 $column_gui = new ilColumnGUI("pd", IL_COL_LEFT);
367 $this->initColumn($column_gui);
368 $html = $ilCtrl->forwardCommand($column_gui);
369 }
370 }
371 else
372 {
373 $html = "";
374
375 // user interface plugin slot + default rendering
376 include_once("./Services/UIComponent/classes/class.ilUIHookProcessor.php");
377 $uip = new ilUIHookProcessor("Services/PersonalDesktop", "center_column",
378 array("personal_desktop_gui" => $this));
379 if (!$uip->replaced())
380 {
381 $html = $ilCtrl->getHTML($column_gui);
382 }
383 $html = $uip->getHTML($html);
384
385 }
386 }
387 }
388 return $html;
389 }
390
395 {
396 global $ilUser, $lng, $ilCtrl, $ilPluginAdmin;
397
398 include_once("Services/Block/classes/class.ilColumnGUI.php");
399 $column_gui = new ilColumnGUI("pd", IL_COL_RIGHT);
400 $this->initColumn($column_gui);
401
402 if ($column_gui->getScreenMode() == IL_SCREEN_FULL)
403 {
404 return "";
405 }
406
407 if ($ilCtrl->getNextClass() == "ilcolumngui" &&
408 $column_gui->getCmdSide() == IL_COL_RIGHT &&
409 $column_gui->getScreenMode() == IL_SCREEN_SIDE)
410 {
411 $html = $ilCtrl->forwardCommand($column_gui);
412 }
413 else
414 {
415 if (!$ilCtrl->isAsynch())
416 {
417 $html = "";
418
419 // user interface plugin slot + default rendering
420 include_once("./Services/UIComponent/classes/class.ilUIHookProcessor.php");
421 $uip = new ilUIHookProcessor("Services/PersonalDesktop", "right_column",
422 array("personal_desktop_gui" => $this));
423 if (!$uip->replaced())
424 {
425 $html = $ilCtrl->getHTML($column_gui);
426 }
427 $html = $uip->getHTML($html);
428 }
429 }
430
431 return $html;
432 }
433
438 {
439 global $ilUser, $lng, $ilCtrl, $ilPluginAdmin;
440
441 include_once("Services/Block/classes/class.ilColumnGUI.php");
442 $column_gui = new ilColumnGUI("pd", IL_COL_LEFT);
443 $this->initColumn($column_gui);
444
445 if ($column_gui->getScreenMode() == IL_SCREEN_FULL)
446 {
447 return "";
448 }
449
450 if ($ilCtrl->getNextClass() == "ilcolumngui" &&
451 $column_gui->getCmdSide() == IL_COL_LEFT &&
452 $column_gui->getScreenMode() == IL_SCREEN_SIDE)
453 {
454 $html = $ilCtrl->forwardCommand($column_gui);
455 }
456 else
457 {
458 if (!$ilCtrl->isAsynch())
459 {
460 $html = "";
461
462 // user interface plugin slot + default rendering
463 include_once("./Services/UIComponent/classes/class.ilUIHookProcessor.php");
464 $uip = new ilUIHookProcessor("Services/PersonalDesktop", "left_column",
465 array("personal_desktop_gui" => $this));
466 if (!$uip->replaced())
467 {
468 $html = $ilCtrl->getHTML($column_gui);
469 }
470 $html = $uip->getHTML($html);
471 }
472 }
473
474 return $html;
475 }
476
478 {
479 // add template for content
480 $this->pd_tpl = new ilTemplate("tpl.usr_personaldesktop.html", true, true, "Services/PersonalDesktop");
481 $this->tpl->getStandardTemplate();
482
483 // display infopanel if something happened
485
486 $this->tpl->setTitleIcon(ilUtil::getImagePath("icon_pd.svg"));
487 $this->tpl->setTitle($this->lng->txt("personal_desktop"));
488 $this->tpl->setVariable("IMG_SPACE", ilUtil::getImagePath("spacer.png", false));
489 }
490
491
495 function removeMember()
496 {
497 global $err_msg;
498 if (strlen($err_msg) > 0)
499 {
500 $this->ilias->raiseError($this->lng->txt($err_msg),$this->ilias->error_obj->MESSAGE);
501 }
502 $this->show();
503 }
504
509 {
510 include_once("Services/Mail/classes/class.ilPDSysMessageBlockGUI.php");
511 $sys_block = new ilPDSysMessageBlockGUI("ilpersonaldesktopgui", "show");
512 return $sys_block->getHTML();
513 }
514
525 function multiarray_sort ($array, $key_sort)
526 {
527 if ($array) {
528 $key_sorta = explode(";", $key_sort);
529
530 $multikeys = array_keys($array);
531 $keys = array_keys($array[$multikeys[0]]);
532
533 for($m=0; $m < count($key_sorta); $m++) {
534 $nkeys[$m] = trim($key_sorta[$m]);
535 }
536 $n += count($key_sorta);
537
538 for($i=0; $i < count($keys); $i++){
539 if(!in_array($keys[$i], $key_sorta)) {
540 $nkeys[$n] = $keys[$i];
541 $n += "1";
542 }
543 }
544
545 for($u=0;$u<count($array); $u++) {
546 $arr = $array[$multikeys[$u]];
547 for($s=0; $s<count($nkeys); $s++) {
548 $k = $nkeys[$s];
549 $output[$multikeys[$u]][$k] = $array[$multikeys[$u]][$k];
550 }
551 }
552 sort($output);
553 return $output;
554 }
555 }
556
560 function setTabs()
561 {
562 global $ilHelp;
563
564 $ilHelp->setScreenIdComponent("pd");
565 }
566
570 public function jumpToMemberships()
571 {
575 global $ilSetting;
576
577 if(!$ilSetting->get('disable_my_memberships'))
578 {
579 require_once 'Services/PersonalDesktop/classes/class.ilPDSelectedItemsBlockGUI.php';
581 }
582
583 $this->show();
584 }
585
589 public function jumpToSelectedItems()
590 {
594 global $ilSetting;
595
596 if(!$ilSetting->get('disable_my_offers'))
597 {
598 require_once 'Services/PersonalDesktop/classes/class.ilPDSelectedItemsBlockGUI.php';
600 }
601
602 $this->show();
603 }
604
608 function jumpToProfile()
609 {
610 $this->ctrl->redirectByClass("ilpersonalprofilegui");
611 }
612
614 {
615 // incoming back link from shared resource
616 $cmd = "";
617 if($_REQUEST["dsh"])
618 {
619 $this->ctrl->setParameterByClass("ilportfoliorepositorygui", "shr_id", $_REQUEST["dsh"]);
620 $cmd = "showOther";
621 }
622
623 // used for goto links
624 if($_GET["prt_id"])
625 {
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");
629 }
630 else
631 {
632 $this->ctrl->redirectByClass("ilportfoliorepositorygui", $cmd);
633 }
634 }
635
639 function jumpToSettings()
640 {
641 $this->ctrl->redirectByClass("ilpersonalsettingsgui");
642 }
643
648 {
649 if ($this->ilias->getSetting("disable_bookmarks"))
650 {
651 ilUtil::sendFailure($this->lng->txt('permission_denied'), true);
652 ilUtil::redirect('ilias.php?baseClass=ilPersonalDesktopGUI');
653 return;
654 }
655
656 $this->ctrl->redirectByClass("ilbookmarkadministrationgui");
657 }
658
662 function jumpToNotes()
663 {
664 if ($this->ilias->getSetting('disable_notes'))
665 {
666 ilUtil::sendFailure($this->lng->txt('permission_denied'), true);
667 ilUtil::redirect('ilias.php?baseClass=ilPersonalDesktopGUI');
668 return;
669 }
670
671 $this->ctrl->redirectByClass("ilpdnotesgui");
672 }
673
677 function jumpToNews()
678 {
679 $this->ctrl->redirectByClass("ilpdnewsgui");
680 }
681
685 function jumpToLP()
686 {
687 $this->ctrl->redirectByClass("illearningprogressgui");
688 }
689
693 function jumpToCalendar()
694 {
695 $this->ctrl->redirectByClass("ilcalendarpresentationgui");
696 }
697
701 function jumpToContacts()
702 {
703 $this->ctrl->redirectByClass(array('ilpersonaldesktopgui', 'ilcontactgui'));
704 }
705
710 {
711 // incoming back link from shared resource
712 $cmd = "";
713 if($_REQUEST["dsh"])
714 {
715 $this->ctrl->setParameterByClass("ilpersonalworkspacegui", "shr_id", $_REQUEST["dsh"]);
716 $cmd = "share";
717 }
718
719 if($_REQUEST["wsp_id"])
720 {
721 $this->ctrl->setParameterByClass("ilpersonalworkspacegui", "wsp_id", (int)$_REQUEST["wsp_id"]);
722 }
723
724 if($_REQUEST["gtp"])
725 {
726 $this->ctrl->setParameterByClass("ilpersonalworkspacegui", "gtp", (int)$_REQUEST["gtp"]);
727 }
728
729 $this->ctrl->redirectByClass("ilpersonalworkspacegui", $cmd);
730 }
731
735 function jumpToSkills()
736 {
737 $this->ctrl->redirectByClass("ilpersonalskillsgui");
738 }
739
741 {
742 $stored_classes = array('ilpersonaldesktopgui',
743 'ilpersonalprofilegui',
744 'ilpdnotesgui',
745 'ilcalendarpresentationgui',
746 'ilbookmarkadministrationgui',
747 'illearningprogressgui');
748
749 if(isset($_SESSION['il_pd_history']) and in_array($_SESSION['il_pd_history'],$stored_classes))
750 {
751 return $_SESSION['il_pd_history'];
752 }
753 else
754 {
755 $this->ctrl->getNextClass($this);
756 }
757 }
758 function __storeLastClass($a_class)
759 {
760 $_SESSION['il_pd_history'] = $a_class;
761 $this->cmdClass = $a_class;
762 }
763
768 function initColumn($a_column_gui)
769 {
770 $pd_set = new ilSetting("pd");
771 if ($pd_set->get("enable_block_moving"))
772 {
773 $a_column_gui->setEnableMovement(true);
774 }
775 $a_column_gui->setActionMenu($this->action_menu);
776 }
777
781 function displayHeader()
782 {
783 $this->tpl->setTitle($this->lng->txt("personal_desktop"));
784 }
785
786
787}
788?>
$n
Definition: RandomTest.php:80
$_GET["client_id"]
$_SESSION["AccountId"]
const IL_SCREEN_SIDE
const IL_COL_RIGHT
const IL_SCREEN_FULL
const IL_COL_CENTER
const IL_COL_LEFT
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.
Class ilObjUserTrackingGUI.
Class ilObjUserGUI.
Private Notes on PD.
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
getTreeModeTemplates()
get tree mode templates
getLeftColumnHTML()
Display left column.
multiarray_sort($array, $key_sort)
Returns the multidimenstional sorted array.
jumpToNews()
workaround for menu in calendar only
redirect()
directly redirects a call
jumpToProfile()
workaround for menu in calendar only
jumpToBookmarks()
workaround for menu in calendar only
setTabs()
set personal desktop tabs
jumpToSettings()
workaround for menu in calendar only
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.
ILIAS Setting 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)
$html
Definition: example_001.php:87
global $ilCtrl
Definition: ilias.php:18
redirection script todo: (a better solution should control the processing via a xml file)
global $ilSetting
Definition: privfeed.php:40
$cmd
Definition: sahs_server.php:35
if($_REQUEST['ilias_path']) define('ILIAS_HTTP_PATH' $_REQUEST['ilias_path']
Definition: index.php:7
global $ilUser
Definition: imgupload.php:15