From e9a77e77fc245aa8bd07a40c8d7d563131a3ecc4 Mon Sep 17 00:00:00 2001 From: raylu Date: Sat, 5 Nov 2011 03:22:24 -0700 Subject: re-introduce extra text for guests --- css/page.css | 2 +- pages/home.php | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) 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 " +
+ Sign in to have your best solution saved. +
+ "; + } + ?>
-- cgit v1.2.3