Changeset 1985

Show
Ignore:
Timestamp:
2008-05-10 19:09:39 (23 months ago)
Author:
alfonsoml
Message:

Fix #2184, several HTML warnings in the File Browser

Location:
FCKeditor/trunk
Files:
9 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/editor/filemanager/browser/default/browser.css

    r1565 r1985  
    2525{ 
    2626        background-color: #f1f1e3; 
     27        margin-top:0;  
     28        margin-bottom:0; 
    2729} 
    2830 
    2931form 
    3032{ 
    31         margin: 0px 0px 0px 0px ; 
    32         padding: 0px 0px 0px 0px ; 
     33        margin: 0; 
     34        padding: 0; 
    3335} 
    3436 
     
    3638{ 
    3739        background-color: #f1f1e3; 
    38         border-color: #f1f1e3; 
    39         border-right: thin inset; 
    40         border-top: thin inset; 
    41         border-left: thin inset; 
    42         border-bottom: thin inset; 
     40        border: thin inset #f1f1e3; 
    4341} 
    4442 
    4543body.FileArea 
    4644{ 
    47  
    4845        background-color: #ffffff; 
    4946        margin: 10px; 
     
    7168.Button, button 
    7269{ 
    73         border-right: #737357 1px solid; 
    74         border-top: #737357 1px solid; 
    75         border-left: #737357 1px solid; 
    7670        color: #3b3b1f; 
    77         border-bottom: #737357 1px solid; 
     71        border: #737357 1px solid; 
    7872        background-color: #c7c78f; 
    7973} 
     
    8882        background-image: url(images/Folder.gif); 
    8983} 
     84 
     85.fullHeight { 
     86        height: 100%; 
     87} 
  • FCKeditor/trunk/editor/filemanager/browser/default/browser.html

    r1791 r1985  
    1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 
     1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" 
     2   "http://www.w3.org/TR/html4/frameset.dtd"> 
    23<!-- 
    34 * FCKeditor - The text editor for Internet - http://www.fckeditor.net 
     
    2829                <link href="browser.css" type="text/css" rel="stylesheet"> 
    2930                <script type="text/javascript" src="js/fckxml.js"></script> 
    30                 <script language="javascript"> 
     31                <script type="text/javascript"> 
    3132// Automatically detect the correct document.domain (#1919). 
    3233(function() 
  • FCKeditor/trunk/editor/filemanager/browser/default/frmactualfolder.html

    r1791 r1985  
    2424<html> 
    2525        <head> 
     26                <title>Folder path</title> 
    2627                <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 
    2728                <link href="browser.css" type="text/css" rel="stylesheet"> 
     
    5960})() ; 
    6061 
    61 function OnResize() 
    62 { 
    63         divName.style.width = "1px" ; 
    64         divName.style.width = tdName.offsetWidth + "px" ; 
    65 } 
    66  
    6762function SetCurrentFolder( resourceType, folderPath ) 
    6863{ 
     
    7772                </script> 
    7873        </head> 
    79         <body bottomMargin="0" topMargin="0"> 
    80                 <table height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0"> 
     74        <body> 
     75                <table class="fullHeight" cellSpacing="0" cellPadding="0" width="100%" border="0"> 
    8176                        <tr> 
    8277                                <td> 
     
    8883                                                                <td id="tdName" width="100%" nowrap class="ActualFolder">/</td> 
    8984                                                                <td>&nbsp;</td> 
    90                                                                 <td><img height="8" src="images/ButtonArrow.gif" width="12"></td> 
     85                                                                <td><img height="8" src="images/ButtonArrow.gif" width="12" alt=""></td> 
    9186                                                                <td>&nbsp;</td> 
    9287                                                        </tr> 
  • FCKeditor/trunk/editor/filemanager/browser/default/frmcreatefolder.html

    r1565 r1985  
    2424<html> 
    2525        <head> 
     26                <title>Create Folder</title> 
    2627                <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 
    2728                <link href="browser.css" type="text/css" rel="stylesheet"> 
    2829                <script type="text/javascript" src="js/common.js"></script> 
    29                 <script language="javascript"> 
     30                <script type="text/javascript"> 
    3031 
    3132function SetCurrentFolder( resourceType, folderPath ) 
     
    9495                </script> 
    9596        </head> 
    96         <body bottomMargin="0" topMargin="0"> 
    97                 <table height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0"> 
     97        <body> 
     98                <table class="fullHeight" cellSpacing="0" cellPadding="0" width="100%" border="0"> 
    9899                        <tr> 
    99100                                <td> 
  • FCKeditor/trunk/editor/filemanager/browser/default/frmfolders.html

    r1736 r1985  
    2525<html> 
    2626        <head> 
     27                <title>Folders</title> 
    2728                <link href="browser.css" type="text/css" rel="stylesheet"> 
    2829                <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 
    2930                <script type="text/javascript" src="js/common.js"></script> 
    30                 <script language="javascript"> 
     31                <script type="text/javascript"> 
    3132 
    3233var sActiveFolder ; 
     
    6768        var oCell = oRow.insertCell(-1) ; 
    6869        oCell.width = 16 ; 
    69         oCell.innerHTML = sLink + '<img alt="" src="images/spacer.gif" width="16" height="16" border="0"></a>' ; 
     70        oCell.innerHTML = sLink + '<img alt="" src="images/spacer.gif" width="16" height="16" border="0"><\/a>' ; 
    7071 
    7172        // Add the folder name cell. 
    7273        oCell = oRow.insertCell(-1) ; 
    7374        oCell.noWrap = true ; 
    74         oCell.innerHTML = '&nbsp;' + sLink + folderName + '</a>' ; 
     75        oCell.innerHTML = '&nbsp;' + sLink + folderName + '<\/a>' ; 
    7576 
    7677        this.TableRows[ folderPath ] = oRow ; 
     
    187188                </script> 
    188189        </head> 
    189         <body class="FileArea" bottomMargin="10" leftMargin="10" topMargin="10" rightMargin="10"> 
     190        <body class="FileArea"> 
    190191                <table id="tableFiles" cellSpacing="0" cellPadding="0" width="100%" border="0"> 
    191192                        <tr id="trUp" style="DISPLAY: none"> 
  • FCKeditor/trunk/editor/filemanager/browser/default/frmresourceslist.html

    r1736 r1985  
    2222 * This page shows all resources available in a folder in the File Browser. 
    2323--> 
    24 <html xmlns="http://www.w3.org/1999/xhtml"> 
     24<html> 
    2525<head> 
    26         <link href="browser.css" type="text/css" rel="stylesheet" /> 
     26        <title>Resources</title> 
     27        <link href="browser.css" type="text/css" rel="stylesheet"> 
    2728        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 
    2829        <script type="text/javascript" src="js/common.js"></script> 
  • FCKeditor/trunk/editor/filemanager/browser/default/frmresourcetype.html

    r1565 r1985  
    2424<html> 
    2525        <head> 
     26                <title>Available types</title> 
    2627                <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 
    2728                <link href="browser.css" type="text/css" rel="stylesheet"> 
    2829                <script type="text/javascript" src="js/common.js"></script> 
    29                 <script language="javascript"> 
     30                <script type="text/javascript"> 
    3031 
    3132function SetResourceType( type ) 
     
    4344window.onload = function() 
    4445{ 
     46        var oCombo = document.getElementById('cmbType') ; 
     47        oCombo.innerHTML = '' ; 
    4548        for ( var i = 0 ; i < aTypes.length ; i++ ) 
    4649        { 
    4750                if ( oConnector.ShowAllTypes || aTypes[i][0] == oConnector.ResourceType ) 
    48                         AddSelectOption( document.getElementById('cmbType'), aTypes[i][1], aTypes[i][0] ) ; 
     51                        AddSelectOption( oCombo, aTypes[i][1], aTypes[i][0] ) ; 
    4952        } 
    5053} 
     
    5255                </script> 
    5356        </head> 
    54         <body bottomMargin="0" topMargin="0"> 
    55                 <table height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0"> 
     57        <body> 
     58                <table class="fullHeight" cellSpacing="0" cellPadding="0" width="100%" border="0"> 
    5659                        <tr> 
    5760                                <td nowrap> 
    5861                                        Resource Type<BR> 
    5962                                        <select id="cmbType" style="WIDTH: 100%" onchange="SetResourceType(this.value);"> 
     63                                                <option>&nbsp; 
    6064                                        </select> 
    6165                                </td> 
  • FCKeditor/trunk/editor/filemanager/browser/default/frmupload.html

    r1736 r1985  
    2222 * Page used to upload new files in the current folder. 
    2323--> 
    24 <html xmlns="http://www.w3.org/1999/xhtml"> 
     24<html> 
    2525        <head> 
    2626                <title>File Upload</title> 
    2727                <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 
    28                 <link href="browser.css" type="text/css" rel="stylesheet" /> 
     28                <link href="browser.css" type="text/css" rel="stylesheet" > 
    2929                <script type="text/javascript" src="js/common.js"></script> 
    3030                <script type="text/javascript"> 
     
    9696                </script> 
    9797        </head> 
    98         <body bottommargin="0" topmargin="0"> 
     98        <body> 
    9999                <form id="frmUpload" action="" target="frmUploadWorker" method="post" enctype="multipart/form-data" onsubmit="return OnSubmit();"> 
    100                         <table height="100%" cellspacing="0" cellpadding="0" width="100%" border="0"> 
     100                        <table class="fullHeight" cellspacing="0" cellpadding="0" width="100%" border="0"> 
    101101                                <tr> 
    102102                                        <td nowrap="nowrap"> 
  • FCKeditor/trunk/_whatsnew.html

    r1984 r1985  
    8787                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2168">#2168</a>] Comments won't generate new 
    8888                        paragraphs in the output.</li> 
     89                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2184">#2184</a>] Fixed several validation  
     90                        errors in the File Browser.</li> 
    8991        </ul> 
    9092        <h3>