function viewDeleteOp()
 {
     parent::viewDeleteOp();
     $this->mXoopsTpl->assign('extrahtml', '');
     $this->mXoopsTpl->assign('errmsg', '');
     $this->mXoopsTpl->assign('modulename', $GLOBALS['xoopsModule']->getVar('name'));
 }
 function viewFormOp()
 {
     parent::viewFormOp();
     $this->mXoopsTpl->assign('mygmap_API', $GLOBALS['xoopsModuleConfig']['mygmap_api']);
     $this->mXoopsTpl->assign('mygmap_dirname', $this->mDirName);
     $this->mXoopsTpl->assign('mygmap_center_lat', $this->mObject->getVar('mygmap_marker_lat'));
     $this->mXoopsTpl->assign('mygmap_center_lng', $this->mObject->getVar('mygmap_marker_lng'));
     $this->mXoopsTpl->assign('mygmap_zoom', $this->mObject->getVar('mygmap_marker_zoom'));
     $this->mXoopsTpl->assign('mygmap_maptype', $this->mObject->getVar('mygmap_marker_maptype'));
     $this->mXoopsTpl->assign('mygmap_width', $GLOBALS['xoopsModuleConfig']['mygmap_width']);
     $this->mXoopsTpl->assign('mygmap_height', $GLOBALS['xoopsModuleConfig']['mygmap_height']);
     $this->mXoopsTpl->assign('mygmap_credit', $GLOBALS['mygmap_credit']);
 }
 function prepare()
 {
     parent::prepare('NBFrame.xoops.Comment', 'simplenews', $this->__l('SimpleNews'));
     $this->mAllowedOp = array('new', 'edit', 'insert', 'save', 'delete', 'deleteok');
 }