3 require_once
"./Modules/Bibliographic/classes/class.ilBibliographicEntry.php";
4 require_once
"./Modules/Bibliographic/classes/Admin/class.ilBibliographicSetting.php";
44 public function getHTML()
48 $ilTabs = $DIC[
'ilTabs'];
51 $ilHelp = $DIC[
'ilHelp'];
55 $ilHelp->setScreenIdComponent(
'bibl');
58 $ilTabs->clearTargets();
59 $ilTabs->setBackTarget(
$lng->txt(
"back"),
$ilCtrl->getLinkTarget($this,
'showContent'));
60 $form->setTitle(
$lng->txt(
'detail_view'));
63 $link = $set->get(strtolower($this->bibl_obj->getFiletype()));
65 $form->addCommandButton(
'autoLink',
'Link');
73 $strDescTranslated =
$lng->txt(
$key);
76 $arrKey = explode(
"_",
$key);
77 $is_standard_field =
false;
86 if ($is_standard_field) {
87 $strDescTranslated =
$lng->txt($arrKey[0] .
"_default_" . $arrKey[2]);
89 $strDescTranslated = $arrKey[2];
100 $ci->setHTML(self::prepareLatex($attribute));
105 foreach ($settings as $set) {
107 $ci->
setHtml($set->getButton($this->bibl_obj, $this->entry));
110 $tpl->setPermanentLink(
"bibl", $this->bibl_obj->getRefId(),
"_" 114 return $form->getHTML();
137 $string = preg_replace(
'/\\$(.*)\\$/u',
'[tex]$1[/tex]', $string);
139 return $ilMathJax->insertLatexImages($string);
static isStandardField($field_name)
static getInstance(ilObjBibliographic $bibl_obj, $entry_id)
Class ilBibliographicDetailsGUI The detailled view on each entry.
static prepareLatex($string)
This feature has to be discussed by JF first.
if(isset($_POST['submit'])) $form
static getInstance($file_type, $entry_id=null)
static getInstance()
Singleton: get instance.
Class ilObjBibliographic.
static isStandardField($field_name)