From: ivan Date: Mon, 29 Jan 2007 18:50:10 +0000 (+0000) Subject: record resolution & colro depth in user prefs X-Git-Tag: TRIXBOX_2_6~713 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=1329f1694c76e7c5c164a9a4774539a9399116c6;hp=e1fa51a4add880c581270e61dce097b320d40d00 record resolution & colro depth in user prefs --- 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') %>