Gästebuch (TEST)
setCommentsPerPage(10);
$gb->setTitle('Gästebuch (Test)');
$gb->loadXML(pathCombine(array($imSettings['general']['public_folder'], '')));
$gb->showSummary(true);
$newMessage = $gb->checkNewMessages(false, '[email protected]', 'guestbook', $imSettings['general']['url'] . 'admin/guestbook.php?id=' . $outputID);
if ($newMessage && $imSettings['admin']['enable_notifications']) {
Configuration::getNotifier()->sendNotification('pages_comments', $imSettings['guestbooks'][$outputID]['pagetitle'], l10n('pages_new_comment_notification_body', 'You received a new comment'), 'guestbook.php?id=' . $outputID);
}
$gb->showForm(true, true, false, '[email protected]', 'guestbook', $imSettings['general']['url'] . 'admin/guestbook.php?id=' . $outputID);
$gb->showComments(true, 'asc', false, true);
$ratingsData = $gb->getRatingsDataSummary();
?>
TEST - TEST - TEST - TEST - TEST - TEST - TEST - TEST