23 if ( $soxId !=
'-1' && isset( $soxId ) ) {
25 $oLinks =
oxNew(
'oxgbentry' );
26 $oLinks->load( $soxId );
29 if ( !isset( $oLinks->oxgbentries__oxviewed ) || !$oLinks->oxgbentries__oxviewed->value ) {
30 $oLinks->oxgbentries__oxviewed =
new oxField( 1 );
33 $this->_aViewData[
"edit"] = $oLinks;
37 $this->_aViewData[
'blShowActBox'] =
$myConfig->getConfigParam(
'blGBModerate' );
39 return 'adminguestbook_main.tpl';
55 if ( !isset( $aParams[
'oxgbentries__oxactive'] ) ) {
56 $aParams[
'oxgbentries__oxactive'] = 0;
62 $oLinks =
oxNew(
"oxgbentry" );
63 if ( $soxId !=
"-1" ) {
64 $oLinks->load( $soxId );
66 $aParams[
'oxgbentries__oxid'] = null;
72 $oLinks->assign( $aParams );