summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-03-26 06:23:15 +0100
committerAndrew Dolgov <[email protected]>2007-03-26 06:23:15 +0100
commit4049672041287a491919c01d80017c7b767c3461 (patch)
tree83c41485f54559c303e2578adb8f383647d245ab /functions.php
parentcdbb6dc62652adfe754fa894720efef4758fb311 (diff)
add persistent storage for toolbar view options, bump schema
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/functions.php b/functions.php
index 05ac12dd3..e98f36f69 100644
--- a/functions.php
+++ b/functions.php
@@ -2205,6 +2205,12 @@
print "<param key=\"cookie_lifetime\" value=\"" . SESSION_COOKIE_LIFETIME . "\"/>";
+ print "<param key=\"default_view_mode\" value=\"" .
+ get_pref($link, "_DEFAULT_VIEW_MODE") . "\"/>";
+
+ print "<param key=\"default_view_limit\" value=\"" .
+ sprintf("%d", get_pref($link, "_DEFAULT_VIEW_LIMIT")) . "\"/>";
+
print "</init-params>";
}