1 | <?php
|
---|
2 | /*
|
---|
3 | *******************************************
|
---|
4 | plugin JUpload for Coppermine Photo Gallery
|
---|
5 | *******************************************
|
---|
6 |
|
---|
7 | This program is free software; you can redistribute it and/or modify
|
---|
8 | it under the terms of the GNU General Public License as published by
|
---|
9 | the Free Software Foundation; either version 2 of the License, or
|
---|
10 | (at your option) any later version.
|
---|
11 | ********************************************
|
---|
12 | $Revision: 185 $
|
---|
13 | $Author: etienne_sf $
|
---|
14 | $Date: 2008-03-12 20:26:16 +0100 (mer., 12 mars 2008) $
|
---|
15 | ********************************************
|
---|
16 | *
|
---|
17 | * Allows easy upload to the gallery, through a java applet.
|
---|
18 | *
|
---|
19 | * Up to date version of this script can be retrieved with the full JUpload package, here:
|
---|
20 | *
|
---|
21 | * http://etienne.sf.free.fr/wiki
|
---|
22 | *
|
---|
23 | * Directly here:
|
---|
24 | * http://forum.coppermine-gallery.net/index.php/board,100.0.html
|
---|
25 | *
|
---|
26 | * Support is available on this forum:
|
---|
27 | * http://coppermine-gallery.net/forum/index.php?topic=43432
|
---|
28 | *
|
---|
29 | * The applet is published on sourceforge:
|
---|
30 | * http://jupload.sourceforge.net
|
---|
31 | *
|
---|
32 | */
|
---|
33 |
|
---|
34 | // ------------------------------------------------------------------------- //
|
---|
35 | // File jupload.php
|
---|
36 | // ------------------------------------------------------------------------- //
|
---|
37 |
|
---|
38 | if (defined('JUPLOAD_PHP')) {
|
---|
39 | $lang_jupload_php = array_merge (
|
---|
40 | $lang_jupload_php,
|
---|
41 | array(
|
---|
42 | 'link_title' => 'JUpload',
|
---|
43 | 'link_comment' => 'Enviar arquivos para galeria, com a ajuda de um applet',
|
---|
44 | 'perm_denied' => 'Você não tem permissão para realizar esta operação.<BR><BR>Se você não está logado por favor <a href="$1">efetue login</a>',
|
---|
45 | 'select_album' => 'Escolha um album onde você deseja colocar as fotos',
|
---|
46 | 'button_update_album' => 'Atualizar album',
|
---|
47 | 'button_create_album' => 'Criar album',
|
---|
48 | 'success' => 'Feito com sucesso! !',
|
---|
49 | 'error_select_album' => 'Escolha um album',
|
---|
50 | 'error_album_name' => 'Dê um nome ao album.',
|
---|
51 | 'error_album_already_exists' => 'Já existe um álbum com esse nome.<BR><BR>Por favor clique no botão <I>voltar</I> do seu navegador, para digitar outro nome para o album.',
|
---|
52 | 'album_name' => 'Nome do album',
|
---|
53 | 'album_presentation' => 'Selecione um album aqui. As fotos que você enviar para o servidor serão guardadas aqui. <BR>Se você não tem nenhum album a lista estará vazia. Use o botão \'Criar\' para criar um novo album.',
|
---|
54 | 'album_description' => 'Descrição do album',
|
---|
55 | 'add_pictures' => 'Adicionar fotos para o album selecionado',
|
---|
56 | 'max_upload_size' => 'O tamanho maximo de envio de dados é de $1 KB',
|
---|
57 | 'upload_presentation' => 'Se a página realmente se recusa a mostrar o applet, e/ou na pagina é mostrado que existe algum erro, recomanda-se que instale o java e após isso será bastante fácil utilizar, basta clicar em procurar, escolher o arquivo, e clicar em enviar.'
|
---|
58 | . "<BR>Para usar a <U>a página de upload</U>, <a href='upload.php'>clique aqui</a>.",
|
---|
59 | 'album' => 'Album',
|
---|
60 | //Since 2.1.0
|
---|
61 | 'java_not_enabled' => 'Seu navegador não permite java. O Applet de upload precisa de java. Você pode facilmente fazer o download pelo site da sun <a href="http:\\java.sun.com\jre\">clicando aqui</a>',
|
---|
62 | //Since 3.0.0
|
---|
63 | 'picture_data_explanation' => 'Click on this link, and enter data in the fields below, if you want these to be applied to all pictures in the next upload.',
|
---|
64 | 'quota_used' => 'You are currently using $1 MB ($2%) of your $3 MB of storage.',
|
---|
65 | 'quota_about_full' => 'Remove some pictures, or ask the admin to make your quota bigger.',
|
---|
66 | //Since 3.2.0
|
---|
67 | 'need_approval' => 'The gallery admin must approve these uploaded pictures, before you can see them on the gallery.'
|
---|
68 | )
|
---|
69 | );
|
---|
70 | } |
---|