diff --git a/ccm-cms-portletdataprovider/application.xml b/ccm-cms-portletdataprovider/application.xml new file mode 100644 index 000000000..cd523a6db --- /dev/null +++ b/ccm-cms-portletdataprovider/application.xml @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + Provides a data for JSR-286 compatible portlets (and other consumers) running on another + server or in another context. + + + diff --git a/ccm-cms-portletdataprovider/src/ccm-cms-portletdataprovider.load b/ccm-cms-portletdataprovider/src/ccm-cms-portletdataprovider.load new file mode 100644 index 000000000..356dff722 --- /dev/null +++ b/ccm-cms-portletdataprovider/src/ccm-cms-portletdataprovider.load @@ -0,0 +1,12 @@ + + + +
+
+ + + + + + + \ No newline at end of file diff --git a/ccm-cms-portletdataprovider/src/com/arsdigita/cms/portletdataprovider/Initalizer.java b/ccm-cms-portletdataprovider/src/com/arsdigita/cms/portletdataprovider/Initalizer.java new file mode 100644 index 000000000..7b35f05dd --- /dev/null +++ b/ccm-cms-portletdataprovider/src/com/arsdigita/cms/portletdataprovider/Initalizer.java @@ -0,0 +1,49 @@ +/* + * Copyright (c) 2014 Jens Pelzetter + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + */package com.arsdigita.cms.portletdataprovider; + +import com.arsdigita.db.DbHelper; +import com.arsdigita.persistence.pdl.ManifestSource; +import com.arsdigita.persistence.pdl.NameFilter; +import com.arsdigita.runtime.CompoundInitializer; +import com.arsdigita.runtime.DomainInitEvent; +import com.arsdigita.runtime.PDLInitializer; +import com.arsdigita.runtime.RuntimeConfig; + +/** + * + * @author Jens Pelzetter + * @version $Id$ + */ +public class Initalizer extends CompoundInitializer { + + public Initalizer() { + final String jdbcUrl = RuntimeConfig.getConfig().getJDBCURL(); + final int database = DbHelper.getDatabaseFromURL(jdbcUrl); + + add(new PDLInitializer(new ManifestSource("empty.pdl.mf", + new NameFilter(DbHelper. + getDatabaseSuffix(database), "pdl")))); + } + + @Override + public void init(final DomainInitEvent event) { + super.init(event); + } + +} diff --git a/ccm-cms-portletdataprovider/src/com/arsdigita/cms/portletdataprovider/Loader.java b/ccm-cms-portletdataprovider/src/com/arsdigita/cms/portletdataprovider/Loader.java new file mode 100644 index 000000000..5d563c22b --- /dev/null +++ b/ccm-cms-portletdataprovider/src/com/arsdigita/cms/portletdataprovider/Loader.java @@ -0,0 +1,36 @@ +/* + * Copyright (c) 2013 Jens Pelzetter + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + */ +package com.arsdigita.cms.portletdataprovider; + +import com.arsdigita.loader.PackageLoader; +import com.arsdigita.runtime.ScriptContext; + +/** + * + * @author Jens Pelzetter + * @version $Id$ + */ +public class Loader extends PackageLoader { + + @Override + public void run(final ScriptContext ctx) { + //Nothing to do. + } + +} diff --git a/ccm-cms-portletdataprovider/src/empty.pdf.mf b/ccm-cms-portletdataprovider/src/empty.pdf.mf new file mode 100644 index 000000000..e69de29bb diff --git a/ccm-sci-bundle/web/themes/mandalay/lang/de/filterControls.xml b/ccm-sci-bundle/web/themes/mandalay/lang/de/filterControls.xml index 69341ef0c..225574623 100644 --- a/ccm-sci-bundle/web/themes/mandalay/lang/de/filterControls.xml +++ b/ccm-sci-bundle/web/themes/mandalay/lang/de/filterControls.xml @@ -41,7 +41,7 @@ Erscheinungsjahr Alle Sortieren nach - sTitel + Titel Jahr (aufsteigend) Jahr (absteigend) Autoren diff --git a/ccm-sci-bundle/web/themes/mandalay/start.xsl b/ccm-sci-bundle/web/themes/mandalay/start.xsl index eeb0eacfc..78dc96ae7 100755 --- a/ccm-sci-bundle/web/themes/mandalay/start.xsl +++ b/ccm-sci-bundle/web/themes/mandalay/start.xsl @@ -116,9 +116,6 @@ Nicht unterstützt - diff --git a/ccm-sci-bundle/web/themes/mandalay/user/includes/mandalay/layoutParser.xsl b/ccm-sci-bundle/web/themes/mandalay/user/includes/mandalay/layoutParser.xsl index 969f6e4df..be50a4573 100644 --- a/ccm-sci-bundle/web/themes/mandalay/user/includes/mandalay/layoutParser.xsl +++ b/ccm-sci-bundle/web/themes/mandalay/user/includes/mandalay/layoutParser.xsl @@ -49,6 +49,12 @@ --> + +
+ +
+
+