3 require_once
"./Modules/Bibliographic/classes/class.ilBibliographicEntry.php";
4 require_once
"./Modules/Bibliographic/classes/Admin/class.ilBibliographicSetting.php";
5 require_once(
"Services/Form/classes/class.ilPropertyFormGUI.php");
6 require_once(
'./Modules/Bibliographic/classes/Types/class.ilBibTex.php');
7 require_once(
'./Modules/Bibliographic/classes/Types/class.ilRis.php');
45 public function getHTML() {
50 $ilHelp->setScreenIdComponent(
'bibl');
53 $ilTabs->clearTargets();
54 $ilTabs->setBackTarget($lng->txt(
"back"), $ilCtrl->getLinkTarget($this,
'showContent'));
55 $form->setTitle($lng->txt(
'detail_view'));
58 $link = $set->get(strtolower($this->bibl_obj->getFiletype()));
60 $form->addCommandButton(
'autoLink',
'Link');
63 $attributes = $this->entry->getAttributes();
65 foreach ($attributes as $key => $attribute) {
67 if ($lng->exists($key)) {
68 $strDescTranslated = $lng->txt($key);
71 $arrKey = explode(
"_", $key);
72 $is_standard_field =
false;
82 if ($is_standard_field) {
83 $strDescTranslated = $lng->txt($arrKey[0] .
"_default_" . $arrKey[2]);
85 $strDescTranslated = $arrKey[2];
88 unset($attributes[$key]);
89 $attributes[$strDescTranslated] = $attribute;
92 ksort($attributes, SORT_STRING);
94 foreach ($attributes as $key => $attribute) {
96 $ci->setHtml($attribute);
101 foreach ($settings as $set) {
103 $ci->
setHtml($set->getButton($this->bibl_obj, $this->entry));
109 return $form->getHTML();