35 include_once
"Services/Object/classes/class.ilObjectListGUI.php";
53 $this->copy_enabled =
false;
54 $this->delete_enabled =
true;
55 $this->cut_enabled =
false;
56 $this->subscribe_enabled =
true;
57 $this->link_enabled =
false;
58 $this->payment_enabled =
false;
60 $this->gui_class_name =
"ilobjilinccoursegui";
63 include_once(
'./Modules/ILinc/classes/class.ilObjiLincCourseAccess.php');
80 $ilCtrl->setParameterByClass(
"ilrepositorygui",
"ref_id", $this->ref_id);
81 $cmd_link = $ilCtrl->getLinkTargetByClass(
"ilrepositorygui", $a_cmd);
82 $ilCtrl->setParameterByClass(
"ilrepositorygui",
"ref_id",
$_GET[
"ref_id"]);
97 global
$lng, $ilias, $rbacsystem;
101 include_once(
"./Modules/ILinc/classes/class.ilObjiLincCourse.php");
105 $props[] = array(
"alert" =>
true,
"property" => $lng->txt(
"status"),
106 "value" => $lng->txt(
"offline"));
109 if (!$ilias->getSetting(
"ilinc_active"))
111 $props[] = array(
"alert" =>
false,
"property" => $lng->txt(
"ilinc_remark"),
112 "value" => $lng->txt(
"ilinc_server_not_active"));
116 if ($ilias->getSetting(
"ilinc_akclassvalues_active") and $rbacsystem->checkAccess(
"write", $this->ref_id))
122 if (!empty($akclassvalues[0]))
124 $value = $akclassvalues[0];
125 $property = $lng->txt(
"ilinc_akclassvalue");
127 if (!empty($akclassvalues[1]))
129 $value .=
" / ".$akclassvalues[1];
130 $property = $lng->txt(
"ilinc_akclassvalues");
133 elseif (!empty($akclassvalues[1]))
135 $value = $akclassvalues[1];
136 $property = $lng->txt(
"ilinc_akclassvalue");
140 $property = $lng->txt(
"ilinc_akclassvalues");
141 $value = $lng->txt(
"ilinc_no_akclassvalues");
145 $props[] = array(
"alert" =>
false,
"property" => $property,
"value" => $value);