]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - pgsrc/Help%2FFileInfoPlugin
Harmonize documentation
[SourceForge/phpwiki.git] / pgsrc / Help%2FFileInfoPlugin
1 Date: Wed, 28 May 2008 19:07:34 +0200
2 Mime-Version: 1.0 (Produced by PhpWiki 1.3.14-20080124)
3 Content-Type: application/x-phpwiki;
4   pagename=Help%2FFileInfoPlugin;
5   flags=PAGE_LOCKED;
6   markup=2;
7   charset=iso-8859-1
8 Content-Transfer-Encoding: binary
9
10 The [FileInfo|Help:FileInfoPlugin] plugin displays the version, date, size,
11 perms of an uploaded file.  Only files relative and below to the uploads path
12 can be handled.
13
14 For exe files the *version* argument might work to display the VERSIONINFO ressource string. (highly experimental).
15
16 Since v1.3.13.
17
18 !!! Typical Usage
19
20 <verbatim>
21   <?plugin FileInfo file=uploads/setup.exe display=version,date ?>
22   <?plugin FileInfo file=uploads/setup.exe display=name,version,date
23                     format="%s (version: %s, date: %s)" ?>
24 </verbatim>
25
26 !!! Arguments
27
28 __file__:
29   relative path from PHPWIKI_DIR. (required)
30
31 __display__:
32   Comma-seperated string of version,size,phonysize,date,mtime,owner,name,path,dirname,
33   link,mime-typ,magic. (required)
34
35 __format__:
36   printf format string with %s only, all display modes from above vars return strings (optional)
37
38 !!! Examples
39
40 This wiki was installed at <?plugin FileInfo file=config/config.ini display=date ?>.
41
42 ----
43 [PhpWikiDocumentation] [WikiPlugin|Help:WikiPlugin]