From: <var...@us...> - 2009-02-24 13:33:40
|
Revision: 6544 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6544&view=rev Author: vargenau Date: 2009-02-24 13:33:32 +0000 (Tue, 24 Feb 2009) Log Message: ----------- Table for arguments Modified Paths: -------------- trunk/pgsrc/Help%2FFileInfoPlugin Modified: trunk/pgsrc/Help%FFileInfoPlugin =================================================================== --- trunk/pgsrc/Help%2FFileInfoPlugin 2009-02-24 12:57:47 UTC (rev 6543) +++ trunk/pgsrc/Help%2FFileInfoPlugin 2009-02-24 13:33:32 UTC (rev 6544) @@ -14,28 +14,35 @@ For exe files the *version* argument might work to display the VERSIONINFO ressource string. (highly experimental). -Since v1.3.13. - == Typical Usage {{{ <<FileInfo file=uploads/setup.exe display=version,date>> - <<FileInfo file=uploads/setup.exe display=name,version,date + <<FileInfo file=uploads/setup.exe display=name,version,date format="%s (version: %s, date: %s)">> }}} == Arguments -__file__: - relative path from PHPWIKI_DIR. (required) +{| class="bordered" +|- +! Argument +! Description +! Default value +|- +| file +| Relative path from PHPWIKI_DIR. +| (required) +|- +| display +| Comma-seperated string of version ,size, phonysize, date, mtime, owner, name, path, dirname, link, mime-typ, magic. +| (required) +|- +| format +| printf format string with %s only, all display modes from above vars return strings +| (optional) +|} -__display__: - Comma-seperated string of version,size,phonysize,date,mtime,owner,name,path,dirname, - link,mime-typ,magic. (required) - -__format__: - printf format string with %s only, all display modes from above vars return strings (optional) - == Examples This wiki was installed at <<FileInfo file=config/config.ini display=date>>. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2009-02-27 02:55:57
|
Revision: 6591 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6591&view=rev Author: vargenau Date: 2009-02-27 02:55:51 +0000 (Fri, 27 Feb 2009) Log Message: ----------- Add quiet parameter Modified Paths: -------------- trunk/pgsrc/Help%2FFileInfoPlugin Modified: trunk/pgsrc/Help%FFileInfoPlugin =================================================================== --- trunk/pgsrc/Help%2FFileInfoPlugin 2009-02-27 02:30:05 UTC (rev 6590) +++ trunk/pgsrc/Help%2FFileInfoPlugin 2009-02-27 02:55:51 UTC (rev 6591) @@ -1,4 +1,4 @@ -Date: Sun, 22 Feb 2009 19:16:30 +0000 +Date: Fri, 27 Feb 2009 03:55:03 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.3.14-20080124) X-Rcs-Id: $Id$ Content-Type: application/x-phpwiki; @@ -35,12 +35,16 @@ | (required) |- | display -| Comma-seperated string of version ,size, phonysize, date, mtime, owner, name, path, dirname, link, mime-typ, magic. +| Comma-seperated string of version, size, phonysize, date, mtime, owner, name, path, dirname, link, mime-typ, magic. | (required) |- | format -| printf format string with %s only, all display modes from above vars return strings +| printf format string with %s only, all display modes from above vars return strings | (optional) +|- +| quiet +| print no error if file not found +| false |} == Examples This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |