Changeset 363
- Timestamp:
- 01/27/07 23:51:03 (2 years ago)
- Files:
-
- trunk/lib/jelix-plugins/autolocale/autolocale.plugin.php (modified) (3 diffs)
- trunk/lib/jelix-plugins/magicquotes/magicquotes.plugin.php (modified) (1 diff)
- trunk/lib/jelix-scripts/commands/createapp.cmd.php (modified) (5 diffs)
- trunk/lib/jelix/core/jCoordinator.class.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/jelix-plugins/autolocale/autolocale.plugin.php
r351 r363 4 4 * @subpackage plugins 5 5 * @author Jouanneau Laurent 6 * @copyright 2006 Laurent Jouanneau6 * @copyright 2006-2007 Laurent Jouanneau 7 7 * @licence http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public Licence, see LICENCE file 8 8 */ … … 23 23 24 24 /** 25 * @param jAction $action action that will be executed 25 * @param array $params plugin parameters for the current action 26 * @return null or jSelectorAct if action should change 26 27 */ 27 public function beforeAction($ action){28 public function beforeAction($params){ 28 29 29 30 global $gJCoord, $gJConfig; … … 75 76 $gJConfig->defaultLocale = $lang; 76 77 } 78 return null; 77 79 } 78 80 trunk/lib/jelix-plugins/magicquotes/magicquotes.plugin.php
r257 r363 3 3 * @package jelix 4 4 * @subpackage plugins 5 * @version $Id$6 5 * @author Gerald Croes, Jouanneau Laurent 7 6 * @contributor 8 * @copyright 2001-2005 CopixTeam, 2005-2006 Jouanneau laurent 9 * @link http://www.jelix.org 10 * @licence GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html 11 * 7 * @copyright 2001-2005 CopixTeam, 2005-2007 Jouanneau laurent 12 8 * Some parts of this file are took from Copix Framework v2.3dev20050901, magicquotes.plugin.php, 13 9 * copyrighted by CopixTeam and released under GNU Lesser General Public Licence 14 10 * author : Gerald Croes, Laurent Jouanneau 15 11 * http://www.copix.org 12 * @link http://www.jelix.org 13 * @licence GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html 14 * 16 15 */ 17 16 trunk/lib/jelix-scripts/commands/createapp.cmd.php
r359 r363 5 5 * @author Jouanneau Laurent 6 6 * @contributor Loic Mathaud 7 * @copyright 2005-2006 Jouanneau laurent 7 * @contributor Gildas Givaja (bug #83) 8 * @copyright 2005-2007 Jouanneau laurent, 2006 Loic Mathaud, 2007 Gildas Givaja 8 9 * @link http://www.jelix.org 9 10 * @licence GNU General Public Licence see LICENCE file or http://www.gnu.org/licenses/gpl.html … … 58 59 $param = array('appname'=>$GLOBALS['APPNAME']); 59 60 60 61 61 $this->createFile(JELIX_APP_PATH.'project.xml','project.xml.tpl',$param); 62 62 $this->createFile(JELIX_APP_CONFIG_PATH.'defaultconfig.ini.php','var/config/defaultconfig.ini.php.tpl',$param); … … 75 75 $this->createFile(JELIX_APP_PATH.'application.init.php','application.init.php.tpl',$param); 76 76 77 78 77 $param = array('appname'=>$GLOBALS['APPNAME']); 79 78 $param['rp_jelix']=jxs_getRelativePath(JELIX_APP_WWW_PATH, JELIX_LIB_PATH ,true); … … 83 82 $this->createFile(JELIX_APP_WWW_PATH.'jsonrpc.php','www/jsonrpc.php.tpl',$param); 84 83 $this->createFile(JELIX_APP_WWW_PATH.'xmlrpc.php','www/xmlrpc.php.tpl',$param); 85 86 84 87 85 if($this->getOption('-withdefaultmodule')){ … … 93 91 if ($this->getOption('-withcmdline')) { 94 92 $this->createDir(JELIX_APP_CMD_PATH); 93 $this->createDir(JELIX_APP_CONFIG_PATH.'cmdline'); 95 94 $this->createFile(JELIX_APP_CONFIG_PATH.'cmdline/config.ini.php','var/config/cmdline/config.ini.php.tpl',$param); 96 95 $param['rp_cmd'] =jxs_getRelativePath(JELIX_APP_PATH, JELIX_APP_CMD_PATH,true); 97 96 $this->createFile(JELIX_APP_CMD_PATH.'cmdline.php','scripts/cmdline.php.tpl',$param); 98 97 } 99 100 98 } 101 99 } 102 100 103 104 105 101 ?> trunk/lib/jelix/core/jCoordinator.class.php
r334 r363 193 193 if($result){ 194 194 $this->action = $result; 195 jContext::pop(); 196 jContext::push($result->module); 197 $this->moduleName = $result->module; 198 $this->actionName = $result->ressource; 195 199 $ctrl = $this->getController($this->action); 196 200 break;
