From: <ok...@us...> - 2003-01-07 21:33:12
|
Update of /cvsroot/xoops/xoops2/kernel/module/object In directory sc8-pr-cvs1:/tmp/cvs-serv14503/kernel/module/object Modified Files: module.php Log Message: added global comments feature Index: module.php =================================================================== RCS file: /cvsroot/xoops/xoops2/kernel/module/object/module.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** module.php 5 Jan 2003 18:25:19 -0000 1.2 --- module.php 7 Jan 2003 21:32:06 -0000 1.3 *************** *** 51,54 **** --- 51,55 ---- $this->initVar('hassearch', XOBJ_DTYPE_INT, 0, false); $this->initVar('hasconfig', XOBJ_DTYPE_INT, 0, false); + $this->initVar('hascomments', XOBJ_DTYPE_INT, 0, false); } *************** *** 65,72 **** --- 66,75 ---- $hassearch = (isset($this->modinfo['hasSearch']) && $this->modinfo['hasSearch'] == 1) ? 1 : 0; $hasconfig = isset($this->modinfo['config']) && is_array($this->modinfo['config']) ? 1 : 0; + $hascomments = (isset($this->modinfo['hasComments']) && $this->modinfo['hasComments'] == 1) ? 1 : 0; $this->setVar('hasmain', $hasmain); $this->setVar('hasadmin', $hasadmin); $this->setVar('hassearch', $hassearch); $this->setVar('hasconfig', $hasconfig); + $this->setVar('hascomments', $hascomments); } |