From 3758ad3cb13752bbbebb2c42fcc398bdb1ffdc6a Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 13 Nov 2006 01:09:17 +0000 Subject: add preference page, start with just a password changer --- httemplate/pref/pref.html | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 httemplate/pref/pref.html (limited to 'httemplate/pref/pref.html') diff --git a/httemplate/pref/pref.html b/httemplate/pref/pref.html new file mode 100644 index 000000000..259523941 --- /dev/null +++ b/httemplate/pref/pref.html @@ -0,0 +1,28 @@ +<% include('/elements/header.html', 'Preferences for '. getotaker ) %> + +
+ +<% include('/elements/error.html') %> + +<% ntable("#cccccc",2) %> + + + Current password: + + + + + New password: + + + + + Re-enter new password: + + + + + + + +<% include('/elements/footer.html') %> -- cgit v1.2.1 From f01e2ce0aa6c1925e6266d78797025ec68bfac07 Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 26 Jan 2007 08:04:37 +0000 Subject: top bar option! --- httemplate/pref/pref.html | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) (limited to 'httemplate/pref/pref.html') diff --git a/httemplate/pref/pref.html b/httemplate/pref/pref.html index 259523941..2dca3b84d 100644 --- a/httemplate/pref/pref.html +++ b/httemplate/pref/pref.html @@ -4,6 +4,8 @@ <% include('/elements/error.html') %> + +Change password (leave blank for no change) <% ntable("#cccccc",2) %> @@ -22,7 +24,31 @@ +
+ +Interface +<% ntable("#cccccc",2) %> + + + Menu location: + + > Left
+ > Top
+ + + + + +
- + <% include('/elements/footer.html') %> +<%init> + +# XSS via your own preferences? seems unlikely, but nice try anyway... +( $FS::CurrentUser::CurrentUser->option('menu_position') || 'left' ) + =~ /^(\w+)$/ or die "illegal menu_position"; +my $menu_position = $1; + + -- cgit v1.2.1 From 1329f1694c76e7c5c164a9a4774539a9399116c6 Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 29 Jan 2007 18:50:10 +0000 Subject: record resolution & colro depth in user prefs --- httemplate/pref/pref.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'httemplate/pref/pref.html') 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') %> -- cgit v1.2.1