diff options
author | cweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2009-09-17 12:07:55 +0000 |
---|---|---|
committer | cweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2009-09-17 12:07:55 +0000 |
commit | 14f617d641605ccb8512d8aa5de33b3972151263 (patch) | |
tree | bfc82f1a38b01639b4bfbc72f0f78a7d80d24e2e /templates/login.tpl.php | |
parent | 362ebe90ea15aa8b040496ba5c7368a974dc5633 (diff) | |
download | semanticscuttle-14f617d641605ccb8512d8aa5de33b3972151263.tar.gz semanticscuttle-14f617d641605ccb8512d8aa5de33b3972151263.tar.bz2 |
Fix bug #2834111: Patch to detect if cookies are enabled
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@345 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'templates/login.tpl.php')
-rw-r--r-- | templates/login.tpl.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/login.tpl.php b/templates/login.tpl.php index def2d72..6592b0d 100644 --- a/templates/login.tpl.php +++ b/templates/login.tpl.php @@ -8,6 +8,12 @@ window.onload = function() { } </script> +<?php +if (!$userservice->isSessionStable()) { + echo '<p class="error">'.T_('Please activate cookies').'</p>'; +} +?> + <form action="<?php echo $formaction; ?>" method="post"> <div><input type="hidden" name="query" value="<?php echo $querystring; ?>" /></div> <table> |