Skip to content

Commit

Permalink
Item8571: audited all the system and PatternSkin templates, convertin…
Browse files Browse the repository at this point in the history
…g to use ADDTOZONE (ids are all documented in Development.UsingADDTOZONE). Reworked TwistyPlugin so it works with jquery (it didn't previously). Reworked BehaviourContrib, EditTablePlugin and TinyMCEPlugin to observe the revised ids. Still to do: non-core plugins

git-svn-id: http://svn.foswiki.org/trunk@8300 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
CrawfordCurrie authored and CrawfordCurrie committed Jul 25, 2010
1 parent c5ec378 commit a7946c7
Show file tree
Hide file tree
Showing 35 changed files with 357 additions and 661 deletions.
13 changes: 4 additions & 9 deletions BehaviourContrib/lib/Foswiki/Contrib/BehaviourContrib.pm
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,10 @@ sub commonTagsHandler {
=cut

sub addHEAD {
my $base = '%PUBURLPATH%/%SYSTEMWEB%/BehaviourContrib';
my $USE_SRC =
Foswiki::Func::getPreferencesValue('BEHAVIOURCONTRIB_DEBUG')
? '_src'
: '';
my $head = <<HERE;
<script type='text/javascript' src='$base/behaviour$USE_SRC.js'></script>
HERE
Foswiki::Func::addToHEAD( 'BEHAVIOURCONTRIB', $head );
Foswiki::Func::addToZone(
'body', 'BehaviourContrib/behaviour',
'<script type="text/javascript" src="%PUBURLPATH%/%SYSTEMWEB%/BehaviourContrib/behaviour%FWSRC%.js"></script>'
);
}

1;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
pub/System/BehaviourContrib/behaviour_src.js 0644
pub/System/BehaviourContrib/behaviour.js 0644
pub/System/BehaviourContrib/behaviour.compressed_src.js 0644
pub/System/BehaviourContrib/behaviour.compressed.js 0644
pub/System/BehaviourContrib/behaviour.js.gz 0644
data/System/BehaviourContrib.txt 0644
lib/Foswiki/Contrib/BehaviourContrib.pm 0644

This file was deleted.

This file was deleted.

Loading

0 comments on commit a7946c7

Please sign in to comment.