26 if ($soxId !=
'-1' && isset($soxId)) {
28 $oLinks =
oxNew(
'oxgbentry');
29 $oLinks->load($soxId);
32 if (!isset($oLinks->oxgbentries__oxviewed) || !$oLinks->oxgbentries__oxviewed->value) {
33 $oLinks->oxgbentries__oxviewed =
new oxField(1);
36 $this->_aViewData[
"edit"] = $oLinks;
40 $this->_aViewData[
'blShowActBox'] =
$myConfig->getConfigParam(
'blGBModerate');
42 return 'adminguestbook_main.tpl';
56 if (!isset($aParams[
'oxgbentries__oxactive'])) {
57 $aParams[
'oxgbentries__oxactive'] = 0;
63 $oLinks =
oxNew(
"oxgbentry");
65 $oLinks->load($soxId);
67 $aParams[
'oxgbentries__oxid'] = null;
73 $oLinks->assign($aParams);