--- EditTablePlugin.pm~ Wed Apr 28 17:12:17 2004
+++ EditTablePlugin.pm Thu Apr 29 10:53:07 2004
@@ -413,7 +413,7 @@
{
my( $theWeb, $theTopic, $theTableNr, $doEdit ) = @_;
- my $viewUrl = &TWiki::Func::getScriptUrl( $theWeb, $theTopic, "viewauth" ) . "\#edittable$theTableNr";
+ my $viewUrl = &TWiki::Func::getScriptUrl( $theWeb, $theTopic, "viewauth" ) . "\#edittable$theTableNr?t=" . time();
my $text = "";
if( $doEdit ) {
my $dir = "%PUBURL%/$installWeb/EditTablePlugin";
@@ -497,11 +497,23 @@
while( $i < @bits ) {
$val = $bits[$i] || "";
$valExpansed = $bitsExpansed[$i] || "";
- if( $valExpansed eq $expansedValue ) {
- $text .= " ";
- } else {
- $text .= " ";
- }
+ if ($val =~ /:/) {
+ my $valdis = "";
+ ($val,$valdis) = split( /:\s*/, $val );
+ $valExpansed =~ m/^([^:]*):/;
+ $valExpansed = $1;
+ if( $valExpansed eq $expansedValue ) {
+ $text .= " ";
+ } else {
+ $text .= " ";
+ }
+ } else {
+ if( $valExpansed eq $expansedValue ) {
+ $text .= " ";
+ } else {
+ $text .= " ";
+ }
+ }
$i++;
}
$text .= " ";