Exemplo n.º 1
0
if (Request::quotedArray('_lit_data')) {
    $_SESSION['_lit_data'] = Request::quotedArray('_lit_data');
}
$header = get_object_name($_inst_id, 'inst');
?>
<h1>
<?php 
echo htmlReady(sprintf(_("Literaturliste %s"), $header['type'] . ": " . $header['name']));
?>
</h1>
<?
if (is_array($_SESSION['_lit_data'])){
    foreach ($_SESSION['_lit_data'] as $cid => $data){
        $element->setValues($data);
        if ($element->getValue('catalog_id')){
            $titel = htmlReady($element->getShortName());
            echo "\n<table width=\"99%\" cellpadding=\"0\" cellspacing=\"4\" border=\"0\" align=\"center\"><tr>";
            echo '<td><b>' . $titel . '</b></td>';
            echo "\n</tr></table>";
            $content = "";
            $estimated_p = 0;
            $participants = 0;
            echo "\n<table width=\"97%\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\">";
            $content .= "<b>" . _("Titel:") ."</b>&nbsp;&nbsp;" . htmlReady($element->getValue("dc_title"),true,true) . "<br>";
            $content .= "<b>" . _("Autor; weitere Beteiligte:") ."</b>&nbsp;&nbsp;" . htmlReady($element->getValue("authors"),true,true) . "<br>";
            $content .= "<b>" . _("Erschienen:") ."</b>&nbsp;&nbsp;" . htmlReady($element->getValue("published"),true,true) . "<br>";
            $content .= "<b>" . _("Identifikation:") ."</b>&nbsp;&nbsp;" . htmlReady($element->getValue("dc_identifier")) . "<br>";

            $content .= "<b>" . _("Veranstaltungen:") . "</b>&nbsp;&nbsp;";
            foreach ($_SESSION['_lit_data'][$cid]['sem_data'] as $sem_data){
                $content .= htmlReady(my_substr($sem_data["Name"],0,50)) .', ';