]> git.mxchange.org Git - friendica.git/commitdiff
after login from arbitrary page, send back to that page
authorMike Macgirvin <mike@macgirvin.com>
Sat, 9 Oct 2010 08:05:53 +0000 (01:05 -0700)
committerMike Macgirvin <mike@macgirvin.com>
Sat, 9 Oct 2010 08:05:53 +0000 (01:05 -0700)
include/auth.php
view/theme/default/style.css

index 6a50362d65faadeac171ae8a496d18476356e765..e30b94d2e389e2a8577fa5f76f6b8c8e216e5c59 100644 (file)
@@ -71,8 +71,8 @@ else {
                        $a->cid = $r[0]['id'];
                        $_SESSION['cid'] = $a->cid;
                }
-
-
+               if(($a->module !== 'home') && isset($_SESSION['return_url']))
+                       goaway($a->get_baseurl() . '/' . $_SESSION['return_url']);
        }
 }
 
index ea176b7056384485c066c0c47e9445ca98d5b558..57d6ec5e93dc05b67b4511ac69f168519cfd1f78 100644 (file)
@@ -97,7 +97,9 @@ blockquote:before {
 
 #sysmsg {
        width: 600px;
+       margin-bottom: 10px;
 }
+
 #top-margin {
        height: 20px;
 }