From 8df3db566a3a937b45ebf11adb90d265e6f5e2d4 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 17 Nov 2019 20:45:02 +0100 Subject: initial checking of customized version 1.0rc9 --- js/callbacks/getsearches.php | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 js/callbacks/getsearches.php (limited to 'js/callbacks/getsearches.php') diff --git a/js/callbacks/getsearches.php b/js/callbacks/getsearches.php new file mode 100644 index 0000000..215d2d8 --- /dev/null +++ b/js/callbacks/getsearches.php @@ -0,0 +1,30 @@ +check_account_ok(); +} else { + $user = new User(0, $proj); +} + +// don't allow anonymous users to access this page at all +if ($user->isAnon()) { + die(); +} + +$user->save_search(); # currently used for loading user searches from db into user object ... +$page = new FSTpl; +$page->setTheme($proj->prefs['theme_style']); +$page->display('links.searches.tpl'); +?> -- cgit v1.2.3-54-g00ecf