summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorraylu <raylu@mixpanel.com>2011-11-05 03:22:24 -0700
committerraylu <raylu@mixpanel.com>2011-11-05 03:22:24 -0700
commite9a77e77fc245aa8bd07a40c8d7d563131a3ecc4 (patch)
treec164d2bc01e7d7e557161f8b5ca2bf786e819601
parentc29b485df3475e251dce77e68d61462e2619ba9e (diff)
downloadpathery-e9a77e77fc245aa8bd07a40c8d7d563131a3ecc4.tar.xz
re-introduce extra text for guests
-rw-r--r--css/page.css2
-rw-r--r--pages/home.php10
2 files changed, 11 insertions, 1 deletions
diff --git a/css/page.css b/css/page.css
index d38a21b..f4fb112 100644
--- a/css/page.css
+++ b/css/page.css
@@ -82,7 +82,7 @@ a:hover {
#difficulties {
width: 100%;
text-align: center;
- margin-bottom: 25px;
+ margin-bottom: 35px;
}
#difficulties a {
margin: 0 10px;
diff --git a/pages/home.php b/pages/home.php
index 869c4d1..f263c2b 100644
--- a/pages/home.php
+++ b/pages/home.php
@@ -101,6 +101,16 @@ $mergesolution = $map;
echo $solutiondiv;
echo $topscorediv;
+
+
+ if ($_SESSION['accepted'] != 1) {
+ echo "
+ <div style='text-align: center; margin-top: 20px'>
+ <a href='?page=login'>Sign in</a> to have your best solution saved.
+ </div>
+ ";
+ }
+
?>
<div id="fb">