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