Changeset 705

Show
Ignore:
Timestamp:
2007-08-23 01:18:10 (17 months ago)
Author:
fredck
Message:

Corrected the initial value on samples to avoid people having unexpected behaviours in their first steps with FCKeditor.

Location:
FCKeditor/trunk/_samples
Files:
32 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/_samples/afp/sample01.afp

    r132 r705  
    3939                        sBasePath="../../../fckeditor/"         && Change this to your local path 
    4040 
    41                         lcText=[This is some <strong>sample text</strong>. You are using ] 
     41                        lcText=[<p>This is some <strong>sample text</strong>. You are using ] 
    4242                        lcText=lcText+[<a href='http://www.fckeditor.net/'>FCKeditor</a>.] 
    4343 
  • FCKeditor/trunk/_samples/afp/sample02.afp

    r132 r705  
    9898                        ENDIF 
    9999 
    100                         lcText=[This is some <strong>sample text</strong>. You are using ] 
     100                        lcText=[<p>This is some <strong>sample text</strong>. You are using ] 
    101101                        lcText=lcText+[<a href='http://www.fckeditor.net/'>FCKeditor</a>.] 
    102102 
  • FCKeditor/trunk/_samples/afp/sample03.afp

    r132 r705  
    7676                        ENDIF 
    7777 
    78                         lcText=[This is some <strong>sample text</strong>. You are using ] 
     78                        lcText=[<p>This is some <strong>sample text</strong>. You are using ] 
    7979                        lcText=lcText+[<a href='http://www.fckeditor.net/'>FCKeditor</a>.] 
    8080 
  • FCKeditor/trunk/_samples/afp/sample04.afp

    r132 r705  
    8383                        ENDIF 
    8484 
    85                         lcText=[This is some <strong>sample text</strong>. You are using ] 
     85                        lcText=[<p>This is some <strong>sample text</strong>. You are using ] 
    8686                        lcText=lcText+[<a href='http://www.fckeditor.net/'>FCKeditor</a>.] 
    8787 
  • FCKeditor/trunk/_samples/asp/sample01.asp

    r132 r705  
    5353Set oFCKeditor = New FCKeditor 
    5454oFCKeditor.BasePath     = sBasePath 
    55 oFCKeditor.Value        = "This is some <strong>sample text</strong>. You are using <a href=""http://www.fckeditor.net/"">FCKeditor</a>." 
     55oFCKeditor.Value        = "<p>This is some <strong>sample text</strong>. You are using <a href=""http://www.fckeditor.net/"">FCKeditor</a>." 
    5656oFCKeditor.Create "FCKeditor1" 
    5757                %> 
  • FCKeditor/trunk/_samples/asp/sample02.asp

    r132 r705  
    9999End If 
    100100 
    101 oFCKeditor.Value = "This is some <strong>sample text</strong>. You are using <a href=""http://www.fckeditor.net/"">FCKeditor</a>." 
     101oFCKeditor.Value = "<p>This is some <strong>sample text</strong>. You are using <a href=""http://www.fckeditor.net/"">FCKeditor</a>." 
    102102oFCKeditor.Create "FCKeditor1" 
    103103%> 
  • FCKeditor/trunk/_samples/asp/sample03.asp

    r132 r705  
    8383End If 
    8484 
    85 oFCKeditor.Value = "This is some <strong>sample text</strong>. You are using <a href=""http://www.fckeditor.net/"">FCKeditor</a>." 
     85oFCKeditor.Value = "<p>This is some <strong>sample text</strong>. You are using <a href=""http://www.fckeditor.net/"">FCKeditor</a>." 
    8686oFCKeditor.Create "FCKeditor1" 
    8787%> 
  • FCKeditor/trunk/_samples/asp/sample04.asp

    r132 r705  
    8989End If 
    9090 
    91 oFCKeditor.Value = "This is some <strong>sample text</strong>. You are using <a href=""http://www.fckeditor.net/"">FCKeditor</a>." 
     91oFCKeditor.Value = "<p>This is some <strong>sample text</strong>. You are using <a href=""http://www.fckeditor.net/"">FCKeditor</a>." 
    9292oFCKeditor.Create "FCKeditor1" 
    9393%> 
  • FCKeditor/trunk/_samples/html/sample01.html

    r132 r705  
    4949oFCKeditor.BasePath     = sBasePath ; 
    5050oFCKeditor.Height       = 300 ; 
    51 oFCKeditor.Value        = 'This is some <strong>sample text<\/strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor<\/a>.' ; 
     51oFCKeditor.Value        = '<p>This is some <strong>sample text<\/strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor<\/a>.</p>' ; 
    5252oFCKeditor.Create() ; 
    5353//--> 
  • FCKeditor/trunk/_samples/html/sample02.html

    r132 r705  
    5555        <form action="sampleposteddata.asp" method="post" target="_blank"> 
    5656                <div> 
    57                         <textarea name="FCKeditor1" rows="10" cols="80" style="width: 100%; height: 200px">This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://www.fckeditor.net/"&gt;FCKeditor&lt;/a&gt;.</textarea> 
     57                        <textarea name="FCKeditor1" rows="10" cols="80" style="width: 100%; height: 200px">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://www.fckeditor.net/"&gt;FCKeditor&lt;/a&gt;.&lt;/p&gt;</textarea> 
    5858                </div> 
    5959                <br /> 
  • FCKeditor/trunk/_samples/html/sample03.html

    r132 r705  
    126126        oFCKeditor.Config["DefaultLanguage"]    = sLang ; 
    127127} 
    128 oFCKeditor.Value        = 'This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.' ; 
     128oFCKeditor.Value = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ; 
    129129oFCKeditor.Create() ; 
    130130//--> 
  • FCKeditor/trunk/_samples/html/sample04.html

    r132 r705  
    8585        oFCKeditor.ToolbarSet = sToolbar ; 
    8686 
    87 oFCKeditor.Value        = 'This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.' ; 
     87oFCKeditor.Value = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ; 
    8888oFCKeditor.Create() ; 
    8989//--> 
  • FCKeditor/trunk/_samples/html/sample05.html

    r132 r705  
    115115} 
    116116 
    117 oFCKeditor.Value        = 'This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.' ; 
     117oFCKeditor.Value        = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ; 
    118118oFCKeditor.Create() ; 
    119119//--> 
  • FCKeditor/trunk/_samples/html/sample06.html

    r132 r705  
    6363oFCKeditor.ToolbarSet   = 'PluginTest' ; 
    6464 
    65 oFCKeditor.Value                = 'This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.' ; 
     65oFCKeditor.Value                = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ; 
    6666oFCKeditor.Create() ; 
    6767//--> 
  • FCKeditor/trunk/_samples/html/sample07.html

    r132 r705  
    4949oFCKeditor.BasePath     = sBasePath ; 
    5050oFCKeditor.Config['FullPage'] = true ; 
    51 oFCKeditor.Value = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><title>Full Page Test</title><meta content="text/html; charset=utf-8" http-equiv="Content-Type"/></head><body>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</body></html>' ; 
     51oFCKeditor.Value = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><title>Full Page Test</title><meta content="text/html; charset=utf-8" http-equiv="Content-Type"/></head><body><p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</body></html>' ; 
    5252oFCKeditor.Create() ; 
    5353//--> 
  • FCKeditor/trunk/_samples/html/sample08.html

    r302 r705  
    159159var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ; 
    160160oFCKeditor.BasePath     = sBasePath ; 
    161 oFCKeditor.Value        = 'This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.' ; 
     161oFCKeditor.Value        = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ; 
    162162oFCKeditor.Create() ; 
    163163//--> 
  • FCKeditor/trunk/_samples/html/sample09.html

    r132 r705  
    7777oFCKeditor.BasePath             = sBasePath ; 
    7878oFCKeditor.ToolbarSet   = 'Basic' ; 
    79 oFCKeditor.Value                = 'This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.' ; 
     79oFCKeditor.Value                = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ; 
    8080oFCKeditor.Create() ; 
    8181//--> 
     
    9090 
    9191oFCKeditor.BasePath     = sBasePath ; 
    92 oFCKeditor.Value        = 'This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.' ; 
     92oFCKeditor.Value        = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ; 
    9393oFCKeditor.Create() ; 
    9494//--> 
  • FCKeditor/trunk/_samples/html/sample10.html

    r132 r705  
    5757oFCKeditor.Height = 100 ; 
    5858oFCKeditor.Config[ 'ToolbarLocation' ] = 'Out:xToolbar' ; 
    59 oFCKeditor.Value = 'This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.' ; 
     59oFCKeditor.Value = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ; 
    6060oFCKeditor.Create() ; 
    6161//--> 
     
    6969oFCKeditor.Height = 100 ; 
    7070oFCKeditor.Config[ 'ToolbarLocation' ] = 'Out:xToolbar' ; 
    71 oFCKeditor.Value = 'This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.' ; 
     71oFCKeditor.Value = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ; 
    7272oFCKeditor.Create() ; 
    7373//--> 
  • FCKeditor/trunk/_samples/html/sample11_frame.html

    r132 r705  
    4747oFCKeditor.Height = 100 ; 
    4848oFCKeditor.Config[ 'ToolbarLocation' ] = 'Out:parent(xToolbar)' ; 
    49 oFCKeditor.Value = 'This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.' ; 
     49oFCKeditor.Value = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ; 
    5050oFCKeditor.Create() ; 
    5151//--> 
     
    5959oFCKeditor.Height = 100 ; 
    6060oFCKeditor.Config[ 'ToolbarLocation' ] = 'Out:parent(xToolbar)' ; 
    61 oFCKeditor.Value = 'This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.' ; 
     61oFCKeditor.Value = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ; 
    6262oFCKeditor.Create() ; 
    6363//--> 
  • FCKeditor/trunk/_samples/lasso/sample01.lasso

    r132 r705  
    4444                -instancename='FCKeditor1', 
    4545                -basepath=$basepath, 
    46                 -initialvalue='This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.' 
     46                -initialvalue='<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' 
    4747        ); 
    4848 
  • FCKeditor/trunk/_samples/lasso/sample02.lasso

    r132 r705  
    9898                -basepath=$basepath, 
    9999                -config=$config, 
    100                 -initialvalue='This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.' 
     100                -initialvalue='<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' 
    101101        ); 
    102102 
  • FCKeditor/trunk/_samples/lasso/sample03.lasso

    r132 r705  
    7272                -instancename='FCKeditor1', 
    7373                -basepath=$basepath, 
    74                 -initialvalue='This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.' 
     74                -initialvalue='<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' 
    7575        ); 
    7676 
  • FCKeditor/trunk/_samples/lasso/sample04.lasso

    r132 r705  
    7878                -instancename='FCKeditor1', 
    7979                -basepath=$basepath, 
    80                 -initialvalue='This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.' 
     80                -initialvalue='<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' 
    8181        ); 
    8282 
  • FCKeditor/trunk/_samples/perl/sample01.cgi

    r132 r705  
    8585        &FCKeditor('FCKeditor1'); 
    8686        $BasePath       = $sBasePath; 
    87         $Value          = 'This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.'; 
     87        $Value          = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>'; 
    8888        &Create(); 
    8989 
  • FCKeditor/trunk/_samples/perl/sample02.cgi

    r132 r705  
    150150                $Config{'DefaultLanguage'}              = 'en' ; 
    151151        } 
    152         $Value = 'This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.' ; 
     152        $Value = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ; 
    153153        &Create(); 
    154154 
  • FCKeditor/trunk/_samples/perl/sample03.cgi

    r132 r705  
    135135                $ToolbarSet = &specialchar_cnv( $FORM{'Toolbar'} ); 
    136136        } 
    137         $Value = 'This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.' ; 
     137        $Value = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ; 
    138138        &Create(); 
    139139 
  • FCKeditor/trunk/_samples/perl/sample04.cgi

    r132 r705  
    142142                $Config{'SkinPath'} = $sBasePath . 'editor/skins/' . &specialchar_cnv( $FORM{'Skin'} ) . '/' ; 
    143143        } 
    144         $Value = 'This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.' ; 
     144        $Value = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ; 
    145145        &Create() ; 
    146146 
  • FCKeditor/trunk/_samples/php/sample01.php

    r132 r705  
    4848$oFCKeditor = new FCKeditor('FCKeditor1') ; 
    4949$oFCKeditor->BasePath   = $sBasePath ; 
    50 $oFCKeditor->Value              = 'This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.' ; 
     50$oFCKeditor->Value              = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ; 
    5151$oFCKeditor->Create() ; 
    5252?> 
  • FCKeditor/trunk/_samples/php/sample02.php

    r132 r705  
    100100} 
    101101 
    102 $oFCKeditor->Value = 'This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.' ; 
     102$oFCKeditor->Value = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ; 
    103103$oFCKeditor->Create() ; 
    104104?>                      <br> 
  • FCKeditor/trunk/_samples/php/sample03.php

    r132 r705  
    8080        $oFCKeditor->ToolbarSet = htmlspecialchars($_GET['Toolbar']); 
    8181 
    82 $oFCKeditor->Value = 'This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.' ; 
     82$oFCKeditor->Value = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ; 
    8383$oFCKeditor->Create() ; 
    8484?> 
  • FCKeditor/trunk/_samples/php/sample04.php

    r132 r705  
    8686        $oFCKeditor->Config['SkinPath'] = $sBasePath . 'editor/skins/' . htmlspecialchars($_GET['Skin']) . '/' ; 
    8787 
    88 $oFCKeditor->Value = 'This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.' ; 
     88$oFCKeditor->Value = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ; 
    8989$oFCKeditor->Create() ; 
    9090?> 
  • FCKeditor/trunk/_samples/py/sample01.py

    r132 r705  
    5858        oFCKeditor = fckeditor.FCKeditor('FCKeditor1') 
    5959        oFCKeditor.BasePath = sBasePath 
    60         oFCKeditor.Value = """This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.""" 
     60        oFCKeditor.Value = """<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>""" 
    6161        print oFCKeditor.Create() 
    6262except Exception, e: