From b918e1eef405d560fcdb59c674d85fb5101b3a55 Mon Sep 17 00:00:00 2001 From: josch Date: Wed, 19 Dec 2007 23:12:39 +0000 Subject: [PATCH] rename all account occurrences to settings git-svn-id: http://yolanda.mister-muffin.de/svn@212 7eef14d0-6ed0-489d-bf55-20463b2d70db --- trunk/locale/en-us.xml | 13 +- trunk/settings.pl | 8 +- trunk/site/main.xml | 5 +- trunk/xsl/xhtml.xsl | 17 +-- trunk/xsl/xhtml/account.xsl | 285 ++++++++++++++---------------------- 5 files changed, 128 insertions(+), 200 deletions(-) diff --git a/trunk/locale/en-us.xml b/trunk/locale/en-us.xml index 2e5e4ec..01d0634 100755 --- a/trunk/locale/en-us.xml +++ b/trunk/locale/en-us.xml @@ -14,7 +14,7 @@ upload video bookmarks - account details + settings details logged in as  logout @@ -177,13 +177,10 @@ duration viewcount - - my uploads - edit my settings - my bookmarks - locale - pagesize - cortado + + locale + pagesize + cortado  -  diff --git a/trunk/settings.pl b/trunk/settings.pl index 19780a1..d9ce101 100644 --- a/trunk/settings.pl +++ b/trunk/settings.pl @@ -21,10 +21,10 @@ if($userinfo->{'username'}) if($userinfo->{'username'}) { - $page->{'account'}->{'show'} = 'settings'; - $page->{'account'}->{'locale'} = $userinfo->{'locale'}; - $page->{'account'}->{'pagesize'} = $userinfo->{'pagesize'}; - $page->{'account'}->{'cortado'} = $userinfo->{'cortado'} + $page->{'settings'}->{'show'} = 'settings'; + $page->{'settings'}->{'locale'} = $userinfo->{'locale'}; + $page->{'settings'}->{'pagesize'} = $userinfo->{'pagesize'}; + $page->{'settings'}->{'cortado'} = $userinfo->{'cortado'} } else { diff --git a/trunk/site/main.xml b/trunk/site/main.xml index 9a171ee..de0d1ff 100755 --- a/trunk/site/main.xml +++ b/trunk/site/main.xml @@ -8,10 +8,7 @@ WebTV free as in Speech - /account.pl - /account.pl?show=settings - /account.pl?show=uploads - /account.pl?show=bookmarks + /settings.pl /login.pl /login.pl?action=openid /login.pl?action=logout diff --git a/trunk/xsl/xhtml.xsl b/trunk/xsl/xhtml.xsl index ffb48ab..19f7094 100755 --- a/trunk/xsl/xhtml.xsl +++ b/trunk/xsl/xhtml.xsl @@ -23,7 +23,7 @@ - + @@ -164,16 +164,9 @@ - + - - - - - - - - +
@@ -230,8 +223,8 @@ - - + + diff --git a/trunk/xsl/xhtml/account.xsl b/trunk/xsl/xhtml/account.xsl index ffc7261..087ae82 100644 --- a/trunk/xsl/xhtml/account.xsl +++ b/trunk/xsl/xhtml/account.xsl @@ -7,180 +7,121 @@ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" > - -
- - - - - - - - + +

+
+ + + + +
+

+
+ +
+
+

+
+ +
+
- - - -

- -
- -

- - - - - -
-

-
- -
-
-

-
- -
-
-

- - - - checked - - - - -
- - - - checked - - - - -
-
- -
- -
- -

-

coming soon...

-
- -

-
-
+ + + +
+
+ +
+