[Openfirst-cvscommit] base/includes Module.php,1.6,1.7
Brought to you by:
xtimg
From: Astronouth7303 <ast...@us...> - 2005-08-17 17:28:08
|
Update of /cvsroot/openfirst/base/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10422/includes Modified Files: Module.php Log Message: - Updated calls to replaceVariables(), now ofReplaceVariables() - Added to beginning-of-file comment Index: Module.php =================================================================== RCS file: /cvsroot/openfirst/base/includes/Module.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Module.php 18 Jul 2005 22:34:33 -0000 1.6 --- Module.php 17 Aug 2005 17:27:59 -0000 1.7 *************** *** 24,27 **** --- 24,29 ---- // Purpose: Defines the Module class, which handles data about a module, // and code for the module itself. + // Also defines the ModuleManager class, which handles Module + // instances of installed modules require_once('dbase.php'); *************** *** 121,129 **** $this->mIncludes = explode(',', $mod->includes); foreach($this->mIncludes as $key => $value) { ! $this->mIncludes[$key] = replaceVariables($value, $this->getDir()); } } ! $this->mNavBar = replaceVariables($mod->modulenavigation, $this->getDir()); ! $this->mAdminBar = replaceVariables($mod->adminnavigation.' <a href="http://bugzilla.openfirst.org/">Report Bug</a>', $this->getDir()); $this->mShow = $mod->showonmenu; $this->mActive = $mod->active; --- 123,131 ---- $this->mIncludes = explode(',', $mod->includes); foreach($this->mIncludes as $key => $value) { ! $this->mIncludes[$key] = ofReplaceVariables($value, $this->getDir()); } } ! $this->mNavBar = ofReplaceVariables($mod->modulenavigation, $this->getDir()); ! $this->mAdminBar = ofReplaceVariables($mod->adminnavigation.' <a href="http://bugzilla.openfirst.org/">Report Bug</a>', $this->getDir()); $this->mShow = $mod->showonmenu; $this->mActive = $mod->active; |