diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-01 16:55:17 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-01 16:55:17 +0000 |
commit | 18d930d4e2c7149e74df65b40a42a7d602b5dc54 (patch) | |
tree | caecedbf18f5e022e7abee3045e567210c96489f /actions/user | |
parent | c5a46b76d68a6042b793549dcc0e3a9c5784d629 (diff) | |
download | elgg-18d930d4e2c7149e74df65b40a42a7d602b5dc54.tar.gz elgg-18d930d4e2c7149e74df65b40a42a7d602b5dc54.tar.bz2 |
Spotlight state persists.
git-svn-id: https://code.elgg.org/elgg/trunk@1658 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions/user')
-rw-r--r-- | actions/user/spotlight.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/actions/user/spotlight.php b/actions/user/spotlight.php new file mode 100644 index 000000000..b43af2f16 --- /dev/null +++ b/actions/user/spotlight.php @@ -0,0 +1,15 @@ +<?php
+
+ gatekeeper();
+
+ $closed = get_input('closed','true');
+ if ($closed != 'true') {
+ $closed = false;
+ } else {
+ $closed = true;
+ }
+
+ $_SESSION['user']->spotlightclosed = $closed;
+ exit;
+
+?>
\ No newline at end of file |