More code formatting, and fix double my
This commit is contained in:
parent
7c8f65ebdd
commit
db1b565560
2 changed files with 13 additions and 13 deletions
|
|
@ -160,7 +160,7 @@ sub getEditForm {
|
|||
|
||||
tie my %extraFields, "Tie::IxHash";
|
||||
|
||||
my $extraFields = {
|
||||
$extraFields = {
|
||||
thumbnailSize => {
|
||||
fieldType => "integer",
|
||||
name => "thumbnailSize",
|
||||
|
|
|
|||
|
|
@ -119,12 +119,12 @@ sub getEditForm {
|
|||
tie my %extraFields, "Tie::IxHash";
|
||||
%extraFields = (
|
||||
templateId => {
|
||||
fieldType => 'template',
|
||||
tab => 'display',
|
||||
-value=>$templateId,
|
||||
-label=>$i18n->get('layout template title'),
|
||||
-hoverHelp=>$i18n->get('template description'),
|
||||
-namespace=>"Layout",
|
||||
fieldType => 'template',
|
||||
tab => 'display',
|
||||
value => $templateId,
|
||||
label => $i18n->get('layout template title'),
|
||||
hoverHelp => $i18n->get('template description'),
|
||||
namespace => "Layout",
|
||||
});
|
||||
|
||||
if ( $self->session->setting->get('useMobileStyle') ) {
|
||||
|
|
@ -139,12 +139,12 @@ sub getEditForm {
|
|||
};
|
||||
}
|
||||
else {
|
||||
$extraFields{mobileTemplateId} = {
|
||||
fieldType => 'hidden',
|
||||
tab => 'display',
|
||||
name => 'mobileTemplateId',
|
||||
value => $self->getValue('mobileTemplateId'),
|
||||
};
|
||||
$extraFields{mobileTemplateId} = {
|
||||
fieldType => 'hidden',
|
||||
tab => 'display',
|
||||
name => 'mobileTemplateId',
|
||||
value => $self->getValue('mobileTemplateId'),
|
||||
};
|
||||
}
|
||||
|
||||
tie my %assetOrder, "Tie::IxHash";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue