35 include_once
"Services/Object/classes/class.ilObjectListGUI.php";
55 $this->copy_enabled =
false;
56 $this->delete_enabled =
true;
57 $this->cut_enabled =
true;
58 $this->subscribe_enabled =
true;
59 $this->link_enabled =
true;
60 $this->payment_enabled =
true;
61 $this->info_screen_enabled =
true;
63 $this->gui_class_name =
"ilobjsahslearningmodulegui";
66 include_once(
'./Modules/ScormAicc/classes/class.ilObjSAHSLearningModuleAccess.php');
85 require_once
"./Modules/ScormAicc/classes/class.ilObjSAHSLearningModuleAccess.php";
88 $cmd_link =
"ilias.php?baseClass=ilSAHSPresentationGUI&ref_id=".$this->ref_id;
92 $cmd_link =
"ilias.php?baseClass=ilSAHSEditGUI&ref_id=".$this->ref_id;
97 $cmd_link =
"ilias.php?baseClass=ilSAHSEditGUI&ref_id=".$this->ref_id;
101 $cmd_link =
"ilias.php?baseClass=ilSAHSPresentationGUI&ref_id=".$this->ref_id.
102 "&cmd=infoScreen";
106 $cmd_link =
"repository.php?ref_id=".$this->ref_id.
"&cmd=$a_cmd";
128 include_once
'Services/Payment/classes/class.ilPaymentObject.php';
129 require_once
"./Modules/ScormAicc/classes/class.ilObjSAHSLearningModule.php";
138 $frame =
"ilContObj".$this->obj_id;
140 if ($sahs_obj->getEditable() == 1)
173 global
$lng, $rbacsystem;
177 include_once(
"./Modules/ScormAicc/classes/class.ilObjSAHSLearningModuleAccess.php");
183 $props[] = array(
"alert" =>
true,
"property" => $lng->txt(
"status"),
184 "value" => $lng->txt(
"offline"));
188 $props[] = array(
"alert" =>
true,
189 "value" => $lng->txt(
"authoring_mode"));
192 if ($rbacsystem->checkAccess(
"write", $this->ref_id))
194 $props[] = array(
"alert" =>
false,
"property" => $lng->txt(
"type"),
195 "value" => $lng->txt(
"sahs"));
201 include_once
"./Modules/ScormAicc/classes/class.ilObjSAHSLearningModule.php";
206 $lng->loadLanguageModule(
'certificate');
207 $cmd_link =
"ilias.php?baseClass=ilSAHSPresentationGUI&ref_id=".$this->ref_id.
208 "&cmd=downloadCertificate";
209 $props[] = array(
"alert" =>
false,
"property" => $lng->txt(
"condition_finished"),
210 "value" =>
'<a href="' . $cmd_link .
'">' . $lng->txt(
"download_certificate") .
'</a>');
213 $lng->loadLanguageModule(
'certificate');
214 $cmd_link =
"ilias.php?baseClass=ilSAHSPresentationGUI&ref_id=".$this->ref_id.
215 "&cmd=downloadCertificate";
216 $props[] = array(
"alert" =>
false,
"property" => $lng->txt(
"condition_finished"),
217 "value" =>
'<a href="' . $cmd_link .
'">' . $lng->txt(
"download_certificate") .
'</a>');