More Gallery i18n
fix: Add an Album link now appears on Gallery List Albums view
This commit is contained in:
parent
5f28ad91c3
commit
ce4688310e
8 changed files with 178 additions and 5 deletions
|
|
@ -99,7 +99,7 @@ sub definition {
|
|||
push @{$definition}, {
|
||||
assetName => $i18n->get('assetName'),
|
||||
autoGenerateForms => 0,
|
||||
icon => 'Image.gif',
|
||||
icon => 'photo.gif',
|
||||
tableName => 'Photo',
|
||||
className => 'WebGUI::Asset::File::Image::Photo',
|
||||
i18n => 'Asset_Photo',
|
||||
|
|
@ -932,6 +932,10 @@ sub www_edit {
|
|||
my $var = {
|
||||
url_addArchive => $self->getParent->getUrl('func=addArchive'),
|
||||
};
|
||||
|
||||
if ( $form->get('assetId') eq "new" ) {
|
||||
$var->{ isNewPhoto } = 1;
|
||||
}
|
||||
|
||||
# Generate the form
|
||||
if ($form->get("func") eq "add") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue