Ejemplo n.º 1
0
function makeEntry($thisBook, $thisCatalogue, $id)
{
    $buffer = makeAuthors($thisBook->persons) . makeTitle($thisBook->titleBib, $thisBook->titleCat, $thisBook->work) . makeVolumes($thisBook->volumes) . makePublished(makePlaces($thisBook->places), $thisBook->publisher, $thisBook->year) . ' <a id="linkid' . $id . '" href="javascript:toggle(\'id' . $id . '\')">Mehr</a>
				<div id="id' . $id . '" style="display:none; padding-top:0px; padding-bottom:15px; padding-left:10px;">' . makeSourceLink($thisBook, $thisCatalogue->base) . makeOriginalLink($thisBook->originalItem) . makeWorkLink($thisBook->work) . makeDigiLink($thisBook->digitalCopy) . makeProof($thisBook) . makeComment($thisBook->comment) . '</div>';
    return $buffer;
}
Ejemplo n.º 2
0
$data = unserialize($dataString);
unset($dataString);
// Füge die Datasheets für den GeoBrowser dem Projektverzeichnis hinzu (zeitweise aufgehoben)
//makeGeoDataSheet($data, $folderName, 'KML');
//makeGeoDataSheet($data, $folderName, 'CSV');
/* Hier werden die Strukturen (jeweils ein Array aus section-Objekten) gebildet 
und im Array $structures zwischengespeichert.
*/
$structures = array();
include 'fieldList.php';
foreach ($facets as $facet) {
    if (in_array($facet, $indexFields)) {
        $structure = makeSections($data, $facet);
        if (in_array($facet, $volumeFields)) {
            foreach ($structure as $section) {
                $section = makeVolumes($section);
            }
        }
        $structures[] = $structure;
    }
}
// Zu jeder Struktur wird eine Liste mit Kategorien für das Inhaltsverzeichnis berechnet.
$count = 0;
$tocs = array();
foreach ($structures as $structure) {
    $tocs[$facets[$count]] = makeToC($structure);
    $count++;
}
// Für jede Struktur wird jetzt eine HTML-Datei berechnet und gespeichert.
$count = 0;
foreach ($structures as $structure) {