Home » Projects » Mambo CMS » SVN » Browse repository
Diff of /mambo/branches/4.5.3h/index.php
Parent Directory
|
Revision Log
|
Patch
| 106 |
} |
} |
| 107 |
|
|
| 108 |
/** do we have a valid Itemid yet?? */ |
/** do we have a valid Itemid yet?? */ |
| 109 |
if ( $Itemid === null ) { |
if ( $Itemid === 0 ) { |
| 110 |
/** Nope, just use the homepage then. */ |
/** Nope, just use the homepage then. */ |
| 111 |
$query = "SELECT id" |
$query = "SELECT id" |
| 112 |
. "\n FROM #__menu" |
. "\n FROM #__menu" |
| 132 |
|
|
| 133 |
// frontend login & logout controls |
// frontend login & logout controls |
| 134 |
$return = mosGetParam( $_REQUEST, 'return', NULL ); |
$return = mosGetParam( $_REQUEST, 'return', NULL ); |
|
$message = mosGetParam( $_POST, 'message', 0 ); |
|
| 135 |
if ($option == "login") { |
if ($option == "login") { |
| 136 |
$mainframe->login(); |
$mainframe->login(); |
| 137 |
|
|
| 138 |
// JS Popup message |
// JS Popup message |
| 139 |
if ( $message ) { |
if ( mosGetParam( $_POST, 'message', 0 ) ) { |
| 140 |
?> |
?> |
| 141 |
<script> |
<script> |
| 142 |
<!--// |
<!--// |
| 156 |
$mainframe->logout(); |
$mainframe->logout(); |
| 157 |
|
|
| 158 |
// JS Popup message |
// JS Popup message |
| 159 |
if ( $message ) { |
if ( mosGetParam( $_POST, 'message', 0 ) ) { |
| 160 |
?> |
?> |
| 161 |
<script> |
<script> |
| 162 |
<!--// |
<!--// |
|
|
Legend:
| Removed from v.24 |
|
| changed lines |
| |
Added in v.25 |
|
|

Web Hosting provided by Network
Redux.