- Timestamp:
- 01/29/09 13:35:57 (3 years ago)
- Location:
- trunk/ActionTrackerPlugin/lib/Foswiki
- Files:
-
- 1 edited
- 1 moved
-
. (moved) (moved from trunk/ActionTrackerPlugin/lib/TWiki)
-
Plugins/ActionTrackerPlugin/Format.pm (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ActionTrackerPlugin/lib/Foswiki/Plugins/ActionTrackerPlugin/Format.pm
r1340 r2226 1 1 # 2 2 # Copyright (C) Motorola 2002 - All rights reserved 3 # Copyright (C) 2004-2009 Crawford Currie http://c-dot.co.uk 3 4 # 4 5 # TWiki extension that adds tags for action tracking … … 15 16 # http://www.gnu.org/copyleft/gpl.html 16 17 # 17 use strict;18 use integer;19 20 require TWiki::Func;21 22 18 # Object that represents a header and fields format 23 19 # This is where all formatting should be done; there should … … 33 29 # methods. The function must return a tuple of ( text, colour ). 34 30 # The colour may be undefined. 35 package TWiki::Plugins::ActionTrackerPlugin::Format; 31 package Foswiki::Plugins::ActionTrackerPlugin::Format; 32 33 use strict; 34 use integer; 35 36 require Foswiki::Func; 36 37 37 38 # PUBLIC Constructor … … 271 272 my $a = {}; 272 273 $a->{class} = $class if $class; 273 my $text = CGI::start_table( {class => ' twikiFormTable' }, $a );274 my $text = CGI::start_table( {class => 'atpSearch' }, $a ); 274 275 my $i; 275 276 … … 445 446 if ( $type->{type} eq 'date') { 446 447 # make sure JSCalendar is there 447 eval 'use TWiki::Contrib::JSCalendarContrib';448 eval 'use Foswiki::Contrib::JSCalendarContrib'; 448 449 unless ( $@ ) { 449 450 @extras = ( id => "date_$attrname" ); … … 453 454 -onclick => 454 455 "return showCalendar('date_$attrname','%e %B %Y')", 455 -src=> TWiki::Func::getPubUrlPath() . '/' .456 TWiki::Func::getTwikiWebname().456 -src=> Foswiki::Func::getPubUrlPath() . '/' . 457 $Foswiki::cfg{SystemWebName} . 457 458 '/JSCalendarContrib/img.gif', 458 459 -alt => 'Calendar',
Note: See TracChangeset
for help on using the changeset viewer.
