Ticket #3577: 3577.patch

File 3577.patch, 1.3 KB (added by Alfonso Martínez de Lizarrondo, 15 years ago)

First approach. Remove the   (with some additional rearrange to avoid other warnings)

  • _samples/ui_languages.html

     
    2020                <form action="sample_posteddata.php" method="post">
    2121                        <p>
    2222                                <label for="editor1">
    23                                         Available languages (<span id="count">&nbsp;</span>
     23                                        Available languages (<span id="count"> </span>
    2424                                        languages!):</label><br />
    25                                 <select id="languages" onchange="createEditor( this.value );" disabled="disabled">
    26                                         <script type="text/javascript">
     25                                        <script type="text/javascript">
    2726                                        //<![CDATA[
     27                                                document.write('<select id="languages" onchange="createEditor( this.value );" disabled="disabled">');
    2828
    2929                                                // Get the language list from the _languages.js file.
    3030                                                for ( var i = 0 ; i < window.CKEDITOR_LANGS.length ; i++ )
     
    3232                                                        document.write(
    3333                                                                '<option value="' + window.CKEDITOR_LANGS[i].code + '">' +
    3434                                                                        window.CKEDITOR_LANGS[i].name +
    35                                                                 '</option>' );
     35                                                                '<\/option>' );
    3636                                                }
    37 
     37                                                document.write('<\/select>');
    3838                                        //]]>
    3939                                        </script>
    40                                 </select>
    4140                                <br />
    4241                                <span style="color: #888888">(You may see strange characters if your system doesn't
    4342                                        support the selected language)</span>
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy