From: <gem...@li...> - 2011-12-05 12:56:11
|
Revision: 341 http://gemstracker.svn.sourceforge.net/gemstracker/?rev=341&view=rev Author: mennodekker Date: 2011-12-05 12:56:05 +0000 (Mon, 05 Dec 2011) Log Message: ----------- Marked code that should be moved to a better place Modified Paths: -------------- trunk/library/classes/Gems/Default/IndexAction.php Modified: trunk/library/classes/Gems/Default/IndexAction.php =================================================================== --- trunk/library/classes/Gems/Default/IndexAction.php 2011-12-05 12:44:59 UTC (rev 340) +++ trunk/library/classes/Gems/Default/IndexAction.php 2011-12-05 12:56:05 UTC (rev 341) @@ -306,6 +306,12 @@ { $request = $this->getRequest(); + /** + * @@TODO: Start block to move to Gems_User_User->getCurrentOrganizationId() + * + * At that place the cookie is read, but this could be changed to use url like here + * or maybe referrer, ip-range, get-param etc. + */ // Allow layout switching based on request base url if ($this->escort instanceof Gems_Project_Layout_MultiLayoutInterface) { $hostUrl = $this->escort->loader->getUtil()->getCurrentURI(); @@ -320,6 +326,9 @@ $this->escort->layoutSwitch($request); } } + /** + * End block to move to Gems_User_User->getCurrentOrganizationId() + */ $form = $this->_getLoginForm(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |