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 viewFormOp() { parent::viewFormOp(); $this->mXoopsTpl->assign('modulename', $GLOBALS['xoopsModule']->getVar('name')); $this->mXoopsTpl->assign('extrahtml', ''); }