Revision 1792
Added by Dietmar over 11 years ago
login_form.php | ||
---|---|---|
17 | 17 |
|
18 | 18 |
/* -------------------------------------------------------- */ |
19 | 19 |
// Must include code to stop this file being accessed directly |
20 |
if(defined('WB_PATH') == false) |
|
21 |
{ |
|
22 |
// Stop this file being access directly |
|
23 |
die('<h2 style="color:red;margin:3em auto;text-align:center;">Cannot access this file directly</h2>'); |
|
20 |
if(!defined('WB_PATH')) { |
|
21 |
require_once(dirname(dirname(__FILE__)).'/framework/globalExceptionHandler.php'); |
|
22 |
throw new IllegalFileException(); |
|
24 | 23 |
} |
25 | 24 |
/* -------------------------------------------------------- */ |
26 | 25 |
|
... | ... | |
42 | 41 |
|
43 | 42 |
$thisApp->redirect_url = (isset($thisApp->redirect_url) && ($thisApp->redirect_url!='') ? $thisApp->redirect_url : $_SESSION['HTTP_REFERER'] ); |
44 | 43 |
|
45 |
//print '<pre style="text-align: left;"><strong>function '.__FUNCTION__.'( '.''.' );</strong> basename: '.basename(__FILE__).' line: '.__LINE__.' -> <br />'; |
|
46 |
//print_r( $thisApp->redirect_url ); print '</pre>'; |
|
44 |
$sIncludeHeadLinkCss = ''; |
|
45 |
if( is_readable(WB_PATH .'/account/frontend.css')) { |
|
46 |
$sIncludeHeadLinkCss .= '<link href="'.WB_URL.'/account/frontend.css"'; |
|
47 |
$sIncludeHeadLinkCss .= ' rel="stylesheet" type="text/css" media="screen" />'."\n"; |
|
48 |
} |
|
47 | 49 |
|
48 | 50 |
// set template file and assign module and template block |
49 | 51 |
$oTpl = new Template(dirname(__FILE__).'/htt'); |
... | ... | |
64 | 66 |
'THEME_URL' => THEME_URL, |
65 | 67 |
'TEMPLATE_URL' => TEMPLATE_DIR, |
66 | 68 |
'HTTP_REFERER' => $_SESSION['HTTP_REFERER'], |
69 |
'CSS_BLOCK' => $sIncludeHeadLinkCss, |
|
67 | 70 |
'MESSAGE_VALUE' => '', |
68 | 71 |
'ERROR_VALUE' => '', |
69 | 72 |
'THISAPP_MESSAGE_VALUE' => $thisApp->message, |
Also available in: Unified diff
! all changes in folder account, Signup with confirmation Mail
! frontend.css now included by account script