Ignore:
Timestamp:
11/08/08 14:34:13 (4 years ago)
Author:
KoenMartens
Message:

Item110: replace occurences of TWIKIWEB with SYSTEMWEB

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JQueryPlugin/lib/TWiki/Plugins/JQueryPlugin.pm

    r425 r464  
    3434 
    3535$header = <<'HERE'; 
    36 <link rel="stylesheet" href="%PUBURLPATH%/%TWIKIWEB%/JQueryPlugin/jquery-all.css" type="text/css" media="all" /> 
     36<link rel="stylesheet" href="%PUBURLPATH%/%SYSTEMWEB%/JQueryPlugin/jquery-all.css" type="text/css" media="all" /> 
    3737<script type="text/javascript"> 
    3838var twiki; 
     
    4242twiki.pubUrl = "%PUBURL%"; 
    4343twiki.pubUrlPath = '%PUBURLPATH%'; 
    44 twiki.twikiWebName = '%TWIKIWEB%'; 
     44twiki.twikiWebName = '%SYSTEMWEB%'; 
    4545twiki.mainWebName = '%MAINWEB%'; 
    4646twiki.wikiName = '%WIKINAME%'; 
     
    5151twiki.MathModePluginEnabled = %IF{"context MathModePluginEnabled" then="true" else="false"}%; 
    5252</script> 
    53 <script type="text/javascript" src="%PUBURLPATH%/%TWIKIWEB%/JQueryPlugin/jquery-all.js"></script> 
     53<script type="text/javascript" src="%PUBURLPATH%/%SYSTEMWEB%/JQueryPlugin/jquery-all.js"></script> 
    5454<script type="text/javascript"> 
    5555ChiliBook.recipeFolder = twiki.pubUrlPath+'/'+twiki.twikiWebName+'/JQueryPlugin/chili/'; 
     
    142142  return '' unless $scriptFileName; 
    143143  $scriptFileName .= '.js' unless $scriptFileName =~ /\.js$/; 
    144   return "<script type=\"text/javascript\" src=\"%PUBURLPATH%/%TWIKIWEB%/JQueryPlugin/$scriptFileName\"></script>"; 
     144  return "<script type=\"text/javascript\" src=\"%PUBURLPATH%/%SYSTEMWEB%/JQueryPlugin/$scriptFileName\"></script>"; 
    145145} 
    146146 
     
    152152  return '' unless $styleFileName; 
    153153  $styleFileName .= '.css' unless $styleFileName =~ /\.css$/; 
    154   return "<style type='text/css'>\@import url('%PUBURLPATH%/%TWIKIWEB%/JQueryPlugin/$styleFileName');</style>"; 
     154  return "<style type='text/css'>\@import url('%PUBURLPATH%/%SYSTEMWEB%/JQueryPlugin/$styleFileName');</style>"; 
    155155} 
    156156 
     
    162162  return '' unless $themeName; 
    163163 
    164   return "<style type='text/css'>\@import url(\"%PUBURLPATH%/%TWIKIWEB%/JQueryPlugin/themes/$themeName/$themeName.all.css\");</style>"; 
     164  return "<style type='text/css'>\@import url(\"%PUBURLPATH%/%SYSTEMWEB%/JQueryPlugin/themes/$themeName/$themeName.all.css\");</style>"; 
    165165} 
    166166 
     
    169169  my ($session, $params, $theTopic, $theWeb) = @_;    
    170170  my $image = $params->{_DEFAULT}; 
    171   return "%PUBURLPATH%/%TWIKIWEB%/JQueryPlugin/images/$image" if defined $image; 
    172   return "%PUBURLPATH%/%TWIKIWEB%/JQueryPlugin/images"; 
     171  return "%PUBURLPATH%/%SYSTEMWEB%/JQueryPlugin/images/$image" if defined $image; 
     172  return "%PUBURLPATH%/%SYSTEMWEB%/JQueryPlugin/images"; 
    173173} 
    174174 
Note: See TracChangeset for help on using the changeset viewer.