Skip to content

Commit

Permalink
Item697: reverted SYSTEMWEB to TWIKIWEB for foswiki/compat plugins
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk/ImagePlugin@1863 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
MichaelDaum authored and MichaelDaum committed Jan 8, 2009
1 parent 33037d1 commit 5557cb3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 17 deletions.
16 changes: 2 additions & 14 deletions data/TWiki/ImagePlugin.txt
Expand Up @@ -138,19 +138,7 @@ order is left-to-right-inside-out.


---++ Plugin Installation Instructions

* Download the ZIP file
* Unzip ==%TOPIC%.zip== in your twiki installation directory. Content:
| *File:* | *Description:* |
%$MANIFEST%
* Optionally, run ==%TOPIC%_installer== to automatically check and install
other extensions that this module depends on. You can also do this step
manually.
* Alternatively, manually make sure the dependencies listed in the table below are resolved.
%$DEPENDENCIES%
* run the [[%SCRIPTURL{"configure"}%][configure]] script to enable the plugin
* Test if the installation was successful:
* For complete example see Sandbox.ImagePluginTest
%$INSTALL_INSTRUCTIONS%

---++ Plugin Info
<!--
Expand All @@ -160,7 +148,7 @@ order is left-to-right-inside-out.
| Plugin Author: | Craig Meyer |
| Copyright: | &copy; 2006, Craig Meyer, %BR% &copy; 2006-2009 Michael Daum http://michaeldaumconsulting.com |
| License: | GPL ([[http://www.gnu.org/copyleft/gpl.html][GNU General Public License]]) |
| Plugin Version: | 1.21 |
| Plugin Version: | 1.22 |
| Change History: | <!-- versions below in reverse order -->&nbsp; |
| 07 Jan 2008: | certified for foswiki/compat |
| 03 Jul 2008: | fixed parsing the type parameter; \
Expand Down
4 changes: 2 additions & 2 deletions lib/TWiki/Plugins/ImagePlugin.pm
Expand Up @@ -28,7 +28,7 @@ use strict;
use vars qw( $VERSION $RELEASE $doneHeader $imageCore $imgStyle $baseWeb $baseTopic);

$VERSION = '$Rev$';
$RELEASE = '1.21'; # please increase on every upload to twiki.org
$RELEASE = '1.22'; # please increase on every upload to twiki.org

###############################################################################
sub initPlugin {
Expand All @@ -45,7 +45,7 @@ sub initPlugin {
$doneHeader = 0;
$imgStyle =
'<link rel="stylesheet" '.
'href="%PUBURL%/%SYSTEMWEB%/ImagePlugin/style.css" '.
'href="%PUBURL%/%TWIKIWEB%/ImagePlugin/style.css" '.
'type="text/css" media="all" />';


Expand Down
2 changes: 1 addition & 1 deletion lib/TWiki/Plugins/ImagePlugin/Core.pm
Expand Up @@ -104,7 +104,7 @@ sub new {

$this->{magnifyIcon} =
TWiki::Func::getPluginPreferencesValue('IMAGEPLUGIN_MAGNIFY_ICON') ||
'%PUBURLPATH%/%SYSTEMWEB%/ImagePlugin/magnify-clip.png';
'%PUBURLPATH%/%TWIKIWEB%/ImagePlugin/magnify-clip.png';
$this->{magnifyWidth} = 15; # TODO: make this configurable/autodetected/irgnored
$this->{magnifyHeight} = 11; # TODO: make this configurable/autodetected/irgnored

Expand Down

0 comments on commit 5557cb3

Please sign in to comment.