Changeset 2039 for FCKeditor/trunk
- Timestamp:
- 06/04/08 21:51:42 (5 years ago)
- Location:
- FCKeditor/trunk
- Files:
-
- 9 edited
-
_samples/afp/sampleposteddata.afp (modified) (3 diffs)
-
_samples/asp/sampleposteddata.asp (modified) (3 diffs)
-
_samples/cfm/sampleposteddata.cfm (modified) (1 diff)
-
_samples/lasso/sampleposteddata.lasso (modified) (2 diffs)
-
_samples/perl/sampleposteddata.cgi (modified) (4 diffs)
-
_samples/php/sampleposteddata.php (modified) (3 diffs)
-
_samples/py/sampleposteddata.py (modified) (2 diffs)
-
_samples/sample.css (modified) (2 diffs)
-
_whatsnew.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/_samples/afp/sampleposteddata.afp
r1565 r2039 28 28 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 29 29 <meta name="robots" content="noindex, nofollow"> 30 <link href="../sample.css" rel="stylesheet" type="text/css" />30 <link href="../sample.css" rel="stylesheet" type="text/css"> 31 31 </head> 32 32 <body> … … 34 34 This page lists all data posted by the form. 35 35 <hr> 36 <table width="100%" border="1" cellspacing="0" bordercolor="#999999"> 37 <tr style="FONT-WEIGHT: bold; COLOR: #dddddd; BACKGROUND-COLOR: #999999"> 38 <td nowrap>Field Name </td> 39 <td>Value</td> 40 </tr> 36 <table border="1" cellspacing="0" id="outputSample"> 37 <colgroup><col width="80"><col></colgroup> 38 <thead> 39 <tr> 40 <th>Field Name</th> 41 <th>Value</th> 42 </tr> 43 </thead> 41 44 <% 42 45 lcForm=REQUEST.Form() … … 52 55 lcWert=STRTRAN(lcWert,">",">") && ... if wanted remove/translate HTML Chars ... 53 56 54 ? [<tr><t d>]+lcVariable+[ =</td><td>]+lcWert+[</td></tr>]57 ? [<tr><th>]+lcVariable+[ =</th><td><pre>]+lcWert+[</pre></td></tr>] 55 58 ENDIF 56 59 NEXT -
FCKeditor/trunk/_samples/asp/sampleposteddata.asp
r1565 r2039 29 29 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 30 30 <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" > 32 32 </head> 33 33 <body> … … 35 35 This page lists all data posted by the form. 36 36 <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 </td> 40 <td>Value</td> 41 </tr> 37 <table border="1" cellspacing="0" id="outputSample"> 38 <colgroup><col width="80"><col></colgroup> 39 <thead> 40 <tr> 41 <th>Field Name</th> 42 <th>Value</th> 43 </tr> 44 </thead> 42 45 <% 43 46 Dim sForm … … 45 48 %> 46 49 <tr> 47 <t d valign="top" nowrap><b><%=sForm%></b></td>48 <td width="100%" style="white-space:pre"><%=Server.HTMLEncode( Request.Form(sForm) )%></td>50 <th><%=sForm%></th> 51 <td><pre><%=Server.HTMLEncode( Request.Form(sForm) )%></pre></td> 49 52 </tr> 50 53 <% Next %> -
FCKeditor/trunk/_samples/cfm/sampleposteddata.cfm
r1565 r2039 39 39 <cfoutput> 40 40 <hr /> 41 <style> 42 <!-- 43 td, th { font: 11px Verdana, Arial, Helv, Helvetica, sans-serif; } 44 --> 45 </style> 46 <table border="1" cellspacing="0" cellpadding="2" bordercolor="darkblue" bordercolordark="darkblue" bordercolorlight="darkblue"> 41 <table border="1" cellspacing="0" id="outputSample"> 42 <colgroup><col width="80"><col></colgroup> 43 <thead> 44 <tr> 45 <th>Field Name</th> 46 <th>Value</th> 47 </tr> 48 </thead> 47 49 <tr> 48 <th colspan="2" bgcolor="darkblue"><font color="white"><strong>Dump of FORM Variables</strong></font></th> 49 </tr> 50 <tr> 51 <td bgcolor="lightskyblue">FieldNames</td> 50 <th>FieldNames</th> 52 51 <td>#FORM.fieldNames#</td> 53 52 </tr> 54 53 <cfloop list="#FORM.fieldnames#" index="key"> 55 54 <tr> 56 <t d valign="top" bgcolor="lightskyblue">#key#</td>57 <td style="white-space:pre">#HTMLEditFormat( evaluate( "FORM.#key#" ) )#</td>55 <th>#key#</th> 56 <td><pre>#HTMLEditFormat( evaluate( "FORM.#key#" ) )#</pre></td> 58 57 </tr> 59 58 </cfloop> -
FCKeditor/trunk/_samples/lasso/sampleposteddata.lasso
r1565 r2039 29 29 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 30 30 <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"> 32 32 </head> 33 33 <body> … … 35 35 This page lists all data posted by the form. 36 36 <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 </td> 40 <td>Value</td> 41 </tr> 37 <table border="1" cellspacing="0" id="outputSample"> 38 <colgroup><col width="80"><col></colgroup> 39 <thead> 40 <tr> 41 <th>Field Name</th> 42 <th>Value</th> 43 </tr> 44 </thead> 42 45 [iterate(client_postparams, local('this'))] 43 46 <tr> 44 <t d valign="top" nowrap><b>[#this->first]</b></td>45 <td width="100%" style="white-space:pre">[#this->second]</td>47 <th>[#this->first]</th> 48 <td><pre>[#this->second]</pre></td> 46 49 </tr> 47 50 [/iterate] -
FCKeditor/trunk/_samples/perl/sampleposteddata.cgi
r1565 r2039 71 71 print <<"_HTML_TAG_"; 72 72 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 73 74 73 <html> 75 74 <head> … … 77 76 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 78 77 <meta name="robots" content="noindex, nofollow"> 79 <link href="../sample.css" rel="stylesheet" type="text/css" />78 <link href="../sample.css" rel="stylesheet" type="text/css" > 80 79 </head> 81 80 <body> … … 83 82 This page lists all data posted by the form. 84 83 <hr> 85 <table width="100%" border="1" cellspacing="0" bordercolor="#999999"> 86 <tr style="FONT-WEIGHT: bold; COLOR: #dddddd; BACKGROUND-COLOR: #999999"> 87 <td nowrap>Field Name </td> 88 <td>Value</td> 89 </tr> 84 <table border="1" cellspacing="0" id="outputSample"> 85 <colgroup><col width="80"><col></colgroup> 86 <thead> 87 <tr> 88 <th>Field Name</th> 89 <th>Value</th> 90 </tr> 91 </thead> 90 92 _HTML_TAG_ 91 93 … … 94 96 print <<"_HTML_TAG_"; 95 97 <tr> 96 <t d valign="top" nowrap><b>$key</b></td>97 <td width="100%" style="white-space:pre">$postedValue</td>98 <th>$key</th> 99 <td><pre>$postedValue</pre></td> 98 100 </tr> 99 101 _HTML_TAG_ -
FCKeditor/trunk/_samples/php/sampleposteddata.php
r1565 r2039 29 29 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 30 30 <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" > 32 32 </head> 33 33 <body> … … 35 35 This page lists all data posted by the form. 36 36 <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 </td> 40 <td>Value</td> 41 </tr> 37 <table border="1" cellspacing="0" id="outputSample"> 38 <colgroup><col width="80"><col></colgroup> 39 <thead> 40 <tr> 41 <th>Field Name</th> 42 <th>Value</th> 43 </tr> 44 </thead> 42 45 <?php 43 46 … … 56 59 ?> 57 60 <tr> 58 <t d valign="top" nowrap><b><?=$sForm?></b></td>59 <td width="100%" style="white-space:pre"><?=$postedValue?></td>61 <th><?php echo $sForm?></th> 62 <td><pre><?php echo $postedValue?></pre></td> 60 63 </tr> 61 64 <?php -
FCKeditor/trunk/_samples/py/sampleposteddata.py
r1565 r2039 54 54 This page lists all data posted by the form. 55 55 <hr> 56 <table width="100%" border="1" cellspacing="0" bordercolor="#999999"> 57 <tr style="FONT-WEIGHT: bold; COLOR: #dddddd; BACKGROUND-COLOR: #999999"> 58 <td nowrap>Field Name </td> 59 <td>Value</td> 60 </tr> 56 <table border="1" cellspacing="0" id="outputSample"> 57 <colgroup><col width="80"><col></colgroup> 58 <thead> 59 <tr> 60 <th>Field Name</th> 61 <th>Value</th> 62 </tr> 63 </thead> 61 64 """ 62 65 for key in form.keys(): … … 65 68 print """ 66 69 <tr> 67 <t d valign="top" nowrap><b>%s</b></td>68 <td width="100%%" style="white-space:pre">%s</td>70 <th>%s</th> 71 <td><pre>%s</pre></td> 69 72 </tr> 70 73 """ % (key, value) -
FCKeditor/trunk/_samples/sample.css
r1565 r2039 22 22 */ 23 23 24 body, td, input, select, textarea24 body, td, th, input, select, textarea 25 25 { 26 26 font-size: 12px; … … 37 37 form 38 38 { 39 margin: 0px 0px 0px 0px; 40 padding: 0px 0px 0px 0px; 39 margin: 0; 40 padding: 0; 41 } 42 43 #outputSample 44 { 45 table-layout:fixed; 41 46 } 42 47 43 48 pre 44 49 { 45 margin:0px; 46 padding:0px; 47 white-space: pre-wrap; /* css-3 */ 48 white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ 49 word-wrap: break-word; /* Internet Explorer 5.5+ */ 50 margin: 0; 51 padding: 0; 52 53 white-space: pre; /* CSS2 */ 54 white-space: -moz-pre-wrap; /* Mozilla*/ 55 white-space: -o-pre-wrap; /* Opera 7 */ 56 white-space: pre-wrap; /* CSS 2.1 */ 57 white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */ 58 word-wrap: break-word; /* IE */ 50 59 } 60 61 #outputSample thead th 62 { 63 color: #dddddd; 64 background-color: #999999; 65 padding: 4px; 66 white-space: nowrap; 67 } 68 69 #outputSample tbody th 70 { 71 vertical-align: top; 72 text-align: left; 73 } -
FCKeditor/trunk/_whatsnew.html
r2037 r2039 109 109 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2063">#2063</a>] Fixed some problems in asp 110 110 related to the use of network paths for the location of the uploaded files.</li> 111 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1593">#1593</a>] Samplepostdata will now 112 properly wrap the text.</li> 113 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2239">#2239</a>] The Samplepostdata.php has been 114 changed from "<?=" to "<? echo".</li> 111 115 </ul> 112 116 <h3>
Note: See TracChangeset
for help on using the changeset viewer.
