From: PeterThoeny Date: Sun, 25 May 2003 10:31:00 +0000 (+0000) Subject: none X-Git-Url: https://git.openafs.org/?p=openafs-wiki.git;a=commitdiff_plain;h=83eb4c9adb282e615f4615f57c72ae47a9bfd423 none --- diff --git a/TWiki/TablePlugin.mdwn b/TWiki/TablePlugin.mdwn index 4442cc8..f7e5746 100644 --- a/TWiki/TablePlugin.mdwn +++ b/TWiki/TablePlugin.mdwn @@ -18,7 +18,7 @@ Click on column heading text to sort by a column. Initial column will be sorted - date if format is: - dd MMM YYY - hh:mm - - dd-MMM-YY or dd-MM-YYYY (can be / or space in place of -) + - dd-MMM-YY or dd-MMM-YYYY (can be / or space in place of -) - MMM is Jan, Feb, etc - number is digits, with optional decimal point - otherwise treated as text @@ -150,7 +150,9 @@ Attributes are defined as a `TABLEATTRIBUTES` Plugin setting in this topic, a `T The `%TABLE{...}%` settings override `TABLEATTRIBUTES` preferences settings, which override the `TABLEATTRIBUTES` Plugin settings. -## Example +## Examples + +### Use of %TABLE\{...\}% Line before table: `%TABLE{ sort="on" tableborder="0" cellpadding="1" cellspacing="3" headerbg="#000099" headercolor="#FFFFCC" databg="#C8CB8F, #DBDDB5" headerrows="2" footerrows="1" }%` @@ -216,6 +218,23 @@ Line before table: `%TABLE{ sort="on" tableborder="0" cellpadding="1" cellspacin +### Table with 4 digit year dates and no use of %TABLE\{...\}% + + + + + + + + + + + + + + +
When
1-Jan-2004
1-Jan-2003
2-Jan-2005
+ ## Plugin Installation Instructions **Note:** You do not need to install anything on the browser to use this plugin. Below installation instructions are for the administrator who needs to install this plugin on the TWiki server. @@ -223,8 +242,8 @@ Line before table: `%TABLE{ sort="on" tableborder="0" cellpadding="1" cellspacin - Download the ZIP file from the Plugin web (see below) - Unzip **%TOPIC%.zip** in your twiki installation directory. Content: - - + + @@ -260,86 +279,90 @@ Line before table: `%TABLE{ sort="on" tableborder="0" cellpadding="1" cellspacin
File:Description:File:Description:
data/TWiki/%TOPIC%.txt
- + - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - + - - + + + + + + - - + + - - + +
Plugin Author: [[TWiki/JohnTalintyre]], [[TWiki/PeterThoeny]] TWiki:Main/JohnTalintyre, TWiki:Main/PeterThoeny
Plugin Version: 24 May 2003 01 Dec 2003
Change History:  
24 May 2003: PTh: New |^| rule for multi row span (TWiki:Main/WalterMundt); added tableframe and tablerules (TWiki:Main/JohannesMartin); ignore columnwidths for multi column span; validate headerrows and footerrows (TWiki:Main/DarrylGreen) 01 Dec 2003: PTh: Fixed error when footerrows was specified on an empty table, contributed by TWiki:Main/PaulineCheung
17 Dec 2002: PTh: Removed individual table Plugin settings; added TABLEATTRIBUTES Plugins setting and TABLEATTRIBUTES preferences setting 24 May 2003: PTh: New |^| rule for multi row span (TWiki:Main/WalterMundt); added tableframe and tablerules (TWiki:Main/JohannesMartin); ignore columnwidths for multi column span; validate headerrows and footerrows (TWiki:Main/DarrylGreen); fixed link color problem and up/down icon color problem for dark header background
15 Dec 2002: PTh: Added headerrows and footerrows params (TWiki:Main/DarrylGreen, TWiki:Main/WoutMertens); added tablewidth and columnwidths params (TWiki:Main/ThorstenSommermann) 17 Dec 2002: PTh: Removed individual table Plugin settings; added TABLEATTRIBUTES Plugins setting and TABLEATTRIBUTES preferences setting
09 Dec 2002: PTh: Added headercolor and datacolor parameters 15 Dec 2002: PTh: Added headerrows and footerrows params (TWiki:Main/DarrylGreen, TWiki:Main/WoutMertens); added tablewidth and columnwidths params (TWiki:Main/ThorstenSommermann)
05 Jun 2002: PTh: Added "none" value to databg parameter (suggested by TWiki:Main/TaitCyrus); fixed sorting by stripping HTML tags, removing links and making sort ignore case (suggested by TWiki:Main/ShawnBradford) 09 Dec 2002: PTh: Added headercolor and datacolor parameters
13 Mar 2002: PTh: Added TWiki:Main/ShawnBradford 's initsort and initdirection 05 Jun 2002: PTh: Added "none" value to databg parameter (suggested by TWiki:Main/TaitCyrus); fixed sorting by stripping HTML tags, removing links and making sort ignore case (suggested by TWiki:Main/ShawnBradford)
12 Mar 2002: PTh: Added valign, headeralign and dataalign; fixed bug of swapped cellpadding/cellspacing; fixed warning of uninitialized value 13 Mar 2002: PTh: Added TWiki:Main/ShawnBradford 's initsort and initdirection
05 Jan 2002: PTh: Fixed sorting bug of cells with leading white space 12 Mar 2002: PTh: Added valign, headeralign and dataalign; fixed bug of swapped cellpadding/cellspacing; fixed warning of uninitialized value
06 Dec 2001: PTh: Fixed date sorting bug
03 Dec 2001 PTh: Fixed sort="off" bug and more
05 Jan 2002: PTh: Fixed sorting bug of cells with leading white space
29 Nov 2001: PTh: Fixed Perl warnings 06 Dec 2001: PTh: Fixed date sorting bug
03 Dec 2001 PTh: Fixed sort="off" bug and more
16 Nov 2001: PTh: Added table border, cell spacing, cell padding, gif files 29 Nov 2001: PTh: Fixed Perl warnings
07 Oct 2001: JT: Initial version 16 Nov 2001: PTh: Added table border, cell spacing, cell padding, gif files
CPAN Dependencies: none 07 Oct 2001: JT: Initial version
Other Dependencies: CPAN Dependencies: none
Perl Version: 5.0 Other Dependencies: none
Perl Version: 5.0
Plugin Home: http://TWiki.org/cgi-bin/view/Plugins/%TOPIC% Plugin Home: http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%
Feedback: http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%Dev Feedback: http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%Dev
**_Related Topics:_** [[TWikiPreferences]], [[TWikiPlugins]], [[StandardColors]] --- [[JohnTalintyre]] - 07 Oct 2001
-- [[PeterThoeny]] - 24 May 2003
+-- TWiki:Main/JohnTalintyre - 07 Oct 2001
-- TWiki:Main/PeterThoeny - 01 Dec 2003