24 if ($soxId !=
'-1' && isset($soxId)) {
26 $oLinks =
oxNew(
'oxgbentry');
27 $oLinks->load($soxId);
30 if (!isset($oLinks->oxgbentries__oxviewed) || !$oLinks->oxgbentries__oxviewed->value) {
31 $oLinks->oxgbentries__oxviewed =
new oxField(1);
34 $this->_aViewData[
"edit"] = $oLinks;
38 $this->_aViewData[
'blShowActBox'] =
$myConfig->getConfigParam(
'blGBModerate');
40 return 'adminguestbook_main.tpl';
54 if (!isset($aParams[
'oxgbentries__oxactive'])) {
55 $aParams[
'oxgbentries__oxactive'] = 0;
61 $oLinks =
oxNew(
"oxgbentry");
63 $oLinks->load($soxId);
65 $aParams[
'oxgbentries__oxid'] = null;
71 $oLinks->assign($aParams);