*** /c/tmp/EditTablePlugin.pm0PAE2c Sun Jan 25 20:30:34 2004 --- /c/tmp/EditTablePlugin.pm0PARAj Sun Jan 25 20:30:34 2004 *************** *** 134,140 **** ( $query->param( 'etedit' ) || $query->param( 'etaddrow' ) || $query->param( 'etdelrow') ) && (!($_[0] =~ m/calendar-system/) ) ) { ! my $string = " \n"; $_[0] =~ s/([<]\/head[>])/$string$1/i; } --- 134,140 ---- ( $query->param( 'etedit' ) || $query->param( 'etaddrow' ) || $query->param( 'etdelrow') ) && (!($_[0] =~ m/calendar-system/) ) ) { ! my $string = " \n"; $_[0] =~ s/([<]\/head[>])/$string$1/i; } *************** *** 413,424 **** { my( $theWeb, $theTopic, $theTableNr, $doEdit ) = @_; ! my $viewUrl = &TWiki::Func::getScriptUrl( $theWeb, $theTopic, "viewauth" ) . "\#edittable$theTableNr"; my $text = ""; if( $doEdit ) { ! my $dir = "%PUBURL%/$installWeb/EditTablePlugin"; $text .= "$preSp\n"; ! $text .= "$preSp\n"; $text .= "$preSp\n"; } $text .= "$preSp\n" if $doEdit; --- 413,424 ---- { my( $theWeb, $theTopic, $theTableNr, $doEdit ) = @_; ! my $viewUrl = &TWiki::Func::getScriptUrl( $theWeb, $theTopic, "view" ) . "\#edittable$theTableNr"; my $text = ""; if( $doEdit ) { ! my $dir = "%PUBURL%/jscalendar"; $text .= "$preSp\n"; ! $text .= "$preSp\n"; $text .= "$preSp\n"; } $text .= "$preSp\n" if $doEdit;