Ticket #1593: 1593_3.2.patch

File 1593_3.2.patch, 3.9 KB (added by alfonsoml, 23 months ago)

New patch

  • _samples/asp/sampleposteddata.asp

     
    2828                <title>FCKeditor - Samples - Posted Data</title> 
    2929                <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 
    3030                <meta name="robots" content="noindex, nofollow"> 
    31                 <link href="../sample.css" rel="stylesheet" type="text/css" /> 
     31                <link href="../sample.css" rel="stylesheet" type="text/css" > 
    3232        </head> 
    3333        <body> 
    3434                <h1>FCKeditor - Samples - Posted Data</h1> 
    3535                This page lists all data posted by the form. 
    3636                <hr> 
    37                 <table width="100%" border="1" cellspacing="0" bordercolor="#999999"> 
    38                         <tr style="FONT-WEIGHT: bold; COLOR: #dddddd; BACKGROUND-COLOR: #999999"> 
    39                                 <td noWrap>Field Name&nbsp;&nbsp;</td> 
    40                                 <td>Value</td> 
    41                         </tr> 
     37                <table width="100%" border="1" cellspacing="0"> 
     38                        <thead> 
     39                                <tr> 
     40                                        <th>Field Name</th> 
     41                                        <th>Value</th> 
     42                                </tr> 
     43                        </thead> 
    4244                        <% 
    4345                        Dim sForm 
    4446                        For Each sForm in Request.Form 
    4547                        %> 
    4648                        <tr> 
    47                                 <td valign="top" nowrap><b><%=sForm%></b></td> 
    48                                 <td width="100%" style="white-space:pre"><%=Server.HTMLEncode( Request.Form(sForm) )%></td> 
     49                                <th><%=sForm%></th> 
     50                                <td><%=Server.HTMLEncode( Request.Form(sForm) )%></td> 
    4951                        </tr> 
    5052                        <% Next %> 
    5153                </table> 
  • _samples/php/sampleposteddata.php

     
    2828                <title>FCKeditor - Samples - Posted Data</title> 
    2929                <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 
    3030                <meta name="robots" content="noindex, nofollow"> 
    31                 <link href="../sample.css" rel="stylesheet" type="text/css" /> 
     31                <link href="../sample.css" rel="stylesheet" type="text/css" > 
    3232        </head> 
    3333        <body> 
    3434                <h1>FCKeditor - Samples - Posted Data</h1> 
    3535                This page lists all data posted by the form. 
    3636                <hr> 
    37                 <table width="100%" border="1" cellspacing="0" bordercolor="#999999"> 
    38                         <tr style="FONT-WEIGHT: bold; COLOR: #dddddd; BACKGROUND-COLOR: #999999"> 
    39                                 <td nowrap>Field Name&nbsp;&nbsp;</td> 
    40                                 <td>Value</td> 
    41                         </tr> 
     37                <table width="100%" border="1" cellspacing="0"> 
     38                        <thead> 
     39                                <tr> 
     40                                        <th>Field Name</th> 
     41                                        <th>Value</th> 
     42                                </tr> 
     43                        </thead> 
    4244<?php 
    4345 
    4446if ( isset( $_POST ) ) 
     
    5557 
    5658?> 
    5759                        <tr> 
    58                                 <td valign="top" nowrap><b><?=$sForm?></b></td> 
    59                                 <td width="100%" style="white-space:pre"><?=$postedValue?></td> 
     60                                <th><?php echo $sForm?></th> 
     61                                <td><?php echo $postedValue?></td> 
    6062                        </tr> 
    6163<?php 
    6264} 
  • _samples/sample.css

     
    2121 * Styles used in the samples pages. 
    2222 */ 
    2323 
    24 body, td, input, select, textarea 
     24body, td, th, input, select, textarea 
    2525{ 
    2626        font-size: 12px; 
    2727        font-family: Arial, Verdana, Sans-Serif; 
     
    4848        white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ 
    4949        word-wrap: break-word; /* Internet Explorer 5.5+ */ 
    5050} 
     51 
     52thead th { 
     53        color: #dddddd;  
     54        background-color: #999999; 
     55        padding: 4px; 
     56        white-space: nowrap; 
     57} 
     58 No newline at end of file 
  • _whatsnew.html

     
    8888                        paragraphs in the output.</li> 
    8989                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2184">#2184</a>] Fixed several validation  
    9090                        errors in the File Browser.</li> 
     91                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1593">#1593</a>] Samplepostdata in html, php   
     92                        and asp examples will now properly wrap the text.</li>  
    9193        </ul> 
    9294        <h3> 
    9395                Version 2.6</h3>