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