From 3ac2b52019535cf6162bb2e5d95d46c591958ff8 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 23 May 2006 06:34:50 +0100 Subject: move some cookies to init-params --- functions.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'functions.php') diff --git a/functions.php b/functions.php index c97be42c8..30f309dd3 100644 --- a/functions.php +++ b/functions.php @@ -1688,4 +1688,22 @@ function get_session_cookie_name() { return ((!defined('TTRSS_SESSION_NAME')) ? "ttrss_sid" : TTRSS_SESSION_NAME); } + + function print_init_params($link) { + print ""; + if ($_SESSION["stored-params"]) { + foreach (array_keys($_SESSION["stored-params"]) as $key) { + $value = htmlspecialchars($_SESSION["stored-params"][$key]); + print ""; + } + } + + print ""; + print ""; + + print ""; + + print ""; + } ?> -- cgit v1.2.3-54-g00ecf