Skip to content

Commit

Permalink
Item531: renaming to FoswikiSiteSkin
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk/FoswikiSiteSkin@2253 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
ArthurClemens authored and ArthurClemens committed Jan 30, 2009
1 parent 5986cca commit 540e628
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 16 deletions.
6 changes: 3 additions & 3 deletions lib/Foswiki/Contrib/FoswikiSiteSkin.pm
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package TWiki::Contrib::FoswikiDotOrgPatternSkinContrib;
package TWiki::Contrib::FoswikiSiteSkin;

use vars qw( $VERSION $RELEASE );
# This should always be $Rev: 1340 $ so that TWiki can determine the checked-in
# status of the plugin. It is used by the build automation tools, so
# This should always be $Rev: 1340 $ so that Foswiki can determine the
# checked-in status of the plugin. It is used by the build automation tools, so
# you should leave it alone.
$VERSION = '$Rev: 1340 $';

Expand Down
4 changes: 2 additions & 2 deletions lib/Foswiki/Contrib/FoswikiSiteSkin/build.pl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/perl -w
#
# Build for FoswikiDotOrgPatternSkinContrib
# Build for FoswikiSiteSkin
#
BEGIN {
foreach my $pc (split(/:/, $ENV{FOSWIKI_LIBS})) {
Expand All @@ -11,7 +11,7 @@ BEGIN
use Foswiki::Contrib::Build;

# Create the build object
$build = new Foswiki::Contrib::Build( 'BlogAddOn' );
$build = new Foswiki::Contrib::Build( 'FoswikiSiteSkin' );

# Build the target on the command line, or the default target
$build->build($build->{target});
Expand Down
3 changes: 2 additions & 1 deletion pub/System/FoswikiSiteSkin/supersleight.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ var supersleight = function() {
var applyPositioning = true;

// Path to a transparent GIF image
var shim = '/pub/System/FoswikiDotOrgPatternSkinContrib/x.gif';
// FIXME: 'System' is hardcoded
var shim = '/pub/System/FoswikiSiteSkin/x.gif';

// RegExp to match above GIF image name
var shim_pattern = /x\.gif$/i;
Expand Down
6 changes: 3 additions & 3 deletions templates/foswiki.foswikisite.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@

%TMPL:DEF{"script"}%%TMPL:P{"script:skinbase"}%%TMPL:P{"script:skintemplate"}%%TMPL:P{"script:topictemplate"}%
<!--[if lte IE 6]>
<script type="text/javascript" src="%PUBURL%/System/FoswikiDotOrgPatternSkinContrib/%TMPL:P{"pngfixsleight"}%"></script>
<script type="text/javascript" src="%PUBURL%/System/FoswikiSiteSkin/%TMPL:P{"pngfixsleight"}%"></script>
<![endif]-->
%TMPL:END%

%TMPL:DEF{"templatestyle"}%
<style type="text/css" media="all">
@import url("%PUBURL%/%SYSTEMWEB%/FoswikiDotOrgPatternSkinContrib/style.css");
@import url("%PUBURL%/%SYSTEMWEB%/FoswikiSiteSkin/style.css");
</style>
<!--[if lte IE 6]>
<style type="text/css" media="all">
@import url("%PUBURL%/System/FoswikiDotOrgPatternSkinContrib/style-ie.css");
@import url("%PUBURL%/System/FoswikiSiteSkin/style-ie.css");
</style>
<![endif]-->%TMPL:END%
14 changes: 7 additions & 7 deletions templates/view.foswikisite.tmpl
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
%TMPL:INCLUDE{"view"}%

%TMPL:DEF{"top:toolbarbutton_edit"}%<span class="toptoolbarbutton"><a href="%SCRIPTURL{"edit"}%/%WEB%/%TOPIC%?t=%GMTIME{"$epoch"}%" title="Edit this topic"><img src="%PUBURL%/%SYSTEMWEB%/FoswikiDotOrgPatternSkinContrib/pencil.png" width="16" height="16" /></a></span>%TMPL:END%
%TMPL:DEF{"top:toolbarbutton_edit"}%<span class="toptoolbarbutton"><a href="%SCRIPTURL{"edit"}%/%WEB%/%TOPIC%?t=%GMTIME{"$epoch"}%" title="Edit this topic"><img src="%PUBURL%/%SYSTEMWEB%/FoswikiSiteSkin/pencil.png" width="16" height="16" /></a></span>%TMPL:END%

%TMPL:DEF{"top:toolbarbutton_attach"}%<span class="toptoolbarbutton"><a href="%SCRIPTURL{"attach"}%/%WEB%/%TOPIC%" title="Attach files and manage existing attachments"><img src="%PUBURL%/%SYSTEMWEB%/FoswikiDotOrgPatternSkinContrib/attach.png" width="16" height="16" /></a></span>%TMPL:END%
%TMPL:DEF{"top:toolbarbutton_attach"}%<span class="toptoolbarbutton"><a href="%SCRIPTURL{"attach"}%/%WEB%/%TOPIC%" title="Attach files and manage existing attachments"><img src="%PUBURL%/%SYSTEMWEB%/FoswikiSiteSkin/attach.png" width="16" height="16" /></a></span>%TMPL:END%

%TMPL:DEF{"top:toolbarbutton_rdiff"}%<span class="toptoolbarbutton"><a href="%SCRIPTURL{"rdiff"}%/%WEB%/%TOPIC%?type=history" title="View topic history"><img src="%PUBURL%/%SYSTEMWEB%/FoswikiDotOrgPatternSkinContrib/page_white_stack.png" width="16" height="16" /></a></span>%TMPL:END%
%TMPL:DEF{"top:toolbarbutton_rdiff"}%<span class="toptoolbarbutton"><a href="%SCRIPTURL{"rdiff"}%/%WEB%/%TOPIC%?type=history" title="View topic history"><img src="%PUBURL%/%SYSTEMWEB%/FoswikiSiteSkin/page_white_stack.png" width="16" height="16" /></a></span>%TMPL:END%

%TMPL:DEF{"top:toolbarbutton_raw"}%<span class="toptoolbarbutton"><a href="%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?raw=on&rev=%REVINFO{"$rev"}%" title="View raw topic text"><img src="%PUBURL%/%SYSTEMWEB%/FoswikiDotOrgPatternSkinContrib/text_align_left.png" width="16" height="16" /></a></span>%TMPL:END%
%TMPL:DEF{"top:toolbarbutton_raw"}%<span class="toptoolbarbutton"><a href="%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?raw=on&rev=%REVINFO{"$rev"}%" title="View raw topic text"><img src="%PUBURL%/%SYSTEMWEB%/FoswikiSiteSkin/text_align_left.png" width="16" height="16" /></a></span>%TMPL:END%

%TMPL:DEF{"top:toolbarbutton_create"}%<span class="toptoolbarbutton"><a href="%SCRIPTURL{"view"}%/Home/WebCreateNewTopic?topicparent=%TOPIC%" title="Create new topic"><img src="%PUBURL%/%SYSTEMWEB%/FoswikiDotOrgPatternSkinContrib/page_white_add.png" width="16" height="16" /></a></span>%TMPL:END%
%TMPL:DEF{"top:toolbarbutton_create"}%<span class="toptoolbarbutton"><a href="%SCRIPTURL{"view"}%/Home/WebCreateNewTopic?topicparent=%TOPIC%" title="Create new topic"><img src="%PUBURL%/%SYSTEMWEB%/FoswikiSiteSkin/page_white_add.png" width="16" height="16" /></a></span>%TMPL:END%

%TMPL:DEF{"top:toolbarbutton_print"}%<span class="toptoolbarbutton"><a href="%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?cover=print" title="Print this topic"><img src="%PUBURL%/%SYSTEMWEB%/FoswikiDotOrgPatternSkinContrib/printer.png" width="16" height="16" /></a></span>%TMPL:END%
%TMPL:DEF{"top:toolbarbutton_print"}%<span class="toptoolbarbutton"><a href="%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?cover=print" title="Print this topic"><img src="%PUBURL%/%SYSTEMWEB%/FoswikiSiteSkin/printer.png" width="16" height="16" /></a></span>%TMPL:END%

%TMPL:DEF{"top:toolbarbutton_more"}%<span class="toptoolbarbutton"><a href="%SCRIPTURL{"oops"}%/%WEB%/%TOPIC%?template=oopsmore" title="More actions"><img src="%PUBURL%/%SYSTEMWEB%/FoswikiDotOrgPatternSkinContrib/wrench.png" width="16" height="16" /></a></span>%TMPL:END%
%TMPL:DEF{"top:toolbarbutton_more"}%<span class="toptoolbarbutton"><a href="%SCRIPTURL{"oops"}%/%WEB%/%TOPIC%?template=oopsmore" title="More actions"><img src="%PUBURL%/%SYSTEMWEB%/FoswikiSiteSkin/wrench.png" width="16" height="16" /></a></span>%TMPL:END%

%TMPL:DEF{"top:toolbarbuttons"}%%TMPL:P{"top:toolbarbutton_edit"}%%TMPL:P{"top:toolbarbutton_attach"}%%TMPL:P{"top:toolbarbutton_rdiff"}%%TMPL:P{"top:toolbarbutton_raw"}%%TMPL:P{"top:toolbarbutton_create"}%%TMPL:P{"top:toolbarbutton_print"}%%TMPL:P{"top:toolbarbutton_more"}%%TMPL:END%

Expand Down

0 comments on commit 540e628

Please sign in to comment.