code stringlengths 1 2.01M | repo_name stringlengths 3 62 | path stringlengths 1 267 | language stringclasses 231 values | license stringclasses 13 values | size int64 1 2.01M |
|---|---|---|---|---|---|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="es">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Guía del usuario de CKFinder</title>
<link href="other/help.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
Bienvenido a CKFinder
</h1>
<p>
<strong>CKFinder es un programa colaborativo</strong> que hace más fácil mantener y compartir ficheros localizados en un ordenador central (el servidor).</p>
<p>
Ya sea que usted es nuevo al programa o un usuario experto, vale la pena emplear un poco de su tiempo para leer la documentación completa de CKFinder para obtener un conocimiento completo acerca de este simple pero poderoso programa.</p>
<h2>
Avisos legales
</h2>
<p>
Se le pide su atención a los <a href="011.html" title="Enlace a avisos legales">Avisos legales </a></p>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/es/files/001.html | HTML | gpl3 | 1,039 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="es">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Guía del usuario de CKFinder</title>
<link href="other/help.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
Botón de ayuda
</h1>
<p>
Abre esta "Guía del usuario" en una ventana nueva.</p>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/es/files/009.html | HTML | gpl3 | 516 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="es">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Gu�a del usuario de CKFinder</title>
<link href="other/help.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
CKFinder License
</h1>
<iframe src="../../../license.txt" style="width:800px;height:600px"></iframe>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/es/files/license.html | HTML | gpl3 | 527 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="es">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Guía del usuario de CKFinder</title>
<link href="other/help.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
Introducción a la interfaz de CKFinder</h1>
<p>
La interfaz de CKFinder ha sido diseñada para ser clara, familiar, fácil de aprender y usar para nuestros usuarios finales. La mayoría de las características pueden ser usadas con movimientos del ratón y clicks en menús contextuales.</p>
<p>
La siguiente imagen es una captura de pantalla de CKFinder: </p>
<p style="text-align: center">
<img src="images/001.png" alt="Captura de CKFinder" height="404" width="622" />
</p>
<ol>
<li><a href="003.html">Panel de Carpetas </a>: contiene la "vista de árbol" de las carpetas donde se puede navegar, las carpetas son formas de organizar mejor los ficheros.</li>
<li><a href="004.html">Panel de Ficheros</a>: Muestra los ficheros disponibles en la carpeta seleccionada.</li>
<li><a href="005.html">Barra de Herramientas</a>: Es una serie de botones que pueden ser pulsados para ejecutar rápidamente funciones específicas.</li>
<li><a href="010.html">Barra de Estado </a>: Es un espacio utilizado para mostrar información referente al fichero seleccionado, el número total de ficheros en una carpeta etc...</li>
<li><a href="012.html">Menú contextual</a>: Una serie de opciones que pueden ser usados para ejecutar tareas específicas en el objeto sobre el cual se ha hecho click. Las opciones disponibles cambian dinamicamente dependiendo del tipo del objeto al cual se le hizo click.</li>
</ol>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/es/files/002.html | HTML | gpl3 | 1,949 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="es">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Guía del usuario de CKFinder</title>
<link href="other/help.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
Botón Actualizar </h1>
<p >
Cuando se trabaja en un espacio compartido como lo es CKFinder, en donde docenas o incluso cientos de usuarios están trabajando en los mismos ficheros, podría suceder que alguno de estos otros usuarios realice cambios en la misma carpeta en la que usted se encuentra trabajando. Para recargar la lista de ficheros, solamente haga click sobre el botón "Actualizar", esto le presentará la lista de ficheros como se encuentra en ese instante.</p>
<p style="text-align: center">
<img src="images/011.png" width="288" height="24" alt="botón Actualizar" /> </p>
<p>Por ejemplo, imagine usted que tiene que crear una página para un nuevo producto de su compañía. Usted abre entonces CKFinder para obtener la fotografía del producto para ser incluida en el sitio web de la empresa, pero cuando abre la carpeta "Productos" usted no puede encontrar esa fotografía. Toma el teléfono y llama a "Beth", diciendo: "¡Hey Beth, la imagen del producto no se encuentra en CKFinder!". Beth dice entonces: "Ops... espera un minuto". Ella abre CKFinder en su ordenador, sube el fichero con la fotografía desde su ordenador y le dice: "Ahí está, solo Actualiza". Usted entonces dá click sobre el botón "Actualizar" y ¡voila!, el fichero aparece ahí para usted. Es por esto que CKFinder es también conocido como un programa de colaboración. </p>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/es/files/007.html | HTML | gpl3 | 2,005 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="es">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Guía del usuario de CKFinder</title>
<link href="other/help.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
Panel de Ficheros</h1>
<p>
El panel de ficheros muestra los ficheros disponibles en la carpeta seleccionada.</p>
<h2>
Vistas Diferentes</h2>
<p>El panel de ficheros puede presentar dos vistas diferentes, dependiendo de la configuración de CKFinder (vea "<a href="008.html">Configuración</a>"). La siguiente, es una comparación de la vista "<strong>Iconos</strong>" y la vista "<strong>Lista</strong>" para la misma carpeta:</p>
<p style="text-align: center">
<img src="images/007.png" width="407" height="402" alt="Vista de Iconos"/>
</p>
<p style="text-align: center">
<img src="images/006.png" width="407" height="230" alt="Vista de Lista"/>
</p>
<h2>
Operaciones Básicas </h2>
<h3>
Seleccionar (Activar) un Fichero </h3>
<p>
Para seleccionar un fichero, y por ende convertirlo al "fichero activo" en CKFinder, simplemente haga click sobre el fichero. Para identificar más fácilmente que el puntero del ratón está sobre un fichero, el área del mismo será coloreada. El fichero seleccionado tendrá un color de fondo diferente (generalmente Azul).</p>
<h2>
Operaciones Avanzadas</h2>
<p>Se pueden realizar operaciones avanzadas en un fichero utilizando su "<a href="012.html">Menú contextual</a>". Las siguientes opciones estan disponibles: </p>
<p style="text-align: center">
<img src="images/008.png" width="90" height="122" alt="Menú contextual"/>
</p>
<p>
<span class="info">Nota:</span> Algunos botones del menú contextual, podrían estar deshabilitados, esto depende de los ajustes que su administrador haya hecho en la configuración de CKFinder.</p>
<div>
<h3>
Seleccionar Ficheros. </h3>
</div>
<p>
Para seleccionar un fichero, y por ende regresarlo a la aplicación solamente haga click sobre la opción "Seleccionar".</p>
<h3>
Visualización (previsualización) de Ficheros </h3>
<p>Para previsualizar un fichero en el navegador, haga click en el botón "Visualizar". No todos los tipos de ficheros pueden ser visualizados por los navegadores, pero esta característica es útil para imagenes, texto y ficheros del tipo PDF. En otros casos, el navegador le preguntará si desea abrir el fichero con la aplicación correspondiente. </p>
<div>
<h3>
Descargar (bajar) Ficheros </h3>
<p>
Para descargar (bajar) un fichero, haga click en el botón "Descargar", el navegador le solicitará el lugar donde desea guardar el fichero en su ordenador. </p>
<h3>
Renombrar Ficheros </h3>
</div>
<p>
Para renombrar un fichero, haga click en el botón "Renombrar" en el menú contextual. Una ventana aparecerá con el nombre actual del fichero, donde deberá escribir el nuevo nombre y confirmar la operación.</p>
<p>No todos los caracteres pueden ser usados para establecer un nombre de fichero, debido a limitaciones en los sistemas donde CKFinder se ejecuta. Por ejemplo, los siguientes caracteres, no pueden usarse para dar nombre a carpetas ni ficheros: <strong>\</strong> <strong>/</strong> <strong>:</strong> <strong>*</strong> <strong>?</strong> <strong>"</strong> <strong><</strong> <strong>></strong> <strong>|</strong></p>
<p><span class="warning">Atención:</span> Al renombrar un fichero, los enlaces o inserciones de medios disponibles en otras páginas que apunten al fichero renombrado podrían quedar "rotos" y por tanto no funcionar. Así que sea cauteloso cuando use esta característica.</p>
<div>
<h3>
Borrar Ficheros </h3>
</div>
<p>
Para borrar un fichero, haga click en la opción "Borrar" del menú contextual. Un mensaje de confirmación aparecerá para asegurarse que realmente esa operación es la que desea realizar.</p>
<p>
<span class="warning">Atención:</span> Al borrar un fichero, los enlaces o inserciones de medios disponibles en otras páginas que apunten al fichero recien borrado quedaran "rotos" y por tanto no funcionar, así que sea cauteloso al utilizar esta opción.</p>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/es/files/004.html | HTML | gpl3 | 4,773 |
window.onload = function()
{
var copyP = document.createElement( 'p' ) ;
copyP.className = 'copyright' ;
copyP.innerHTML = '© 2007-2011 <a href="http://cksource.com" target="_blank">CKSource</a> - Frederico Knabben . Todos los derechos reservados.<br /><br />' ;
document.body.appendChild( document.createElement( 'hr' ) ) ;
document.body.appendChild( copyP ) ;
window.top.SetActiveTopic( window.location.pathname ) ;
}
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/es/files/other/help.js | JavaScript | gpl3 | 445 |
body
{
margin: 0px;
font-family: Georgia, Trebuchet, Trebuchet MS, Verdana;
}
h1
{
background-color: #f5f5f5;
color: #696969;
padding-left: 20px;
padding-right: 20px;
padding-top: 10px;
padding-bottom: 10px;
margin: 0px;
margin-bottom: 40px;
}
p, ul, ol
{
margin-bottom: 30px;
margin-top: 0px;
margin-left: 40px;
margin-right: 40px;
}
ol, ul
{
padding-left:40px;
}
h2
{
margin-left: 20px;
margin-bottom: 30px;
margin-top: 0px;
}
h3
{
margin-left: 40px;
margin-bottom: 15px;
margin-top: 0px;
}
hr
{
margin-top: 0px;
}
.info
{
font-weight: bold;
}
.warning
{
font-weight: bold;
color: #ff0000;
}
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/es/files/other/help.css | CSS | gpl3 | 687 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="es">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Guía del usuario de CKFinder</title>
<link href="other/help.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
Botón Configuración </h1>
<p>
El botón "Configuración", en <a href="005.html">la barra de herramientas</a>, abre el "Panel de Configuración", donde usted podrá configurar y personalizar CKFinder, he aquí una imagen de él:</p>
<p style="text-align: center">
<img src="images/013.png" width="416" height="189" alt="Panel de Configuración" /></p>
<p>
Todos los ajustes son guardados automaticamente utilizando las denominadas "Cookies" de su navegador. Las "Cookies" son pequeños ficheros que contienen información de configuración privada para sitios web especificos.</p>
<p>
Para cerrar el panel de configuración, haga click sobre el botón "Cerrar" o haga click nuevamente sobre el botón "Configuración" de la barra de herramientas.</p>
<h2>
Opciones de Configuración </h2>
<p>
Todas las opciones de configuración tienen que ver con el <a href="004.html">Panel de Ficheros </a>.
Se usan para controlar como mostrar información en ese panel. El panel de Ficheros reacciona inmediatamente a los cambios hechos en el panel de configuración.</p>
<h3>
Vista</h3>
<p>
Controla el modo actual de vista del <a href="004.html">Panel de Ficheros</a>:</p>
<ul>
<li>El modo "<strong>Iconos</strong>" mostrará cada fichero como una "caja". Para las imagenes, una pequeña previsualización de ella (llamada miniatura) será mostrada dentro de la caja. Para otros tipos de fichero, un icono será mostrado en su lugar.</li>
</ul>
<ul>
<li>El modo "<strong>Lista</strong>" mostrará todos los ficheros como una lista, uno abajo del otro. No se mostrará ningún tipo de previsualización en este modo.</li>
</ul>
<h3>
Mostrar</h3>
<p>
Ajusta la cantidad de información disponible en el panel de ficheros. Para ejemplificar, he aquí como se mostrarían los ficheros cuando ningúna opción está seleccionada, hasta llegar a tener todas las opciones seleccionadas.</p>
<table align="center" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" style="padding-right: 10px">
<img src="images/014.gif" width="112" height="112" alt="Imagen"/></td>
<td valign="top" style="padding-right: 10px; padding-left: 10px">
<img src="images/015.gif" width="112" height="128" alt="Imagen y nombre" /></td>
<td valign="top" style="padding-right: 10px; padding-left: 10px">
<img src="images/016.gif" width="112" height="144" alt="Imagen, nombre y fecha" /></td>
<td valign="top" style="padding-left: 10px">
<img src="images/017.gif" width="112" height="160" alt="Imagen, nombre, fecha y peso" /></td>
</tr>
</table>
<h3>
Ordenar</h3>
<p>
Controla el orden en el que los ficheros serán listados. Puede ser alfabeticamente por el nombre del fichero, por fecha de creación del fichero siendo el más nuevo el primero o incluso por el tamaño del fichero.</p>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/es/files/008.html | HTML | gpl3 | 3,594 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="es">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Guía del usuario de CKFinder</title>
<link href="other/help.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="other/help.js"></script>
<script type="text/javascript">
function CheckForm()
{
if ( document.getElementById( 'xSuggestion' ).value == '' )
{
alert( 'Por favor, escriba sus sugerencias antes de pulsar el botón de Enviar' ) ;
return false ;
}
document.getElementById( 'xSubmit' ).disabled = true ;
document.getElementById( 'spamcheck' ).value = 9945 + 13671 ;
return true ;
}
</script>
</head>
<body>
<h1>
Sugerencias</h1>
<p>
Siéntase libre de para <a href="http://cksource.com/contact">enviarnos sus sugerencias</a> acerca de esta documentación. Estamos siempre dispuestos a mejorarla, para ofrecerle un mejor software cada dia.</p>
<h2>
Formulario para sugerencias </h2>
<form action="http://cksource.com/ckfinder/doc_suggestion" target="_blank" method="post"
onsubmit="return CheckForm();">
<input type="hidden" name="doc" value="CKFinder User's Guide" />
<input type="hidden" name="spamcheck" id="spamcheck" value="7832" />
<p>
Sus sugerencias: <br />
<textarea id="xSuggestion" name="suggestion" cols="70" rows="10"></textarea></p>
<p>
<input id="xSubmit" type="submit" value="Enviar" />
(abrirá una nueva ventana)</p>
</form>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/es/files/suggestions.html | HTML | gpl3 | 1,607 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="es">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Guía del usuario de CKFinder</title>
<link href="other/help.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
Menú contextual </h1>
<p>
El "Menú contextual " es una serie de botones (llamados "menú") que pueden ser usados para ejecutar tareas específicas en el objeto que ha sido seleccionado con un click. Las opciones disponibles cambiarán dinamicamente dependiendo del objeto que haya sido seleccionado.</p>
<h2>
Menús Disponibles </h2>
<p>
Los siguientes son los menús que podría encontrar mientras trabaja con una instalación estandar de CKFinder.</p>
<h3>
Menú contextual para Carpetas </h3>
<p>
Aparece cuando hace click con el botón derecho del ratón sobre una carpeta en el <a href="003.html">Panel de carpetas </a></p>
<p style="text-align: center">
<img src="images/004.png" width="124" height="75" alt="Menú contextual de carpeta"/> </p>
<h3>
Menú contextual de Fichero </h3>
<p>
Aparece cuando hace click con el botón derecho del ratón sobre un fichero en el <a href="004.html"> panel de Ficheros</a>:</p>
<p style="text-align: center">
<img src="images/008.png" width="90" height="122" alt="Menú contextual de ficheros"/> </p>
<h3>
Menú contextual de espacio vacío </h3>
<p>
Aparece cuando hace click con el botón derecho del ratón en el <a href="004.html">Panel de ficheros </a>, pero afuera de un fichero (en el fondo):</p>
<p style="text-align: center">
<img src="images/020.png" width="132" height="28" alt="Añadir nuevo fichero"/></p>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/es/files/012.html | HTML | gpl3 | 1,971 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="es">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Guía del usuario de CKFinder</title>
<link href="other/help.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
Avisos Legales </h1>
<p>
CKFinder, incluyendo su documentación tiene Copyright © 2007-2011 por <a href="http://cksource.com" target="_blank">CKSource</a> - Frederico Knabben. Todos los derechos reservados, por favor asegurse de leer y entender la licencia de uso. <a href="license.html">Licencia de CKFinder</a>. </p>
<p>
Los iconos usados en la barra de herramientas y los menús contextual, han sido diseñados por Mark James.
Por favor entre a la siguiente dirección (URL) para obtener más información: <a href="http://www.famfamfam.com/lab/icons/silk/">http://www.famfamfam.com/lab/icons/silk/</a></p>
<h2>
Marcas Registradas </h2>
<p>
CKFinder, el logotipo de CKFinder, CKSource, CKEditor y FCKeditor son marcas registradas de CKSource - Frederico Knabben. All rights reserved (<a href="http://cksource.com" target="_blank">CKSource</a>).</p>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/es/files/011.html | HTML | gpl3 | 1,335 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="es">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Guía del usuario de CKFinder</title>
<link href="other/help.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>Panel de Carpetas </h1>
<p>
El panel de carpetas contiene la "vista de árbol
" de las carpetas por las que se puede navegar. Las carpetas son una manera de organizar mejor los ficheros.</p>
<p>
Se le llama "vista de árbol
", por que se tienen las carpetas representadas jerárquicamente como las ramas de un árbol. Usa la misma representación gráfica que muchos sistemas operativos modernos.</p>
<h2>
Operaciones Básicas</h2>
<h3>
Abrir una carpeta </h3>
<p>
Para abrir una carpeta y revelar sus carpetas "hijas", simplemente haga click en el signo "más" (<img src="images/002.gif" alt="Signo más" width="9" height="9" />) en frente de la misma. Si el signo "más" no está presente, la carpeta no tiene carpetas hijas que puedan desplegarse.</p>
<p>
Vea "Cargado bajo demanda " al final de la pagina para un mejor entendimiento de cómo son cargadas las carpetas.</p>
<h3>
Cerrar una carpeta </h3>
<p>
Para cerrar una carpeta, y por ende esconder sus carpetas "hijas", simplemente haga click en el signo "menos" (<img
src="images/003.gif" alt="Signo menos" width="9" height="9" />) en frente de la misma.</p>
<h3>
Seleccionar una carpeta
</h3>
<p>
Para seleccionar una carpeta y por ende convertirla a "la carpeta actual" para CKFinder, simplemente haga click en el nombre de la carpeta o en su icono. La carpeta seleccionada tendrá un color de fondo diferente.</p>
<h2>
Operaciones Avanzadas </h2>
<p>
Es posible utilizar operaciones avanzadas en una carpeta, haciendo uso de su "<a href="012.html">Menú contextual</a>", las siguientes opciones están disponibles:</p>
<p style="text-align: center">
<img src="images/004.png" width="124" height="75" alt="Menú contextual"/> </p>
<p>
<span class="info">Nota:</span> Algunas opciones del menú contextuales podrían estar deshabilitados dependiendo de los ajustes asignados por el administrador del sistema.</p>
<h3>
Crear Carpetas
</h3>
<p>
Para crear una carpeta "hija" dentro de una carpeta ya existente, solamente haga click sobre la opción "Nueva Carpeta" del menú contextual. Una ventana de diálogo aparecerá en donde deberá escribir el nombre de la nueva Carpeta, luego confirme la operación.</p>
<p>
No todos los caracteres pueden ser usados para establecer un nombre de carpeta, debido a limitaciones en los sistemas donde CKFinder se ejecuta. Por ejemplo, los siguientes caracteres no pueden usarse para dar nombre a carpetas ni ficheros: <strong>\</strong> <strong>/</strong> <strong>:</strong>
<strong>*</strong> <strong>?</strong> <strong>"</strong> <strong><</strong>
<strong>></strong> <strong>|</strong></p>
<h3>
Renombrar Carpetas</h3>
<p>
Para renombrar una carpeta, solo haga click en la opción "Renombrar" del menú contextual. Una ventana de dialogo aparecerá conteniendo el nombre actual de la carpeta, ahí deberá escribir el nuevo nombre que desea asignar a la carpeta, luego confirme la operación.</p>
<p>
No todos los caracteres pueden ser usados para establecer un nombre de carpeta, debido a limitaciones en los sistemas donde CKFinder se ejecuta. Por ejemplo, los siguientes caracteres, no pueden usarse para dar nombre a carpetas ni ficheros: <strong>\</strong> <strong>/</strong> <strong>:</strong> <strong>*</strong> <strong>?</strong> <strong>"</strong> <strong><</strong> <strong>></strong> <strong>|</strong></p>
<p><span class="warning">Atención:</span> Al renombrar una carpeta, los enlaces o inserciones de medios disponibles en otras páginas que apunten a ficheros o carpetas dentro de aquella que fue renombrada podrían quedar "rotas" y por lo tanto no funcionarán. Así que sea cauteloso cuando use esta característica.</p>
<h3>
Borrar Carpetas</h3>
<p>
Para borrar una carpeta, incluyendo su contenido, solo haga click sobre la opción "Borrar" del menú contextual. Un mensaje de confirmación aparecerá para asegurarse de que realmente desea eliminar dicha carpeta.</p>
<p><span class="warning">Atención:</span> Al borrar una carpeta, los enlaces o inserciones de medios disponibles en otras páginas que apunten a ficheros o carpetas dentro de aquella que fue borrada podrían quedar "rotas" y por lo tanto no funcionarán. Así que sea cauteloso cuando use esta característica.</p>
<h2>
Cargado "Bajo demanda "</h2>
<p>
La diferencia más importante entre CKFinder y la "vista de árbol " que se encuentra en los sistemas operativos modernos, es que las carpetas se cargan "bajo demanda", esto significa que CKFinder no carga todo el árbol al inicio, sino que solo carga un pequeño subconjunto de él cuando se abre la carpeta, este es un requerimiento de aplicaciones avanzadas para web como lo es CKFinder.</p>
<p>
Para indicar que las carpetas se están cargando, la etiqueta "Cargando..." podría aparecer cuando se intente abrir una carpeta.</p>
<p style="text-align: center">
<img src="images/005.png" width="143" height="76" alt="cargando..."/> </p>
<p>
La etiqueta desaparecerá automaticamente una vez que la carga de las carpetas haya terminado. Una vez cargada, la etiqueta no aparecerá más para esa carpeta.</p>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/es/files/003.html | HTML | gpl3 | 6,173 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="es">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Guía del usuario de CKFinder</title>
<style type="text/css">
body
{
margin: 0px;
font-family: Trebuchet, Trebuchet MS, Arial;
}
a { text-decoration: none ; }
a:hover { text-decoration: underline ; }
ul { list-style-type: none; padding-left: 20px; margin:0px; }
li { white-space: nowrap; padding-left:2px; padding-right:2px; }
.toc
{
background-color: #696969;
color: #f5f5f5;
margin: 0px;
font-weight: bold;
text-align: center;
}
.contents { padding: 10px; }
.active { color: highlighttext; background-color: highlight; }
</style>
<script type="text/javascript">
window.onload = function()
{
for ( var i = 0 ; i < document.links.length ; i++ )
{
var link = document.links[i] ;
link.target = 'CKDocsMain' ;
link.innerHTML = ' ' + link.innerHTML + ' ' ;
}
}
var lastLink = null ;
window.top.SetActiveTopic = function( topicUrl )
{
var pageName = topicUrl.match( /(?:^|\/|\\)([^\\\/]+)$/ )[1] ;
if ( lastLink )
lastLink.className = '' ;
for ( var i = 0 ; i < document.links.length ; i++ )
{
var link = document.links[i] ;
if ( link.href.match( /(?:^|\/|\\)([^\\\/]+)$/ )[1] == pageName )
{
lastLink = link ;
link.className = 'active' ;
return ;
}
}
}
</script>
</head>
<body>
<p class="toc">
Índice
</p>
<div class="contents">
<ul style="padding-left: 0px;">
<li><a href="001.html">Bienvenido</a></li>
<li><a href="002.html">La interfaz de CKFinder</a>
<ul>
<li><a href="003.html">El panel de carpetas </a></li>
<li><a href="004.html">El panel de ficheros </a></li>
<li><a href="005.html">La barra de herramientas </a>
<ul>
<li><a href="006.html">Añadir ficheros </a></li>
<li><a href="007.html">Actualizar</a></li>
<li><a href="008.html">Configuración</a></li>
<li><a href="009.html">Ayuda</a></li>
</ul>
</li>
<li><a href="010.html">La barra de Estado </a></li>
<li><a href="012.html">Menú contextual </a></li>
</ul>
</li>
<li><a href="013.html">Compatibilidad y requerimientos del sistema </a></li>
<li><a href="011.html">Avisos legales </a></li>
<li><a href="suggestions.html">¿Sugerencias?</a></li>
</ul>
</div>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/es/files/toc.html | HTML | gpl3 | 2,574 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="es">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Guía del usuario de CKFinder</title>
<style type="text/css">
body
{
margin: 0px;
font-family: Trebuchet, Trebuchet MS, Verdana;
background-color: #696969;
color: #f5f5f5;
padding-left: 20px;
padding-right: 20px;
overflow: hidden;
}
html, body, table {height:100%}
td {vertical-align:middle}
a { color: #f5f5f5; text-decoration: none ; }
a:hover { text-decoration: underline ; }
</style>
</head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<h2 style="margin: 0px; padding: 0px;">
Guía del Usuario de CKFinder</h2>
</td>
<td align="right">
<a href="http://ckfinder.com" target="_blank">Visite el sitio Web de CKFinder</a></td>
</tr>
</table>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/es/files/header.html | HTML | gpl3 | 1,007 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="es">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Guía del usuario de CKFinder</title>
<link href="other/help.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
Barra de Herramientas </h1>
<p>
La barra de herramientas es un área dedicada situada al inicio de la interfaz de CKFinder. Contiene una serie de botones a los que se puede dar click para ejecutar rápidamente funciones específicas. Esta es una imagen de esta barra:</p>
<p style="text-align: center">
<img src="images/009.png" width="286" height="24" alt="Barra de herramientas"/>
</p>
<h2>
Botones de la barra de herramientas </h2>
<p>
La siguiente es una lista de los botones que están disponibles en una barra de herramientas estandar:</p>
<ul>
<li><a href="006.html">Añadir</a>: Abre el "Panel de Subida", que puede ser usado para agregar nuevos ficheros a la carpeta actual.</li>
<li><a href="007.html">Actualizar</a>: Recarga la lista de ficheros en el <a href="004.html">Panel de Ficheros</a>.</li>
<li><a href="008.html">Configuración</a>: Abre el "Panel de Ajustes", en donde podrá configurar y personalizar CKFinder.</li>
<li><a href="009.html">Ayuda</a>: Abrirá esta Guía del Usuario. </li>
</ul>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/es/files/005.html | HTML | gpl3 | 1,539 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="es">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Guía del usuario de CKFinder</title>
<link href="other/help.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
Barra de Estado</h1>
<p>
La "Barra de Estado" es un pequeño espacio usado para mostrar información relevante al fichero seleccionado, el número total de ficheros en la carpeta, etc... Se puede encontrar al final de la interfaz de CKFinder</p>
<p>
Si <strong>un fichero es seleccionado</strong> en CKFinder, la barra de estado mostrará información detallada acerca de ese fichero en particular, contendrá el nombre del fichero, su tamaño y la fecha de su última modificación, por ejemplo: </p>
<p style="text-align: center">
<img src="images/018.png" width="257" height="16" alt="adivina.xls (2444Kb 21/03/2011)"/> </p>
<p>Si por el contrario <strong> ningún fichero está seleccionado</strong>, se mostrará el número total de ficheros en la carpeta actual. Por ejemplo: </p>
<p style="text-align: center">
<img src="images/019.png" width="145" height="15" alt="2 ficheros"/> </p>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/es/files/010.html | HTML | gpl3 | 1,422 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="es">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Guía del usuario de CKFinder</title>
<link href="other/help.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
Botón "Añadir"</h1>
<p>
El botón "Añadir" en <a href="005.html">la barra de herramientas </a>, abre el "Panel de Subida", que puede ser usado para agregar nuevos ficheros a la carpeta actual, he aquí una imagen de este panel:</p>
<p style="text-align: center">
<img src="images/012.png" width="418" height="155" alt="Panel para añadir ficheros"/> </p>
<p>
Para cerrar el panel de subida, haga click sobre el botón "Cancelar", o haga click nuevamente sobre el botón "Añadir" de la barra de herramientas.</p>
<p>
* "<strong>Subir</strong>" es un término técnico. Se refiere a la acción de transferir un fichero situado en su ordenador local a otro ordenador central, (también conocido como Servidor).</p>
<h2>
Pasos para Subir un Fichero </h2>
<ol>
<li>Seleccione el fichero de su ordenador dando click sobre el botón "Examinar...". El texto de este botón puede variar de navegador a navegador, pero siempre estará localizado justo a la derecha del campo "Elija el fichero a subir".</li>
<li>Haga click sobre el botón "Subir el fichero elegido ". Un mensaje aparecerá indicando que la transferencia está en progreso.</li>
<li>Espere a que la transferencia termine. Una vez completada el "Panel de Subida" se cerrará automaticamente y el fichero que subió será seleccionado en el <a href="004.html">Panel de Ficheros</a></li>
</ol>
<h2>
Mensajes de la transferencia. </h2>
<p>
Los siguientes son los mensajes que podrían aparecer mientras se transfiere un fichero: </p>
<h3>
Ya existía un fichero con ese nombre. El fichero subido ha sido renombrado como "nombre(1).ext"</h3>
<p>
Indica que el nombre del fichero que subió ya se encuentra en uso por otro fichero en la misma carpeta, para evitar un conflicto, un número progresivo (aquel que estará entre los parentesis), ha sido agregado al final del nombre original.</p>
<h3>
Fichero inválido </h3>
<p>
El fichero que subió no ha sido aceptado. </p>
<p>
La causa mas común de este mensaje, es que CKFinder ha sido configurado para NO aceptar el tipo de fichero que está usted intentando subir, basado en su extensión. Esta es una restricción de seguridad. Otra causa puede ser que el tamaño del fichero es demasiado grande para el sistema destino, en este caso, el servidor deberá ser configurado para aceptar un fichero de mayor tamaño.</p>
<h3>La subida se ha cancelado por razones de seguridad. El fichero contenía código HTML.</h3>
<p>El fichero que subió contiene código HTML. Por razones de seguridad solamente ficheros con ciertas extensiones son permitidos cuando contienen código HTML.</p>
<p>
Por favor contacte al Administrador del sistema para obtener mayor información referente a los tipos de fichero aceptados y sus límites en tamaño.</p>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/es/files/006.html | HTML | gpl3 | 3,583 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Guía para el usuario de CKFinder</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<frameset rows="50,*" bordercolor="#f5f5f5">
<frame src="files/header.html" noresize="1" frameborder="0" bordercolor="#f5f5f5"></frame>
<frameset cols="200,*">
<frame src="files/toc.html" bordercolor="#f5f5f5"></frame>
<frame src="files/001.html" name="CKDocsMain" bordercolor="#f5f5f5"></frame>
</frameset>
</frameset><noframes></noframes>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/es-mx/index.html | HTML | gpl3 | 622 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder User's Guide</title>
<link href="other/help.css" type="text/css" rel="stylesheet" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
Compatibilidad y Requerimientos del Sistema</h1>
<p>
CKFinder es una aplicación "Web", esto significa que está hecha para ser ejecutada dentro de un "browser" (navegador) haciendo más fácil distribuir y usar en cualquier computadora.</p>
<p>
Actualmente cualquiera de los siguientes browsers se requieren para ejecutar CKFinder:</p>
<ul>
<li>Internet Explorer 6.0+</li>
<li>Firefox 2.0+</li>
<li>Safari 3+</li>
<li>Google Chrome</li>
<li>Opera 9.5+</li>
<li>Camino 1.0+</li>
</ul>
<p>Algunas caracteristicas dependen para su funcionamiento de ajustes propios del navegador de internet (browser). Por default CKFinder debería funcionar correctamente, sin embargo si experimienta algun problema con el <a href="012.html">Menú de Contexto</a> o quizá sus <a href="008.html">Ajustes</a> no estan siendo guardados, asegurese que su browser está configurado para "Permitir a los scripts reemplazar menus de contexto" ("Permitir a los scripts recibir clicks con el botón derecho") y además tener habilitado el "Soporte para cookies". </p>
<p>Por favor contacte a su administrador en caso de que tenga alguna duda.</p>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/es-mx/files/013.html | HTML | gpl3 | 1,669 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder User's Guide</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="other/help.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
Bienvenido a CKFinder
</h1>
<p>
<strong>CKFinder es un programa colaborativo </strong> que hace más fácil mantener y compartir archivos localizados en una computadora central (el servidor).</p>
<p>
Ya sea que usted sea nuevo al programa o un usuario experto, vale la pena tomar un poco de su tiempo para leer la documentación completa de CKFinder para obtener un conocimiento completo acerca de este simple pero poderoso programa.</p>
<h2>
Avisos legales
</h2>
<p>
Se le pide su atención a los <a href="011.html" title="Link to Legal Notices">Avisos legales </a></p>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/es-mx/files/001.html | HTML | gpl3 | 1,080 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="es">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Guía del usuario de CKFinder</title>
<link href="other/help.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
Botón de ayuda
</h1>
<p>
Abre esta "Guía del usuario" en una ventana nueva.</p>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/es-mx/files/009.html | HTML | gpl3 | 516 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder User's Guide</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="other/help.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
CKFinder License
</h1>
<iframe src="../../../license.txt" style="width:800px;height:600px"></iframe>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/es-mx/files/license.html | HTML | gpl3 | 507 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder User's Guide</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="other/help.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
Introducción a la interface de CKFinder</h1>
<p>
La Interface de CKFinder, ha sido diseñada para ser clara, familiar, fácil de aprender y usar para nuestros usuarios finales. La mayoría de las caracteristicas pueden ser usadas con movimientos del mouse y clicks en menus de contexto.</p>
<p>
La siguiente imagen, es un screenshot de CKFinder: </p>
<p style="text-align: center">
<img src="images/001.png" alt="CKFinder Screenshot" height="404" width="622" />
</p>
<ol>
<li><a href="003.html">Pánel de Carpetas </a>: contiene la "vista de arbol" de las carpetas donde se puede navegar, las carpetas son formas de organizar mejor los archivos.</li>
<li><a href="004.html">Pánel de Archivos</a>: Muestra los archivos disponibles en la carpeta seleccionada.</li>
<li><a href="005.html">Barra de Herramientas</a>: Es una serie de botones que pueden ser pulsados para ejecutar rápidamente funciones específicas.</li>
<li><a href="010.html">Barra de Status </a>: Es un espacio utilizado para desplegar información referente al archivo seleccionado, el número total de archivos en una carpeta etc.</li>
<li><a href="012.html">Menú contextual </a>: Una serie de botones que pueden ser usados para ejecutar tareas específicas en el objeto sobre el cual se ha dado un click. Las opciones disponibles cambian dinamicamente dependiendo del tipo del objeto al cual se le dio un click.</li>
</ol>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/es-mx/files/002.html | HTML | gpl3 | 1,913 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder User's Guide</title>
<link href="other/help.css" type="text/css" rel="stylesheet" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
Botón Recargar </h1>
<p >
Cuando se trabaja en un espacio compartido como lo es CKFinder, en donde docenas o incluso cientos de usuarios están trabajando en los mismos archivos, podría suceder que alguno de estos otros usuarios realice cambios en el mismo folder en el que usted se encuentra trabajando en el justo momento en el que usted lo abrió. Para recargar la lista de archivos, solamente dé click sobre el botón "Recargar", esto le presentará la lista de archivos como se encuentra en ese instante.</p>
<p style="text-align: center">
<img height="25" src="images/011.png" width="288" height="24" alt="botón Actualizar" /> </p>
<p>Por ejemplo, imagine usted que tiene que crear una pagina para un nuevo producto de su compañía. Usted abre entonces CKFinder para obtener la fotografía del producto para ser incluida en el sitio web de la empresa, pero cuando abre la carpeta "Productos" usted no puede encontrar esa fotografía. Toma el teléfono y llama a "Beth", diciendo: "¡Hey Beth, la imagen del producto no se encuentra en CKFinder!". Beth dice entonces: "Ops... espera un minuto". Ella abre CKFinder en su computadora, sube el archivo con la fotografía desde su computadora y le dice: "Ahí está, solo Recarga". Usted entonces dá click sobre el botón "Recargar" y ¡voila!, el archivo aparece ahí para usted. Es por esto que CKFinder es tambien conocido como un programa de colaboración. </p>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/es-mx/files/007.html | HTML | gpl3 | 2,036 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder User's Guide</title>
<link href="other/help.css" type="text/css" rel="stylesheet" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
Pánel de Archivos</h1>
<p>
El Pánel de archivos lista los archivos disponibles en la carpeta seleccionada.</p>
<h2>
Vistas Diferentes</h2>
<p>El pánel de archivos puede presentar dos vistas diferentes, dependiendo de la configuración de CKFinder (vea "<a href="008.html">Ajustes</a>"). La siguiente, es una comparación de la vista "<strong>Miniaturas</strong>" y la vista "<strong>Lista</strong>" para la misma carpeta:</p>
<p style="text-align: center">
<img src="images/007.png" width="407" height="402" alt="Vista de Iconos"/>
</p>
<p style="text-align: center">
<img src="images/006.png" width="404" height="230" />
</p>
<h2>
Operaciones Básicas </h2>
<h3>
Seleccionar (Activar) un Archivo </h3>
<p>
Para seleccionar un archivo, y por ende convertirlo al "archivo activo" en CKFinder, simplemente dé click sobre el archivo. Para identificar más fácilmente que el puntero del mouse está sobre un archivo, el área del mismo será coloreada. El archivo seleccionado tendrá un color de fondo diferente (generalmente Azul).</p>
<h2>
Operaciones Avanzadas</h2>
<p>Se pueden realizar operaciones avanzadas en un archivo utilizando su "<a href="012.html">Menú de Contexto</a>". Las siguientes opciones estan disponibles: </p>
<p style="text-align: center">
<img height="122" src="images/008.png" width="90" height="122" alt="Menú contextual"/>
</p>
<p>
<span class="info">Nota:</span> Algunos botones del menu de contexto, podrían estar deshabilitados, esto depende de los ajustes que su administrador haya hecho en la configuración de CKFinder.</p>
<div>
<h3>
Seleccionar Archivos. </h3>
</div>
<p>
Para seleccionar un archivo, y por ende regresarlo a la aplicación solamente dé click sobre la opción "Seleccionar".</p>
<h3>
Visiualización (previsualización) de Archivos </h3>
<p>Para previsualizar un archivo en el browser, solo dé click en el botón "Visualizar". No todos los tipos de archivos pueden ser visualizados por los browsers, pero esta caracteristica es útil para imagenes, texto y archivos del tipo PDF. En otros casos, el browser le preguntará si desea abrir el archivo con la aplicación correspondiente. </p>
<div>
<h3>
Descargar (bajar) Archivos </h3>
<p>
Para descargar (bajar) un archivo, solo dé click en el botón "Descargar", el bropwser le solicitará el lugar donde desea guardar el archivo en su computadora personal. </p>
<h3>
Renombrar Archivos </h3>
</div>
<p>
Para renombrar un archivo, solo dé click en el botón "Renombrar" en el menú de contexto. Una ventana aparecerá con el nombre actual del archivo, donde deberá escribir el nuevo nombre y confirmar la operación.</p>
<p>No todos los caracteres pueden ser usados para establecer un nombre de archivo, debido a limitaciones en los sistemas donde CKFinder se ejecuta. Por ejemplo, los siguientes caracteres, no pueden usarse para dar nombre a carpetas ni archivos: <strong>\</strong> <strong>/</strong> <strong>:</strong> <strong>*</strong> <strong>?</strong> <strong>"</strong> <strong><</strong> <strong>></strong> <strong>|</strong></p>
<p><span class="warning">Atención:</span> Al renombrar un archivo, las ligas o inserciones de medios disponibles en otras paginas que apunten a archivos o carpetas dentro de aquel que fue renombrado podrían quedar "quebradas" y por lo mismo no disponibles más. Asi que sea cauteloso cuando use esta caracteristica.</p>
<div>
<h3>
Borrar Archivos </h3>
</div>
<p>
Para borrar un archivo, solo dé click en la opción "Borrar" del menú de contexto. Un mensaje de confirmación aparecerá para asegurarse que realmente esa operación es la que desea realizar.</p>
<p>
<span class="warning">Atención:</span> Al borrar un archivo, las ligas o inserciones de medios disponibles en otras paginas que apunten al archivo recien borrado, quedaran "quebradas" y por ende no disponibles más, asi que sea cauteloso al utilizar esta opción.</p>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/es-mx/files/004.html | HTML | gpl3 | 4,827 |
window.onload = function()
{
var copyP = document.createElement( 'p' ) ;
copyP.className = 'copyright' ;
copyP.innerHTML = '© 2007-2011 <a href="http://cksource.com" target="_blank">CKSource</a> - Frederico Knabben . Todos los derechos reservados.<br /><br />' ;
document.body.appendChild( document.createElement( 'hr' ) ) ;
document.body.appendChild( copyP ) ;
window.top.SetActiveTopic( window.location.pathname ) ;
}
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/es-mx/files/other/help.js | JavaScript | gpl3 | 445 |
body
{
margin: 0px;
font-family: Georgia, Trebuchet, Trebuchet MS, Verdana;
}
h1
{
background-color: #f5f5f5;
color: #696969;
padding-left: 20px;
padding-right: 20px;
padding-top: 10px;
padding-bottom: 10px;
margin: 0px;
margin-bottom: 40px;
}
p, ul, ol
{
margin-bottom: 30px;
margin-top: 0px;
margin-left: 40px;
margin-right: 40px;
}
ol, ul
{
padding-left:40px;
}
h2
{
margin-left: 20px;
margin-bottom: 30px;
margin-top: 0px;
}
h3
{
margin-left: 40px;
margin-bottom: 15px;
margin-top: 0px;
}
hr
{
margin-top: 0px;
}
.info
{
font-weight: bold;
}
.warning
{
font-weight: bold;
color: #ff0000;
}
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/es-mx/files/other/help.css | CSS | gpl3 | 687 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder User's Guide</title>
<link href="other/help.css" type="text/css" rel="stylesheet" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
Botón Ajustes </h1>
<p>
El botón "Ajustes", en <a href="005.html">la barra de herramientas</a>, abre el "pánel de ajustes", donde usted podrá configurar y personalizar CKFinder, he aquí un screenshot de el:</p>
<p style="text-align: center">
<img src="images/013.png" height="189" width="416" alt="Panel de Configuración"/></p>
<p>
Todos los ajustes son guardados automaticamente utilizando las denominadas "Cookies" de su browser. Las "Cookies" son pequeños archivos que contienen información de configuración proivada para sitios web especificos.</p>
<p>
Para cerrar el pánel de ajustes, solo dé click sobre el botón "Cerrar" o dé click nuevamente sobre el botón "Ajustes" de la barra de herramientas.</p>
<h2>
Opciones de Configuración </h2>
<p>
Todas las opciones de configuración tienen que ver con el <a href="004.html">Pánel de Archivos </a>.
Se usan para controlar como desplegar información en ese pánel. El Pánel de Archivos, reacciona inmediatamente a los cambios hechos en el Pánel de ajustes.</p>
<h3>
Vista</h3>
<p>
Controla el modo actual de vista del <a href="004.html">Pánel de Archivos</a>:</p>
<ul>
<li>El modo "<strong>Miniaturas</strong>" desplegará cada archivo como una "caja". Para las imagenes, una pequeña previsualización de ella (llamada miniatura) será desplegada dentro de la caja. Para otros tipos de archivo, un icono será mostrado en su lugar.</li>
</ul>
<ul>
<li>El modo "<strong>Lista</strong>" desplegará todos los archivos como una lista, uno abajo del otro. No se mostrará ningún tipo de previsualización en este modo.</li>
</ul>
<h3>
Mostrar</h3>
<p>
Ajusta la cantidad de información disponible en el pánel de archivos. Para ejemplificar, he aquí como se mostrarían los archivos cuando ningúna opción está seleccionada, hasta llegar a tener todas las opciones seleccionadas.</p>
<table align="center" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" style="padding-right: 10px">
<img src="images/014.gif" width="112" height="112" /></td>
<td valign="top" style="padding-right: 10px; padding-left: 10px">
<img src="images/015.gif" width="112" height="128" /></td>
<td valign="top" style="padding-right: 10px; padding-left: 10px">
<img src="images/016.gif" width="112" height="144" /></td>
<td valign="top" style="padding-left: 10px">
<img src="images/017.gif" width="112" height="160" /></td>
</tr>
</table>
</p>
<h3>
Ordenamiento</h3>
<p>
Controla el orden en el que los archivos serán listados. Puede ser alfabeticamente por el nombre del archivo, por fecha de creación del archivo siendo el más nuevo el primero o incluso por el tamaño del archivo.</p>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/es-mx/files/008.html | HTML | gpl3 | 3,486 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder User's Guide</title>
<link href="other/help.css" type="text/css" rel="stylesheet" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="other/help.js"></script>
<script type="text/javascript">
function CheckForm()
{
if ( document.getElementById( 'xSuggestion' ).value == '' )
{
alert( 'Please type your suggestion text before sending' ) ;
return false ;
}
document.getElementById( 'xSubmit' ).disabled = true ;
document.getElementById( 'spamcheck' ).value = 9945 + 13671 ;
return true ;
}
</script>
</head>
<body>
<h1>
Sugerencias</h1>
<p>
Sientase libre de para <a href="http://cksource.com/contact">enviarnos sus sugerencias</a> acerca de esta documentación. Estamos siempre dispuestos a mejorarla, para ofrecerle siempre un mejor software cada dia.</p>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/es-mx/files/suggestions.html | HTML | gpl3 | 1,021 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder User's Guide</title>
<link href="other/help.css" type="text/css" rel="stylesheet" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
Menú de Contexto </h1>
<p>
El "Menú de Contexto " es una serie de botones (llamados "menú") que pueden ser usados para ejecutar tareas específicas en el objeto que ha sido seleccionado con un click. Las opciones disponibles cambiarán dinamicamente dependiendo del objeto que haya sido seleccionado con un click.</p>
<h2>
Menus Disponibles </h2>
<p>
Los siguientes, son los menus que podría encontrar mientras trabaja con una instalación estandar de CKFinder
installation.</p>
<h3>
Menú de contexto para Carpetas </h3>
<p>
Aparece cuando da un click con el botón derecho del mouse sobre una carpeta en el <a href="003.html">Pánel de carpetas </a></p>
<p style="text-align: center">
<img src="images/004.png" width="124" height="75"/> </p>
<h3>
Menu de contexto de Archivo </h3>
<p>
Aparece cuando da click con el botón derecho del mouse sobre un archivo en el <a href="004.html"> Pánel de Archivos</a>:</p>
<p style="text-align: center">
<img src="images/008.png" width="90" height="122"/> </p>
<h3>
Menú de contexto de espacio vacío </h3>
<p>
Aparece cuando se da click con el botón derecho del mouse en el <a href="004.html">Pánel de archivos </a>, pero afuera de un archivo (en el fondo):</p>
<p style="text-align: center">
<img src="images/020.png" width="132" height="28" alt="Añadir nuevo fichero" /></p>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/es-mx/files/012.html | HTML | gpl3 | 1,898 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder User's Guide</title>
<link href="other/help.css" type="text/css" rel="stylesheet" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
Avisos Legales </h1>
<p>
CKFinder, incluyendo su documentación tiene Copyright © 2007-2011 por <a href="http://cksource.com" target="_blank">CKSource</a> - Frederico Knabben. Todos los derechos reservados, por favor asegurse de leer y entender la licencia de uso.<a href="license.html"> Licencia de CKFinder</a>. </p>
<p>
Los iconos usados en la barra de herramientas y los menus de contexto, han sido diseñados por Mark James.
Por favor entre a la siguiente dirección (URL) para obtener más información: <a href="http://www.famfamfam.com/lab/icons/silk/">http://www.famfamfam.com/lab/icons/silk/</a></p>
<h2>
Marcas Registradas </h2>
<p>
CKFinder, el logotipo de CKFinder, CKSource, CKEditor y FCKeditor son marcas registradas de <a href="http://cksource.com" target="_blank">CKSource</a> - Frederico Knabben.</p>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/es-mx/files/011.html | HTML | gpl3 | 1,278 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder User's Guide</title>
<link href="other/help.css" type="text/css" rel="stylesheet" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>Pánel de Carpetas </h1>
<p>
El pánel de carpetas, contiene la "vista de arbol" de las carpetas por las que se puede navegar, las carpetas, son una manera de organizar mejor los archivos.</p>
<p>
Se le llama "vista de arbol", por que se tienen las carpetas representadas jerarquicamente como las ramas de un arbol. Usa la misma representación gráfica que muchos sistemas operativos modernos.</p>
<h2>
Operaciones Básicas</h2>
<h3>
Abrir una carpeta </h3>
<p>
Para abrir una carpeta y revelar sus carpetas "hijas", simplemente haga click en el signo "más" (<img src="images/002.gif" alt="Signo más" width="9" height="9" />) en frente de la misma. Si el signo "más" no está presente, la carpeta no tiene carpetas hijas que puedan desplegarse.</p>
<p>
Vea "Cargado bajo demanda " al final de la pagina para un mejor entendimiento de como son cargadas las carpetas.</p>
<h3>
Cerrar una carpeta </h3>
<p>
Para cerrar una carpeta, y por ende esconder sus carpetas "hijas", simplemente dé click en el signo "menos" (<img
src="images/003.gif" alt="Signo menos" width="9" height="9" />) en frente de la misma.</p>
<h3>
Seleccionar una carpeta
</h3>
<p>
Para seleccionar una carpeta y por ende convertirla a "la carpeta actual" para CKFinder, simplemente dé click en el nombre de la carpeta o en su icono. La carpeta seleccionada tendrá un color de fondo diferente.</p>
<h2>
Operaciones Avanzadas </h2>
<p>
Es posible utilizar operaciones avanzadas en una carpeta, haciendo uso de su "<a href="012.html">Menú de contexto</a>", las siguientes opciones estan disponibles:</p>
<p style="text-align: center">
<img src="images/004.png" width="124" height="75" alt="Menú contextual"/> </p>
<p>
<span class="info">Nota:</span> Algunos botones de un menú de contexto podrían estar deshabilitados, dependiendo de los ajustes asignados por el administrador del sistema.</p>
<div>
<h3>
Crear Carpetas
</h3>
</div>
<p>
Para crear una carpeta "hija" dentro de una carpeta ya existente, solamente haga clic sobre la opción "Nueva Carpeta" del menú de contexto. Una ventana de dialogo aparecerá en donde deberá escribir el nombre de la nueva Carpeta, luego confirme la operación.</p>
<p>
No todos los caracteres pueden ser usados para establecer un nombre de carpeta, debido a limitaciones en los sistemas donde CKFinder se ejecuta. Por ejemplo, los siguientes caracteres, no pueden usarse para dar nombre a carpetas ni archivos: <strong>\</strong> <strong>/</strong> <strong>:</strong>
<strong>*</strong> <strong>?</strong> <strong>"</strong> <strong><</strong>
<strong>></strong> <strong>|</strong></p>
<div>
<h3>
Renombrar Carpetas</h3>
</div>
<p>
Para renombrar una carpeta, solo dé click en la opción "Renombrar" del menú de contexto. Una ventana de dialogo aparecerá conteniendo el nombre actual de la carpeta, ahí deberá escribir el nuevo nombre que desea asignar a la carpeta, luego confirme la operación.</p>
<p>
No todos los caracteres pueden ser usados para establecer un nombre de carpeta, debido a limitaciones en los sistemas donde CKFinder se ejecuta. Por ejemplo, los siguientes caracteres, no pueden usarse para dar nombre a carpetas ni archivos: <strong>\</strong> <strong>/</strong> <strong>:</strong> <strong>*</strong> <strong>?</strong> <strong>"</strong> <strong><</strong> <strong>></strong> <strong>|</strong></p>
<div></div>
<p><span class="warning">Atención:</span> Al renombrar una carpeta, las ligas o inserciones de medios disponibles en otras paginas que apunten a archivos o carpetas dentro de aquella que fue renombrada podrían quedar "quebradas" y por lo mismo no disponibles más. Asi que sea cauteloso cuando use esta caracteristica.</p>
<div>
<h3>
Borrar Carpetas</h3>
</div>
<p>
Para borrar una carpeta, incluyendo su contenido, solo dé click sobre la opción "Borrar" del menú de contexto. Un mensaje de confirmación aparecerá para asegurarse de que realmente desea eliminar dicha carpeta.</p>
<p><span class="warning">Atención:</span> Al renombrar una carpeta, las ligas o inserciones de medios disponibles en otras paginas que apunten a archivos o carpetas dentro de aquella que fue renombrada podrían quedar "quebradas" y por lo mismo no disponibles más. Asi que sea cauteloso cuando use esta caracteristica.</p>
<div>
<h2>
Cargado "Bajo demanda "</h2>
</div>
<p>
La diferencia más importante entre CKFinder y la "vista de arbol" que se encuentra en los sistemas operativos modernos, es que los folders se cargan "bajo demanda", esto significa que CKFinder no carga todo el arbol al inicio, sino que solo carga un pequeño subconjunto de el cuando se abre la carpeta, este es un requerimiento de aplicaciones avanzadas para web como lo es CKFinder.like CKFinder.</p>
<p>
Para indicar que las carpetas se están cargando, la etiqueta "Cargando..." podría aparecer cuando se intente abrir una carpeta.</p>
<p style="text-align: center">
<img src="images/005.png" width="143" height="76" alt="cargando..."/> </p>
<p>
La etiqueta desaparecerá automaticamente una vez que la carga de las carpetas haya terminado, una vez cargada, la etiqueta no aparecera más para esa carpeta.</p>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/es-mx/files/003.html | HTML | gpl3 | 6,175 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder User's Guide</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
body
{
margin: 0px;
font-family: Trebuchet, Trebuchet MS, Arial;
}
a { text-decoration: none ; }
a:hover { text-decoration: underline ; }
ul { list-style-type: none; padding-left: 20px; margin:0px; }
li { white-space: nowrap; padding-left:2px; padding-right:2px; }
.toc
{
background-color: #696969;
color: #f5f5f5;
margin: 0px;
font-weight: bold;
text-align: center;
}
.contents { padding: 10px; }
.active { color: highlighttext; background-color: highlight; }
</style>
<script type="text/javascript">
window.onload = function()
{
for ( var i = 0 ; i < document.links.length ; i++ )
{
var link = document.links[i] ;
link.target = 'CKDocsMain' ;
link.innerHTML = ' ' + link.innerHTML + ' ' ;
}
}
var lastLink = null ;
window.top.SetActiveTopic = function( topicUrl )
{
var pageName = topicUrl.match( /(?:^|\/|\\)([^\\\/]+)$/ )[1] ;
if ( lastLink )
lastLink.className = '' ;
for ( var i = 0 ; i < document.links.length ; i++ )
{
var link = document.links[i] ;
if ( link.href.match( /(?:^|\/|\\)([^\\\/]+)$/ )[1] == pageName )
{
lastLink = link ;
link.className = 'active' ;
return ;
}
}
}
</script>
</head>
<body>
<p class="toc">
Indice
</p>
<div class="contents">
<ul style="padding-left: 0px;">
<li><a href="001.html">Bienvenido</a></li>
<li><a href="002.html">La interface de CKFinder</a>
<ul>
<li><a href="003.html">El pánel de carpetas </a></li>
<li><a href="004.html">El pánel de archivos </a></li>
<li><a href="005.html">La barra de herramientas </a>
<ul>
<li><a href="006.html">Subir archivos </a></li>
<li><a href="007.html">Recargar</a></li>
<li><a href="008.html">Ajustes</a></li>
<li><a href="009.html">Ayuda</a></li>
</ul>
</li>
<li><a href="010.html">La barra de Estado </a></li>
<li><a href="012.html">Menú de contexto </a></li>
</ul>
</li>
<li><a href="013.html">Compatibilidad y requerimientos del sistema </a></li>
<li><a href="011.html">Avisos legales </a></li>
<li><a href="suggestions.html">¿Sugerencias?</a></li>
</ul>
</div>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/es-mx/files/toc.html | HTML | gpl3 | 2,539 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder User's Guide</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
body
{
margin: 0px;
font-family: Trebuchet, Trebuchet MS, Verdana;
background-color: #696969;
color: #f5f5f5;
padding-left: 20px;
padding-right: 20px;
overflow: hidden;
}
a { color: #f5f5f5; text-decoration: none ; }
a:hover { text-decoration: underline ; }
</style>
</head>
<body>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="middle">
<h2 style="margin: 0px; padding: 0px;">
Guía del Usuario de CKFinder</h2>
</td>
<td align="right" valign="middle">
<a href="http://ckfinder.com" target="_blank">Visite el sitio Web de CKFinder</a></td>
</tr>
</table>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/es-mx/files/header.html | HTML | gpl3 | 967 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder User's Guide</title>
<link href="other/help.css" type="text/css" rel="stylesheet" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
Barra de Herramientas </h1>
<p>
La barra de herramientas, es un área dedicada situada al inicio de la interface de CKFinder. Contiene una serie de botones a los que se puede dar click para ejecutar rápidamente funciones específicas. Este es un screenshot de esta barra:</p>
<p style="text-align: center">
<img src="images/009.png" height="24" width="286" alt="Barra de herramientas"/>
</p>
<h2>
Botones de la barra de herramientas </h2>
<p>
La siguiente, es una lista de los botones que están disponibles en una barra de herramientas estandar:</p>
<ul>
<li><a href="006.html">Subir</a>: Abre el "Panél de Subida ", que puede ser usado para agregar nuevos archivos a la carpeta actual.</li>
<li><a href="007.html">Recargar</a>: Recarga la lista de archivos en el <a href="004.html">Pánel de Archivos</a>.</li>
<li><a href="008.html">Ajustes</a>: Abre el "Pánel de Ajustes", en donde podrá configurar y personalizar CKFinder.</li>
<li><a href="009.html">Ayuda</a>: Abrirá esta Guía del Usuario. </li>
</ul>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/es-mx/files/005.html | HTML | gpl3 | 1,526 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder User's Guide</title>
<link href="other/help.css" type="text/css" rel="stylesheet" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
Barra de Estado</h1>
<p>
La "Barra de Estado" es un pequeño espacio usado para desplegar información relevante al archivo seleccionado, el número total de archivos en la carpeta, etc. Se puede encontrar al final de la interface de CKFinder</p>
<p>
Si <strong>un archivo es seleccionado </strong> en CKFinder, la barra de estado desplegará información detallada acerca de ese archivo en particular, contendrá el nombre del archivo, su tamaño y la fecha de su última modificación, por ejemplo: </p>
<p style="text-align: center">
<img src="images/018.png" width="257" height="16" alt="adivina.xls (2444Kb 21/03/2011)"/> </p>
<p>Si<strong> ningún archivo está seleccionado</strong> por el contrario, el número total de archivos en la carpeta actual será mostrado. Por ejemplo: </p>
<p style="text-align: center">
<img src="images/019.png" width="145" height="15" alt="2 ficheros"/> </p>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/es-mx/files/010.html | HTML | gpl3 | 1,409 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder User's Guide</title>
<link href="other/help.css" type="text/css" rel="stylesheet" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
Botón "Subir"</h1>
<p>
El botón "Subir" en <a href="005.html">la barra de herramientas </a>, abre el "Pánel de Subida", que puede ser usado para agregar nuevos archivos a la carpeta actual, he aquí un screenshot de este pánel:</p>
<p style="text-align: center">
<img height="153" src="images/012.png" width="418" height="155" alt="Panel para añadir ficheros"/> </p>
<p>
Para cerrar el pánel de subida, solo dé click sobre el botón "Cancelar", o haga click nuevamente sobre el botón "Subir" de la barra de herramientas.</p>
<p>
* "<strong>Subir</strong>" es un término técnico. Se refiere a la acción de transferir un archivo situado en su computadora local a otra computadora central, (también conocida como Servidor).</p>
<h2>
Pasos para Subir un Archivo </h2>
<ol>
<li>Seleccione el archivo de su computadora dando click sobre el botón "Browse". El texto de este botón puede variar de browser a browser, pero siempre estará localizado justo a la derecha del campo "Seleccione archivo que desea subir".</li>
<li>Dé click sobre el botón "Subir el archivo seleccionado ". Un mensaje aparecerá indicando que la transferencia está en progreso.</li>
<li>Espere a que la transferencia termine. Una vez completada el "Pánel de Subida" se cerrará automaticamente y el archivo que subió será seleccionado en el <a href="004.html">Pánel de Archivos</a></li>
</ol>
<h2>
Mensajes de la transferencia. </h2>
<p>
Los siguientes, son los mensajes que podrían aparecer mientras se transfiere un archivo: </p>
<h3>
Un archivo con el mismo nombre ya se encuentra en uso. El archivo que subió ha sido renombrado a: "filename(1).ext"</h3>
<p>
<strong></strong>Indica que el nombre del archivo que subió ya se encuentra en uso por otro archivo en la misma carpeta, para evitar un conflicto, un número progresivo (aquel que estará entre los parentesis), ha sido agregado al final del nombre original.</p>
<h3>
Archivo no válido </h3>
<p>
El archivo que subió no ha sido aceptado. </p>
<p>
La causa mas común de este menesaje, es que CKFinder ha sido configurado para NO aceptar el tipo de archivo que está usted intentando subir, basado en su extensión. Esta, es una restricción de seguridad. Otra causa puede ser que el tamaño del archivo es demasiado grande para el sistema destino, en este caso, el servidor deberá ser configurado para aceptar un archivo de mayor tamaño.</p>
<h3>Transferencia cancelada por razones de seguridad. El archivo contiene datos que podrían ser HTML.</h3>
<p>El archivo que subió contiene código HTML. Por razones de seguridad solamente archivos con ciertas extensiones son permitidos cuando contienen código HTML.</p>
<p>
Por favor contacte al Administrador del sistema para obtener mayor información referente a los tipos de archivo aceptados y sus límtes en tamaño.</p>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/es-mx/files/006.html | HTML | gpl3 | 3,677 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder käyttöohje</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<frameset rows="50,*" bordercolor="#f5f5f5">
<frame src="files/header.html" noresize="1" frameborder="0" bordercolor="#f5f5f5"></frame>
<frameset cols="200,*">
<frame src="files/toc.html" bordercolor="#f5f5f5"></frame>
<frame src="files/001.html" name="CKDocsMain" bordercolor="#f5f5f5"></frame>
</frameset>
</frameset>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/fi/index.html | HTML | gpl3 | 584 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder käyttöohje</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="other/help.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
Yhteensopivuus ja järjestelmävaatimukset
</h1>
<p>
CKFinder on "nettisovellus", jota siis käytetään selaimella.
Siksi sitä on helppo käyttää koneella kuin koneella
käyttöjärjestelmästä riippumatta. </p>
<p>
Nykyisellään CKFinder toimii seuraavien selaimien kanssa:
<ul>
<li>Internet Explorer 6.0+</li>
<li>Firefox 2.0+</li>
<li>Safari 3+</li>
<li>Google Chrome</li>
<li>Opera 9.5+</li>
<li>Camino 1.0+</li>
</ul>
</p>
<p>
Eräät ominaisuudet riippuvat selaimesi asetuksista. Selaimesi pitäisi toimia oletusasetusilla
CKFinderin kanssa. Jos ongelmia ilmenee <a href="012.html">pikavalikon</a> käyttämisessä
tai <a href="008.html">asetuksien</a> tallentamisen kanssa, varmistu, että selaimesi
"<strong>sallii pikavalikon muokkaamisen skriptien avulla</strong>"
("salli skriptien vastaanottaa hiiren oikean näppäimen napsautus"). Varmistu, että olet
sallinut "<strong>evästeiden käyttämisen</strong>".</p>
<p>
Ota yhteyttä pääkäyttäjään, jos epäilet asetusten toimivuutta.</p>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/fi/files/013.html | HTML | gpl3 | 1,476 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder käyttöohje</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="other/help.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
Tervetuloa CKFinderiin
</h1>
<p>
<strong>CKFinder on ryhmätyöohjelmisto</strong>, joka helpottaa tiedostojen ylläpitoa ja jakelua palvelimella.</p>
<p>
Olet sitten vasta-alkaja tai kokenut CKFinderin käyttäjä,
kannattaa silmäillä ohjeet lävitse. Aina voi löytyä uutta opittavaa,
vaikka ohjelma onkin yksinkertainen, mutta tehokas.
</p>
<h2>
Juridisia huomautuksia
</h2>
<p>
Katso <a href="011.html" title="Linkki juridisiin huomautuksiin">Juridiset huomautukset</a>.
</p>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/fi/files/001.html | HTML | gpl3 | 975 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder käyttöohje</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="other/help.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
Apua-nappi
</h1>
<p>
Avaa käyttöohjeen uuteen ikkunaan. </p>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/fi/files/009.html | HTML | gpl3 | 469 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder käyttöohje</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="other/help.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
CKFinderin käyttöoikeussopimus
</h1>
<iframe src="../../../license.txt" style="width:800px;height:600px"></iframe>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/fi/files/license.html | HTML | gpl3 | 520 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder käyttöohje</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="other/help.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
CKFinder-käyttöliittymän yleiskuva
</h1>
<p>
CKFinderin käyttöliittymä on suunniteltu selkeäksi ja helposti opittavaksi.
Useimpia toimintoja voidaan käyttää hiiren ja pikavalikon avulla.
</p>
<p>
Kuvaruutukaappaus CKFinderista:
</p>
<p style="text-align: center">
<img src="../../en/files/images/001.gif" alt="CKFinder Screenshot" height="402" width="609" />
</p>
<ol>
<li><a href="003.html">Kansioruutu</a>: kansioiden muodostama puurakenne.
Kansioiden avulla järjestellään tiedostoja. </li>
<li><a href="004.html">Tiedostoruutu</a>: listaa kansiossa sijaitsevat tiedostot. </li>
<li><a href="005.html">Työkalurivi</a>: toiminto käynnistetään nappia painamalla. </li>
<li><a href="010.html">Tilarivi</a>: tila, josta ilmenee tietoja valitusta tiedostosta,
tiedostojen lukumäärä kansiossa, jne. </li>
<li><a href="012.html">Pikavalikko</a>: luettelo napeista, joilla voidaan käynnistää
valittuun kohteeseen liittyviä toimintoja. Toiminnot vaihtuvat valitun kohteen tyypin mukaan.</li>
</ol>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/fi/files/002.html | HTML | gpl3 | 1,468 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder käyttöohje</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="other/help.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
Päivitä-nappi
</h1>
<p >
<strong>Jaetussa ohjelmistoympäristössä</strong>, kuten CKFinder, voi työskennellä
useita käyttäjiä yhtä aikaa. Tällöin yhteisessä kansiossa oleviin tiedostoihin voi tulla
lähes samanaikaisia muutoksia. Saat muutokset näkyviin "Päivitä"-toiminnolla. </p>
<p style="text-align: center">
<img height="25" src="../../en/files/images/011.gif" width="258" /> </p>
<p>
Oletetaan, että luot uuden sivun yrityksenne tuliterälle tuotteelle. Avaat CKFinderin
ladataksesi tuotekuvan tekemällesi sivulle. Mutta avatessasi "Tuotteet"-kansiota, kuvaa
ei löydykään. Pirautat "Maikille", ja ihmettelet, mihin kuvat ovat kadonneet. Maikki
pyytää odottamaan tovin ja lataa kuvan palvelimelle. Sitten hän kehottaa sinua
päivittämään kansiorakenteesi. Ja voila! Siellähän kuva näkyykin.
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/fi/files/007.html | HTML | gpl3 | 1,265 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder käyttöohje</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="other/help.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
Tiedostoruutu
</h1>
<p>
Tiedostoruutu listaa kansiossa sijaitsevat tiedostot.</p>
<h2>
Näkymät</h2>
<p>
Tiedostoruutu voidaan esittää kahdella eri tavalla, riippuen CKFinderin asetuksista (katso
"<a href="008.html">Asetukset</a>"). Ohessa vertailu "<strong>Esikatselukuva</strong>"
ja "<strong>Luettelo</strong>" -näkymästä samalle kansiolle:</p>
<p style="text-align: center">
<img src="../../en/files/images/007.gif" width="404" height="332" />
</p>
<p style="text-align: center">
<img src="../../en/files/images/006.gif" width="404" height="332" />
</p>
<h2>
Perustoiminnot </h2>
<h3>
Tiedoston valinta (aktivointi)</h3>
<p>
Napsauta tiedostoa valitaksesi sen. Kun osoitin on tiedoston päällä, tiedostoalue
muuttaa väriään. Valitun tiedoston taustan väri muuttuu, yleensä siniseksi.
</p>
<h2>
Edistyneemmät toiminnot
</h2>
<p>
Tiedoston edistyneempiin toimintoihin pääset "<a href="012.html">pikavalikosta</a>".
Seuraavat toiminnot ovat valittavissa:
</p>
<p style="text-align: center">
<img height="122" src="../../en/files/images/008.gif" width="82" />
</p>
<p>
<span class="info">Huom:</span> Jotkin pikavalikon valinnat voivat olla kytkettynä pois,
mikäli pääkäyttäjä on näin valinnut.
</p>
<div>
<h3>
Tiedoston valitseminen
</h3>
</div>
<p>
Valitse tiedosto napsauttamalla "Valitse"-toimintoa.</p>
<h3>
Tiedoston esikatselu
</h3>
<p>
Napsauta "Näytä" esikatselleksallesi tiedosta selaimessa. Kaikentyyppisiä tiedostoja
ei voida näyttää selaimessa, mutta kuvat, teksti ja PDF-tiedostot (Adobe Portable Document Format)
voidaan. Muissa tapauksissa selain kysyy, millä sovelluksella haluat tiedoston avata. </p>
<div>
<h3>
Tiedostojen lataaminen omalle koneelle</h3>
<p>
Ladataksesi tiedoston, napsauta "Lataa"-nappia. Selain pyytää esittämään paikallisen kansion,
johon haluat tiedoston ladata. </p>
<h3>
Tiedostojen uudelleennimeäminen
</h3>
</div>
<p>
Napsauta "Uudelleennimeä"-nappia pikavalikosta antaaksesi tiedostolle uuden nimen.
Näkyviin ilmestyy ikkuna, joss lukee tiedoston nykyinen nimi. Anna uusi nimi ja kuittaa.
</p>
<p>
Kansio- ja tiedostonimissä ei voi käyttää kaikkia merkkejä. Tämä on
käyttöjärjestelmäkohtaista. Esim. :
<strong>\</strong> <strong>/</strong> <strong>:</strong> <strong>*</strong>
<strong>?</strong> <strong>"</strong> <strong><</strong>
<strong>></strong> <strong>|</strong></p>
<p>
<span class="warning">Huom:</span> Kun uudelleennimeät kansion, linkin tai mediatiedoston,
jota käytetään jollain toisellakin sivulla, toisen sivun linkit rikkoontuvat. Ole siis
varovainen toimenpiteen suhteen.</p>
<div>
<h3>
Tiedoston poistaminen
</h3>
</div>
<p>
Poistaaksesi tiedoston, napsauta "Poista" pikavalikossa. Näkyviin ilmestyy
ikkuna, jossa kysytään varmistusta toimenpiteelle.
</p>
<p>
<span class="warning">Huom:</span> Kun poistat kansion, linkin tai mediatiedoston,
jota käytetään jollain toisellakin sivulla, toisen sivun linkit rikkoontuvat. Ole siis
varovainen toimenpiteen suhteen.</p>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/fi/files/004.html | HTML | gpl3 | 3,642 |
window.onload = function()
{
var copyP = document.createElement( 'p' ) ;
copyP.className = 'copyright' ;
copyP.innerHTML = '© 2007-2011 <a href="http://cksource.com" target="_blank">CKSource</a> - Frederico Knabben . Kaikki oikeudet pidätetään.<br /><br />' ;
document.body.appendChild( document.createElement( 'hr' ) ) ;
document.body.appendChild( copyP ) ;
window.top.SetActiveTopic( window.location.pathname ) ;
}
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/fi/files/other/help.js | JavaScript | gpl3 | 445 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder käyttöohje</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="other/help.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
Asetukset-nappi
</h1>
<p>
"Asetukset"-nappi <a href="005.html">työkalurivillä</a> avaa "Asetusruudun",
jossa voit konfiguroida ja muokata CKFinderia. Tässä kuvaruutukaappaus:
</p>
<p style="text-align: center">
<img src="../../en/files/images/013.gif" height="190" width="404" /></p>
<p>
Kaikki asetukset tallennetaan hyödyntäen selaimen evästeitä (cookies).
Evästeet, "keksit", ovat pieniä tiedostoja, jotka sisältävät käyttäjäkohtaisia
konfigurointiasetuksia. Kullekin sivustolle on oma evästeensä. </p>
<p>
Napsauta "Sulje"-nappia tai "Asetukset"-nappia toistamiseen sulkeaksesi asetusruudun.</p>
<h2>
Konfigurointivalinnat</h2>
<p>
Kaikki konfigurointivalinnat liittyvät <a href="004.html">tiedostoruutuun</a>.
Niitä käytetään tietoruudun informaation esittämistavan valitaan. Tiedostoruutu reagoi
välittömästi asetusmuutoksiin. </p>
<h3>
Näkymä</h3>
<p>
Hallinnoi näkymätyypin valintaa <a href="004.html">tiedostoruudussa</a>:</p>
<ul>
<li>"<strong>Esikatselukuvat</strong>" näyttää jokaisen tiedoston "laatikkona".
Vain kuvat näytetään pienoiskoossa, muille tiedostoille näkyy kuvake. </li>
</ul>
<ul>
<li>"<strong>Luettelo</strong>" näyttää kaikki tiedostot alekkaisena listana.
Esikatselukuvia ei näytetä.</li>
</ul>
<h3>
Näytä
</h3>
<p>
Asettaa näytettävän informaation määrän tiedostoruudulle. Esimerkkinä näytetään alla
vaihtoehdot eri informaatiomäärävalinnoilla:</p>
<p style="text-align:center">
<table align="center" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" style="padding-right: 10px">
<img src="../../en/files/images/014.gif" width="112" height="112" /></td>
<td valign="top" style="padding-right: 10px; padding-left: 10px">
<img src="../../en/files/images/015.gif" width="112" height="128" /></td>
<td valign="top" style="padding-right: 10px; padding-left: 10px">
<img src="../../en/files/images/016.gif" width="112" height="144" /></td>
<td valign="top" style="padding-left: 10px">
<img src="../../en/files/images/017.gif" width="112" height="160" /></td>
</tr>
</table>
</p>
<h3>
Lajittele</h3>
<p>
Asettaa järjestyksen, jossa tiedostot näytetään: aakkosjärjestyksessä tiedostonimien
perusteella, tiedoston luontipäivämäärän mukaan (uusimmat ensin) tai tiedostokoon
mukaisesti. </p>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/fi/files/008.html | HTML | gpl3 | 2,857 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder käyttöohje</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="other/help.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="other/help.js"></script>
<script type="text/javascript">
function CheckForm()
{
if ( document.getElementById( 'xSuggestion' ).value == '' )
{
alert( 'Kirjoita ehdotuksesi ennen viestin llähettämistä!' ) ;
return false ;
}
document.getElementById( 'xSubmit' ).disabled = true ;
document.getElementById( 'spamcheck' ).value = 9945 + 13671 ;
return true ;
}
</script>
</head>
<body>
<h1>
Kehitysehdotuksesi
</h1>
<p>
<a href="http://cksource.com/contact">Lähetä ehdotuksesi</a> dokumentaation kehittämiseksi.
Parannamme mielellämme sovelluksiamme ja niiden käyttöohjeita.</p>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/fi/files/suggestions.html | HTML | gpl3 | 979 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder käyttöohje</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="other/help.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
Pikavalikko
</h1>
<p>
"Pikavalikko" koostuu napeista (valikkorivit), joilla käynnistetään pikavalikon
kohteeseen liittyviä toimintoja. Näkyvät toiminnot vaihtuvat valitun kohteen
mukaisesti. </p>
<h2>
Käytettävät valikot</h2>
<p>
Seuraavat valikot löydät vakio-CKFinder-asennuksesta.
</p>
<h3>
Kansion pikavalikko</h3>
<p>
Valikko ilmestyy, kun napsautat kansiota <a href="003.html">hakemistoruudussa</a>
hiiren oikealla näppäimellä:</p>
<p style="text-align: center">
<img src="../../en/files/images/004.gif" /> </p>
<h3>
Tiedoston pikavalikko</h3>
<p>
Valikko ilmestyy, kun napsautat tiedostoa <a href="004.html">tiedostoruudussa</a>
hiiren oikealla näppäimellä:</p>
<p style="text-align: center">
<img src="../../en/files/images/008.gif" /> </p>
<h3>
Pikavalikko tyhjälle valinnalle</h3>
<p>
Valikko ilmestyy, kun napsautat <a href="004.html">tiedostoruudussa</a>, mutta
tiedostonimen vieressä (taustaa) hiiren oikealla näppäimellä:</p>
<p style="text-align: center">
<img src="../../en/files/images/020.gif" /></p>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/fi/files/012.html | HTML | gpl3 | 1,529 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder käyttöohje</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="other/help.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
Juridisia huomautuksia
</h1>
<p>
CKFinderin, ja tämän dokumentaation, tekijänoikeudet omistaa © 2007-2011 <a href="http://cksource.com" target="_blank">CKSource</a> - Frederico Knabben.
Kaikki oikeudet pidätetään.
Varmistu, että olet lukenut ja ymmärtänyt <a href="license.html">CKFinder-käyttöoikeussopimuksen</a>.
</p>
<p>
Mark James on suunnitellut työkalurivin ja pikavalikon kuvakkeet.
Tutustu seuraavaan sivuun lisätietoja saadaksesi:<br />
<a href="http://www.famfamfam.com/lab/icons/silk/">http://www.famfamfam.com/lab/icons/silk/</a></p>
<h2>
Tuotemerkit
</h2>
<p>
CKFinder, CKFinderin logo, CKSource, CKEditor ja FCKeditor ovat
<a href="http://cksource.com" target="_blank">CKSource</a> - Frederico Knabben omistamia tuotemerkkejä.
</p>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/fi/files/011.html | HTML | gpl3 | 1,209 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder käyttöohje</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="other/help.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
Kansioruutu
</h1>
<p>
Kansioiden muodostama puurakenne, jossa voidaan liikkua.
Kansioiden avulla järjestellään tiedostoja.</p>
<p>
Rakennetta kutsutaan puunäkymäksi, koska kansiot on esitetty hierarkkisesti kuten puun oksat.
Yleisilme vastaa modernien graafisten käyttöjärjestelmien tiedostoselainnäkymää.</p>
<h2>
Perustoiminnat
</h2>
<h3>
Kansion avaaminen
</h3>
<p>
Avataksesi kansion, eli näyttääksesi alikansiot, napsauta kansion edessä olevaa plusmerkkiä
(<img src="../../en/files/images/002.gif" height="9" width="9" />). Jollei plusmerkkiä näy, kansio ei sisällä alikansioita.
</p>
<p>
Katso "Kutsusta lataaminen" alempana tällä sivulla ymmärtääksesi, kuinka kansioiden lataaminen toimii.
</p>
<h3>
Kansion sulkeminen
</h3>
<p>
Paina kansion edessä näkyvää miinusmerkkiä sulkeaksesi kansion
(<img src="../../en/files/images/003.gif" height="9" width="9" />).
</p>
<h3>
Kansion valitseminen
</h3>
<p>
Valitaksesi kansion, napsauta kansionimeä tai -kuvaketta. Valitun kansion taustaväri muuttuu.
</p>
<h2>
Edistyneemmät toiminnot
</h2>
<p>
Kansion edityneempiin toimintoihin pääset "<a href="012.html">pikavalikosta</a>".
Tarjolla on seuraavat valinnat:
</p>
<p style="text-align: center">
<img src="../../en/files/images/004.gif" width="104" height="75" /> </p>
<p>
<span class="info">Huom:</span> Jotkin pikavalikon valinnat voivat olla kytkettynä pois,
mikäli pääkäyttäjä on näin valinnut.
</p>
<div>
<h3>
Kansioiden luominen
</h3>
</div>
<p>
Luodaksesi alikansion, napsauta "Uusi alikansio" -valintaa pikavalikossa.
Valintaruutu ilmestyy kysyen lisättävän kansion nimeä. Kirjoita ja vahvista nimi.
</p>
<p>
Kansio- ja tiedostonimissä ei voi käyttää kaikkia merkkejä. Tämä on
käyttöjärjestelmäkohtaista. Esim. :
<strong>\</strong> <strong>/</strong> <strong>:</strong> <strong>*</strong>
<strong>?</strong> <strong>"</strong> <strong><</strong>
<strong>></strong> <strong>|</strong></p>
</p>
<div>
<h3>
Kansion uudelleennimeäminen
</h3>
</div>
<p>
Uudelleennimetäksesi kansion, napsauta "Uudelleennimeä"-valintaa pikavalikossa.
Ilmestyy valintaikkuna, jossa näkyy kansion nykyinen nimi. Kirjoita uusi nimi
ja vahvista valinta.
</p>
<p>
Kansio- ja tiedostonimissä ei voi käyttää kaikkia merkkejä. Tämä on
käyttöjärjestelmäkohtaista. Esim. :
<strong>\</strong> <strong>/</strong> <strong>:</strong> <strong>*</strong>
<strong>?</strong> <strong>"</strong> <strong><</strong>
<strong>></strong> <strong>|</strong></p>
<p>
<span class="warning">Huom:</span> Kun uudelleennimeät kansion, linkin tai mediatiedoston,
jota käytetään jollain toisellakin sivulla, toisen sivun linkit rikkoontuvat. Ole siis
varovainen toimenpiteen suhteen.</p>
<div>
<h3>
Kansion poistaminen
</h3>
</div>
<p>
Poistaaksesi kansion sisältöineen, napsauta "Poista" pikavalikossa. Näkyviin ilmestyy
ikkuna, jossa kysytään varmistusta toimenpiteelle.
</p>
<p>
<span class="warning">Huom:</span> Kun poistat kansion, linkin tai mediatiedoston,
jota käytetään jollain toisellakin sivulla, toisen sivun linkit rikkoontuvat. Ole siis
varovainen toimenpiteen suhteen.</p>
<div>
<h2>
"Kutsusta lataaminen"
</h2>
</div>
<p>
CKFinderissa kansioiden sisältö ladataan "kutsusta" toisin kuin paikallisia
kansioita selattaessa. Ts. aluksi ladataan vain puurakenteen näkyvät kansiot,
ja vasta avattaessa kansiota ladataan alikansiot ja tiedostot näkyviin. Tämä
on tavallista nettisovellusten suhteen.
</p>
<p>
Kansioiden latautumisen havaitset ilmoituksesta "Lataan...":
</p>
<p style="text-align: center">
<img src="../../en/files/images/005.gif" width="150" height="78" /> </p>
<p>
Ilmoitus katoaa automaattisesti kansion lataannuttua. Ensimmäisen latauskerran
jälkeen ilmoituksen ei pitäisi uudelleen ilmestyä samalle kansiolle.
</p>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/fi/files/003.html | HTML | gpl3 | 4,525 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder käyttöohje</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
body
{
margin: 0px;
font-family: Trebuchet, Trebuchet MS, Arial;
}
a { text-decoration: none ; }
a:hover { text-decoration: underline ; }
ul { list-style-type: none; padding-left: 20px; margin:0px; }
li { white-space: nowrap; padding-left:2px; padding-right:2px; }
.toc
{
background-color: #696969;
color: #f5f5f5;
margin: 0px;
font-weight: bold;
text-align: center;
}
.contents { padding: 10px; }
.active { color: highlighttext; background-color: highlight; }
</style>
<script type="text/javascript">
window.onload = function()
{
for ( var i = 0 ; i < document.links.length ; i++ )
{
var link = document.links[i] ;
link.target = 'CKDocsMain' ;
link.innerHTML = ' ' + link.innerHTML + ' ' ;
}
}
var lastLink = null ;
window.top.SetActiveTopic = function( topicUrl )
{
var pageName = topicUrl.match( /(?:^|\/|\\)([^\\\/]+)$/ )[1] ;
if ( lastLink )
lastLink.className = '' ;
for ( var i = 0 ; i < document.links.length ; i++ )
{
var link = document.links[i] ;
if ( link.href.match( /(?:^|\/|\\)([^\\\/]+)$/ )[1] == pageName )
{
lastLink = link ;
link.className = 'active' ;
return ;
}
}
}
</script>
</head>
<body>
<p class="toc">
Sisällysluettelo
</p>
<div class="contents">
<ul style="padding-left: 0px;">
<li><a href="001.html">Tervetuloa</a></li>
<li><a href="002.html">CKFinderin käyttöliittymä</a>
<ul>
<li><a href="003.html">Kansioruutu</a></li>
<li><a href="004.html">Tiedostoruutu</a></li>
<li><a href="005.html">Työkalurivi</a>
<ul>
<li><a href="006.html">Lataa palvelimelle</a></li>
<li><a href="007.html">Päivitä</a></li>
<li><a href="008.html">Asetukset</a></li>
<li><a href="009.html">Apua</a></li>
</ul>
</li>
<li><a href="010.html">Tilarivi</a></li>
<li><a href="012.html">Pikavalikko</a></li>
</ul>
</li>
<li><a href="013.html">Yhteensopivuus- ja järjestelmävaatimukset</a></li>
<li><a href="011.html">Juridisia huomautuksia</a></li>
<li><a href="suggestions.html">Ehdotuksia?</a></li>
</ul>
</div>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/fi/files/toc.html | HTML | gpl3 | 2,484 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder käyttöohje</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
body
{
margin: 0px;
font-family: Trebuchet, Trebuchet MS, Verdana;
background-color: #696969;
color: #f5f5f5;
padding-left: 20px;
padding-right: 20px;
overflow: hidden;
}
a { color: #f5f5f5; text-decoration: none ; }
a:hover { text-decoration: underline ; }
</style>
</head>
<body>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="middle">
<h2 style="margin: 0px; padding: 0px;">
CKFinder käyttöohje</h2>
</td>
<td align="right" valign="middle">
<a href="http://ckfinder.com" target="_blank">Poikkea CKFinderin kotisivulla</a></td>
</tr>
</table>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/fi/files/header.html | HTML | gpl3 | 949 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder käyttöohje</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="other/help.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
Työkalurivi
</h1>
<p>
CKFinderin yläreunassa sijaitseva työkalurivi koostuu napeista, joita napsauttamalla
käynnistetään eri toimintoja.
Tässä kuvaruutukaappaus työkalurivistä:
</p>
<p style="text-align: center">
<img src="../../en/files/images/009.gif" height="25" width="258" />
</p>
<h2>
Työkalurivin napit</h2>
<p>
Alla vakiotyökalurivin napit listattuna:</p>
<ul>
<li><a href="006.html">Lataa palvelimelle</a>: Avaa "Lataa palvelimelle"-ruudun,
jonka avulla lisätään uusia tiedostoja valittuun kansioon.</li>
<li><a href="007.html">Päivitä</a>: Päivittää tiedostolistauksen <a href="004.html">
tiedostoruudussa</a>.</li>
<li><a href="008.html">Asetukset</a>: Avaa "Asetusruudun", jonka avulla voit muokata
CKFinderin toimintaa.</li>
<li><a href="009.html">Apua</a>: Avaa tämän käyttöohjeen.</li>
</ul>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/fi/files/005.html | HTML | gpl3 | 1,295 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder käyttöohje</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="other/help.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
Tilarivi
</h1>
<p>
"Tilariviltä" ilmenee tietoja valitusta tiedostosta, tiedostojen lukumäärä
kansiossa, jne.
</p>
<p>
Jos <strong>tiedosto on valittuna</strong> CKFinderissa tilarivi näyttää
tiedoston yksityiskohtaiset tiedot: tiedostonimi, -koko ja viimeisin
muokkauspäivämäärä. Esimerkiksi: </p>
<p style="text-align: center">
<img src="../../en/files/images/018.gif" height="17" width="221" /> </p>
<p>
Jos <strong>tiedostoja ei ole valittuna</strong>, näytetään valitussa
kansiossa olevien tiedostojen lukumäärä. Esimerkiksi: </p>
<p style="text-align: center">
<img src="../../en/files/images/019.gif" height="17" width="221" /> </p>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/fi/files/010.html | HTML | gpl3 | 1,108 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder käyttöohje</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="other/help.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
Lataa palvelimelle -nappi
</h1>
<p>
Lataa palvelimelle -nappi* <a href="005.html">työkalurivillä</a> avaa
"Lataa palvelimelle" -ruudun, jonka avulla lisätään uusia tiedostoja valittuun kansioon.
Tässä kuvaruutukaappaus: </p>
<p style="text-align: center">
<img height="153" src="../../en/files/images/012.gif" width="404" /> </p>
<p>
Napsauta "Peru"-nappia sulkeaksesi ruudun, tai napsauta uudelleen "Lataa palvelimelle"-nappia
työkalurivillä.</p>
<p>
* "<strong>Lataa palvelimelle</strong>" -termi tarkoittaa tiedoston siirtämistä paikalliselta
tietokoneelta palvelimelle.</p>
<h2>
Latauksen vaiheet</h2>
<ol>
<li>Valitse tiedosto koneeltasi "Selaa..."-napilla. Napin teksti vaihtelee selaimittain,
mutta se sijaitsee aina heti kentän "Valitse ladattava tiedosto" jälkeen.</li>
<li>Napsauta nappia "Lataa valittu tiedosto". Lataamisesta kertova viesti-ikkuna ilmestyy näkuviin.
</li>
<li>Lataamisen loputtua Lataa palvelimelle -ruutu sulkeutuu automaattisesti ja ladattu tiedosto
muuttuu aktiiviseksi <a href="004.html">tiedostoruudussa</a>.</li>
</ol>
<h2>
Latausviestit</h2>
<p>
Voit nähdä seuraavia viestejä lataustapahtuman aikana:</p>
<h3>
Samanniminen tiedosto on jo olemassa. Palvelimelle ladattu tiedosto on nimetty:
"tiedostonimi(1).xxx"</h3>
<p>
Viesti tarkoittaa, että samanniminen kuin lataamasi tiedosto on jo tallennettu hakemistoon.
Ristiriidan estämiseksi tiedostonimen perään lisätään juokseva numero "(1)".</p>
<h3>
Tiedosto ei kelpaa</h3>
<p>
Palvelin ei hyväksy ladattavaa tiedostoa. </br></br>
Yleensä kysymys on siitä, että CKFinder on asetettu estämään tiettyjen tiedostotyyppien
lataaminen. Ne tunnistetaan tiedostotarkenteen perusteella. Lataaminen
estetään tietoturvasyistä. Vaihtoehtoisesti tiedostokoko voi olla liian suuri. Siinä
tapauksessa palvelin on konfiguroitava hyväksymään isompia tiedostoja.
</p>
<h3>Palvelimelle lataaminen on peruttu turvallisuussyistä. Tiedosto sisältää HTML-tyylistä dataa.</h3>
<p>Ladattava tiedosto sisältää HTML-koodia. Tietoturvasyistä vain määrätyillä tiedostotarkenteilla
varustetut tiedostot saavat sisältää HTML-koodia.</br></br>
Ota yhteyttä pääkäyttäjään selvittääksesi, mitkä ovat hyväksyttäjä tiedostotyyppejä, ja mikä
on niiden suurin sallittu koko.</p>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/fi/files/006.html | HTML | gpl3 | 2,828 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder - Podręcznik Użytkownika</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<frameset rows="50,*" bordercolor="#f5f5f5">
<frame src="files/header.html" noresize="1" frameborder="0" bordercolor="#f5f5f5"></frame>
<frameset cols="200,*">
<frame src="files/toc.html" bordercolor="#f5f5f5"></frame>
<frame src="files/001.html" name="CKDocsMain" bordercolor="#f5f5f5"></frame>
</frameset>
</frameset>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/pl/index.html | HTML | gpl3 | 597 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder - Podręcznik Użytkownika</title>
<link href="other/help.css" type="text/css" rel="stylesheet" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
Wymagania systemowe i informacja o kompatybilności
</h1>
<p>
CKFinder jest aplikacją internetową. Oznacza to, że został stworzony aby pracować
w przeglądarkach internetowych co sprawia, że łatwo go używać w każdej sytuacji, pod warunkiem dostępu
do jakiejkolwiek z przeglądarek.
</p>
<p>
Obecnie następujące przeglądarki są poprawnie obsługiwane przez CKFindera:</p>
<ul>
<li>Internet Explorer 6.0+</li>
<li>Firefox 2.0+</li>
<li>Safari 3+</li>
<li>Google Chrome</li>
<li>Opera 9.5+</li>
<li>Camino 1.0+</li>
</ul>
<p>
Niektóre funkcjonalności są zależne od ustawień Twojej przegladarki.
CKFinder powinien generalnie współpracować z każdą przeglądarką z domyślnymi ustawieniami, jeżeli jednak
występują problemy z <a href="012.html">menu kontekstowym</a> lub <a href="008.html">ustawienia</a>
nie są zapisywane poprawnie, upewnij się, że Twoja przeglądarka zezwala skryptom javascript na <strong>"blokowanie lub wyłączenie menu kontekstowego"</strong>
oraz, że Twoja przeglądarka <strong>akceptuje "ciasteczka" (cookies)</strong>.
</p>
<p>
Skontaktuj się z administratorem Twojego systemu w razie problemów.
</p>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/pl/files/013.html | HTML | gpl3 | 1,642 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder - Podręcznik Użytkownika</title>
<link href="other/help.css" type="text/css" rel="stylesheet" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
Witaj w programie CKFinder!
</h1>
<p>
<strong>CKFinder to narzędzie pracy grupowej</strong>, które umożliwia współdzielenie i ułatwia zarządzanie
plikami umieszczonymi na centralnym komputerze (serwerze).</p>
<p>
Niezależnie od tego czy jesteś nowym czy też doświadczonym użytkownikiem, warto powięcić
chwilkę uwagi na przeglądnięcie dokumentacji CKFindera, celem uzyskania pełnej wiedzy na temat
tego prostego, ale bardzo użytecznego oprogramowania.</p>
<h2>
Prawa autorskie
</h2>
<p>
Kliknij w <a href="011.html" title="Link do praw autorskich">link</a> aby zapoznać sie z informacją o licencji i prawach autorskich.
</p>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/pl/files/001.html | HTML | gpl3 | 1,152 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder - Podręcznik Użytkownika</title>
<link href="other/help.css" type="text/css" rel="stylesheet" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
Przycisk "Pomoc"
</h1>
<p>
Otwiera "Podręcznik Użytkownika" w nowym oknie.</p>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/pl/files/009.html | HTML | gpl3 | 504 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder - Podręcznik Użytkownika</title>
<link href="other/help.css" type="text/css" rel="stylesheet" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
CKFinder - Licencja (EN)
</h1>
<iframe src="../../../license.txt" style="width:800px;height:600px"></iframe>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/pl/files/license.html | HTML | gpl3 | 529 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder - Podręcznik Użytkownika</title>
<link href="other/help.css" type="text/css" rel="stylesheet" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
CKFinder - Interfejs Użytkownika
</h1>
<p>
Interfejs użytkownika został zaprojektowany tak, aby był przejrzysty i intuicyjny
nawet dla nowych użytkowników. Większość dostepnych komend jest łatwo dostępna przy uzyciu menu kontekstowego myszy
i może zostać wykonana jednym kliknięciem.
</p>
<p>
Poniżej przykładowy zrzut z ekranu przedstawiający CKFindera:
</p>
<p style="text-align: center">
<img src="images/001.jpg" alt="CKFinder Screenshot" height="400" width="586" />
</p>
<ol>
<li><a href="003.html">Drzewo katalogów</a>: zawiera listę katalogów w postaci "drzewa", po którym można nawigować.
Katalogi służą do lepszego zorganizowania plików.
</li>
<li><a href="004.html">Drzewo plików</a>: wyświetla listę plików w aktualnym katalogu.
</li>
<li><a href="005.html">Pasek narzędzi</a>: zestaw przycisków, które po kliknięciu wykonują odpowiednie funkcje.
</li>
<li><a href="010.html">Pasek statusu</a>: przestrzeń używana do wyświetlania informacji
odnośnie wybranego pliku, ilości plików w katalogu itp.
</li>
<li><a href="012.html">Menu kontekstowe</a>:
zestaw pozycji dostepnych po kliknięciu na wybrany obiekt prawym klawiszem myszy.
Służy ono do wykonywania operacji specyficznych dla danego obiektu.
Dostępne operacje zmieniają się w zależności od tego, co zostało wybrane.
</li>
</ol>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/pl/files/002.html | HTML | gpl3 | 1,844 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder - Podręcznik Użytkownika</title>
<link href="other/help.css" type="text/css" rel="stylesheet" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
Przycisk "Odśwież"
</h1>
<p >
Podczas pracy w środowisku współdzielonym, takim jak CKFinder, gdzie dziesiątki a nawet setki użytkowników pracują
nad tymi samymi plikami, może się zdarzyć, że nastepują zmiany w folderze, w kórym aktualnie pracujesz.
W celu przeładowania listy plików, kliknij po prostu przycik "Odśwież".
</p>
<p style="text-align: center">
<img height="26" src="images/011.png" width="274" /> </p>
<p>
Załóżmy dla przykładu, że musisz utworzyć stronę nowego produktu Twojej firmy.
Wchodzisz do CKFindera, żeby pobrać obrazek, który umieścisz na stronie, ale
w folderze "Produkty" nie możesz odnaleźć żadnego obrazka.
Dzwonisz do "Kasi", z informacją, że potrzebujesz obrazka:
- "Hej, potrzebuję tego zdjęcia, o którym wczoraj dyskutowaliśmy, ale
nie mogę go nigdzie znaleźć w CKFinderze!"
- "Ups.. minutkę" - Kasia otwiera CKFindera na swoim komputerze, wysyła do niego swój plik
i mówi Ci przez telefon, żebyś odświeżył sobie listę plików.
Klikasz i... gotowe! Plik pojawił się i jest gotowy do użycia.
Na tym przykładzie widać, czemu CKFinder jest tzw. <strong>narzędziem pracy grupowej</strong>.
</p>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/pl/files/007.html | HTML | gpl3 | 1,656 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder - Podręcznik Użytkownika</title>
<link href="other/help.css" type="text/css" rel="stylesheet" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
Okno z plikami
</h1>
<p>
Okno z plikami wyświetla wszystkie dostępne pliki w wybranym katalogu.
</p>
<h2>
Sposób wyświetlania plików</h2>
<p>
Pliki mogą być wyświetlane na dwa sposoby, w zależności od ustawień CKFindera
(zobacz
"<a href="008.html">Ustawienia</a>"). Poniżej przedstawiono porównanie wyświetlania w postaci "<strong>Miniaturek</strong>"
oraz "<strong>Listy</strong>" w tym samym folderze:</p>
<p style="text-align: center">
<img src="images/007.jpg" width="423" height="383" />
</p>
<p style="text-align: center">
<img src="images/006.png" width="430" height="149" />
</p>
<h2>
Podstawowe operacje </h2>
<h3>
Zaznaczanie pliku</h3>
<p>
Aby zaznaczyć plik w CKFinderze, kliknij w plik. Żeby łatwo odróżnić, kiedy mysz
znajduje się nad plikiem, tło pliku zmieni się kiedy przesuniesz nad nim myszkę.
Po zaznaczeniu pliku, kolor tła wybranego pliku będzie się odróżniał od pozostałych plików (najczęściej będzie to kolor niebieski).
</p>
<h2>
Zaawansowane operacje
</h2>
<p>
Zaawansowane operacje można wykonać przy użyciu "<a href="012.html">menu kontekstowego</a>".
Następujące operacje są dostępne:
</p>
<p style="text-align: center">
<img height="144" src="images/008.png" width="123" />
</p>
<p>
<span class="info">Wskazówka:</span> niektóre opcje w menu kontekstowym mogą zostać
zablokowane przez administratora systemu, wówczas będa one nieaktywne.
</p>
<div>
<h3>
Wybieranie plików
</h3>
</div>
<p>
W celu wybrania pliku i zwrócenia go do nadrzędnej aplikacji, kliknij przycisk "Wybierz".
</p>
<h3>
Podgląd pliku</h3>
<p>
Ażeby podejrzeć plik, kliknij opcję "Zobacz" w menu kontekstowym.
Chociaż nie wszystkie rodzaje plików można obejrzeć w przeglądarce, opcja ta może być przydatna
w przypadku plików tekstowych, obrazków czy plików PDF.
W pozostałych przypadkach przeglądarka poprosi Cię o wybranie odpowiedniej aplikacji
do obejrzenia pliku.
</p>
<div>
<h3>
Pobieranie plików</h3>
<p>
W celu pobrania pliku, kliknij "Pobierz" w menu kontekstowym.
Przeglądarka następnie spyta się o miejsce zapisania pliku na Twoim komputerze.
</p>
<h3>
Zmiana nazwy plików
</h3>
</div>
<p>
Żeby zmienić nazwę pliku, wybierz opcję "Zmień nazwę" w menu kontekstowym.
Pojawi się okno dialogowe zawierające nazwę obecnego pliku z pytaniem o nową nazwę.
Wpisz nową nazwę i potwierdź.
</p>
<p>
Nie wszystkie znaki mogą być użyte w nazwach plików i katalogów z powodu ograniczeń
systemów operacyjnych, na których CKFinder może zostać uruchomiony. Przykładowo, następujące znaki
nie moga zostać użyte w nazwach plików/katalogów:<strong>\</strong> <strong>/</strong> <strong>:</strong>
<strong>*</strong> <strong>?</strong> <strong>"</strong> <strong><</strong>
<strong>></strong> <strong>|</strong>
</p>
<p>
<span class="warning">Uwaga:</span> zmieniając nazwę pliku, odnośniki do niego
przestaną być "prawidłowe", a tym samym strony internetowe zawierające link do tego pliku nie
będą wyświetlać poprawnej zawartości.
Z tego powodu zalecamy ostrożność przy korzystaniu z tej możliwości.
</p>
<div>
<h3>
Kasowanie plików
</h3>
</div>
<p>
Ażeby skasować plik, kliknij opcję "Usuń" w menu kontekstowym.
CKFinder spyta Ciebie o potwierdzenie przed usunięciem pliku, ażeby się upewnić
czy plik na pewno ma być skasowany.
</p>
<p>
<span class="warning">Uwaga:</span> kasując plik, odnośniki do niego
przestaną być "prawidłowe", a tym samym strony internetowe zawierające link do tego pliku nie
będą wyświetlać poprawnej zawartości.
Z tego powodu zalecamy ostrożność przy korzystaniu z tej możliwości.
</p>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/pl/files/004.html | HTML | gpl3 | 4,352 |
window.onload = function()
{
var copyP = document.createElement( 'p' ) ;
copyP.className = 'copyright' ;
copyP.innerHTML = '© 2007-2011 <a href="http://cksource.com" target="_blank">CKSource</a> - Frederico Knabben . Wszystkie prawa zastrzeżone.<br /><br />' ;
document.body.appendChild( document.createElement( 'hr' ) ) ;
document.body.appendChild( copyP ) ;
window.top.SetActiveTopic( window.location.pathname ) ;
}
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/pl/files/other/help.js | JavaScript | gpl3 | 444 |
body
{
margin: 0px;
font-family: Georgia, Trebuchet, Trebuchet MS, Verdana;
}
h1
{
background-color: #f5f5f5;
color: #696969;
padding-left: 20px;
padding-right: 20px;
padding-top: 10px;
padding-bottom: 10px;
margin: 0px;
margin-bottom: 40px;
}
p, ul, ol
{
margin-bottom: 30px;
margin-top: 0px;
margin-left: 40px;
margin-right: 40px;
}
ol, ul
{
padding-left:40px;
}
h2
{
margin-left: 20px;
margin-bottom: 30px;
margin-top: 0px;
}
h3
{
margin-left: 40px;
margin-bottom: 15px;
margin-top: 0px;
}
hr
{
margin-top: 0px;
}
.info
{
font-weight: bold;
}
.warning
{
font-weight: bold;
color: #ff0000;
}
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/pl/files/other/help.css | CSS | gpl3 | 687 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder - Podręcznik Użytkownika</title>
<link href="other/help.css" type="text/css" rel="stylesheet" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
Przycisk "Ustawienia"
</h1>
<p>
Przycisk "Ustawienia", w pasku <a href="005.html">narzędzi</a>, otwiera "okienko z ustawieniami",
gdzie można skonfigurować i dostosować ustawienia CKFindera, tak jak na poniższym zrzucie ekranu:
</p>
<p style="text-align: center">
<img src="images/013.png" height="189" width="424" /></p>
<p>
Wszystkie ustawienia są automatycznie zapisywane używając "ciasteczek" (cookies).
Ciasteczka to małe pliki zawierające prywatne informacje dla poszczególnych stron internetowych.
</p>
<p>
W celu zamknięcia okienka z ustawieniami, kliknij przycisk "Zamknij" albo kliknij ponownie w przycisk
"Ustawienia" w pasku narzędzi.
</p>
<h2>
Opcje konfiguracyjne</h2>
<p>
Wszystkie opcje konfiguracyjne powiązane są z <a href="004.html">oknem plików</a>.
Są one używane do kontroli, w jaki sposób informacje zostaną w nim wyświetlone.
</p>
<h3>
Widok</h3>
<p>
Kontroluje sposób wyświetlania plików w <a href="004.html">oknie plików</a>:</p>
<ul>
<li>W przypadku wybrania widoku "<strong>Miniaturki</strong>", pliki zostaną wyświetlone w
osobnych "prostokątach". Dla plików z obrazkami, okno będzie zawierać miniaturkę pliku graficznego.
Dla pozostałych plików zostanie wyświetlona ikonka przedstawiająca typ każdego pliku.
</li>
</ul>
<ul>
<li>Jak sama nazwa wskazuje, tryb "<strong>Lista</strong>" wyświetla pliki w postaci listy.
Kolejny plik umieszczony jest poniżej poprzedniego. W tym trybie wyświetlania, podgląd plików nie jest generowany.
</li>
</ul>
<h3>
Wyświetlanie</h3>
<p>
Służy do ustawienia ilości informacji dostępnej w oknie plików. Dla przykładu, poniżej zamieszczono
zrzut ekranu ustawień, gdzie żadna z opcji nie została wybrana aż do momentu, w którym wybrane zostały wszystkie opcje:
</p>
<p style="text-align:center">
<table align="center" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" style="padding-right: 10px">
<img src="images/014.gif" width="112" height="112" /></td>
<td valign="top" style="padding-right: 10px; padding-left: 10px">
<img src="images/015.gif" width="112" height="128" /></td>
<td valign="top" style="padding-right: 10px; padding-left: 10px">
<img src="images/016.gif" width="112" height="144" /></td>
<td valign="top" style="padding-left: 10px">
<img src="images/017.gif" width="112" height="160" /></td>
</tr>
</table>
</p>
<h3>
Sortowanie</h3>
<p>
Służy do kontroli według jakiego porządku pliki zostaną wyświetlone.
Dostępne opcje to: alfabetyczne sortowanie według nazwy, według daty utworzenia
a także według rozmiaru pliku.
</p>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/pl/files/008.html | HTML | gpl3 | 3,174 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder - Podręcznik Użytkownika</title>
<link href="other/help.css" type="text/css" rel="stylesheet" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="other/help.js"></script>
<script type="text/javascript">
function CheckForm()
{
if ( document.getElementById( 'xSuggestion' ).value == '' )
{
alert( 'Please type your suggestion text before sending' ) ;
return false ;
}
document.getElementById( 'xSubmit' ).disabled = true ;
document.getElementById( 'spamcheck' ).value = 9945 + 13671 ;
return true ;
}
</script>
</head>
<body>
<h1>
Sugestie
</h1>
<p>
Jeśli masz jakiekolwiek sugestie odnośnie dokumentacji, <a href="http://cksource.com/contact">prześlij nam swoją opinię</a>.
Naszym celem jest dostarczanie oprogramowania dającego satysfakcję wszystkim użytkownikom każdego dnia.
</p>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/pl/files/suggestions.html | HTML | gpl3 | 1,061 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder - Podręcznik Użytkownika</title>
<link href="other/help.css" type="text/css" rel="stylesheet" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
Menu kontekstowe
</h1>
<p>
"Menu kontekstowe" to zestaw pozycji dostępnych po kliknięciu na wybrany obiekt prawym klawiszem myszy.
Służy ono do wykonywania operacji specyficznych dla danego obiektu.
Dostępne operacje zmieniają się w zależności od tego, co zostało wybrane.
</p>
<h2>
Dostępne menu</h2>
<p>
Poniżej przedstawione zostały dostępne rodzaje menu, które mogą pojawić się podczas pracy z CKFinderem.
</p>
<h3>
Menu kontekstowe katalogów</h3>
<p>
Pojawia się po kliknięciu w folder w <a href="003.html">oknie katalogów</a>,
przy użyciu prawego klawisza myszy:
<p style="text-align: center">
<img src="images/004.png" width="117" height="75" /> </p>
<h3>
Menu kontekstowe plików</h3>
<p>
Pojawia się po kliknięciu w folder w <a href="004.html">oknie plików</a>,
przy użyciu prawego klawisza myszy:
<p style="text-align: center">
<img src="images/008.png" width="123" height="144"/> </p>
<h3>
Menu kontekstowe w oknie plików</h3>
<p>
Pojawia się po kliknięciu w pustą przestrzeń w <a href="004.html">oknie plików</a>,
poza dostępnymi plikami (po kliknięciu w tło), przy użyciu prawego klawisza myszy:
<p style="text-align: center">
<img src="images/020.png" height="28" width="80"/></p>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/pl/files/012.html | HTML | gpl3 | 1,743 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder - Podręcznik Użytkownika</title>
<link href="other/help.css" type="text/css" rel="stylesheet" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
Prawa autorskie
</h1>
<p>
CKFinder, wraz z dokumentacją, jest własnością © 2007-2011 <a href="http://cksource.com" target="_blank">CKSource</a> - Frederico Knabben. Wszelkie prawa zastrzeżone.
Przed skorzystaniem, upewnij się, że przeczytałeś i zrozumiałeś <a href="license.html">licencję</a>
</p>
<p>
Ikonki użyte w pasku narzędzi oraz menu kontekstowym zostały zaprojektowane przez Marka Jamesa.
Więcej informacji dostępne jest pod tym adresem:<a href="http://www.famfamfam.com/lab/icons/silk/">http://www.famfamfam.com/lab/icons/silk/</a></p>
<h2>
Znak towarowy
</h2>
<p>
CKFinder, Logo CKFinder, CKSource, CKEditor oraz FCKeditor są znakami towarowymi <a href="http://cksource.com" target="_blank">CKSource</a> - Frederico Knabben.</p>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/pl/files/011.html | HTML | gpl3 | 1,211 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder - Podręcznik Użytkownika</title>
<link href="other/help.css" type="text/css" rel="stylesheet" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="other/help.js">
</script>
</head>
<body>
<h1>Okno z katalogami</h1>
<p>
W oknie z katalogami wyświetlone są katalogi w postaci drzewa, które służą do nawigacji
po strukturze katalogów. Katalogi służą do lepszego zorganizowania plików.
</p>
<h2>Podstawowe operacje</h2>
<h3>Otwieranie folderu</h3>
<p>
Ażeby otworzyć folder, i tym samy zobaczyć jego podfoldery, kliknij w znak "plus"
(<img src="images/002.gif" height="9" width="9" />) umieszczony przed nazwą folderu.
Jeżli znak plus nie jest widoczny, oznacza to że folder nie zawiera podrzędnych katalogów.
</p>
<p>
Spójrz na skecję "Ładowanie na żądanie" w dolnej partii tej strony, ażeby zrozumieć
w jaki sposób katalogi są załadowywane.
</p>
<h3>Zamykanie katalogu</h3>
<p>
Żeby zamknąć katalog i schować podrzędne katalogi, kliknij w znak "minus" (<img src="images/003.gif" height="9" width="9" />) znajdujący się z przodu nazwy katalogu.
</p><h3>Wybieranie katalogu</h3>
<p>
W celu zaznaczenia katalogu w CKFinderze, kliknij na nazwe katalogu albo na jego ikonkę.
Zaznaczony katalog będzie miał inny kolor tła.
</p>
<h2>Pozostałe operacje</h2>
<p>
Inne bardziej zaawansowane operacje na folderach mogą zostać wykonane przy użyciu
"<a href="012.html">menu kontekstowego</a>".
Następujące operacje są dostępne:
</p>
<p style="text-align: center">
<img src="images/004.png" width="117" height="75" />
</p>
<p>
<span class="info">Wskazówka:</span>
Pewne operacje mogą być niedostępne, w zależności od ustawień
przydzielonych przez administratora.
</p>
<div>
<h3>Tworzenie katalogów</h3>
</div>
<p>
Ażeby utworzyć pokatalog wewnątrz bieżącego katalogu, kliknij na opcję "Nowy Podkatalog"
dostepna w menu kontekstowym. Po kliknięciu pojawi się okno dialogowe z pytaniem o nazwę katalogu.
Po prostu wpisz nazwę katalogu i potwierdź.
</p>
<p>
Nie wszystkie znaki mogą być użyte w nazwach plików i katalogów z powodu ograniczeń
systemów operacyjnych, na których CKFinder może zostać uruchomiony. Przykładowo, następujące znaki
nie moga zostać użyte w nazwach plików/katalogów:
<strong>\</strong>
<strong>/</strong>
<strong>:</strong>
<strong>*</strong>
<strong>?</strong>
<strong>"</strong>
<strong><</strong>
<strong>></strong>
<strong>|</strong>
</p>
<div>
<h3>Zmiana nazwy katalogów</h3>
</div>
<p>
Ażeby zmienić nazwę katalogu, kliknij opcję "Zmień nazwę" w menu kontekstowym.
Po kliknięciu pojawi się okno dialogowe, zawierające obecną nazwę katalogu.
Wpisz nową nazwe i potwierdź.
</p>
<p>
Nie wszystkie znaki mogą być użyte w nazwach plików i katalogów z powodu ograniczeń
systemów operacyjnych, na których CKFinder może zostać uruchomiony. Przykładowo, następujące znaki
nie moga zostać użyte w nazwach plików/katalogów:<strong>\</strong>
<strong>/</strong>
<strong>:</strong>
<strong>*</strong>
<strong>?</strong>
<strong>"</strong>
<strong><</strong>
<strong>></strong>
<strong>|</strong>
</p>
<p>
<span class="warning">Uwaga:</span>
zmieniając nazwę folderu, odnośniki do plików w nim zawartych
przestaną być "prawidłowe", tym samym strony internetowe zawierające pliki z tego folderu nie
będą wyświetlać poprawnej zawartości. Z tego powodu zalecamy ostrożność przy korzystaniu z tej możliwości.
</p>
<div>
<h3>Kasowanie katalogów</h3>
</div>
<p>
Ażeby skasować katalog wraz z zawartością, kliknij opcję "Usuń" w menu kontekstowym.
Przed usunięciem CKFinder poprosi Cię o potwierdzenie operacji.
</p>
<p>
<span class="warning">Uwaga:</span>
po usunięciu katalogu, odnośniki do plików w nim zawartych
przestaną być "prawidłowe", tym samym strony internetowe zawierające pliki z tego folderu nie
będą wyświetlać poprawnej zawartości. Z tego powodu zalecamy ostrożność przy korzystaniu z tej możliwości.
</p>
<div>
<h2>Ładowanie "na żądanie"</h2>
</div>
<p>
The most important difference between CKFinder and the folders tree found in operating
systems, is that, in CKFinder, the folders are loaded "under request". It means
that it doesn't load the entire folders tree at startup, but loads a small subset
of them when "opening" the folder. This is a requirement on advanced web applications
like CKFinder.
</p>
<p>
To indicate that folders are being loaded, the "Loading..." label may appear when
opening a folder:
</p>
<p style="text-align: center">
<img src="images/005.png" width="162" height="74" />
</p>
<p>
The label will automatically disappear once the folders load is completed. Once
loaded, the label should not appear anymore for that folder.
</p>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/pl/files/003.html | HTML | gpl3 | 5,897 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder User's Guide</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
body
{
margin: 0px;
font-family: Trebuchet, Trebuchet MS, Arial;
}
a { text-decoration: none ; }
a:hover { text-decoration: underline ; }
ul { list-style-type: none; padding-left: 20px; margin:0px; }
li { white-space: nowrap; padding-left:2px; padding-right:2px; }
.toc
{
background-color: #696969;
color: #f5f5f5;
margin: 0px;
font-weight: bold;
text-align: center;
}
.contents { padding: 10px; }
.active { color: highlighttext; background-color: highlight; }
</style>
<script type="text/javascript">
window.onload = function()
{
for ( var i = 0 ; i < document.links.length ; i++ )
{
var link = document.links[i] ;
link.target = 'CKDocsMain' ;
link.innerHTML = ' ' + link.innerHTML + ' ' ;
}
}
var lastLink = null ;
window.top.SetActiveTopic = function( topicUrl )
{
var pageName = topicUrl.match( /(?:^|\/|\\)([^\\\/]+)$/ )[1] ;
if ( lastLink )
lastLink.className = '' ;
for ( var i = 0 ; i < document.links.length ; i++ )
{
var link = document.links[i] ;
if ( link.href.match( /(?:^|\/|\\)([^\\\/]+)$/ )[1] == pageName )
{
lastLink = link ;
link.className = 'active' ;
return ;
}
}
}
</script>
</head>
<body>
<p class="toc">
Spis treści
</p>
<div class="contents">
<ul style="padding-left: 0px;">
<li><a href="001.html">Wstęp</a></li>
<li><a href="002.html">Interfejs</a>
<ul>
<li><a href="003.html">Katalogi</a></li>
<li><a href="004.html">Pliki</a></li>
<li><a href="005.html">Pasek narzędzi</a>
<ul>
<li><a href="006.html">Wysyłanie pliku</a></li>
<li><a href="007.html">Odświeżanie</a></li>
<li><a href="008.html">Ustawienia</a></li>
<li><a href="009.html">Pomoc</a></li>
</ul>
</li>
<li><a href="010.html">Pasek statusu</a></li>
<li><a href="012.html">Menu kontekstowe</a></li>
</ul>
</li>
<li><a href="013.html">Wymagania systemowe i kompatybilność</a></li>
<li><a href="011.html">Licencja</a></li>
<li><a href="suggestions.html">Sugestie?</a></li>
</ul>
</div>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/pl/files/toc.html | HTML | gpl3 | 2,444 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder - Podręcznik Użytkownika</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
body
{
margin: 0px;
font-family: Trebuchet, Trebuchet MS, Verdana;
background-color: #696969;
color: #f5f5f5;
padding-left: 20px;
padding-right: 20px;
overflow: hidden;
}
a { color: #f5f5f5; text-decoration: none ; }
a:hover { text-decoration: underline ; }
</style>
</head>
<body>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="middle">
<h2 style="margin: 0px; padding: 0px;">
CKFinder - Podręcznik Użytkownika</h2>
</td>
<td align="right" valign="middle">
<a href="http://ckfinder.com" target="_blank">Odwiedź stronę www CKFinder-a.</a></td>
</tr>
</table>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/pl/files/header.html | HTML | gpl3 | 982 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder - Podręcznik Użytkownika</title>
<link href="other/help.css" type="text/css" rel="stylesheet" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
Pasek narzędzi
</h1>
<p>
Pasek narzędzi to specjalne miejsce na samej górze interfejsu użytkownika CKFindera.
Zawiera on zestaw przycisków, które należy kliknąć aby wykonać wybraną akcję.
Poniżej przykładowy zrzut ekranu:
</p>
<p style="text-align: center">
<img src="images/009.png" height="24" width="275" />
</p>
<h2>
Przyciski</h2>
<p>
Poniżej przedstawiona została lista przycisków dostępnych w CKFinderze:</p>
<ul>
<li><a href="006.html">Wyślij</a>: Otwiera "okienko" do wysyłania plików, dzięki któremu można dodać
pliki do aktualnego folderu.</li>
<li><a href="007.html">Odśwież</a>: Przeładowuje listę plików w <a href="004.html">
oknie z plikami</a>.</li>
<li><a href="008.html">Ustawienia</a>: Otwiera okienko z ustawieniami, gdzie można skonfigurować i spersonalizować CKFindera.</li>
<li><a href="009.html">Pomoc</a>: Otwiera Podręcznik Użytkownika.</li>
</ul>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/pl/files/005.html | HTML | gpl3 | 1,380 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder - Podręcznik Użytkownika</title>
<link href="other/help.css" type="text/css" rel="stylesheet" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
Pasek statusu
</h1>
<p>
"Pasek statusu" to niewielka przestrzeń używana w celu wyświetlenia informacji
odnośnie wybranego pliku, łącznej ilości plików w folderze itd.
Można go znaleźć na samym dole CKFindera.
</p>
<p>
Po <strong>zaznaczeniu pliku</strong> w CKFinderze, pasek statusu wyświetli szczegółową informację
o tym pliku, zawierającą m.in. jego nazwę, wielkość oraz datę modyfikacji. Na przykład:
</p>
<p style="text-align: center">
<img src="images/018.gif" height="17" width="221" /> </p>
<p>
Jeśli <strong>żaden plik nie został zaznaczony</strong>, łączna ilość plików w katalogu zostanie wyświetlona.
Na przykład:</p>
<p style="text-align: center">
<img src="images/019.png" height="17" width="119" /> </p>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/pl/files/010.html | HTML | gpl3 | 1,221 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder - Podręcznik Użytkownika</title>
<link href="other/help.css" type="text/css" rel="stylesheet" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="other/help.js"></script>
</head>
<body>
<h1>
Przycisk "Wyślij"
</h1>
<p>
Przycisk wyślij* umieszczony w <a href="005.html">pasku narzędzi</a>, otwiera
okno do wysyłania plików, które służy do dodawania nowych plików do otwartego
w danym momencie katalogu.
Poniżej przykładowy zrzut ekranu:</p>
<p style="text-align: center">
<img height="150" src="images/012.png" width="428" /> </p>
<p>
W celu zamknięcia okna, kliknij na przycisk "Anuluj" albo kliknij ponownie przycisk "Wyślij"
w pasku narzędzi.
</p>
<p>
* "<strong>wysyłanie</strong>" pliku to inaczej transfer pliku z Twojego komputera (lokalnego)
do komputera centralnego, na którym uruchomiony jest CKFinder (serwera).</p>
<h2>
Wysyłanie pliku krok po kroku</h2>
<ol>
<li>Wybierz plik z komputera używając przycisku "Przeglądaj". Tekst na przycisku może różnić się w zależności
od używanej przeglądarki internetowej, ale zawsze powinien być w pobliżu pola "Wybierz plik".</li>
<li>Kliknij na przycisk "Wyślij wybrany plik". Pojawi się informacja wskazująca, że odbywa się przesyłanie pliku.</li>
<li>Poczekaj aż skończy się wysyłanie pliku. Po zakończeniu, okno do wysyłania plików zamknie się automatycznie,
a uprzednio przesłany plik zostanie automatycznie zaznaczony w <a href="004.html">oknie z plikami</a>.</li>
</ol>
<h2>
Komunikaty związane z wysyłaniem plików</h2>
<p>
Nstępujące komunikaty mogą zostać wyświetlone po wysłaniu pliku:</p>
<h3>
Plik o podanej nazwie już istnieje. Nazwa przesłanego pliku została zmieniona na "nazwa_pliku(1).ext"</h3>
<p>
Oznacza to, że plik o danej nazwie już istnieje w danym katalogu.
W celu uniknięcia konfliktu, kolejny numer porządkowy został dodany do oryginalnej nazwy pliku "(1)".
</p>
<h3>
Nieprawidłowy plik</h3>
<p>
Wysłany plik nie został zaakceptowany.
</p>
<p>
Najczęstszym powodem, jest takie skonfigurowanie CKFindera przez administratora,
aby zezwalać na pliki tylko z wybranymi rozszerzeniami.
Rozwiązanie to ma na celu zabezpieczenie serwera przed wysłaniem niedozwolonych plików.
Innym powodem może być przekroczenie dozwolonego rozmiaru pliku wysłanego na serwer.
W takim wypadku, serwer powinien zostać tak skonfigurowany przez administratora, aby dopuszczał pliki o większych rozmiarach.
</p>
<h3>Przesyłanie pliku zakończyło się niepowodzeniem z powodów bezpieczeństwa. Plik zawiera dane przypominające HTML.</h3>
<p>Przesłany plik zawiera kod HTML. Z powodów bezpieczeństwa, tylko pliki z wybranymi rozszerzeniami mogą zawierać kod HTML.
</p>
<p>
Prosimy o kontakt z administratorem w celu uzyskania informacji plików, które są akceptowane przez CKFindera
oraz dopuszczalnego limitu rozmiaru pojedynczego pliku.</p>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/help/pl/files/006.html | HTML | gpl3 | 3,241 |
<?php
/*
* ### CKFinder : Configuration File - Basic Instructions
*
* In a generic usage case, the following tasks must be done to configure
* CKFinder:
* 1. Check the $baseUrl and $baseDir variables;
* 2. If available, paste your license key in the "LicenseKey" setting;
* 3. Create the CheckAuthentication() function that enables CKFinder for authenticated users;
*
* Other settings may be left with their default values, or used to control
* advanced features of CKFinder.
*/
/**
* This function must check the user session to be sure that he/she is
* authorized to upload and access files in the File Browser.
*
* @return boolean
*/
function CheckAuthentication()
{
// WARNING : DO NOT simply return "true". By doing so, you are allowing
// "anyone" to upload and list the files in your server. You must implement
// some kind of session validation here. Even something very simple as...
// return isset($_SESSION['IsAuthorized']) && $_SESSION['IsAuthorized'];
// ... where $_SESSION['IsAuthorized'] is set to "true" as soon as the
// user logs in your system. To be able to use session variables don't
// forget to add session_start() at the top of this file.
return true;
}
// LicenseKey : Paste your license key here. If left blank, CKFinder will be
// fully functional, in demo mode.
$config['LicenseName'] = '';
$config['LicenseKey'] = '';
/*
Uncomment lines below to enable PHP error reporting and displaying PHP errors.
Do not do this on a production server. Might be helpful when debugging why CKFinder does not work as expected.
*/
// error_reporting(E_ALL);
// ini_set('display_errors', 1);
/*
To make it easy to configure CKFinder, the $baseUrl and $baseDir can be used.
Those are helper variables used later in this config file.
*/
/*
$baseUrl : the base path used to build the final URL for the resources handled
in CKFinder. If empty, the default value (/userfiles/) is used.
Examples:
$baseUrl = 'http://example.com/ckfinder/files/';
$baseUrl = '/upload/';
ATTENTION: The trailing slash is required.
*/
$baseUrl = '/apis/upload/';
/*
$baseDir : the path to the local directory (in the server) which points to the
above $baseUrl URL. This is the path used by CKFinder to handle the files in
the server. Full write permissions must be granted to this directory.
Examples:
// You may point it to a directory directly:
$baseDir = '/home/login/public_html/ckfinder/files/';
$baseDir = 'C:/SiteDir/CKFinder/userfiles/';
// Or you may let CKFinder discover the path, based on $baseUrl.
// WARNING: resolveUrl() *will not work* if $baseUrl does not start with a slash ("/"),
// for example if $baseDir is set to http://example.com/ckfinder/files/
$baseDir = resolveUrl($baseUrl);
ATTENTION: The trailing slash is required.
*/
$baseDir = resolveUrl($baseUrl);
/*
* ### Advanced Settings
*/
/*
Thumbnails : thumbnails settings. All thumbnails will end up in the same
directory, no matter the resource type.
*/
$config['Thumbnails'] = Array(
'url' => $baseUrl . '_thumbs',
'directory' => $baseDir . '_thumbs',
'enabled' => true,
'directAccess' => false,
'maxWidth' => 100,
'maxHeight' => 100,
'bmpSupported' => false,
'quality' => 80);
/*
Set the maximum size of uploaded images. If an uploaded image is larger, it
gets scaled down proportionally. Set to 0 to disable this feature.
*/
$config['Images'] = Array(
'maxWidth' => 1600,
'maxHeight' => 1200,
'quality' => 80);
/*
RoleSessionVar : the session variable name that CKFinder must use to retrieve
the "role" of the current user. The "role", can be used in the "AccessControl"
settings (bellow in this page).
To be able to use this feature, you must initialize the session data by
uncommenting the following "session_start()" call.
*/
$config['RoleSessionVar'] = 'CKFinder_UserRole';
//session_start();
/*
AccessControl : used to restrict access or features to specific folders.
Many "AccessControl" entries can be added. All attributes are optional.
Subfolders inherit their default settings from their parents' definitions.
- The "role" attribute accepts the special '*' value, which means
"everybody".
- The "resourceType" attribute accepts the special value '*', which
means "all resource types".
*/
$config['AccessControl'][] = Array(
'role' => '*',
'resourceType' => '*',
'folder' => '/',
'folderView' => true,
'folderCreate' => true,
'folderRename' => true,
'folderDelete' => true,
'fileView' => true,
'fileUpload' => true,
'fileRename' => true,
'fileDelete' => true);
/*
For example, if you want to restrict the upload, rename or delete of files in
the "Logos" folder of the resource type "Images", you may uncomment the
following definition, leaving the above one:
$config['AccessControl'][] = Array(
'role' => '*',
'resourceType' => 'Images',
'folder' => '/Logos',
'folderView' => true,
'folderCreate' => true,
'folderRename' => true,
'folderDelete' => true,
'fileView' => true,
'fileUpload' => false,
'fileRename' => false,
'fileDelete' => false);
*/
/*
ResourceType : defines the "resource types" handled in CKFinder. A resource
type is nothing more than a way to group files under different paths, each one
having different configuration settings.
Each resource type name must be unique.
When loading CKFinder, the "type" querystring parameter can be used to display
a specific type only. If "type" is omitted in the URL, the
"DefaultResourceTypes" settings is used (may contain the resource type names
separated by a comma). If left empty, all types are loaded.
maxSize is defined in bytes, but shorthand notation may be also used.
Available options are: G, M, K (case insensitive).
1M equals 1048576 bytes (one Megabyte), 1K equals 1024 bytes (one Kilobyte), 1G equals one Gigabyte.
Example: 'maxSize' => "8M",
*/
$config['DefaultResourceTypes'] = '';
$config['ResourceType'][] = Array(
'name' => 'Files', // Single quotes not allowed
'url' => $baseUrl . 'files',
'directory' => $baseDir . 'files',
'maxSize' => 0,
'allowedExtensions' => '7z,aiff,asf,avi,bmp,csv,doc,docx,fla,flv,gif,gz,gzip,jpeg,jpg,mid,mov,mp3,mp4,mpc,mpeg,mpg,ods,odt,pdf,png,ppt,pptx,pxd,qt,ram,rar,rm,rmi,rmvb,rtf,sdc,sitd,swf,sxc,sxw,tar,tgz,tif,tiff,txt,vsd,wav,wma,wmv,xls,xlsx,zip',
'deniedExtensions' => '');
$config['ResourceType'][] = Array(
'name' => 'Images',
'url' => $baseUrl . 'images',
'directory' => $baseDir . 'images',
'maxSize' => "16M",
'allowedExtensions' => 'bmp,gif,jpeg,jpg,png,avi,iso,mp3',
'deniedExtensions' => '');
$config['ResourceType'][] = Array(
'name' => 'Flash',
'url' => $baseUrl . 'flash',
'directory' => $baseDir . 'flash',
'maxSize' => 0,
'allowedExtensions' => 'swf,flv',
'deniedExtensions' => '');
/*
Due to security issues with Apache modules, it is recommended to leave the
following setting enabled.
How does it work? Suppose the following:
- If "php" is on the denied extensions list, a file named foo.php cannot be
uploaded.
- If "rar" (or any other) extension is allowed, one can upload a file named
foo.rar.
- The file foo.php.rar has "rar" extension so, in theory, it can be also
uploaded.
In some conditions Apache can treat the foo.php.rar file just like any PHP
script and execute it.
If CheckDoubleExtension is enabled, each part of the file name after a dot is
checked, not only the last part. In this way, uploading foo.php.rar would be
denied, because "php" is on the denied extensions list.
*/
$config['CheckDoubleExtension'] = true;
/*
If you have iconv enabled (visit http://php.net/iconv for more information),
you can use this directive to specify the encoding of file names in your
system. Acceptable values can be found at:
http://www.gnu.org/software/libiconv/
Examples:
$config['FilesystemEncoding'] = 'CP1250';
$config['FilesystemEncoding'] = 'ISO-8859-2';
*/
$config['FilesystemEncoding'] = 'UTF-8';
/*
Perform additional checks for image files
if set to true, validate image size
*/
$config['SecureImageUploads'] = true;
/*
Indicates that the file size (maxSize) for images must be checked only
after scaling them. Otherwise, it is checked right after uploading.
*/
$config['CheckSizeAfterScaling'] = true;
/*
For security, HTML is allowed in the first Kb of data for files having the
following extensions only.
*/
$config['HtmlExtensions'] = array('html', 'htm', 'xml', 'js');
/*
Folders to not display in CKFinder, no matter their location.
No paths are accepted, only the folder name.
The * and ? wildcards are accepted.
*/
$config['HideFolders'] = Array(".svn", "CVS");
/*
Files to not display in CKFinder, no matter their location.
No paths are accepted, only the file name, including extension.
The * and ? wildcards are accepted.
*/
$config['HideFiles'] = Array(".*");
/*
After file is uploaded, sometimes it is required to change its permissions
so that it was possible to access it at the later time.
If possible, it is recommended to set more restrictive permissions, like 0755.
Set to 0 to disable this feature.
Note: not needed on Windows-based servers.
*/
$config['ChmodFiles'] = 0777 ;
/*
See comments above.
Used when creating folders that does not exist.
*/
$config['ChmodFolders'] = 0755 ;
/*
Force ASCII names for files and folders.
If enabled, characters with diactric marks, like å, ä, ö, ć, č, đ, š
will be automatically converted to ASCII letters.
*/
$config['ForceAscii'] = false;
include_once "plugins/imageresize/plugin.php";
include_once "plugins/fileeditor/plugin.php";
$config['plugin_imageresize']['smallThumb'] = '90x90';
$config['plugin_imageresize']['mediumThumb'] = '120x120';
$config['plugin_imageresize']['largeThumb'] = '180x180';
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/config.php | PHP | gpl3 | 10,030 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CKFinder 2</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="ckfinder.js"></script>
<style type="text/css">
body, html, iframe, #ckfinder {
margin: 0;
padding: 0;
border: 0;
width: 100%;
height: 100%;
overflow: hidden;
}
</style>
</head>
<body>
<div id="ckfinder"></div>
<script type="text/javascript">
(function()
{
var config = {
};
var get = CKFinder.tools.getUrlParam;
var getBool = function( v )
{
var t = get( v );
if ( t === null )
return null;
return t == '0' ? false : true;
};
var tmp;
if ( tmp = get( 'basePath' ) )
CKFINDER.basePath = tmp;
if ( tmp = get( 'startupPath' ) )
config.startupPath = decodeURIComponent( tmp );
config.id = get( 'id' ) || '';
if ( ( tmp = getBool( 'rlf' ) ) !== null )
config.rememberLastFolder = tmp;
if ( ( tmp = getBool( 'dts' ) ) !== null )
config.disableThumbnailSelection = tmp;
if ( tmp = get( 'data' ) )
config.selectActionData = tmp;
if ( tmp = get( 'tdata' ) )
config.selectThumbnailActionData = tmp;
if ( tmp = get( 'type' ) )
config.resourceType = tmp;
if ( tmp = get( 'skin' ) )
config.skin = tmp;
if ( tmp = get( 'langCode' ) )
config.language = tmp;
// Try to get desired "File Select" action from the URL.
var action;
if ( tmp = get( 'CKEditor' ) )
{
if ( tmp.length )
action = 'ckeditor';
}
if ( !action )
action = get( 'action' );
var parentWindow = ( window.parent == window )
? window.opener : window.parent;
switch ( action )
{
case 'js':
var actionFunction = get( 'func' );
if ( actionFunction && actionFunction.length > 0 )
config.selectActionFunction = parentWindow[ actionFunction ];
actionFunction = get( 'thumbFunc' );
if ( actionFunction && actionFunction.length > 0 )
config.selectThumbnailActionFunction = parentWindow[ actionFunction ];
break ;
case 'ckeditor':
var funcNum = get( 'CKEditorFuncNum' );
if ( parentWindow['CKEDITOR'] )
{
config.selectActionFunction = function( fileUrl, data )
{
parentWindow['CKEDITOR'].tools.callFunction( funcNum, fileUrl, data );
};
config.selectThumbnailActionFunction = config.selectActionFunction;
}
break;
default:
if ( parentWindow && parentWindow['FCK'] && parentWindow['SetUrl'] )
{
action = 'fckeditor' ;
config.selectActionFunction = parentWindow['SetUrl'];
if ( !config.disableThumbnailSelection )
config.selectThumbnailActionFunction = parentWindow['SetUrl'];
}
else
action = null ;
}
config.action = action;
// Always use 100% width and height when nested using this middle page.
config.width = config.height = '100%';
var ckfinder = new CKFinder( config );
ckfinder.replace( 'ckfinder', config );
})();
</script>
</body>
</html>
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/ckfinder.html | HTML | gpl3 | 3,147 |
<?php
/*
* CKFinder
* ========
* http://ckfinder.com
* Copyright (C) 2007-2011, CKSource - Frederico Knabben. All rights reserved.
*
* The software, this file and its contents are subject to the CKFinder
* License. Please read the license.txt file before using, installing, copying,
* modifying or distribute this file or part of its contents. The contents of
* this file is part of the Source Code of CKFinder.
*/
if ( version_compare( phpversion(), '5', '<' ) )
require_once 'core/ckfinder_php4.php' ;
else
require_once 'core/ckfinder_php5.php' ;
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/ckfinder.php | PHP | gpl3 | 579 |
<?php
/*
* CKFinder
* ========
* http://ckfinder.com
* Copyright (C) 2007-2011, CKSource - Frederico Knabben. All rights reserved.
*
* The software, this file and its contents are subject to the CKFinder
* License. Please read the license.txt file before using, installing, copying,
* modifying or distribute this file or part of its contents. The contents of
* this file is part of the Source Code of CKFinder.
*/
if (!defined('IN_CKFINDER')) exit;
/**
* @package CKFinder
* @subpackage ErrorHandler
* @copyright CKSource - Frederico Knabben
*/
/**
* Include base error handling class
*/
require_once CKFINDER_CONNECTOR_LIB_DIR . "/ErrorHandler/Base.php";
/**
* File upload error handler
*
* @package CKFinder
* @subpackage ErrorHandler
* @copyright CKSource - Frederico Knabben
*/
class CKFinder_Connector_ErrorHandler_QuickUpload extends CKFinder_Connector_ErrorHandler_Base
{
/**
* Throw file upload error, return true if error has been thrown, false if error has been catched
*
* @param int $number
* @param string $text
* @access public
*/
function throwError($number, $uploaded = false, $exit = true) {
if ($this->_catchAllErrors || in_array($number, $this->_skipErrorsArray)) {
return false;
}
$oRegistry = & CKFinder_Connector_Core_Factory :: getInstance("Core_Registry");
$sFileName = $oRegistry->get("FileUpload_fileName");
$sFileUrl = $oRegistry->get("FileUpload_url");
header('Content-Type: text/html; charset=utf-8');
/**
* echo <script> is not called before CKFinder_Connector_Utils_Misc::getErrorMessage
* because PHP has problems with including files that contain BOM character.
* Having BOM character after <script> tag causes a javascript error.
*/
echo "<script type=\"text/javascript\">";
if (!empty($_GET['CKEditor'])) {
$errorMessage = CKFinder_Connector_Utils_Misc::getErrorMessage($number, $sFileName);
if (!$uploaded) {
$sFileUrl = "";
$sFileName = "";
}
$funcNum = preg_replace("/[^0-9]/", "", $_GET['CKEditorFuncNum']);
echo "window.parent.CKEDITOR.tools.callFunction($funcNum, '" . str_replace("'", "\\'", $sFileUrl . $sFileName) . "', '" .str_replace("'", "\\'", $errorMessage). "');";
}
else {
if (!$uploaded) {
echo "window.parent.OnUploadCompleted(" . $number . ", '', '', '') ;";
} else {
echo "window.parent.OnUploadCompleted(" . $number . ", '" . str_replace("'", "\\'", $sFileUrl . $sFileName) . "', '" . str_replace("'", "\\'", $sFileName) . "', '') ;";
}
}
echo "</script>";
if ($exit) {
exit;
}
}
}
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/core/connector/php/php4/ErrorHandler/QuickUpload.php | PHP | gpl3 | 2,905 |
<?php
/*
* CKFinder
* ========
* http://ckfinder.com
* Copyright (C) 2007-2011, CKSource - Frederico Knabben. All rights reserved.
*
* The software, this file and its contents are subject to the CKFinder
* License. Please read the license.txt file before using, installing, copying,
* modifying or distribute this file or part of its contents. The contents of
* this file is part of the Source Code of CKFinder.
*/
if (!defined('IN_CKFINDER')) exit;
/**
* @package CKFinder
* @subpackage ErrorHandler
* @copyright CKSource - Frederico Knabben
*/
/**
* Include base error handling class
*/
require_once CKFINDER_CONNECTOR_LIB_DIR . "/ErrorHandler/Base.php";
/**
* File upload error handler
*
* @package CKFinder
* @subpackage ErrorHandler
* @copyright CKSource - Frederico Knabben
*/
class CKFinder_Connector_ErrorHandler_FileUpload extends CKFinder_Connector_ErrorHandler_Base
{
/**
* Throw file upload error, return true if error has been thrown, false if error has been catched
*
* @param int $number
* @param string $text
* @access public
*/
function throwError($number, $uploaded = false, $exit = true) {
if ($this->_catchAllErrors || in_array($number, $this->_skipErrorsArray)) {
return false;
}
$oRegistry = & CKFinder_Connector_Core_Factory :: getInstance("Core_Registry");
$sFileName = $oRegistry->get("FileUpload_fileName");
$sFileUrl = $oRegistry->get("FileUpload_url");
header('Content-Type: text/html; charset=utf-8');
$errorMessage = CKFinder_Connector_Utils_Misc :: getErrorMessage($number, $sFileName);
if (!$uploaded) {
$sFileName = "";
}
echo "<script type=\"text/javascript\">";
if (!empty($_GET['CKFinderFuncNum'])) {
$errorMessage = CKFinder_Connector_Utils_Misc::getErrorMessage($number, $sFileName);
if (!$uploaded) {
$sFileUrl = "";
$sFileName = "";
}
$funcNum = preg_replace("/[^0-9]/", "", $_GET['CKFinderFuncNum']);
echo "window.parent.CKFinder.tools.callFunction($funcNum, '" . str_replace("'", "\\'", $sFileUrl . $sFileName) . "', '" .str_replace("'", "\\'", $errorMessage). "');";
}
else {
echo "window.parent.OnUploadCompleted('" . str_replace("'", "\\'", $sFileName) . "', '" . str_replace("'", "\\'", $errorMessage) . "') ;";
}
echo "</script>";
if ($exit) {
exit;
}
}
}
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/core/connector/php/php4/ErrorHandler/FileUpload.php | PHP | gpl3 | 2,636 |
<?php
/*
* CKFinder
* ========
* http://ckfinder.com
* Copyright (C) 2007-2011, CKSource - Frederico Knabben. All rights reserved.
*
* The software, this file and its contents are subject to the CKFinder
* License. Please read the license.txt file before using, installing, copying,
* modifying or distribute this file or part of its contents. The contents of
* this file is part of the Source Code of CKFinder.
*/
if (!defined('IN_CKFINDER')) exit;
/**
* @package CKFinder
* @subpackage ErrorHandler
* @copyright CKSource - Frederico Knabben
*/
/**
* Basic error handler
*
* @package CKFinder
* @subpackage ErrorHandler
* @copyright CKSource - Frederico Knabben
*/
class CKFinder_Connector_ErrorHandler_Base
{
/**
* Try/catch emulation, if set to true, error handler will not throw any error
*
* @var boolean
* @access protected
*/
var $_catchAllErrors = false;
/**
* Array with error numbers that should be ignored
*
* @var array[]int
* @access protected
*/
var $_skipErrorsArray = array();
/**
* Set whether all errors should be ignored
*
* @param boolean $newValue
* @access public
*/
function setCatchAllErros($newValue)
{
$this->_catchAllErrors = $newValue ? true : false;
}
/**
* Set which errors should be ignored
*
* @param array $newArray
*/
function setSkipErrorsArray($newArray)
{
if (is_array($newArray)) {
$this->_skipErrorsArray = $newArray;
}
}
/**
* Throw connector error, return true if error has been thrown, false if error has been catched
*
* @param int $number
* @param string $text
* @access public
*/
function throwError($number, $text = false)
{
if ($this->_catchAllErrors || in_array($number, $this->_skipErrorsArray)) {
return false;
}
$_xml =& CKFinder_Connector_Core_Factory::getInstance("Core_Xml");
$_xml->raiseError($number,$text);
exit;
}
}
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/core/connector/php/php4/ErrorHandler/Base.php | PHP | gpl3 | 2,164 |
<?php
/*
* CKFinder
* ========
* http://ckfinder.com
* Copyright (C) 2007-2011, CKSource - Frederico Knabben. All rights reserved.
*
* The software, this file and its contents are subject to the CKFinder
* License. Please read the license.txt file before using, installing, copying,
* modifying or distribute this file or part of its contents. The contents of
* this file is part of the Source Code of CKFinder.
*/
if (!defined('IN_CKFINDER')) exit;
/**
* @package CKFinder
* @subpackage ErrorHandler
* @copyright CKSource - Frederico Knabben
*/
/**
* Include base error handling class
*/
require_once CKFINDER_CONNECTOR_LIB_DIR . "/ErrorHandler/Base.php";
/**
* HTTP error handler
*
* @package CKFinder
* @subpackage ErrorHandler
* @copyright CKSource - Frederico Knabben
*/
class CKFinder_Connector_ErrorHandler_Http extends CKFinder_Connector_ErrorHandler_Base
{
/**
* Throw file upload error, return true if error has been thrown, false if error has been catched
*
* @param int $number
* @param string $text
* @access public
*/
function throwError($number, $text = false, $exit = true)
{
if ($this->_catchAllErrors || in_array($number, $this->_skipErrorsArray)) {
return false;
}
switch ($number)
{
case CKFINDER_CONNECTOR_ERROR_INVALID_REQUEST:
case CKFINDER_CONNECTOR_ERROR_INVALID_NAME:
case CKFINDER_CONNECTOR_ERROR_THUMBNAILS_DISABLED:
case CKFINDER_CONNECTOR_ERROR_UNAUTHORIZED:
header("HTTP/1.0 403 Forbidden");
header("X-CKFinder-Error: ". $number);
break;
case CKFINDER_CONNECTOR_ERROR_ACCESS_DENIED:
header("HTTP/1.0 500 Internal Server Error");
header("X-CKFinder-Error: ".$number);
break;
default:
header("HTTP/1.0 404 Not Found");
header("X-CKFinder-Error: ". $number);
break;
}
if ($exit) {
exit;
}
}
}
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/core/connector/php/php4/ErrorHandler/Http.php | PHP | gpl3 | 2,165 |
<?php
/*
* CKFinder
* ========
* http://ckfinder.com
* Copyright (C) 2007-2011, CKSource - Frederico Knabben. All rights reserved.
*
* The software, this file and its contents are subject to the CKFinder
* License. Please read the license.txt file before using, installing, copying,
* modifying or distribute this file or part of its contents. The contents of
* this file is part of the Source Code of CKFinder.
*/
if (!defined('IN_CKFINDER')) exit;
/**
* @package CKFinder
* @subpackage CommandHandlers
* @copyright CKSource - Frederico Knabben
*/
/**
* Include base XML command handler
*/
require_once CKFINDER_CONNECTOR_LIB_DIR . "/CommandHandler/XmlCommandHandlerBase.php";
/**
* Handle RenameFile command
*
* @package CKFinder
* @subpackage CommandHandlers
* @copyright CKSource - Frederico Knabben
*/
class CKFinder_Connector_CommandHandler_RenameFile extends CKFinder_Connector_CommandHandler_XmlCommandHandlerBase
{
/**
* Command name
*
* @access private
* @var string
*/
var $command = "RenameFile";
/**
* handle request and build XML
* @access protected
*
*/
function buildXml()
{
if (empty($_POST['CKFinderCommand']) || $_POST['CKFinderCommand'] != 'true') {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_REQUEST);
}
if (!$this->_currentFolder->checkAcl(CKFINDER_CONNECTOR_ACL_FILE_RENAME)) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_UNAUTHORIZED);
}
if (!isset($_GET["fileName"])) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_NAME);
}
if (!isset($_GET["newFileName"])) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_NAME);
}
$_config =& CKFinder_Connector_Core_Factory::getInstance("Core_Config");
$fileName = CKFinder_Connector_Utils_FileSystem::convertToFilesystemEncoding($_GET["fileName"]);
$newFileName = CKFinder_Connector_Utils_FileSystem::convertToFilesystemEncoding($_GET["newFileName"]);
$oRenamedFileNode = new Ckfinder_Connector_Utils_XmlNode("RenamedFile");
$this->_connectorNode->addChild($oRenamedFileNode);
$oRenamedFileNode->addAttribute("name", CKFinder_Connector_Utils_FileSystem::convertToConnectorEncoding($fileName));
$resourceTypeInfo = $this->_currentFolder->getResourceTypeConfig();
if (!$resourceTypeInfo->checkExtension($newFileName)) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_EXTENSION);
}
if (!CKFinder_Connector_Utils_FileSystem::checkFileName($fileName) || $resourceTypeInfo->checkIsHiddenFile($fileName)) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_REQUEST);
}
if (!CKFinder_Connector_Utils_FileSystem::checkFileName($newFileName) || $resourceTypeInfo->checkIsHiddenFile($newFileName)) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_NAME);
}
if (!$resourceTypeInfo->checkExtension($fileName, false)) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_REQUEST);
}
if ($_config->forceAscii()) {
$newFileName = CKFinder_Connector_Utils_FileSystem::convertToAscii($newFileName);
}
$filePath = CKFinder_Connector_Utils_FileSystem::combinePaths($this->_currentFolder->getServerPath(), $fileName);
$newFilePath = CKFinder_Connector_Utils_FileSystem::combinePaths($this->_currentFolder->getServerPath(), $newFileName);
$bMoved = false;
if (!file_exists($filePath)) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_FILE_NOT_FOUND);
}
if (!is_writable(dirname($newFilePath))) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_ACCESS_DENIED);
}
if (!is_writable($filePath)) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_ACCESS_DENIED);
}
if (file_exists($newFilePath)) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_ALREADY_EXIST);
}
$bMoved = @rename($filePath, $newFilePath);
if (!$bMoved) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_UNKNOWN, "File " . CKFinder_Connector_Utils_FileSystem::convertToConnectorEncoding($fileName) . "has not been renamed");
} else {
$oRenamedFileNode->addAttribute("newName", CKFinder_Connector_Utils_FileSystem::convertToConnectorEncoding($newFileName));
$thumbPath = CKFinder_Connector_Utils_FileSystem::combinePaths($this->_currentFolder->getThumbsServerPath(), $fileName);
CKFinder_Connector_Utils_FileSystem::unlink($thumbPath);
}
}
}
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/core/connector/php/php4/CommandHandler/RenameFile.php | PHP | gpl3 | 4,990 |
<?php
/*
* CKFinder
* ========
* http://ckfinder.com
* Copyright (C) 2007-2011, CKSource - Frederico Knabben. All rights reserved.
*
* The software, this file and its contents are subject to the CKFinder
* License. Please read the license.txt file before using, installing, copying,
* modifying or distribute this file or part of its contents. The contents of
* this file is part of the Source Code of CKFinder.
*/
if (!defined('IN_CKFINDER')) exit;
/**
* @package CKFinder
* @subpackage CommandHandlers
* @copyright CKSource - Frederico Knabben
*/
/**
* Include base XML command handler
*/
require_once CKFINDER_CONNECTOR_LIB_DIR . "/CommandHandler/XmlCommandHandlerBase.php";
/**
* Handle CopyFiles command
*
* @package CKFinder
* @subpackage CommandHandlers
* @copyright CKSource - Frederico Knabben
*/
class CKFinder_Connector_CommandHandler_CopyFiles extends CKFinder_Connector_CommandHandler_XmlCommandHandlerBase
{
/**
* Command name
*
* @access private
* @var string
*/
var $command = "CopyFiles";
/**
* handle request and build XML
* @access protected
*
*/
function buildXml()
{
if (empty($_POST['CKFinderCommand']) || $_POST['CKFinderCommand'] != 'true') {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_REQUEST);
}
$clientPath = $this->_currentFolder->getClientPath();
$sServerDir = $this->_currentFolder->getServerPath();
$currentResourceTypeConfig = $this->_currentFolder->getResourceTypeConfig();
$_config =& CKFinder_Connector_Core_Factory::getInstance("Core_Config");
$_aclConfig = $_config->getAccessControlConfig();
$aclMasks = array();
$_resourceTypeConfig = array();
if (!$this->_currentFolder->checkAcl(CKFINDER_CONNECTOR_ACL_FILE_RENAME | CKFINDER_CONNECTOR_ACL_FILE_UPLOAD | CKFINDER_CONNECTOR_ACL_FILE_DELETE)) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_UNAUTHORIZED);
}
// Create the "Errors" node.
$oErrorsNode = new CKFinder_Connector_Utils_XmlNode("Errors");
$errorCode = CKFINDER_CONNECTOR_ERROR_NONE;
$copied = 0;
$copiedAll = 0;
if (!empty($_POST['copied'])) {
$copiedAll = intval($_POST['copied']);
}
$checkedPaths = array();
$oCopyFilesNode = new Ckfinder_Connector_Utils_XmlNode("CopyFiles");
if (!empty($_POST['files']) && is_array($_POST['files'])) {
foreach ($_POST['files'] as $index => $arr) {
if (empty($arr['name'])) {
continue;
}
if (!isset($arr['name'], $arr['type'], $arr['folder'])) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_REQUEST);
}
// file name
$name = CKFinder_Connector_Utils_FileSystem::convertToFilesystemEncoding($arr['name']);
// resource type
$type = $arr['type'];
// client path
$path = CKFinder_Connector_Utils_FileSystem::convertToFilesystemEncoding($arr['folder']);
// options
$options = (!empty($arr['options'])) ? $arr['options'] : '';
$destinationFilePath = $sServerDir.$name;
// check #1 (path)
if (!CKFinder_Connector_Utils_FileSystem::checkFileName($name) || preg_match(CKFINDER_REGEX_INVALID_PATH, $path)) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_REQUEST);
}
// get resource type config for current file
if (!isset($_resourceTypeConfig[$type])) {
$_resourceTypeConfig[$type] = $_config->getResourceTypeConfig($type);
}
// check #2 (resource type)
if (is_null($_resourceTypeConfig[$type])) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_REQUEST);
}
// check #3 (extension)
if (!$_resourceTypeConfig[$type]->checkExtension($name, false)) {
$errorCode = CKFINDER_CONNECTOR_ERROR_INVALID_EXTENSION;
$this->appendErrorNode($oErrorsNode, $errorCode, $name, $type, $path);
continue;
}
// check #4 (extension) - when moving to another resource type, double check extension
if ($currentResourceTypeConfig->getName() != $type) {
if (!$currentResourceTypeConfig->checkExtension($name, false)) {
$errorCode = CKFINDER_CONNECTOR_ERROR_INVALID_EXTENSION;
$this->appendErrorNode($oErrorsNode, $errorCode, $name, $type, $path);
continue;
}
}
// check #5 (hidden folders)
// cache results
if (empty($checkedPaths[$path])) {
$checkedPaths[$path] = true;
if ($_resourceTypeConfig[$type]->checkIsHiddenPath($path)) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_REQUEST);
}
}
$sourceFilePath = $_resourceTypeConfig[$type]->getDirectory().$path.$name;
// check #6 (hidden file name)
if ($currentResourceTypeConfig->checkIsHiddenFile($name)) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_REQUEST);
}
// check #7 (Access Control, need file view permission to source files)
if (!isset($aclMasks[$type."@".$path])) {
$aclMasks[$type."@".$path] = $_aclConfig->getComputedMask($type, $path);
}
$isAuthorized = (($aclMasks[$type."@".$path] & CKFINDER_CONNECTOR_ACL_FILE_VIEW) == CKFINDER_CONNECTOR_ACL_FILE_VIEW);
if (!$isAuthorized) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_UNAUTHORIZED);
}
// check #8 (invalid file name)
if (!file_exists($sourceFilePath) || !is_file($sourceFilePath)) {
$errorCode = CKFINDER_CONNECTOR_ERROR_FILE_NOT_FOUND;
$this->appendErrorNode($oErrorsNode, $errorCode, $name, $type, $path);
continue;
}
// check #9 (max size)
if ($currentResourceTypeConfig->getName() != $type) {
$maxSize = $currentResourceTypeConfig->getMaxSize();
$fileSize = filesize($sourceFilePath);
if ($maxSize && $fileSize>$maxSize) {
$errorCode = CKFINDER_CONNECTOR_ERROR_UPLOADED_TOO_BIG;
$this->appendErrorNode($oErrorsNode, $errorCode, $name, $type, $path);
continue;
}
}
//$overwrite
// finally, no errors so far, we may attempt to copy a file
// protection against copying files to itself
if ($sourceFilePath == $destinationFilePath) {
$errorCode = CKFINDER_CONNECTOR_ERROR_SOURCE_AND_TARGET_PATH_EQUAL;
$this->appendErrorNode($oErrorsNode, $errorCode, $name, $type, $path);
continue;
}
// check if file exists if we don't force overwriting
else if (file_exists($destinationFilePath) && strpos($options, "overwrite") === false) {
if (strpos($options, "autorename") !== false) {
$iCounter = 1;
while (true)
{
$fileName = CKFinder_Connector_Utils_FileSystem::getFileNameWithoutExtension($name) .
"(" . $iCounter . ")" . "." .
CKFinder_Connector_Utils_FileSystem::getExtension($name);
$destinationFilePath = $sServerDir.$fileName;
if (!file_exists($destinationFilePath)) {
break;
}
else {
$iCounter++;
}
}
if (!@copy($sourceFilePath, $destinationFilePath)) {
$errorCode = CKFINDER_CONNECTOR_ERROR_ACCESS_DENIED;
$this->appendErrorNode($oErrorsNode, $errorCode, $name, $type, $path);
continue;
}
else {
$copied++;
}
}
else {
$errorCode = CKFINDER_CONNECTOR_ERROR_ALREADY_EXIST;
$this->appendErrorNode($oErrorsNode, $errorCode, $name, $type, $path);
continue;
}
}
// copy() overwrites without warning
else {
if (!@copy($sourceFilePath, $destinationFilePath)) {
$errorCode = CKFINDER_CONNECTOR_ERROR_ACCESS_DENIED;
$this->appendErrorNode($oErrorsNode, $errorCode, $name, $type, $path);
continue;
}
else {
$copied++;
}
}
}
}
$this->_connectorNode->addChild($oCopyFilesNode);
if ($errorCode != CKFINDER_CONNECTOR_ERROR_NONE) {
$this->_connectorNode->addChild($oErrorsNode);
}
$oCopyFilesNode->addAttribute("copied", $copied);
$oCopyFilesNode->addAttribute("copiedTotal", $copiedAll + $copied);
/**
* Note: actually we could have more than one error.
* This is just a flag for CKFinder interface telling it to check all errors.
*/
if ($errorCode != CKFINDER_CONNECTOR_ERROR_NONE) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_COPY_FAILED);
}
}
function appendErrorNode(&$oErrorsNode, $errorCode, $name, $type, $path)
{
$oErrorNode = new CKFinder_Connector_Utils_XmlNode("Error");
$oErrorNode->addAttribute("code", $errorCode);
$oErrorNode->addAttribute("name", CKFinder_Connector_Utils_FileSystem::convertToConnectorEncoding($name));
$oErrorNode->addAttribute("type", $type);
$oErrorNode->addAttribute("folder", $path);
$oErrorsNode->addChild($oErrorNode);
}
}
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/core/connector/php/php4/CommandHandler/CopyFiles.php | PHP | gpl3 | 11,130 |
<?php
/*
* CKFinder
* ========
* http://ckfinder.com
* Copyright (C) 2007-2011, CKSource - Frederico Knabben. All rights reserved.
*
* The software, this file and its contents are subject to the CKFinder
* License. Please read the license.txt file before using, installing, copying,
* modifying or distribute this file or part of its contents. The contents of
* this file is part of the Source Code of CKFinder.
*/
if (!defined('IN_CKFINDER')) exit;
/**
* @package CKFinder
* @subpackage CommandHandlers
* @copyright CKSource - Frederico Knabben
*/
/**
* Include base XML command handler
*/
require_once CKFINDER_CONNECTOR_LIB_DIR . "/CommandHandler/XmlCommandHandlerBase.php";
/**
* Handle GetFiles command
*
* @package CKFinder
* @subpackage CommandHandlers
* @copyright CKSource - Frederico Knabben
*/
class CKFinder_Connector_CommandHandler_GetFiles extends CKFinder_Connector_CommandHandler_XmlCommandHandlerBase
{
/**
* Command name
*
* @access private
* @var string
*/
var $command = "GetFiles";
/**
* build XML
* @access protected
*
*/
function buildXml()
{
$_config =& CKFinder_Connector_Core_Factory::getInstance("Core_Config");
if (!$this->_currentFolder->checkAcl(CKFINDER_CONNECTOR_ACL_FILE_VIEW)) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_UNAUTHORIZED);
}
// Map the virtual path to the local server path.
$_sServerDir = $this->_currentFolder->getServerPath();
// Create the "Files" node.
$oFilesNode = new Ckfinder_Connector_Utils_XmlNode("Files");
$this->_connectorNode->addChild($oFilesNode);
if (!is_dir($_sServerDir)) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_FOLDER_NOT_FOUND);
}
$files = array();
$thumbFiles = array();
if ($dh = @opendir($_sServerDir)) {
while (($file = readdir($dh)) !== false) {
if ($file != "." && $file != ".." && !is_dir($_sServerDir . $file)) {
$files[] = $file;
}
}
closedir($dh);
} else {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_ACCESS_DENIED);
}
$resourceTypeInfo = $this->_currentFolder->getResourceTypeConfig();
if (sizeof($files)>0) {
$_thumbnailsConfig = $_config->getThumbnailsConfig();
$_thumbServerPath = '';
$_showThumbs = (!empty($_GET['showThumbs']) && $_GET['showThumbs'] == 1);
if ($_thumbnailsConfig->getIsEnabled() && ($_thumbnailsConfig->getDirectAccess() || $_showThumbs)) {
$_thumbServerPath = $this->_currentFolder->getThumbsServerPath();
}
natcasesort($files);
$i=0;
foreach ($files as $file) {
$filemtime = @filemtime($_sServerDir . $file);
//otherwise file doesn't exist or we can't get it's filename properly
if ($filemtime !== false) {
$filename = CKFinder_Connector_Utils_Misc::mbBasename($file);
if (!$resourceTypeInfo->checkExtension($filename, false)) {
continue;
}
if ($resourceTypeInfo->checkIsHiddenFile($filename)) {
continue;
}
$oFileNode[$i] = new Ckfinder_Connector_Utils_XmlNode("File");
$oFilesNode->addChild($oFileNode[$i]);
$oFileNode[$i]->addAttribute("name", CKFinder_Connector_Utils_FileSystem::convertToConnectorEncoding(CKFinder_Connector_Utils_Misc::mbBasename($file)));
$oFileNode[$i]->addAttribute("date", date("YmdHi", $filemtime));
if (!empty($_thumbServerPath) && preg_match(CKFINDER_REGEX_IMAGES_EXT, $filename)) {
if (file_exists($_thumbServerPath . $filename)) {
$oFileNode[$i]->addAttribute("thumb", $filename);
}
elseif ($_showThumbs) {
$oFileNode[$i]->addAttribute("thumb", "?" . $filename);
}
}
$size = filesize($_sServerDir . $file);
if ($size && $size<1024) {
$size = 1;
}
else {
$size = (int)round($size / 1024);
}
$oFileNode[$i]->addAttribute("size", $size);
$i++;
}
}
}
}
}
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/core/connector/php/php4/CommandHandler/GetFiles.php | PHP | gpl3 | 4,834 |
<?php
/*
* CKFinder
* ========
* http://ckfinder.com
* Copyright (C) 2007-2011, CKSource - Frederico Knabben. All rights reserved.
*
* The software, this file and its contents are subject to the CKFinder
* License. Please read the license.txt file before using, installing, copying,
* modifying or distribute this file or part of its contents. The contents of
* this file is part of the Source Code of CKFinder.
*/
if (!defined('IN_CKFINDER')) exit;
/**
* @package CKFinder
* @subpackage CommandHandlers
* @copyright CKSource - Frederico Knabben
*/
/**
* Base commands handler
*
* @package CKFinder
* @subpackage CommandHandlers
* @copyright CKSource - Frederico Knabben
* @abstract
*
*/
class CKFinder_Connector_CommandHandler_CommandHandlerBase
{
/**
* CKFinder_Connector_Core_Connector object
*
* @access protected
* @var CKFinder_Connector_Core_Connector
*/
var $_connector;
/**
* CKFinder_Connector_Core_FolderHandler object
*
* @access protected
* @var CKFinder_Connector_Core_FolderHandler
*/
var $_currentFolder;
/**
* Error handler object
*
* @access protected
* @var CKFinder_Connector_ErrorHandler_Base|CKFinder_Connector_ErrorHandler_FileUpload|CKFinder_Connector_ErrorHandler_Http
*/
var $_errorHandler;
function CKFinder_Connector_CommandHandler_CommandHandlerBase()
{
$this->_currentFolder =& CKFinder_Connector_Core_Factory::getInstance("Core_FolderHandler");
$this->_connector =& CKFinder_Connector_Core_Factory::getInstance("Core_Connector");
$this->_errorHandler =& $this->_connector->getErrorHandler();
}
/**
* Get Folder Handler
*
* @return CKFinder_Connector_Core_FolderHandler
* @access public
*/
function getFolderHandler()
{
if (is_null($this->_currentFolder)) {
$this->_currentFolder =& CKFinder_Connector_Core_Factory::getInstance("Core_FolderHandler");
}
return $this->_currentFolder;
}
/**
* Check whether Connector is enabled
* @access protected
*
*/
function checkConnector()
{
$_config =& CKFinder_Connector_Core_Factory::getInstance("Core_Config");
if (!$_config->getIsEnabled()) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_CONNECTOR_DISABLED);
}
}
/**
* Check request
* @access protected
*
*/
function checkRequest()
{
if (preg_match(CKFINDER_REGEX_INVALID_PATH, $this->_currentFolder->getClientPath())) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_NAME);
}
$_resourceTypeConfig = $this->_currentFolder->getResourceTypeConfig();
if (is_null($_resourceTypeConfig)) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_TYPE);
}
$_clientPath = $this->_currentFolder->getClientPath();
$_clientPathParts = explode("/", trim($_clientPath, "/"));
if ($_clientPathParts) {
foreach ($_clientPathParts as $_part) {
if ($_resourceTypeConfig->checkIsHiddenFolder($_part)) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_REQUEST);
}
}
}
if (!is_dir($this->_currentFolder->getServerPath())) {
if ($_clientPath == "/") {
if (!CKFinder_Connector_Utils_FileSystem::createDirectoryRecursively($this->_currentFolder->getServerPath())) {
/**
* @todo handle error
*/
}
}
else {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_FOLDER_NOT_FOUND);
}
}
}
}
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/core/connector/php/php4/CommandHandler/CommandHandlerBase.php | PHP | gpl3 | 3,980 |
<?php
/*
* CKFinder
* ========
* http://ckfinder.com
* Copyright (C) 2007-2011, CKSource - Frederico Knabben. All rights reserved.
*
* The software, this file and its contents are subject to the CKFinder
* License. Please read the license.txt file before using, installing, copying,
* modifying or distribute this file or part of its contents. The contents of
* this file is part of the Source Code of CKFinder.
*/
if (!defined('IN_CKFINDER')) exit;
/**
* @package CKFinder
* @subpackage CommandHandlers
* @copyright CKSource - Frederico Knabben
*/
/**
* Include base command handler
*/
require_once CKFINDER_CONNECTOR_LIB_DIR . "/CommandHandler/CommandHandlerBase.php";
/**
* Include xml utils
*/
require_once CKFINDER_CONNECTOR_LIB_DIR . "/Core/Xml.php";
/**
* Base XML commands handler
*
* @package CKFinder
* @subpackage CommandHandlers
* @copyright CKSource - Frederico Knabben
* @abstract
*
*/
class CKFinder_Connector_CommandHandler_XmlCommandHandlerBase extends CKFinder_Connector_CommandHandler_CommandHandlerBase
{
/**
* Connector node - Ckfinder_Connector_Utils_XmlNode object
*
* @var Ckfinder_Connector_Utils_XmlNode
* @access protected
*/
var $_connectorNode;
/**
* send response
* @access public
*
*/
function sendResponse()
{
$xml =& CKFinder_Connector_Core_Factory::getInstance("Core_Xml");
$this->_connectorNode =& $xml->getConnectorNode();
$this->checkConnector();
if ($this->mustCheckRequest()) {
$this->checkRequest();
}
$resourceTypeName = $this->_currentFolder->getResourceTypeName();
if (!empty($resourceTypeName)) {
$this->_connectorNode->addAttribute("resourceType", $this->_currentFolder->getResourceTypeName());
}
if ($this->mustAddCurrentFolderNode()) {
$_currentFolder = new Ckfinder_Connector_Utils_XmlNode("CurrentFolder");
$this->_connectorNode->addChild($_currentFolder);
$_currentFolder->addAttribute("path", CKFinder_Connector_Utils_FileSystem::convertToConnectorEncoding($this->_currentFolder->getClientPath()));
$this->_errorHandler->setCatchAllErros(true);
$_url = $this->_currentFolder->getUrl();
$_currentFolder->addAttribute("url", is_null($_url) ? "" : CKFinder_Connector_Utils_FileSystem::convertToConnectorEncoding($_url));
$this->_errorHandler->setCatchAllErros(false);
$_currentFolder->addAttribute("acl", $this->_currentFolder->getAclMask());
}
$this->buildXml();
$_oErrorNode =& $xml->getErrorNode();
$_oErrorNode->addAttribute("number", "0");
echo $this->_connectorNode->asXML();
exit;
}
/**
* Must check request?
*
* @return boolean
* @access protected
*/
function mustCheckRequest()
{
return true;
}
/**
* Must add CurrentFolder node?
*
* @return boolean
* @access protected
*/
function mustAddCurrentFolderNode()
{
return true;
}
/**
* @access protected
* @abstract
* @return void
*/
function buildXml()
{
}
}
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/core/connector/php/php4/CommandHandler/XmlCommandHandlerBase.php | PHP | gpl3 | 3,360 |
<?php
/*
* CKFinder
* ========
* http://ckfinder.com
* Copyright (C) 2007-2011, CKSource - Frederico Knabben. All rights reserved.
*
* The software, this file and its contents are subject to the CKFinder
* License. Please read the license.txt file before using, installing, copying,
* modifying or distribute this file or part of its contents. The contents of
* this file is part of the Source Code of CKFinder.
*/
if (!defined('IN_CKFINDER')) exit;
/**
* @package CKFinder
* @subpackage CommandHandlers
* @copyright CKSource - Frederico Knabben
*/
/**
* Include file upload command handler
*/
require_once CKFINDER_CONNECTOR_LIB_DIR . "/CommandHandler/FileUpload.php";
/**
* Handle QuickUpload command
*
* @package CKFinder
* @subpackage CommandHandlers
* @copyright CKSource - Frederico Knabben
*/
class CKFinder_Connector_CommandHandler_QuickUpload extends CKFinder_Connector_CommandHandler_FileUpload
{
/**
* Command name
*
* @access protected
* @var string
*/
var $command = "QuickUpload";
function sendResponse()
{
$oRegistry =& CKFinder_Connector_Core_Factory::getInstance("Core_Registry");
$oRegistry->set("FileUpload_url", $this->_currentFolder->getUrl());
return parent::sendResponse();
}
}
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/core/connector/php/php4/CommandHandler/QuickUpload.php | PHP | gpl3 | 1,347 |
<?php
/*
* CKFinder
* ========
* http://ckfinder.com
* Copyright (C) 2007-2011, CKSource - Frederico Knabben. All rights reserved.
*
* The software, this file and its contents are subject to the CKFinder
* License. Please read the license.txt file before using, installing, copying,
* modifying or distribute this file or part of its contents. The contents of
* this file is part of the Source Code of CKFinder.
*/
if (!defined('IN_CKFINDER')) exit;
/**
* @package CKFinder
* @subpackage CommandHandlers
* @copyright CKSource - Frederico Knabben
*/
/**
* Include base XML command handler
*/
require_once CKFINDER_CONNECTOR_LIB_DIR . "/CommandHandler/XmlCommandHandlerBase.php";
/**
* Handle Init command
*
* @package CKFinder
* @subpackage CommandHandlers
* @copyright CKSource - Frederico Knabben
*/
class CKFinder_Connector_CommandHandler_Init extends CKFinder_Connector_CommandHandler_XmlCommandHandlerBase
{
/**
* Command name
*
* @access private
* @var string
*/
var $command = "Init";
function mustCheckRequest()
{
return false;
}
/**
* Must add CurrentFolder node?
*
* @return boolean
* @access protected
*/
function mustAddCurrentFolderNode()
{
return false;
}
/**
* handle request and build XML
* @access protected
*
*/
function buildXml()
{
$_config =& CKFinder_Connector_Core_Factory::getInstance("Core_Config");
// Create the "ConnectorInfo" node.
$_oConnInfo = new Ckfinder_Connector_Utils_XmlNode("ConnectorInfo");
$this->_connectorNode->addChild($_oConnInfo);
$_oConnInfo->addAttribute("enabled", $_config->getIsEnabled() ? "true" : "false");
if (!$_config->getIsEnabled()) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_CONNECTOR_DISABLED);
}
$_ln = '' ;
$_lc = $_config->getLicenseKey() . ' ' ;
if ( 1 == ( strpos( CKFINDER_CHARS, $_lc[0] ) % 5 ) )
$_ln = $_config->getLicenseName() ;
$_oConnInfo->addAttribute("s", $_ln);
$_oConnInfo->addAttribute("c", trim( $_lc[11] . $_lc[0] . $_lc [8] . $_lc[12] . $_lc[26] . $_lc[2] . $_lc[3] . $_lc[25] . $_lc[1] ));
$_thumbnailsConfig = $_config->getThumbnailsConfig();
$_thumbnailsEnabled = $_thumbnailsConfig->getIsEnabled() ;
$_oConnInfo->addAttribute("thumbsEnabled", $_thumbnailsEnabled ? "true" : "false");
if ($_thumbnailsEnabled) {
$_oConnInfo->addAttribute("thumbsUrl", $_thumbnailsConfig->getUrl());
$_oConnInfo->addAttribute("thumbsDirectAccess", $_thumbnailsConfig->getDirectAccess() ? "true" : "false" );
}
$_imagesConfig = $_config->getImagesConfig();
$_oConnInfo->addAttribute("imgWidth", $_imagesConfig->getMaxWidth());
$_oConnInfo->addAttribute("imgHeight", $_imagesConfig->getMaxHeight());
// Create the "ResourceTypes" node.
$_oResourceTypes = new Ckfinder_Connector_Utils_XmlNode("ResourceTypes");
$this->_connectorNode->addChild($_oResourceTypes);
// Create the "PluginsInfo" node.
$_oPluginsInfo = new Ckfinder_Connector_Utils_XmlNode("PluginsInfo");
$this->_connectorNode->addChild($_oPluginsInfo);
// Load the resource types in an array.
$_aTypes = $_config->getDefaultResourceTypes();
if (!sizeof($_aTypes)) {
$_aTypes = $_config->getResourceTypeNames();
}
$_aTypesSize = sizeof($_aTypes);
if ($_aTypesSize) {
for ($i = 0; $i < $_aTypesSize; $i++)
{
$_resourceTypeName = $_aTypes[$i];
$_acl = $_config->getAccessControlConfig();
$_aclMask = $_acl->getComputedMask($_resourceTypeName, "/");
if ( ($_aclMask & CKFINDER_CONNECTOR_ACL_FOLDER_VIEW) != CKFINDER_CONNECTOR_ACL_FOLDER_VIEW ) {
continue;
}
if (!isset($_GET['type']) || $_GET['type'] === $_resourceTypeName) {
//print $_resourceTypeName;
$_oTypeInfo = $_config->getResourceTypeConfig($_resourceTypeName);
//print_r($_oTypeInfo);
$_oResourceType[$i] = new Ckfinder_Connector_Utils_XmlNode("ResourceType");
$_oResourceTypes->addChild($_oResourceType[$i]);
$_oResourceType[$i]->addAttribute("name", $_resourceTypeName);
$_oResourceType[$i]->addAttribute("url", $_oTypeInfo->getUrl());
$_oResourceType[$i]->addAttribute("allowedExtensions", implode(",", $_oTypeInfo->getAllowedExtensions()));
$_oResourceType[$i]->addAttribute("deniedExtensions", implode(",", $_oTypeInfo->getDeniedExtensions()));
$_oResourceType[$i]->addAttribute("hash", substr(md5($_oTypeInfo->getDirectory()), 0, 16));
$_oResourceType[$i]->addAttribute("hasChildren", CKFinder_Connector_Utils_FileSystem::hasChildren($_oTypeInfo->getDirectory()) ? "true" : "false");
$_oResourceType[$i]->addAttribute("acl", $_aclMask);
}
}
}
$config = $GLOBALS['config'];
if (!empty($config['Plugins']) && is_array($config['Plugins']) ) {
$_oConnInfo->addAttribute("plugins", implode(",", $config['Plugins']));
}
CKFinder_Connector_Core_Hooks::run('InitCommand', array(&$this->_connectorNode));
}
}
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/core/connector/php/php4/CommandHandler/Init.php | PHP | gpl3 | 5,735 |
<?php
/*
* CKFinder
* ========
* http://ckfinder.com
* Copyright (C) 2007-2011, CKSource - Frederico Knabben. All rights reserved.
*
* The software, this file and its contents are subject to the CKFinder
* License. Please read the license.txt file before using, installing, copying,
* modifying or distribute this file or part of its contents. The contents of
* this file is part of the Source Code of CKFinder.
*/
if (!defined('IN_CKFINDER')) exit;
/**
* @package CKFinder
* @subpackage CommandHandlers
* @copyright CKSource - Frederico Knabben
*/
/**
* Handle Thumbnail command (create thumbnail if doesn't exist)
*
* @package CKFinder
* @subpackage CommandHandlers
* @copyright CKSource - Frederico Knabben
*/
class CKFinder_Connector_CommandHandler_Thumbnail extends CKFinder_Connector_CommandHandler_CommandHandlerBase
{
/**
* Command name
*
* @access private
* @var string
*/
var $command = "Thumbnail";
/**
* Send response
* @access public
*
*/
function sendResponse()
{
// Get rid of BOM markers
if (ob_get_level()) {
while (@ob_end_clean() && ob_get_level());
}
header("Content-Encoding: none");
$this->checkConnector();
$this->checkRequest();
$_config =& CKFinder_Connector_Core_Factory::getInstance("Core_Config");
$_thumbnails = $_config->getThumbnailsConfig();
if (!$_thumbnails->getIsEnabled()) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_THUMBNAILS_DISABLED);
}
if (!$this->_currentFolder->checkAcl(CKFINDER_CONNECTOR_ACL_FILE_VIEW)) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_UNAUTHORIZED);
}
if (!isset($_GET["FileName"])) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_REQUEST);
}
$fileName = CKFinder_Connector_Utils_FileSystem::convertToFilesystemEncoding($_GET["FileName"]);
$_resourceTypeInfo = $this->_currentFolder->getResourceTypeConfig();
if (!CKFinder_Connector_Utils_FileSystem::checkFileName($fileName)) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_REQUEST);
}
$sourceFilePath = CKFinder_Connector_Utils_FileSystem::combinePaths($this->_currentFolder->getServerPath(), $fileName);
if ($_resourceTypeInfo->checkIsHiddenFile($fileName) || !file_exists($sourceFilePath)) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_FILE_NOT_FOUND);
}
$thumbFilePath = CKFinder_Connector_Utils_FileSystem::combinePaths($this->_currentFolder->getThumbsServerPath(), $fileName);
// If the thumbnail file doesn't exists, create it now.
if (!file_exists($thumbFilePath)) {
if(!$this->createThumb($sourceFilePath, $thumbFilePath, $_thumbnails->getMaxWidth(), $_thumbnails->getMaxHeight(), $_thumbnails->getQuality(), true, $_thumbnails->getBmpSupported())) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_ACCESS_DENIED);
}
}
$size = filesize($thumbFilePath);
$sourceImageAttr = getimagesize($thumbFilePath);
$mime = $sourceImageAttr["mime"];
$rtime = isset($_SERVER["HTTP_IF_MODIFIED_SINCE"])?strtotime($_SERVER["HTTP_IF_MODIFIED_SINCE"]):0;
$mtime = filemtime($thumbFilePath);
$etag = dechex($mtime) . "-" . dechex($size);
$is304 = false;
if (isset($_SERVER["HTTP_IF_NONE_MATCH"]) && $_SERVER["HTTP_IF_NONE_MATCH"] === $etag) {
$is304 = true;
}
else if($rtime == $mtime) {
$is304 = true;
}
if ($is304) {
header("HTTP/1.0 304 Not Modified");
exit();
}
//header("Cache-Control: cache, must-revalidate");
//header("Pragma: public");
//header("Expires: 0");
header('Cache-control: public');
header('Etag: ' . $etag);
header("Content-type: " . $mime . "; name=\"" . CKFinder_Connector_Utils_Misc::mbBasename($thumbFilePath) . "\"");
header("Last-Modified: ".gmdate('D, d M Y H:i:s', $mtime) . " GMT");
//header("Content-type: application/octet-stream; name=\"{$file}\"");
//header("Content-Disposition: attachment; filename=\"{$file}\"");
header("Content-Length: ".$size);
readfile($thumbFilePath);
exit;
}
/**
* Create thumbnail
*
* @param string $sourceFile
* @param string $targetFile
* @param int $maxWidth
* @param int $maxHeight
* @param boolean $preserverAspectRatio
* @param boolean $bmpSupported
* @return boolean
* @static
* @access public
*/
function createThumb($sourceFile, $targetFile, $maxWidth, $maxHeight, $quality, $preserverAspectRatio, $bmpSupported = false)
{
$sourceImageAttr = @getimagesize($sourceFile);
if ($sourceImageAttr === false) {
return false;
}
$sourceImageWidth = isset($sourceImageAttr[0]) ? $sourceImageAttr[0] : 0;
$sourceImageHeight = isset($sourceImageAttr[1]) ? $sourceImageAttr[1] : 0;
$sourceImageMime = isset($sourceImageAttr["mime"]) ? $sourceImageAttr["mime"] : "";
$sourceImageBits = isset($sourceImageAttr["bits"]) ? $sourceImageAttr["bits"] : 8;
$sourceImageChannels = isset($sourceImageAttr["channels"]) ? $sourceImageAttr["channels"] : 3;
if (!$sourceImageWidth || !$sourceImageHeight || !$sourceImageMime) {
return false;
}
$iFinalWidth = $maxWidth == 0 ? $sourceImageWidth : $maxWidth;
$iFinalHeight = $maxHeight == 0 ? $sourceImageHeight : $maxHeight;
if ($sourceImageWidth <= $iFinalWidth && $sourceImageHeight <= $iFinalHeight) {
if ($sourceFile != $targetFile) {
copy($sourceFile, $targetFile);
}
return true;
}
if ($preserverAspectRatio)
{
// Gets the best size for aspect ratio resampling
$oSize = CKFinder_Connector_CommandHandler_Thumbnail::GetAspectRatioSize($iFinalWidth, $iFinalHeight, $sourceImageWidth, $sourceImageHeight );
}
else {
$oSize = array('Width' => $iFinalWidth, 'Height' => $iFinalHeight);
}
CKFinder_Connector_Utils_Misc::setMemoryForImage($sourceImageWidth, $sourceImageHeight, $sourceImageBits, $sourceImageChannels);
switch ($sourceImageAttr['mime'])
{
case 'image/gif':
{
if (@imagetypes() & IMG_GIF) {
$oImage = @imagecreatefromgif($sourceFile);
} else {
$ermsg = 'GIF images are not supported';
}
}
break;
case 'image/jpeg':
{
if (@imagetypes() & IMG_JPG) {
$oImage = @imagecreatefromjpeg($sourceFile) ;
} else {
$ermsg = 'JPEG images are not supported';
}
}
break;
case 'image/png':
{
if (@imagetypes() & IMG_PNG) {
$oImage = @imagecreatefrompng($sourceFile) ;
} else {
$ermsg = 'PNG images are not supported';
}
}
break;
case 'image/wbmp':
{
if (@imagetypes() & IMG_WBMP) {
$oImage = @imagecreatefromwbmp($sourceFile);
} else {
$ermsg = 'WBMP images are not supported';
}
}
break;
case 'image/bmp':
{
/*
* This is sad that PHP doesn't support bitmaps.
* Anyway, we will use our custom function at least to display thumbnails.
* We'll not resize images this way (if $sourceFile === $targetFile),
* because user defined imagecreatefrombmp and imagecreatebmp are horribly slow
*/
if ($bmpSupported && (@imagetypes() & IMG_JPG) && $sourceFile != $targetFile) {
$oImage = CKFinder_Connector_Utils_Misc::imageCreateFromBmp($sourceFile);
} else {
$ermsg = 'BMP/JPG images are not supported';
}
}
break;
default:
$ermsg = $sourceImageAttr['mime'].' images are not supported';
break;
}
if (isset($ermsg) || false === $oImage) {
return false;
}
$oThumbImage = imagecreatetruecolor($oSize["Width"], $oSize["Height"]);
if (function_exists('imagesavealpha') && function_exists('imagecolorallocatealpha') && $sourceImageAttr['mime'] == 'image/png') {
$bg = imagecolorallocatealpha($oThumbImage, 255, 255, 255, 127); // (PHP 4 >= 4.3.2, PHP 5)
imagefill($oThumbImage, 0, 0 , $bg);
imagealphablending($oThumbImage, false);
imagesavealpha($oThumbImage, true); // (PHP 4 >= 4.3.2, PHP 5)
}
//imagecopyresampled($oThumbImage, $oImage, 0, 0, 0, 0, $oSize["Width"], $oSize["Height"], $sourceImageWidth, $sourceImageHeight);
CKFinder_Connector_Utils_Misc::fastImageCopyResampled($oThumbImage, $oImage, 0, 0, 0, 0, $oSize["Width"], $oSize["Height"], $sourceImageWidth, $sourceImageHeight, (int)max(floor($quality/20), 6));
switch ($sourceImageAttr['mime'])
{
case 'image/gif':
imagegif($oThumbImage, $targetFile);
break;
case 'image/jpeg':
case 'image/bmp':
imagejpeg($oThumbImage, $targetFile, $quality);
break;
case 'image/png':
imagepng($oThumbImage, $targetFile);
break;
case 'image/wbmp':
imagewbmp($oThumbImage, $targetFile);
break;
}
$_config =& CKFinder_Connector_Core_Factory::getInstance("Core_Config");
if (file_exists($targetFile) && ($perms = $_config->getChmodFiles())) {
$oldUmask = umask(0);
chmod($targetFile, $perms);
umask($oldUmask);
}
imageDestroy($oImage);
imageDestroy($oThumbImage);
return true;
}
/**
* Return aspect ratio size, returns associative array:
* <pre>
* Array
* (
* [Width] => 80
* [Heigth] => 120
* )
* </pre>
*
* @param int $maxWidth
* @param int $maxHeight
* @param int $actualWidth
* @param int $actualHeight
* @return array
* @static
* @access public
*/
function getAspectRatioSize($maxWidth, $maxHeight, $actualWidth, $actualHeight)
{
$oSize = array("Width"=>$maxWidth, "Height"=>$maxHeight);
// Calculates the X and Y resize factors
$iFactorX = (float)$maxWidth / (float)$actualWidth;
$iFactorY = (float)$maxHeight / (float)$actualHeight;
// If some dimension have to be scaled
if ($iFactorX != 1 || $iFactorY != 1)
{
// Uses the lower Factor to scale the oposite size
if ($iFactorX < $iFactorY) {
$oSize["Height"] = (int)round($actualHeight * $iFactorX);
}
else if ($iFactorX > $iFactorY) {
$oSize["Width"] = (int)round($actualWidth * $iFactorY);
}
}
if ($oSize["Height"] <= 0) {
$oSize["Height"] = 1;
}
if ($oSize["Width"] <= 0) {
$oSize["Width"] = 1;
}
// Returns the Size
return $oSize;
}
}
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/core/connector/php/php4/CommandHandler/Thumbnail.php | PHP | gpl3 | 12,347 |
<?php
/**
* CKFinder
* ========
* http://ckfinder.com
* Copyright (C) 2007-2011, CKSource - Frederico Knabben. All rights reserved.
*
* The software, this file and its contents are subject to the CKFinder
* License. Please read the license.txt file before using, installing, copying,
* modifying or distribute this file or part of its contents. The contents of
* this file is part of the Source Code of CKFinder.
*/
if (!defined('IN_CKFINDER')) exit;
/**
* @package CKFinder
* @subpackage CommandHandlers
* @copyright CKSource - Frederico Knabben
*/
/**
* Handle FileUpload command
*
* @package CKFinder
* @subpackage CommandHandlers
* @copyright CKSource - Frederico Knabben
*/
class CKFinder_Connector_CommandHandler_FileUpload extends CKFinder_Connector_CommandHandler_CommandHandlerBase
{
/**
* Command name
*
* @access protected
* @var string
*/
var $command = "FileUpload";
/**
* send response (save uploaded file, resize if required)
* @access public
*
*/
function sendResponse()
{
$iErrorNumber = CKFINDER_CONNECTOR_ERROR_NONE;
$_config =& CKFinder_Connector_Core_Factory::getInstance("Core_Config");
$oRegistry =& CKFinder_Connector_Core_Factory::getInstance("Core_Registry");
$oRegistry->set("FileUpload_fileName", "unknown file");
$uploadedFile = array_shift($_FILES);
if (!isset($uploadedFile['name'])) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_UPLOADED_INVALID);
}
$sUnsafeFileName = CKFinder_Connector_Utils_FileSystem::convertToFilesystemEncoding(CKFinder_Connector_Utils_Misc::mbBasename($uploadedFile['name']));
$sFileName = str_replace(array(":", "*", "?", "|", "/"), "_", $sUnsafeFileName);
if ($_config->forceAscii()) {
$sFileName = CKFinder_Connector_Utils_FileSystem::convertToAscii($sFileName);
}
if ($sFileName != $sUnsafeFileName) {
$iErrorNumber = CKFINDER_CONNECTOR_ERROR_UPLOADED_INVALID_NAME_RENAMED;
}
$oRegistry->set("FileUpload_fileName", $sFileName);
$oRegistry->set("FileUpload_url", $this->_currentFolder->getUrl());
$this->checkConnector();
$this->checkRequest();
if (!$this->_currentFolder->checkAcl(CKFINDER_CONNECTOR_ACL_FILE_UPLOAD)) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_UNAUTHORIZED);
}
$_resourceTypeConfig = $this->_currentFolder->getResourceTypeConfig();
if (!CKFinder_Connector_Utils_FileSystem::checkFileName($sFileName) || $_resourceTypeConfig->checkIsHiddenFile($sFileName)) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_NAME);
}
$resourceTypeInfo = $this->_currentFolder->getResourceTypeConfig();
if (!$resourceTypeInfo->checkExtension($sFileName)) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_EXTENSION);
}
$sFileNameOrginal = $sFileName;
$oRegistry->set("FileUpload_fileName", $sFileName);
$maxSize = $resourceTypeInfo->getMaxSize();
if (!$_config->checkSizeAfterScaling() && $maxSize && $uploadedFile['size']>$maxSize) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_UPLOADED_TOO_BIG);
}
$htmlExtensions = $_config->getHtmlExtensions();
$sExtension = CKFinder_Connector_Utils_FileSystem::getExtension($sFileNameOrginal);
if ($htmlExtensions
&& !CKFinder_Connector_Utils_Misc::inArrayCaseInsensitive($sExtension, $htmlExtensions)
&& ($detectHtml = CKFinder_Connector_Utils_FileSystem::detectHtml($uploadedFile['tmp_name'])) === true ) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_UPLOADED_WRONG_HTML_FILE);
}
$sExtension = CKFinder_Connector_Utils_FileSystem::getExtension($sFileNameOrginal);
$secureImageUploads = $_config->getSecureImageUploads();
if ($secureImageUploads
&& ($isImageValid = CKFinder_Connector_Utils_FileSystem::isImageValid($uploadedFile['tmp_name'], $sExtension)) === false ) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_UPLOADED_CORRUPT);
}
switch ($uploadedFile['error']) {
case UPLOAD_ERR_OK:
break;
case UPLOAD_ERR_INI_SIZE:
case UPLOAD_ERR_FORM_SIZE:
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_UPLOADED_TOO_BIG);
break;
case UPLOAD_ERR_PARTIAL:
case UPLOAD_ERR_NO_FILE:
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_UPLOADED_CORRUPT);
break;
case UPLOAD_ERR_NO_TMP_DIR:
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_UPLOADED_NO_TMP_DIR);
break;
case UPLOAD_ERR_CANT_WRITE:
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_ACCESS_DENIED);
break;
case UPLOAD_ERR_EXTENSION:
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_ACCESS_DENIED);
break;
}
$sServerDir = $this->_currentFolder->getServerPath();
$iCounter = 0;
while (true)
{
$sFilePath = CKFinder_Connector_Utils_FileSystem::combinePaths($sServerDir, $sFileName);
if (file_exists($sFilePath)) {
$iCounter++;
$sFileName =
CKFinder_Connector_Utils_FileSystem::getFileNameWithoutExtension($sFileNameOrginal) .
"(" . $iCounter . ")" . "." .
CKFinder_Connector_Utils_FileSystem::getExtension($sFileNameOrginal);
$oRegistry->set("FileUpload_fileName", $sFileName);
$iErrorNumber = CKFINDER_CONNECTOR_ERROR_UPLOADED_FILE_RENAMED;
} else {
if (false === move_uploaded_file($uploadedFile['tmp_name'], $sFilePath)) {
$iErrorNumber = CKFINDER_CONNECTOR_ERROR_ACCESS_DENIED;
}
else {
if (isset($detectHtml) && $detectHtml === -1 && CKFinder_Connector_Utils_FileSystem::detectHtml($sFilePath) === true) {
@unlink($sFilePath);
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_UPLOADED_WRONG_HTML_FILE);
}
else if (isset($isImageValid) && $isImageValid === -1 && CKFinder_Connector_Utils_FileSystem::isImageValid($sFilePath, $sExtension) === false) {
@unlink($sFilePath);
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_UPLOADED_CORRUPT);
}
}
if (is_file($sFilePath) && ($perms = $_config->getChmodFiles())) {
$oldumask = umask(0);
chmod($sFilePath, $perms);
umask($oldumask);
}
break;
}
}
if (!$_config->checkSizeAfterScaling()) {
$this->_errorHandler->throwError($iErrorNumber, true, false);
}
//resize image if required
require_once CKFINDER_CONNECTOR_LIB_DIR . "/CommandHandler/Thumbnail.php";
$_imagesConfig = $_config->getImagesConfig();
if ($_imagesConfig->getMaxWidth()>0 && $_imagesConfig->getMaxHeight()>0 && $_imagesConfig->getQuality()>0) {
CKFinder_Connector_CommandHandler_Thumbnail::createThumb($sFilePath, $sFilePath, $_imagesConfig->getMaxWidth(), $_imagesConfig->getMaxHeight(), $_imagesConfig->getQuality(), true) ;
}
if ($_config->checkSizeAfterScaling()) {
//check file size after scaling, attempt to delete if too big
clearstatcache();
if ($maxSize && filesize($sFilePath)>$maxSize) {
@unlink($sFilePath);
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_UPLOADED_TOO_BIG);
}
else {
$this->_errorHandler->throwError($iErrorNumber, true, false);
}
}
CKFinder_Connector_Core_Hooks::run('AfterFileUpload', array(&$this->_currentFolder, &$uploadedFile, &$sFilePath));
}
}
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/core/connector/php/php4/CommandHandler/FileUpload.php | PHP | gpl3 | 8,559 |
<?php
/*
* CKFinder
* ========
* http://ckfinder.com
* Copyright (C) 2007-2011, CKSource - Frederico Knabben. All rights reserved.
*
* The software, this file and its contents are subject to the CKFinder
* License. Please read the license.txt file before using, installing, copying,
* modifying or distribute this file or part of its contents. The contents of
* this file is part of the Source Code of CKFinder.
*/
if (!defined('IN_CKFINDER')) exit;
/**
* @package CKFinder
* @subpackage CommandHandlers
* @copyright CKSource - Frederico Knabben
*/
/**
* Include base XML command handler
*/
require_once CKFINDER_CONNECTOR_LIB_DIR . "/CommandHandler/XmlCommandHandlerBase.php";
/**
* Handle RenameFolder command
*
* @package CKFinder
* @subpackage CommandHandlers
* @copyright CKSource - Frederico Knabben
*/
class CKFinder_Connector_CommandHandler_RenameFolder extends CKFinder_Connector_CommandHandler_XmlCommandHandlerBase
{
/**
* Command name
*
* @access private
* @var string
*/
var $command = "RenameFolder";
/**
* handle request and build XML
* @access protected
*
*/
function buildXml()
{
if (empty($_POST['CKFinderCommand']) || $_POST['CKFinderCommand'] != 'true') {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_REQUEST);
}
if (!$this->_currentFolder->checkAcl(CKFINDER_CONNECTOR_ACL_FOLDER_RENAME)) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_UNAUTHORIZED);
}
if (!isset($_GET["NewFolderName"])) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_NAME);
}
$newFolderName = CKFinder_Connector_Utils_FileSystem::convertToFilesystemEncoding($_GET["NewFolderName"]);
$resourceTypeInfo = $this->_currentFolder->getResourceTypeConfig();
$_config =& CKFinder_Connector_Core_Factory::getInstance("Core_Config");
if ($_config->forceAscii()) {
$newFolderName = CKFinder_Connector_Utils_FileSystem::convertToAscii($newFolderName);
}
if (!CKFinder_Connector_Utils_FileSystem::checkFileName($newFolderName) || $resourceTypeInfo->checkIsHiddenFolder($newFolderName)) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_NAME);
}
// The root folder cannot be deleted.
if ($this->_currentFolder->getClientPath() == "/") {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_REQUEST);
}
$oldFolderPath = $this->_currentFolder->getServerPath();
$bMoved = false;
if (!is_dir($oldFolderPath)) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_REQUEST);
}
//let's calculate new folder name
$newFolderPath = dirname($oldFolderPath).DIRECTORY_SEPARATOR.$newFolderName.DIRECTORY_SEPARATOR;
if (file_exists(rtrim($newFolderPath, DIRECTORY_SEPARATOR))) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_ALREADY_EXIST);
}
$bMoved = @rename($oldFolderPath, $newFolderPath);
if (!$bMoved) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_ACCESS_DENIED);
} else {
$newThumbsServerPath = dirname($this->_currentFolder->getThumbsServerPath()) . '/' . $newFolderName . '/';
if (!@rename($this->_currentFolder->getThumbsServerPath(), $newThumbsServerPath)) {
CKFinder_Connector_Utils_FileSystem::unlink($this->_currentFolder->getThumbsServerPath());
}
}
$newFolderPath = preg_replace(",[^/]+/?$,", $newFolderName, $this->_currentFolder->getClientPath()) . '/';
$newFolderUrl = $resourceTypeInfo->getUrl() . ltrim($newFolderPath, '/');
$oRenameNode = new Ckfinder_Connector_Utils_XmlNode("RenamedFolder");
$this->_connectorNode->addChild($oRenameNode);
$oRenameNode->addAttribute("newName", CKFinder_Connector_Utils_FileSystem::convertToConnectorEncoding($newFolderName));
$oRenameNode->addAttribute("newPath", CKFinder_Connector_Utils_FileSystem::convertToConnectorEncoding($newFolderPath));
$oRenameNode->addAttribute("newUrl", CKFinder_Connector_Utils_FileSystem::convertToConnectorEncoding($newFolderUrl));
}
}
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/core/connector/php/php4/CommandHandler/RenameFolder.php | PHP | gpl3 | 4,476 |
<?php
/*
* CKFinder
* ========
* http://ckfinder.com
* Copyright (C) 2007-2011, CKSource - Frederico Knabben. All rights reserved.
*
* The software, this file and its contents are subject to the CKFinder
* License. Please read the license.txt file before using, installing, copying,
* modifying or distribute this file or part of its contents. The contents of
* this file is part of the Source Code of CKFinder.
*/
if (!defined('IN_CKFINDER')) exit;
/**
* @package CKFinder
* @subpackage CommandHandlers
* @copyright CKSource - Frederico Knabben
*/
/**
* Include base XML command handler
*/
require_once CKFINDER_CONNECTOR_LIB_DIR . "/CommandHandler/XmlCommandHandlerBase.php";
/**
* Handle GetFolders command
*
* @package CKFinder
* @subpackage CommandHandlers
* @copyright CKSource - Frederico Knabben
*/
class CKFinder_Connector_CommandHandler_GetFolders extends CKFinder_Connector_CommandHandler_XmlCommandHandlerBase
{
/**
* Command name
*
* @access private
* @var string
*/
var $command = "GetFolders";
/**
* handle request and build XML
* @access protected
*
*/
function buildXml()
{
$_config =& CKFinder_Connector_Core_Factory::getInstance("Core_Config");
if (!$this->_currentFolder->checkAcl(CKFINDER_CONNECTOR_ACL_FOLDER_VIEW)) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_UNAUTHORIZED);
}
// Map the virtual path to the local server path.
$_sServerDir = $this->_currentFolder->getServerPath();
if (!is_dir($_sServerDir)) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_FOLDER_NOT_FOUND);
}
// Create the "Folders" node.
$oFoldersNode = new Ckfinder_Connector_Utils_XmlNode("Folders");
$this->_connectorNode->addChild($oFoldersNode);
$files = array();
if ($dh = @opendir($_sServerDir)) {
while (($file = readdir($dh)) !== false) {
if ($file != "." && $file != ".." && is_dir($_sServerDir . $file)) {
$files[] = $file;
}
}
closedir($dh);
} else {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_ACCESS_DENIED);
}
$resourceTypeInfo = $this->_currentFolder->getResourceTypeConfig();
if (sizeof($files)>0) {
natcasesort($files);
$i=0;
foreach ($files as $file) {
$oAcl = $_config->getAccessControlConfig();
$aclMask = $oAcl->getComputedMask($this->_currentFolder->getResourceTypeName(), $this->_currentFolder->getClientPath() . $file . "/");
if (($aclMask & CKFINDER_CONNECTOR_ACL_FOLDER_VIEW) != CKFINDER_CONNECTOR_ACL_FOLDER_VIEW) {
continue;
}
if ($resourceTypeInfo->checkIsHiddenFolder($file)) {
continue;
}
// Create the "Folder" node.
$oFolderNode[$i] = new Ckfinder_Connector_Utils_XmlNode("Folder");
$oFoldersNode->addChild($oFolderNode[$i]);
$oFolderNode[$i]->addAttribute("name", CKFinder_Connector_Utils_FileSystem::convertToConnectorEncoding($file));
$oFolderNode[$i]->addAttribute("hasChildren", CKFinder_Connector_Utils_FileSystem::hasChildren($_sServerDir . $file) ? "true" : "false");
$oFolderNode[$i]->addAttribute("acl", $aclMask);
$i++;
}
}
}
}
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/core/connector/php/php4/CommandHandler/GetFolders.php | PHP | gpl3 | 3,672 |
<?php
/*
* CKFinder
* ========
* http://ckfinder.com
* Copyright (C) 2007-2011, CKSource - Frederico Knabben. All rights reserved.
*
* The software, this file and its contents are subject to the CKFinder
* License. Please read the license.txt file before using, installing, copying,
* modifying or distribute this file or part of its contents. The contents of
* this file is part of the Source Code of CKFinder.
*/
if (!defined('IN_CKFINDER')) exit;
/**
* @package CKFinder
* @subpackage CommandHandlers
* @copyright CKSource - Frederico Knabben
*/
/**
* Include base XML command handler
*/
require_once CKFINDER_CONNECTOR_LIB_DIR . "/CommandHandler/XmlCommandHandlerBase.php";
/**
* Handle DeleteFile command
*
* @package CKFinder
* @subpackage CommandHandlers
* @copyright CKSource - Frederico Knabben
*/
class CKFinder_Connector_CommandHandler_DeleteFile extends CKFinder_Connector_CommandHandler_XmlCommandHandlerBase
{
/**
* Command name
*
* @access private
* @var string
*/
var $command = "DeleteFile";
/**
* handle request and build XML
* @access protected
*
*/
function buildXml()
{
if (empty($_POST['CKFinderCommand']) || $_POST['CKFinderCommand'] != 'true') {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_REQUEST);
}
if (!$this->_currentFolder->checkAcl(CKFINDER_CONNECTOR_ACL_FILE_DELETE)) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_UNAUTHORIZED);
}
if (!isset($_GET["FileName"])) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_NAME);
}
$fileName = CKFinder_Connector_Utils_FileSystem::convertToFilesystemEncoding($_GET["FileName"]);
$_resourceTypeInfo = $this->_currentFolder->getResourceTypeConfig();
if (!CKFinder_Connector_Utils_FileSystem::checkFileName($fileName) || $_resourceTypeInfo->checkIsHiddenFile($fileName)) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_REQUEST);
}
if (!$_resourceTypeInfo->checkExtension($fileName, false)) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_REQUEST);
}
$filePath = CKFinder_Connector_Utils_FileSystem::combinePaths($this->_currentFolder->getServerPath(), $fileName);
$bDeleted = false;
if (!file_exists($filePath)) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_FILE_NOT_FOUND);
}
if (!@unlink($filePath)) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_ACCESS_DENIED);
} else {
$bDeleted = true;
}
if ($bDeleted) {
$thumbPath = CKFinder_Connector_Utils_FileSystem::combinePaths($this->_currentFolder->getThumbsServerPath(), $fileName);
@unlink($thumbPath);
$oDeleteFileNode = new Ckfinder_Connector_Utils_XmlNode("DeletedFile");
$this->_connectorNode->addChild($oDeleteFileNode);
$oDeleteFileNode->addAttribute("name", $fileName);
}
}
}
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/core/connector/php/php4/CommandHandler/DeleteFile.php | PHP | gpl3 | 3,256 |
<?php
/*
* CKFinder
* ========
* http://ckfinder.com
* Copyright (C) 2007-2011, CKSource - Frederico Knabben. All rights reserved.
*
* The software, this file and its contents are subject to the CKFinder
* License. Please read the license.txt file before using, installing, copying,
* modifying or distribute this file or part of its contents. The contents of
* this file is part of the Source Code of CKFinder.
*/
if (!defined('IN_CKFINDER')) exit;
/**
* @package CKFinder
* @subpackage CommandHandlers
* @copyright CKSource - Frederico Knabben
*/
/**
* Handle DownloadFile command
*
* @package CKFinder
* @subpackage CommandHandlers
* @copyright CKSource - Frederico Knabben
*/
class CKFinder_Connector_CommandHandler_DownloadFile extends CKFinder_Connector_CommandHandler_CommandHandlerBase
{
/**
* Command name
*
* @access private
* @var string
*/
var $command = "DownloadFile";
/**
* send response (file)
* @access public
*
*/
function sendResponse()
{
if (!function_exists('ob_list_handlers') || ob_list_handlers()) {
@ob_end_clean();
}
header("Content-Encoding: none");
$this->checkConnector();
$this->checkRequest();
if (!$this->_currentFolder->checkAcl(CKFINDER_CONNECTOR_ACL_FILE_VIEW)) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_UNAUTHORIZED);
}
$fileName = CKFinder_Connector_Utils_FileSystem::convertToFilesystemEncoding($_GET["FileName"]);
$_resourceTypeInfo = $this->_currentFolder->getResourceTypeConfig();
if (!CKFinder_Connector_Utils_FileSystem::checkFileName($fileName)) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_REQUEST);
}
if (!$_resourceTypeInfo->checkExtension($fileName, false)) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_REQUEST);
}
$filePath = CKFinder_Connector_Utils_FileSystem::combinePaths($this->_currentFolder->getServerPath(), $fileName);
if ($_resourceTypeInfo->checkIsHiddenFile($fileName) || !file_exists($filePath) || !is_file($filePath)) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_FILE_NOT_FOUND);
}
$fileName = CKFinder_Connector_Utils_FileSystem::convertToConnectorEncoding($fileName);
header("Cache-Control: cache, must-revalidate");
header("Pragma: public");
header("Expires: 0");
if (!empty($_GET['format']) && $_GET['format'] == 'text') {
header("Content-Type: text/plain; charset=utf-8");
}
else {
header("Content-type: application/octet-stream; name=\"" . $fileName . "\"");
header("Content-Disposition: attachment; filename=\"" . str_replace("\"", "\\\"", $fileName). "\"");
}
header("Content-Length: " . filesize($filePath));
CKFinder_Connector_Utils_FileSystem::readfileChunked($filePath);
exit;
}
}
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/core/connector/php/php4/CommandHandler/DownloadFile.php | PHP | gpl3 | 3,136 |
<?php
/*
* CKFinder
* ========
* http://ckfinder.com
* Copyright (C) 2007-2011, CKSource - Frederico Knabben. All rights reserved.
*
* The software, this file and its contents are subject to the CKFinder
* License. Please read the license.txt file before using, installing, copying,
* modifying or distribute this file or part of its contents. The contents of
* this file is part of the Source Code of CKFinder.
*/
if (!defined('IN_CKFINDER')) exit;
/**
* @package CKFinder
* @subpackage CommandHandlers
* @copyright CKSource - Frederico Knabben
*/
/**
* Include base XML command handler
*/
require_once CKFINDER_CONNECTOR_LIB_DIR . "/CommandHandler/XmlCommandHandlerBase.php";
/**
* Handle MoveFiles command
*
* @package CKFinder
* @subpackage CommandHandlers
* @copyright CKSource - Frederico Knabben
*/
class CKFinder_Connector_CommandHandler_MoveFiles extends CKFinder_Connector_CommandHandler_XmlCommandHandlerBase
{
/**
* Command name
*
* @access private
* @var string
*/
var $command = "MoveFiles";
/**
* handle request and build XML
* @access protected
*
*/
function buildXml()
{
if (empty($_POST['CKFinderCommand']) || $_POST['CKFinderCommand'] != 'true') {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_REQUEST);
}
$clientPath = $this->_currentFolder->getClientPath();
$sServerDir = $this->_currentFolder->getServerPath();
$currentResourceTypeConfig = $this->_currentFolder->getResourceTypeConfig();
$_config =& CKFinder_Connector_Core_Factory::getInstance("Core_Config");
$_aclConfig = $_config->getAccessControlConfig();
$aclMasks = array();
$_resourceTypeConfig = array();
if (!$this->_currentFolder->checkAcl(CKFINDER_CONNECTOR_ACL_FILE_RENAME | CKFINDER_CONNECTOR_ACL_FILE_UPLOAD | CKFINDER_CONNECTOR_ACL_FILE_DELETE)) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_UNAUTHORIZED);
}
// Create the "Errors" node.
$oErrorsNode = new CKFinder_Connector_Utils_XmlNode("Errors");
$errorCode = CKFINDER_CONNECTOR_ERROR_NONE;
$moved = 0;
$movedAll = 0;
if (!empty($_POST['moved'])) {
$movedAll = intval($_POST['moved']);
}
$checkedPaths = array();
$oMoveFilesNode = new Ckfinder_Connector_Utils_XmlNode("MoveFiles");
if (!empty($_POST['files']) && is_array($_POST['files'])) {
foreach ($_POST['files'] as $index => $arr) {
if (empty($arr['name'])) {
continue;
}
if (!isset($arr['name'], $arr['type'], $arr['folder'])) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_REQUEST);
}
// file name
$name = CKFinder_Connector_Utils_FileSystem::convertToFilesystemEncoding($arr['name']);
// resource type
$type = $arr['type'];
// client path
$path = CKFinder_Connector_Utils_FileSystem::convertToFilesystemEncoding($arr['folder']);
// options
$options = (!empty($arr['options'])) ? $arr['options'] : '';
$destinationFilePath = $sServerDir.$name;
// check #1 (path)
if (!CKFinder_Connector_Utils_FileSystem::checkFileName($name) || preg_match(CKFINDER_REGEX_INVALID_PATH, $path)) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_REQUEST);
}
// get resource type config for current file
if (!isset($_resourceTypeConfig[$type])) {
$_resourceTypeConfig[$type] = $_config->getResourceTypeConfig($type);
}
// check #2 (resource type)
if (is_null($_resourceTypeConfig[$type])) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_REQUEST);
}
// check #3 (extension)
if (!$_resourceTypeConfig[$type]->checkExtension($name, false)) {
$errorCode = CKFINDER_CONNECTOR_ERROR_INVALID_EXTENSION;
$this->appendErrorNode($oErrorsNode, $errorCode, $name, $type, $path);
continue;
}
// check #4 (extension) - when moving to another resource type, double check extension
if ($currentResourceTypeConfig->getName() != $type) {
if (!$currentResourceTypeConfig->checkExtension($name, false)) {
$errorCode = CKFINDER_CONNECTOR_ERROR_INVALID_EXTENSION;
$this->appendErrorNode($oErrorsNode, $errorCode, $name, $type, $path);
continue;
}
}
// check #5 (hidden folders)
// cache results
if (empty($checkedPaths[$path])) {
$checkedPaths[$path] = true;
if ($_resourceTypeConfig[$type]->checkIsHiddenPath($path)) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_REQUEST);
}
}
$sourceFilePath = $_resourceTypeConfig[$type]->getDirectory().$path.$name;
// check #6 (hidden file name)
if ($currentResourceTypeConfig->checkIsHiddenFile($name)) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_REQUEST);
}
// check #7 (Access Control, need file view permission to source files)
if (!isset($aclMasks[$type."@".$path])) {
$aclMasks[$type."@".$path] = $_aclConfig->getComputedMask($type, $path);
}
$isAuthorized = (($aclMasks[$type."@".$path] & CKFINDER_CONNECTOR_ACL_FILE_VIEW) == CKFINDER_CONNECTOR_ACL_FILE_VIEW);
if (!$isAuthorized) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_UNAUTHORIZED);
}
// check #8 (invalid file name)
if (!file_exists($sourceFilePath) || !is_file($sourceFilePath)) {
$errorCode = CKFINDER_CONNECTOR_ERROR_FILE_NOT_FOUND;
$this->appendErrorNode($oErrorsNode, $errorCode, $name, $type, $path);
continue;
}
// check #9 (max size)
if ($currentResourceTypeConfig->getName() != $type) {
$maxSize = $currentResourceTypeConfig->getMaxSize();
$fileSize = filesize($sourceFilePath);
if ($maxSize && $fileSize>$maxSize) {
$errorCode = CKFINDER_CONNECTOR_ERROR_UPLOADED_TOO_BIG;
$this->appendErrorNode($oErrorsNode, $errorCode, $name, $type, $path);
continue;
}
}
//$overwrite
// finally, no errors so far, we may attempt to copy a file
// protection against copying files to itself
if ($sourceFilePath == $destinationFilePath) {
$errorCode = CKFINDER_CONNECTOR_ERROR_SOURCE_AND_TARGET_PATH_EQUAL;
$this->appendErrorNode($oErrorsNode, $errorCode, $name, $type, $path);
continue;
}
// check if file exists if we don't force overwriting
else if (file_exists($destinationFilePath)) {
if (strpos($options, "overwrite") !== false) {
if (!@unlink($destinationFilePath)) {
$errorCode = CKFINDER_CONNECTOR_ERROR_ACCESS_DENIED;
$this->appendErrorNode($oErrorsNode, $errorCode, $name, $type, $path);
continue;
}
else {
if (!@rename($sourceFilePath, $destinationFilePath)) {
$errorCode = CKFINDER_CONNECTOR_ERROR_ACCESS_DENIED;
$this->appendErrorNode($oErrorsNode, $errorCode, $name, $type, $path);
continue;
}
else {
$moved++;
}
}
}
else if (strpos($options, "autorename") !== false) {
$iCounter = 1;
while (true)
{
$fileName = CKFinder_Connector_Utils_FileSystem::getFileNameWithoutExtension($name) .
"(" . $iCounter . ")" . "." .
CKFinder_Connector_Utils_FileSystem::getExtension($name);
$destinationFilePath = $sServerDir.$fileName;
if (!file_exists($destinationFilePath)) {
break;
}
else {
$iCounter++;
}
}
if (!@rename($sourceFilePath, $destinationFilePath)) {
$errorCode = CKFINDER_CONNECTOR_ERROR_ACCESS_DENIED;
$this->appendErrorNode($oErrorsNode, $errorCode, $name, $type, $path);
continue;
}
else {
$moved++;
}
}
else {
$errorCode = CKFINDER_CONNECTOR_ERROR_ALREADY_EXIST;
$this->appendErrorNode($oErrorsNode, $errorCode, $name, $type, $path);
continue;
}
}
else {
if (!@rename($sourceFilePath, $destinationFilePath)) {
$errorCode = CKFINDER_CONNECTOR_ERROR_ACCESS_DENIED;
$this->appendErrorNode($oErrorsNode, $errorCode, $name, $type, $path);
continue;
}
else {
$moved++;
}
}
}
}
$this->_connectorNode->addChild($oMoveFilesNode);
if ($errorCode != CKFINDER_CONNECTOR_ERROR_NONE) {
$this->_connectorNode->addChild($oErrorsNode);
}
$oMoveFilesNode->addAttribute("moved", $moved);
$oMoveFilesNode->addAttribute("movedTotal", $movedAll + $moved);
/**
* Note: actually we could have more than one error.
* This is just a flag for CKFinder interface telling it to check all errors.
*/
if ($errorCode != CKFINDER_CONNECTOR_ERROR_NONE) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_MOVE_FAILED);
}
}
function appendErrorNode(&$oErrorsNode, $errorCode, $name, $type, $path)
{
$oErrorNode = new CKFinder_Connector_Utils_XmlNode("Error");
$oErrorNode->addAttribute("code", $errorCode);
$oErrorNode->addAttribute("name", CKFinder_Connector_Utils_FileSystem::convertToConnectorEncoding($name));
$oErrorNode->addAttribute("type", $type);
$oErrorNode->addAttribute("folder", $path);
$oErrorsNode->addChild($oErrorNode);
}
}
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/core/connector/php/php4/CommandHandler/MoveFiles.php | PHP | gpl3 | 11,949 |
<?php
/*
* CKFinder
* ========
* http://ckfinder.com
* Copyright (C) 2007-2011, CKSource - Frederico Knabben. All rights reserved.
*
* The software, this file and its contents are subject to the CKFinder
* License. Please read the license.txt file before using, installing, copying,
* modifying or distribute this file or part of its contents. The contents of
* this file is part of the Source Code of CKFinder.
*/
if (!defined('IN_CKFINDER')) exit;
/**
* @package CKFinder
* @subpackage CommandHandlers
* @copyright CKSource - Frederico Knabben
*/
/**
* Include base XML command handler
*/
require_once CKFINDER_CONNECTOR_LIB_DIR . "/CommandHandler/XmlCommandHandlerBase.php";
/**
* Handle CreateFolder command
*
* @package CKFinder
* @subpackage CommandHandlers
* @copyright CKSource - Frederico Knabben
*/
class CKFinder_Connector_CommandHandler_CreateFolder extends CKFinder_Connector_CommandHandler_XmlCommandHandlerBase
{
/**
* Command name
*
* @access private
* @var string
*/
var $command = "CreateFolder";
/**
* handle request and build XML
* @access protected
*
*/
function buildXml()
{
if (empty($_POST['CKFinderCommand']) || $_POST['CKFinderCommand'] != 'true') {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_REQUEST);
}
$_config =& CKFinder_Connector_Core_Factory::getInstance("Core_Config");
if (!$this->_currentFolder->checkAcl(CKFINDER_CONNECTOR_ACL_FOLDER_CREATE)) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_UNAUTHORIZED);
}
$_resourceTypeConfig = $this->_currentFolder->getResourceTypeConfig();
$sNewFolderName = isset($_GET["NewFolderName"]) ? $_GET["NewFolderName"] : "";
$sNewFolderName = CKFinder_Connector_Utils_FileSystem::convertToFilesystemEncoding($sNewFolderName);
if ($_config->forceAscii()) {
$sNewFolderName = CKFinder_Connector_Utils_FileSystem::convertToAscii($sNewFolderName);
}
if (!CKFinder_Connector_Utils_FileSystem::checkFileName($sNewFolderName) || $_resourceTypeConfig->checkIsHiddenFolder($sNewFolderName)) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_NAME);
}
$sServerDir = CKFinder_Connector_Utils_FileSystem::combinePaths($this->_currentFolder->getServerPath(), $sNewFolderName);
if (!is_writeable($this->_currentFolder->getServerPath())) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_ACCESS_DENIED);
}
$bCreated = false;
if (file_exists($sServerDir)) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_ALREADY_EXIST);
}
if ($perms = $_config->getChmodFolders()) {
$oldUmask = umask(0);
$bCreated = @mkdir($sServerDir, $perms);
umask($oldUmask);
}
else {
$bCreated = @mkdir($sServerDir);
}
if (!$bCreated) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_ACCESS_DENIED);
} else {
$oNewFolderNode = new Ckfinder_Connector_Utils_XmlNode("NewFolder");
$this->_connectorNode->addChild($oNewFolderNode);
$oNewFolderNode->addAttribute("name", CKFinder_Connector_Utils_FileSystem::convertToConnectorEncoding($sNewFolderName));
}
}
}
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/core/connector/php/php4/CommandHandler/CreateFolder.php | PHP | gpl3 | 3,535 |
<?php
/*
* CKFinder
* ========
* http://ckfinder.com
* Copyright (C) 2007-2011, CKSource - Frederico Knabben. All rights reserved.
*
* The software, this file and its contents are subject to the CKFinder
* License. Please read the license.txt file before using, installing, copying,
* modifying or distribute this file or part of its contents. The contents of
* this file is part of the Source Code of CKFinder.
*/
if (!defined('IN_CKFINDER')) exit;
/**
* @package CKFinder
* @subpackage CommandHandlers
* @copyright CKSource - Frederico Knabben
*/
/**
* Include base XML command handler
*/
require_once CKFINDER_CONNECTOR_LIB_DIR . "/CommandHandler/XmlCommandHandlerBase.php";
/**
* Handle DeleteFolder command
*
* @package CKFinder
* @subpackage CommandHandlers
* @copyright CKSource - Frederico Knabben
*/
class CKFinder_Connector_CommandHandler_DeleteFolder extends CKFinder_Connector_CommandHandler_XmlCommandHandlerBase
{
/**
* Command name
*
* @access private
* @var string
*/
var $command = "DeleteFolder";
/**
* handle request and build XML
* @access protected
*
*/
function buildXml()
{
if (empty($_POST['CKFinderCommand']) || $_POST['CKFinderCommand'] != 'true') {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_REQUEST);
}
if (!$this->_currentFolder->checkAcl(CKFINDER_CONNECTOR_ACL_FOLDER_DELETE)) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_UNAUTHORIZED);
}
// The root folder cannot be deleted.
if ($this->_currentFolder->getClientPath() == "/") {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_REQUEST);
}
$folderServerPath = $this->_currentFolder->getServerPath();
if (!file_exists($folderServerPath) || !is_dir($folderServerPath)) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_FOLDER_NOT_FOUND);
}
if (!CKFinder_Connector_Utils_FileSystem::unlink($folderServerPath)) {
$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_ACCESS_DENIED);
}
CKFinder_Connector_Utils_FileSystem::unlink($this->_currentFolder->getThumbsServerPath());
}
}
| 0f523140-f3b3-4653-89b0-eb08c39940ad | trunk/src/html/ckfinder/core/connector/php/php4/CommandHandler/DeleteFolder.php | PHP | gpl3 | 2,366 |