From 1329f1694c76e7c5c164a9a4774539a9399116c6 Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 29 Jan 2007 18:50:10 +0000 Subject: [PATCH] record resolution & colro depth in user prefs --- httemplate/pref/pref-process.html | 11 +++++++---- httemplate/pref/pref.html | 9 ++++++++- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/httemplate/pref/pref-process.html b/httemplate/pref/pref-process.html index 221edc682..e66045b9b 100644 --- a/httemplate/pref/pref-process.html +++ b/httemplate/pref/pref-process.html @@ -27,10 +27,13 @@ % % } % -% $error ||= $access_user->replace( { map { $_ => scalar($cgi->param($_)) } -% qw( menu_position ) #XXX autogen -% } -% ); +% $error ||= $access_user->replace( { +% map { $_ => scalar($cgi->param($_)) } +% #XXX autogen +% qw( menu_position +% height width availHeight availWidth colorDepth +% ) +% } ); % % if ( $error ) { % $cgi->param('error', $error); diff --git a/httemplate/pref/pref.html b/httemplate/pref/pref.html index 2dca3b84d..507a897d7 100644 --- a/httemplate/pref/pref.html +++ b/httemplate/pref/pref.html @@ -1,6 +1,6 @@ <% include('/elements/header.html', 'Preferences for '. getotaker ) %> -
+ <% include('/elements/error.html') %> @@ -41,6 +41,13 @@ Interface
+% foreach my $prop (qw( height width availHeight availWidth colorDepth )) { + + +% } + <% include('/elements/footer.html') %> -- 2.11.0