3 include_once
"Services/WebDAV/classes/class.ilWebDAVMountInstructions.php";
36 $instruction_text = $this->mount_instruction->setInstructionPlaceholders($instruction_tpl);
46 header(
'Content-Type: text/html; charset=UTF-8');
47 echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
48 echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN\"\n";
49 echo " \"http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg.dtd\">\n";
50 echo "<html xmlns=\"http://www.w3.org/1999/xhtml\">\n";
52 echo " <title>" . sprintf($DIC->language()->txt(
'webfolder_instructions_titletext'), $this->mount_instruction->getWebfolderTitle()) .
"</title>\n";
55 echo $instruction_text;
65 $instruction_tpl =
'';
67 if ($this->mount_instruction->instructionsTplFileExists()) {
68 $instruction_tpl = $this->mount_instruction->getInstructionsFromTplFile();
69 } elseif ($settings->get(
'custom_webfolder_instructions_enabled')) {
70 $instruction_tpl = $this->mount_instruction->getCustomInstruction();
73 if (strlen($instruction_tpl) == 0) {
74 $instruction_tpl = $this->mount_instruction->getDefaultInstruction();
77 return utf8_encode($instruction_tpl);
showMountInstructionPage()
displayInstructionPage($instruction_text)
Class ilWebDAVMountInstructionsGUI.
Class ilWebDAVMountInstructions.