fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2012-05-01 04:46 am

[dw-free] put authas box in the same spot on all pages

[commit: http://hg.dwscoalition.org/dw-free/rev/dbc243f1f192]

http://bugs.dwscoalition.org/show_bug.cgi?id=4419

Left align the "Work as" menu of Customize; use standard labels.

Patch by [personal profile] ninetydegrees.

Files modified:
  • bin/upgrading/deadphrases.dat
  • htdocs/customize/index.bml
  • htdocs/customize/index.bml.text
  • htdocs/customize/options.bml
  • htdocs/customize/options.bml.text
  • htdocs/stc/customize.css
--------------------------------------------------------------------------------
diff -r 5836a8e9538f -r dbc243f1f192 bin/upgrading/deadphrases.dat
--- a/bin/upgrading/deadphrases.dat	Tue May 01 12:42:44 2012 +0800
+++ b/bin/upgrading/deadphrases.dat	Tue May 01 12:47:22 2012 +0800
@@ -1501,3 +1501,8 @@
 general /talkpost.bml.userpic.random
 
 general /manage/circle/edit.bml.success.editgroups
+
+general /customize/index.bml.switcher.btn
+general /customize/index.bml.switcher.label
+general /customize/options.bml.switcher.btn
+general /customize/options.bml.switcher.label
\ No newline at end of file
diff -r 5836a8e9538f -r dbc243f1f192 htdocs/customize/index.bml
--- a/htdocs/customize/index.bml	Tue May 01 12:42:44 2012 +0800
+++ b/htdocs/customize/index.bml	Tue May 01 12:47:22 2012 +0800
@@ -66,7 +66,7 @@
     }
 
     $ret .= "<form action='$LJ::SITEROOT/customize/' method='get' class='theme-switcher'>";
-    $ret .= LJ::make_authas_select($remote, { authas => $GET{authas}, label => $ML{'.switcher.label'}, button => $ML{'.switcher.btn'} });
+    $ret .= LJ::make_authas_select($remote, { authas => $GET{authas} });
     $ret .= "</form>";
 
     # would you like to set the site skin instead?
diff -r 5836a8e9538f -r dbc243f1f192 htdocs/customize/index.bml.text
--- a/htdocs/customize/index.bml.text	Tue May 01 12:42:44 2012 +0800
+++ b/htdocs/customize/index.bml.text	Tue May 01 12:47:22 2012 +0800
@@ -5,10 +5,6 @@
 
 .setsiteskin.desc=This will set the look and style of your journal. If you'd like to change the way the main site pages look instead, you can do this at the "Site Skin" option on the <a [[aopts]]>Manage Settings</a> page.
 
-.switcher.btn=Go
-
-.switcher.label=Switch to:
-
 .title=Choose Journal Style
 
 .title2=Select Journal Style
diff -r 5836a8e9538f -r dbc243f1f192 htdocs/customize/options.bml
--- a/htdocs/customize/options.bml	Tue May 01 12:42:44 2012 +0800
+++ b/htdocs/customize/options.bml	Tue May 01 12:47:22 2012 +0800
@@ -59,7 +59,7 @@
     }
 
     $ret .= "<form action='$LJ::SITEROOT/customize/options' method='get' class='theme-switcher'>";
-    $ret .= LJ::make_authas_select($remote, { authas => $GET{authas}, label => $ML{'.switcher.label'}, button => $ML{'.switcher.btn'} });
+    $ret .= LJ::make_authas_select($remote, { authas => $GET{authas} });
     $ret .= "</form>";
 
     my $current_theme = LJ::Widget::CurrentTheme->new;
diff -r 5836a8e9538f -r dbc243f1f192 htdocs/customize/options.bml.text
--- a/htdocs/customize/options.bml.text	Tue May 01 12:42:44 2012 +0800
+++ b/htdocs/customize/options.bml.text	Tue May 01 12:47:22 2012 +0800
@@ -3,9 +3,5 @@
 
 .customize.feedback=Customize Area Feedback
 
-.switcher.btn=Go
-
-.switcher.label=Switch to:
-
 .title=Customize Journal Style
 
diff -r 5836a8e9538f -r dbc243f1f192 htdocs/stc/customize.css
--- a/htdocs/stc/customize.css	Tue May 01 12:42:44 2012 +0800
+++ b/htdocs/stc/customize.css	Tue May 01 12:47:22 2012 +0800
@@ -33,7 +33,6 @@
 }
 
 form.theme-switcher {
-    text-align: right;
     margin-bottom: 10px;
 }
 
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org