diff --git a/ccm-cms/src/com/arsdigita/cms/ui/authoring/NewItemForm.java b/ccm-cms/src/com/arsdigita/cms/ui/authoring/NewItemForm.java index 061429697..909371dc4 100755 --- a/ccm-cms/src/com/arsdigita/cms/ui/authoring/NewItemForm.java +++ b/ccm-cms/src/com/arsdigita/cms/ui/authoring/NewItemForm.java @@ -72,17 +72,22 @@ public abstract class NewItemForm extends Form { private final Label m_createLabel; public static final String TYPE_ID = "tid"; + public NewItemForm(String name) { + this(name, BoxPanel.HORIZONTAL); + } + /** * Construct a new NewItemForm. It sets a vertical BoxPanel as the component container. * * @param name the name attribute of the form. */ - public NewItemForm(String name) { + public NewItemForm(String name, int orientation) { super(name, new BoxPanel(BoxPanel.VERTICAL)); setIdAttr("new_item_form"); - BoxPanel panel = new BoxPanel(BoxPanel.HORIZONTAL); + //BoxPanel panel = new BoxPanel(BoxPanel.HORIZONTAL); + BoxPanel panel = new BoxPanel(orientation); panel.setWidth("2%"); panel.setBorder(0); diff --git a/ccm-cms/src/com/arsdigita/cms/ui/contentcenter/ContentSectionContainer.java b/ccm-cms/src/com/arsdigita/cms/ui/contentcenter/ContentSectionContainer.java index 040a03346..a553ed6ea 100755 --- a/ccm-cms/src/com/arsdigita/cms/ui/contentcenter/ContentSectionContainer.java +++ b/ccm-cms/src/com/arsdigita/cms/ui/contentcenter/ContentSectionContainer.java @@ -18,6 +18,7 @@ */ package com.arsdigita.cms.ui.contentcenter; +import com.arsdigita.bebop.BoxPanel; import java.math.BigDecimal; import com.arsdigita.bebop.Component; @@ -209,7 +210,8 @@ public class ContentSectionContainer extends CMSContainer { private final Hidden m_sectionIDParamWidget; public StaticNewItemForm(BigDecimalParameter sectionParam) { - super("StaticNewItemForm"); + super("StaticNewItemForm", BoxPanel.VERTICAL); + setClassAttr("static-new-item-form"); m_sectionIDParamWidget = new Hidden(sectionParam); add(m_sectionIDParamWidget); setProcessInvisible(true); diff --git a/ccm-core/web/themes/foundry/foundry/styles/admin.css b/ccm-core/web/themes/foundry/foundry/styles/admin.css index cfd2f1b59..9fa4be1aa 100644 --- a/ccm-core/web/themes/foundry/foundry/styles/admin.css +++ b/ccm-core/web/themes/foundry/foundry/styles/admin.css @@ -1761,3 +1761,11 @@ span#quickLinksCascade { display: block; } +.static-new-item-form select { + max-width: 12em; + +} + +.static-new-item-form input { + height: 1.8em; +} \ No newline at end of file diff --git a/ccm-ldn-types-organization/src/com/arsdigita/cms/contenttypes/ldn/OrganizationResources.properties b/ccm-ldn-types-organization/src/com/arsdigita/cms/contenttypes/ldn/OrganizationResources.properties index 0d27ce52c..cc3d27861 100755 --- a/ccm-ldn-types-organization/src/com/arsdigita/cms/contenttypes/ldn/OrganizationResources.properties +++ b/ccm-ldn-types-organization/src/com/arsdigita/cms/contenttypes/ldn/OrganizationResources.properties @@ -12,4 +12,4 @@ cms.contenttypes.ui.organization.file_upload=Upload cms.contenttypes.ui.organization.file_delete=Delete cms.contenttypes.ui.organization.file_ignore=Ignore #Fixed Key! Defined in class ContentType#getLabel() -cms.contenttypes.organization.type_label=Organization +cms.contenttypes.ldn.organization.type_label=Organization diff --git a/ccm-ldn-types-organization/src/com/arsdigita/cms/contenttypes/ldn/OrganizationResources_de.properties b/ccm-ldn-types-organization/src/com/arsdigita/cms/contenttypes/ldn/OrganizationResources_de.properties index 974a24d15..b08f1aa6a 100644 --- a/ccm-ldn-types-organization/src/com/arsdigita/cms/contenttypes/ldn/OrganizationResources_de.properties +++ b/ccm-ldn-types-organization/src/com/arsdigita/cms/contenttypes/ldn/OrganizationResources_de.properties @@ -12,4 +12,4 @@ cms.contenttypes.ui.organization.file_upload=Hochladen cms.contenttypes.ui.organization.file_delete=L\u00f6schen cms.contenttypes.ui.organization.file_ignore=\u00dcberspringen #Fixed Key! Defined in class ContentType#getLabel() -cms.contenttypes.organization.type_label=Organisation +cms.contenttypes.ldn.organization.type_label=Organisation