Ticket #2184: 2184.patch

File 2184.patch, 9.8 KB (added by Alfonso Martínez de Lizarrondo, 16 years ago)

Proposed SVN patch

  • editor/filemanager/browser/default/browser.css

     
    2424body
    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
    3537.Frame
    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;
    5047}
     
    7067
    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}
    8074
     
    8781{
    8882        background-image: url(images/Folder.gif);
    8983}
     84
     85table.fullHeight {
     86        height: 100%;
     87}
     88 No newline at end of file
  • editor/filemanager/browser/default/browser.html

     
    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
    45 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
     
    2728                <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    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()
    3334{
  • editor/filemanager/browser/default/frmactualfolder.html

     
    2323-->
    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">
    2829                <script type="text/javascript">
     
    5859        }
    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{
    6964        document.getElementById('tdName').innerHTML = folderPath ;
     
    7671
    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>
    8378                                        <button style="WIDTH: 100%" type="button">
     
    8782                                                                <td>&nbsp;</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>
    9388                                                </table>
  • editor/filemanager/browser/default/frmcreatefolder.html

     
    2323-->
    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 )
    3233{
     
    9394}
    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>
    100101                                        <button type="button" style="WIDTH: 100%" onclick="CreateFolder();">
  • editor/filemanager/browser/default/frmfolders.html

     
    2424-->
    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 ;
    3334
     
    6667        // Add the folder icon cell.
    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 ;
    7778}
     
    186187}
    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">
    192193                                <td width="16"><a id="linkUpIcon" href="#"><img alt="" src="images/FolderUp.gif" width="16" height="16" border="0"></a></td>
  • editor/filemanager/browser/default/frmresourceslist.html

     
    2121 *
    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>
    2930        <script type="text/javascript">
  • editor/filemanager/browser/default/frmresourcetype.html

     
    2323-->
    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 )
    3233{
     
    4243
    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}
    5154
    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>
    6266                        </tr>
  • editor/filemanager/browser/default/frmupload.html

     
    2121 *
    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">
    3131
     
    9595}
    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">
    103103                                                <span id="eUploadMessage">Upload a new file in this folder</span><br>
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy