Commit 36f360e98f54797da3db7d34484035ebbf1c4927
1 parent
8321d356
Width od textarea same in IE and NN 4.7
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2144 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
2 changed files
with
9 additions
and
6 deletions
presentation/lookAndFeel/knowledgeTree/discussions/addCommentBL.php
presentation/lookAndFeel/knowledgeTree/discussions/addCommentUI.inc
| ... | ... | @@ -51,15 +51,18 @@ function getAddComment($fDocumentID, $sSubject, $sBody, $iCommentID, $fNewCommen |
| 51 | 51 | $sToRender .= renderHeading($sHeading); |
| 52 | 52 | $sToRender .= renderDocumentPath($fDocumentID); |
| 53 | 53 | $sToRender .= "<table width=\"100%\" border=\"0\" cellpadding=0 ><tr><td></td>\n"; |
| 54 | - $sToRender .= "<td align=right width=100%><input onmouseover=\"this.style.cursor='hand'\" type=\"image\" src=\"$default->graphicsUrl/widgets/submit.gif\" border=0></td>"; | |
| 54 | + $sToRender .= "<td align=right width=500>"; | |
| 55 | + $sToRender .= " "; | |
| 56 | + $sToRender .= " "; | |
| 57 | + $sToRender .= "<input onmouseover=\"this.style.cursor='hand'\" type=\"image\" src=\"$default->graphicsUrl/widgets/submit.gif\" border=0></td>"; | |
| 55 | 58 | if($fNewComment>0){ // If user is creating a new comment |
| 56 | - $sToRender .= "<td width=\"10\"><a href=\"" . generateControllerLink("viewDiscussion", "fForDiscussion=1&fDocumentID=$fDocumentID") . "\"><img src=\"$default->graphicsUrl/widgets/cancel.gif\" border=0 ></a></td></tr>\n"; | |
| 59 | + $sToRender .= "<td width=\"10\" valign=top><a href=\"" . generateControllerLink("viewDiscussion", "fForDiscussion=1&fDocumentID=$fDocumentID") . "\"><img src=\"$default->graphicsUrl/widgets/cancel.gif\" border=0 ></a></td></tr>\n"; | |
| 57 | 60 | }else { // If the user is replying to a comment |
| 58 | - $sToRender .= "<td width=\"10\"><a href=\"" . generateControllerLink("viewDiscussion", "fViewComment=1&iDocumentID=$fDocumentID&iCommentID=$iCommentID") . "\"><img src=\"$default->graphicsUrl/widgets/cancel.gif\" border=0 ></a></td></tr>\n"; | |
| 61 | + $sToRender .= "<td width=\"10\" valign=top><a href=\"" . generateControllerLink("viewDiscussion", "fViewComment=1&iDocumentID=$fDocumentID&iCommentID=$iCommentID") . "\"><img src=\"$default->graphicsUrl/widgets/cancel.gif\" border=0 ></a></td></tr>\n"; | |
| 59 | 62 | } |
| 60 | 63 | $sToRender .= "<br><tr><td valign=\"top\" width=10><b>Subject</b></td><td colspan=2>\n"; |
| 61 | - $sToRender .= "<input type=\"text\" style=\"width:385\" name=\"NewCommentSubject\" id=\"NewCommentSubject\" value=\"$sSubject\"></td></tr>\n"; | |
| 62 | - $sToRender .= "<tr><td valign=\"top\"><b>Body</b></td><td colspan=2><textarea cols=60 rows=\"21\" name=\"NewComment\" id=\"NewComment\" wrap=\"physical\" style=\"FONT-STYLE: normal; FONT-FAMILY: sans-serif; FONT-VARIANT: normal\">$sBody</textarea></td></tr></table>\n"; | |
| 64 | + $sToRender .= "<input type=\"text\" style=\"width:385\" name=\"NewCommentSubject\" id=\"NewCommentSubject\" value=\"$sSubject\"></td></tr>\n"; | |
| 65 | + $sToRender .= "<tr><td valign=\"top\"><b>Body</b></td><td colspan=2><textarea name='txtComment' cols=60 rows=\"21\" name=\"NewComment\" id=\"NewComment\" wrap=\"physical\" >$sBody</textarea></td></tr></table>\n"; | |
| 63 | 66 | return $sToRender; |
| 64 | 67 | } |
| 65 | 68 | ... | ... |