Code: Select all
global $Itemid;
$msg;
mosRedirect('index.php?option=com_login&Itemid='.$Itemid, $msg);
Code: Select all
global $Itemid;
$msg;
mosRedirect('index.php?option=com_login&Itemid='.$Itemid, $msg);
Code: Select all
......inside rows 33 to 50 file login.php
$params->def( 'login', $mosConfig_live_site );
$params->def( 'logout', $mosConfig_live_site );
...........
Code: Select all
......inside rows 33 to 38 file mod_login.php
$login = $params->def( 'login', $return );
$logout = $params->def( 'logout', $return );
...........
Code: Select all
///// from mod_login.php/////
23// url of current page that user will be returned to after login
24 if ($query_string = mosGetParam( $_SERVER, 'QUERY_STRING', '' )) {
25 $return = 'index.php?' . $query_string;
26 } else {
27 $return = 'index.php';
28 }
Code: Select all
DEFINE('_REG_COMPLETE', 'Step one complete now <a href="http://www.mywebsite.com/index.php?option=com_login&task=login/" target="_self">Submit Login');
Code: Select all
DEFINE('_REG_COMPLETE', '<html><head><script type="text/javascript">function forward(){window.location.href = "http://www.[spam].com/index.php?option=com_login&task=login/";}</script></head><body onload="forward()"></body></html>');