fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2011-10-18 04:04 pm

[dw-free] Log out button: clicking on the Log out button in navigation doesn't log you out

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

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

Tweak message to make it clear it's a confirmation message.

Patch by [personal profile] rb.

Files modified:
  • htdocs/logout.bml
  • htdocs/logout.bml.text
--------------------------------------------------------------------------------
diff -r 4992f776cde9 -r 59ef33796a97 htdocs/logout.bml
--- a/htdocs/logout.bml	Tue Oct 18 23:56:03 2011 +0800
+++ b/htdocs/logout.bml	Wed Oct 19 00:05:03 2011 +0800
@@ -84,7 +84,7 @@
             $body .= LJ::html_hidden('ret', $GET{'ret'}) if $GET{'ret'};
             $body .= LJ::html_hidden("user", $u->{'user'},
                                      "sessid", $u->{'_session'}->{'sessid'});
-            $body .= "<?h1 $ML{'.logout.head'} h1?><?p $ML{'.logout.text'} ";
+            $body .= "<?h1 $ML{'.logout.head'} h1?><?p $ML{'.logout.text2'} ";
             $body .= "<blockquote><input type='submit' value='$ML{'.logout.btn'}'></blockquote> p?></form>";
 
             # do they have any other sessions?
diff -r 4992f776cde9 -r 59ef33796a97 htdocs/logout.bml.text
--- a/htdocs/logout.bml.text	Tue Oct 18 23:56:03 2011 +0800
+++ b/htdocs/logout.bml.text	Wed Oct 19 00:05:03 2011 +0800
@@ -21,7 +21,7 @@
 
 .logout.head=Log out?
 
-.logout.text=Click the button below to log out.
+.logout.text2=Click the button below to confirm you wish to log out.
 
 .title=Log out
 
--------------------------------------------------------------------------------