]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - pgsrc/Help%2FUpLoadPlugin
function _PageList_Column* are not private
[SourceForge/phpwiki.git] / pgsrc / Help%2FUpLoadPlugin
1 Date: Fri,  7 Jan 2011 17:32:57 +0000
2 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0)
3 Content-Type: application/x-phpwiki;
4   pagename=Help%2FUpLoadPlugin;
5   flags=PAGE_LOCKED%2CEXTERNAL_PAGE;
6   markup=2;
7   charset=UTF-8
8 Content-Transfer-Encoding: binary
9
10 The **~UpLoad** [[Help:WikiPlugin|plugin]] displays an editbox and two buttons.
11 * The first button lets you choose the file to be uploaded at your local filesystem. The textvalue of this button is localised from your browser.
12 * The second "Upload" button actually uploads the given filename to the upload directory.
13 This directory is not browsable, any file there may be accessed by using the "Upload~:"
14 [[InterWikiMap]] prefix to the given filename. This way you can easily inline uploaded images.
15
16 == Usage ==
17
18 {{{
19 <<UpLoad arguments>>
20 }}}
21
22 == Arguments ==
23
24 {| class="bordered"
25 |-
26 ! Argument
27 ! Description
28 ! Default value
29 |-
30 | **logfile**
31 | Local path. The format is currently HTML - a new {{{<tr>}}} row per entry - and not log file syntax.
32 | phpwiki-upload.log
33 |-
34 | **autolink**
35 | Add the uploaded filename to the list of uploaded files at the page.
36 | true
37 |-
38 | **page**
39 | The page where the uploaded files are publicly listed, if autolink is true.
40 | Current page
41 |-
42 | **size**
43 | Size of file input box.
44 | 50
45 |-
46 | **mode**
47 | 'actionpage' or 'edit'
48 | actionpage
49 |}
50
51 == Notes ==
52
53 # The user must be authenticated to be able to upload.
54 # The filename may not end with certain disallowed extensions, to prevent from abuse.
55 # MAX_FILE_SITE is configured by the config.ini option MAX_UPLOAD_SIZE, which defaults to 16MB. Your webserver and PHP may add another limit.
56 # Already existing uploaded files are NOT overwritten.
57
58 == Example ==
59
60 {{{
61 <<UpLoad>>
62 }}}
63
64 <<UpLoad>>
65
66 == See Also ==
67
68 * [[PhpWiki:InlineUploadedImages]]
69
70 <noinclude>
71 ----
72 [[PhpWikiDocumentation]] [[CategoryWikiPlugin]]
73 </noinclude>