fixed the thumbnail macro
added the new ldap icon to the admin console
This commit is contained in:
parent
a8a38b55dc
commit
d28bc13924
3 changed files with 18 additions and 8 deletions
|
|
@ -1,4 +1,9 @@
|
||||||
6.6.0
|
6.6.0
|
||||||
|
- Added a shopping cart system and salable products management system. This
|
||||||
|
completes the foundation of WebGUI's commerce system and will allow us to
|
||||||
|
add very rich commerce features in the 7.x series. (Thanks to ProcoliX and
|
||||||
|
Boomer Consulting for each contributing some funding toward the development
|
||||||
|
of these features.)
|
||||||
- Added a new admin panel for inline content editing.
|
- Added a new admin panel for inline content editing.
|
||||||
- Tweaked the preloader so WebGUI uses a little less memory per process.
|
- Tweaked the preloader so WebGUI uses a little less memory per process.
|
||||||
- upgrade.pl and testEnvironment.pl now use the same config file reader as
|
- upgrade.pl and testEnvironment.pl now use the same config file reader as
|
||||||
|
|
@ -61,9 +66,14 @@
|
||||||
survey's.
|
survey's.
|
||||||
- Attached the karma system to the ratings system in the Collaboration
|
- Attached the karma system to the ratings system in the Collaboration
|
||||||
system.
|
system.
|
||||||
- Added API for connecting to LDAP directories
|
- Added API for connecting to LDAP directories (Thanks to MABIS Healthcare
|
||||||
- Added Admininstration Module for creating Multiple LDAP Connections on a WebGUI site
|
for funding this enhancement.)
|
||||||
- Modified LDAP Authentication Module to allow users to choose from the Ldap Connections created in the Admin Console
|
- Added Admininstration Module for creating Multiple LDAP Connections on a
|
||||||
|
WebGUI site (Thanks to MABIS Healthcare for funding this enhancement.)
|
||||||
|
- Modified LDAP Authentication Module to allow users to choose from the LDAP
|
||||||
|
Connections created in the Admin Console (Thanks to MABIS Healthcare for
|
||||||
|
funding this enhancement.)
|
||||||
|
- Thumnail macro has been updated to work with the asset tree system.
|
||||||
|
|
||||||
|
|
||||||
6.5.6
|
6.5.6
|
||||||
|
|
|
||||||
|
|
@ -197,7 +197,7 @@ sub getAdminFunction {
|
||||||
id=>"ldapconnections",
|
id=>"ldapconnections",
|
||||||
namespace=>"WebGUI"
|
namespace=>"WebGUI"
|
||||||
},
|
},
|
||||||
icon=>"databases.gif",
|
icon=>"ldap.gif",
|
||||||
op=>"listLDAPLinks",
|
op=>"listLDAPLinks",
|
||||||
group=>"3"
|
group=>"3"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -11,15 +11,15 @@ package WebGUI::Macro::Thumbnail;
|
||||||
#-------------------------------------------------------------------
|
#-------------------------------------------------------------------
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
use WebGUI::Collateral;
|
use WebGUI::Asset::File::Image;
|
||||||
use WebGUI::Macro;
|
use WebGUI::Macro;
|
||||||
use WebGUI::Session;
|
use WebGUI::Session;
|
||||||
|
|
||||||
#-------------------------------------------------------------------
|
#-------------------------------------------------------------------
|
||||||
sub process {
|
sub process {
|
||||||
my @param = WebGUI::Macro::getParams($_[0]);
|
my ($url) = WebGUI::Macro::getParams(shift);
|
||||||
if (my $collateral = WebGUI::Collateral->find($param[0])) {
|
if (my $image = WebGUI::Asset::File::Image->newByUrl($url)) {
|
||||||
return $collateral->getThumbnail;
|
return $image->getThumbnailUrl;
|
||||||
} else {
|
} else {
|
||||||
return undef;
|
return undef;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue