enhanced usability and fixed a style template inheritance problem

This commit is contained in:
JT Smith 2005-01-29 17:14:00 +00:00
parent 7d1225d702
commit ae67e0b0ac
5 changed files with 38 additions and 17 deletions

View file

@ -51,6 +51,9 @@ sub process {
foreach my $link (@{$session{asset}->getAssetAdderLinks}) {
push(@{$var{'contenttypes_loop'}},{'contenttype.url'=>$link->{url},'contenttype.label'=>$link->{label}});
}
foreach my $link (@{$session{asset}->getAssetAdderLinks(undef,1)}) {
push(@{$var{'container_loop'}},{'container.url'=>$link->{url},'container.label'=>$link->{label}});
}
foreach my $item (@{$session{asset}->getAssetsInClipboard(1)}) {
my $title = $item->{title};
$title =~ s/'//g; # stops it from breaking the javascript menus