Skip to content

Commit

Permalink
Fixed #15 and #16 and other changes
Browse files Browse the repository at this point in the history
Fixed issuses #16 y #17.
Fixed some graphical issues.
Changes repository structure: now redmexico theme is located under root.
Check modules/readme.md file.
  • Loading branch information
bitcero committed Jul 16, 2015
1 parent 7c2d764 commit d998771
Show file tree
Hide file tree
Showing 25 changed files with 4,204 additions and 1,866 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Prior to install **Common Utilities**, an installation of XOOPS must exists.
Follow next steps in order to get Common Utilities installed in XOOPS:

1. Extract compressed file on your hard disk.
2. Upload folder `rmcommon/system` to directory `modules` of your XOOPS installation.
2. Upload folder `modules` to your XOOPS installation.

This folder contains the system theme called **redmexico**, and this theme make possible all integration
between rmcommon and XOOPS.
Expand Down
7 changes: 7 additions & 0 deletions modules/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
This folder contains the theme __redmexico__ for __system__ module. This theme is required by __Common Utilities__ in order to enable all its grapic features.

### How to use this theme?

_before toinstall rmcommon_ please upload this folder (or `system` folder) to your XOOPS `modules` directory. If this is the first time that you install __rmcommon__ then anything will be replaced, but if you've previously installed __rmcommon__ then the folder will replace existing files from `redmexico` theme. Don`t worry for this...

After copy the files, you can install __Common Utilities__ normally.
File renamed without changes.
4 changes: 2 additions & 2 deletions rmcommon/class/imageresizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -358,8 +358,8 @@ static public function resize( $file, $params ){
imagepng( $target, $target_file, ceil( $params->quality / 10) );

$image_resize = new stdClass();
$image_resize->url = str_replace( XOOPS_UPLOAD_PATH, XOOPS_UPLOAD_URL, $cache_file );
$image_resize->path = $cache_file;
$image_resize->url = str_replace( XOOPS_UPLOAD_PATH, XOOPS_UPLOAD_URL, $target_file );
$image_resize->path = $target_file;
$image_resize->width = $params->width;
$image_resize->height = $params->height;

Expand Down
Loading

0 comments on commit d998771

Please sign in to comment.