Use different form text for the request submitter, to reflect what they 
can actually do.

        Patch by yvi. 

diffs (46 lines):

diff -r 1f9dcb51859e -r 3101c8b9c736 htdocs/support/see_request.bml
--- a/htdocs/support/see_request.bml    Mon Jun 22 17:06:34 2009 +0000
+++ b/htdocs/support/see_request.bml    Mon Jun 22 17:14:50 2009 +0000
@@ -641,9 +641,11 @@ body<=
         return $ret;
     }
 
-    $ret .= "<p style='margin-bottom: 
0px;'><b>$ML{'.post.comment'}:</b></p>\n";
-
-    unless ($remote || $is_poster) {
+    if ($is_poster) {
+        $ret .= "<p style='margin-bottom: 
0px;'><b>$ML{'.post.moreinformation'}:</b></p>\n";
+    } elsif ($remote) {
+        $ret .= "<p style='margin-bottom: 
0px;'><b>$ML{'.post.comment'}:</b></p>\n";
+    } else {
         $ret .= BML::ml('.mast.login', 
{loginlink=>"href='$LJ::SITEROOT/login.bml?ret=1'"});
         $ret .= "\n";
         return $ret;
@@ -921,7 +923,11 @@ body<=
     $ret .= LJ::html_textarea({ 'rows' => '12', 'cols' => '80', 'wrap' => 
'virtual', 'id' => 'body', 'name' => 'body', 'value' => $validationnag }) . 
"<br />";
     $ret .= "<div style='float: right; font-size: smaller;'><a 
href='javascript://' onClick='doClearMessage();' 
onFocus='doClearFocus();'>$ML{'.clear'}</a></div>";
     $ret .= "<?de $ML{'.no.html.allowed'} de?><br />";
-    $ret .= LJ::html_submit('submitpost', $ML{'.postbutton'}, { id => 
'submitpost' });
+    if ($is_poster) {
+        $ret .= LJ::html_submit('submitpost', $ML{'.postbuttoninfo'}, { id => 
'submitpost' });
+    } else {
+        $ret .= LJ::html_submit('submitpost', $ML{'.postbutton'}, { id => 
'submitpost' });
+    }
     $ret .= "</td></tr></table>\n";
 
     $ret .= "</form>\n";
diff -r 1f9dcb51859e -r 3101c8b9c736 htdocs/support/see_request.bml.text
--- a/htdocs/support/see_request.bml.text       Mon Jun 22 17:06:34 2009 +0000
+++ b/htdocs/support/see_request.bml.text       Mon Jun 22 17:14:50 2009 +0000
@@ -101,7 +101,11 @@ and correct, it will be sent to the user
 
 .post.comment=Post a comment or solution
 
+.post.moreinformation=Include more information
+
 .postbutton=Post Comment/Solution
+
+.postbuttoninfo=Submit More Information
 
 .posted=Posted
 
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to