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";
|
tie my %extraFields, "Tie::IxHash";
|
||||||
|
|
||||||
my $extraFields = {
|
$extraFields = {
|
||||||
thumbnailSize => {
|
thumbnailSize => {
|
||||||
fieldType => "integer",
|
fieldType => "integer",
|
||||||
name => "thumbnailSize",
|
name => "thumbnailSize",
|
||||||
|
|
|
||||||
|
|
@ -119,12 +119,12 @@ sub getEditForm {
|
||||||
tie my %extraFields, "Tie::IxHash";
|
tie my %extraFields, "Tie::IxHash";
|
||||||
%extraFields = (
|
%extraFields = (
|
||||||
templateId => {
|
templateId => {
|
||||||
fieldType => 'template',
|
fieldType => 'template',
|
||||||
tab => 'display',
|
tab => 'display',
|
||||||
-value=>$templateId,
|
value => $templateId,
|
||||||
-label=>$i18n->get('layout template title'),
|
label => $i18n->get('layout template title'),
|
||||||
-hoverHelp=>$i18n->get('template description'),
|
hoverHelp => $i18n->get('template description'),
|
||||||
-namespace=>"Layout",
|
namespace => "Layout",
|
||||||
});
|
});
|
||||||
|
|
||||||
if ( $self->session->setting->get('useMobileStyle') ) {
|
if ( $self->session->setting->get('useMobileStyle') ) {
|
||||||
|
|
@ -139,12 +139,12 @@ sub getEditForm {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$extraFields{mobileTemplateId} = {
|
$extraFields{mobileTemplateId} = {
|
||||||
fieldType => 'hidden',
|
fieldType => 'hidden',
|
||||||
tab => 'display',
|
tab => 'display',
|
||||||
name => 'mobileTemplateId',
|
name => 'mobileTemplateId',
|
||||||
value => $self->getValue('mobileTemplateId'),
|
value => $self->getValue('mobileTemplateId'),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
tie my %assetOrder, "Tie::IxHash";
|
tie my %assetOrder, "Tie::IxHash";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue