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');
79 $cmd_link =
"repository.php?ref_id=".$this->ref_id.
"&cmd=$a_cmd";
94 global
$lng, $ilias, $rbacsystem;
98 include_once(
"./Modules/ILinc/classes/class.ilObjiLincCourse.php");
102 $props[] = array(
"alert" =>
true,
"property" => $lng->txt(
"status"),
103 "value" => $lng->txt(
"offline"));
106 if (!$ilias->getSetting(
"ilinc_active"))
108 $props[] = array(
"alert" =>
false,
"property" => $lng->txt(
"ilinc_remark"),
109 "value" => $lng->txt(
"ilinc_server_not_active"));
113 if ($ilias->getSetting(
"ilinc_akclassvalues_active") and $rbacsystem->checkAccess(
"write", $this->ref_id))
119 if (!empty($akclassvalues[0]))
121 $value = $akclassvalues[0];
122 $property = $lng->txt(
"ilinc_akclassvalue");
124 if (!empty($akclassvalues[1]))
126 $value .=
" / ".$akclassvalues[1];
127 $property = $lng->txt(
"ilinc_akclassvalues");
130 elseif (!empty($akclassvalues[1]))
132 $value = $akclassvalues[1];
133 $property = $lng->txt(
"ilinc_akclassvalue");
137 $property = $lng->txt(
"ilinc_akclassvalues");
138 $value = $lng->txt(
"ilinc_no_akclassvalues");
142 $props[] = array(
"alert" =>
false,
"property" => $property,
"value" => $value);