Example #1
0
function makeCommentInEvent($idUser, $idEvent, $comment)
{
    $dateComment = time();
    $result = makeComment($idUser, $idEvent, $comment, $dateComment);
    if ($result == false) {
        var_dump($result);
    }
}
Example #2
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;
}