--- ActionTrackerPlugin.r11560 2006-10-11 17:22:16.000000000 +0200 +++ ActionTrackerPlugin.pm 2006-10-26 17:38:57.319575875 +0200 @@ -41,14 +41,13 @@ # This is a free-form string you can use to "name" your own plugin version. # It is *not* used by the build automation tools, but is reported as part # of the version number in PLUGINDESCRIPTIONS. -$RELEASE = 'Dakar'; +$RELEASE = 'Dakar {patched to allow TML etc.}'; $initialised = 0; $pluginName = 'ActionTrackerPlugin'; $installWeb = 'TWiki'; my $actionNumber = 0; -my %prefs; sub initPlugin { ( $topic, $web, $user, $installWeb ) = @_; @@ -281,9 +280,12 @@ # Process the text so it's nice to edit. This gets undone in Action.pm # when the action is saved. $text =~ s/^\t/ /gos; + unless(TWiki::Func::getPreferencesValue('ACTIONTRACKERPLUGIN_DISABLE_NEWLINE_TRANSLATION')) # NielsKoldso: Oct-06 Allow non-translation of newlines + { + #$text =. '

DISABLE_NEWLINE_TRANSLATION: '.TWiki::Func::getPreferencesValue('ACTIONTRACKERPLUGIN_DISABLE_NEWLINE_TRANSLATION').'


'; $text =~ s//\n/gios; $text =~ s//\n\n/gios; - + } $tmpl =~ s/%TEXT%/$text/go; $tmpl =~ s/%HIDDENFIELDS%/$fields/go; $_[0] = $tmpl;