Skip to content
Code-Schnipsel Gruppen Projekte
Commit 602ceb47 erstellt von Michael's avatar Michael
Dateien durchsuchen

fix: Titel wird für Bricks angezeigt.

refactor: Übersetzungen ergänzt
refactor: Weitere Layouts für Listing hinzugefügt
Übergeordneter bc28e6a5
No related branches found
No related tags found
Keine zugehörigen Merge Requests gefunden
......@@ -887,7 +887,7 @@
<settings>
<!-- select site -->
<setting name="site" data-qui="controls/projects/project/site/Select">
<locale group="quiqqer/bricks" var="brick.control.sidebox3.setting.site"/>
<locale group="quiqqer/bricks" var="brick.control.setting.site"/>
</setting>
<!-- order -->
......@@ -928,69 +928,66 @@
<setting name="template" type="select">
<locale group="quiqqer/bricks" var="bricks.template" />
<locale group="quiqqer/bricks" var="brick.listTemplate" />
<option value="standardList">
<locale group="quiqqer/bricks" var="bricks.standardList" />
<locale group="quiqqer/bricks" var="brick.listTemplate.standardList" />
</option>
<option value="listWithBorder">
<locale group="quiqqer/bricks" var="bricks.listWithBorder" />
<locale group="quiqqer/bricks" var="brick.listTemplate.listWithBorder" />
</option>
<option value="simpleArticleList">
<locale group="quiqqer/bricks" var="bricks.simpleArticleList" />
<locale group="quiqqer/bricks" var="brick.listTemplate.simpleArticleList" />
</option>
<option value="advancedArticleList">
<locale group="quiqqer/bricks" var="bricks.advancedArticleList" />
<locale group="quiqqer/bricks" var="brick.listTemplate.advancedArticleList" />
</option>
<option value="icons">
<locale group="quiqqer/bricks" var="bricks.template.icons" />
<locale group="quiqqer/bricks" var="brick.listTemplate.icons" />
</option>
<option value="childrenList">
<locale group="quiqqer/bricks" var="brick.listTemplate.childrenList" />
</option>
<option value="longFooter">
<locale group="quiqqer/bricks" var="brick.listTemplate.longFooter" />
</option>
<option value="authorTop">
<locale group="quiqqer/bricks" var="brick.listTemplate.authorTop" />
</option>
</setting>
<setting name="max">
<setting name="max" type="number">
<defaoult>5</defaoult>
<locale group="quiqqer/bricks"
var="bricks.max"
var="brick.max"
/>
</setting>
<setting name="showShort" type="checkbox">
<locale group="quiqqer/bricks"
var="bricks.showShort" />
var="brick.showShort" />
</setting>
<setting name="showCreator" type="checkbox">
<locale group="quiqqer/bricks"
var="bricks.showCreator" />
var="brick.showCreator" />
</setting>
<setting name="showDate" type="checkbox">
<locale group="quiqqer/bricks"
var="bricks.showDate" />
var="brick.showDate" />
</setting>
<setting name="showTime" type="checkbox">
<locale group="quiqqer/bricks"
var="bricks.showTime" />
var="brick.showTime" />
</setting>
<setting name="showImages" type="checkbox">
<locale group="quiqqer/bricks"
var="bricks.showImages"
var="brick.showImages"
/>
</setting>
<!--<setting name="showSheets" type="checkbox">
<locale group="quiqqer/bricks"
var="bricks.showSheets" />
</setting>-->
<!--<input conf="quiqqer.settings.sitetypes.list.showSheets" type="checkbox">
<text>
<locale group="quiqqer/sitetypes"
var="quiqqer.sitetypes.list.settings.showSheets"
/>
</text>
</input>-->
</settings>
</brick>
......
......@@ -8,6 +8,12 @@
<pl><![CDATA[Pełna szerokość]]></pl>
</locale>
<locale name="brick.control.setting.site">
<de><![CDATA[Seiten hinzufügen]]></de>
<en><![CDATA[Add pages]]></en>
<pl><![CDATA[Dodaj strony]]></pl>
</locale>
<locale name="permission.quiqqer.bricks._header">
<de><![CDATA[Bausteine]]></de>
<en><![CDATA[Bricks]]></en>
......@@ -272,7 +278,9 @@
<locale name="brick.control.setting.order">
<de><![CDATA[Sortierung]]></de>
<en><![CDATA[Sort]]></en>
<pl><![CDATA[Sortowanie]]></pl>
</locale>
<locale name="site.area.window.settings.setting.width">
<de><![CDATA[Breite]]></de>
<en><![CDATA[Width]]></en>
......@@ -814,7 +822,7 @@ M&ouml;chten Sie die Bausteine aus der Bausteinzone entfernen?</p>]]></de>
<locale name="bricks.list.title">
<de><![CDATA[Seitenliste]]></de>
<en><![CDATA[Site list]]></en>
<pl><![CDATA[Lista wpisów]]></pl>
<pl><![CDATA[Lista stron / wpisów]]></pl>
</locale>
<locale name="bricks.list.description">
<de><![CDATA[Stellt eine Liste von Seiten dar, die man als Baustein überall
......@@ -824,74 +832,91 @@ M&ouml;chten Sie die Bausteine aus der Bausteinzone entfernen?</p>]]></de>
do wyświetlenia ostatnich wpisów.]]></pl>
</locale>
<locale name="bricks.template">
<!-- templates / layout -->
<locale name="brick.listTemplate">
<de><![CDATA[Layout]]></de>
<en><![CDATA[Layout]]></en>
<pl><![CDATA[Layout]]></pl>
</locale>
<locale name="bricks.standardList">
<de><![CDATA[Standard]]></de>
<en><![CDATA[Standard]]></en>
<pl><![CDATA[Standardowy]]></pl>
<locale name="brick.listTemplate.standardList">
<de><![CDATA[Standard (Sidebar)]]></de>
<en><![CDATA[Standard (sidebar)]]></en>
<pl><![CDATA[Standardowy (sidebar)]]></pl>
</locale>
<locale name="bricks.listWithBorder">
<de><![CDATA[Mit Rahmen]]></de>
<en><![CDATA[Border]]></en>
<pl><![CDATA[Z ramką]]></pl>
<locale name="brick.listTemplate.listWithBorder">
<de><![CDATA[Mit Rahmen (Sidebar)]]></de>
<en><![CDATA[Border (sidebar)]]></en>
<pl><![CDATA[Z ramką (sidebar)]]></pl>
</locale>
<locale name="bricks.simpleArticleList">
<de><![CDATA[Einfache Artikel-Liste]]></de>
<en><![CDATA[Simple article list]]></en>
<pl><![CDATA[Prosta lista artykułów]]></pl>
<locale name="brick.listTemplate.simpleArticleList">
<de><![CDATA[Einfache Artikel-Liste (Sidebar)]]></de>
<en><![CDATA[Simple article list (sidebar)]]></en>
<pl><![CDATA[Prosta lista artykułów (sidebar)]]></pl>
</locale>
<locale name="bricks.advancedArticleList">
<de><![CDATA[Erweiterte Artikel-Liste]]></de>
<en><![CDATA[Advanced article list]]></en>
<pl><![CDATA[Rozszerzona lista wpisów]]></pl>
<locale name="brick.listTemplate.advancedArticleList">
<de><![CDATA[Erweiterte Artikel-Liste (Sidebar)]]></de>
<en><![CDATA[Advanced article list (sidebar)]]></en>
<pl><![CDATA[Rozszerzona lista wpisów (sidebar)]]></pl>
</locale>
<locale name="bricks.template.icons">
<locale name="brick.listTemplate.childrenList">
<de><![CDATA[Standard]]></de>
<en><![CDATA[Default]]></en>
<pl><![CDATA[Standardowy widok]]></pl>
</locale>
<locale name="brick.listTemplate.longFooter">
<de><![CDATA[Langes Footer]]></de>
<en><![CDATA[Long footer]]></en>
<pl><![CDATA[Długa stopka]]></pl>
</locale>
<locale name="brick.listTemplate.authorTop">
<de><![CDATA[Autor und Datum oben]]></de>
<en><![CDATA[Author and date top]]></en>
<pl><![CDATA[Autor i data na górze]]></pl>
</locale>
<locale name="brick.listTemplate.icons">
<de><![CDATA[Icons]]></de>
<en><![CDATA[Icons]]></en>
<pl><![CDATA[Ikony]]></pl>
</locale>
<!-- max news -->
<locale name="bricks.max">
<!-- max siten -->
<locale name="brick.max">
<de><![CDATA[Anzahl der Seiten]]></de>
<en><![CDATA[Number of sites]]></en>
<pl><![CDATA[Liczba stron]]></pl>
</locale>
<!-- show short -->
<locale name="bricks.showShort">
<locale name="brick.showShort">
<de><![CDATA[Kurzbeschreibung anzeigen]]></de>
<en><![CDATA[Show short description]]></en>
<pl><![CDATA[Pokaż krótki opis newsa]]></pl>
</locale>
<!-- show creator -->
<locale name="bricks.showCreator">
<de><![CDATA[Author anzeigen]]></de>
<locale name="brick.showCreator">
<de><![CDATA[Autor anzeigen]]></de>
<en><![CDATA[Show author]]></en>
<pl><![CDATA[Pokaż autora]]></pl>
</locale>
<!-- show date -->
<locale name="bricks.showDate">
<locale name="brick.showDate">
<de><![CDATA[Datum anzeigen]]></de>
<en><![CDATA[Show date]]></en>
<pl><![CDATA[Pokaż datę publikacji]]></pl>
</locale>
<!-- show time -->
<locale name="bricks.showTime">
<locale name="brick.showTime">
<de><![CDATA[Uhrzeit anzeigen]]></de>
<en><![CDATA[Show time]]></en>
<pl><![CDATA[Pokaż godzinę publikacji]]></pl>
</locale>
<!-- show time -->
<locale name="bricks.showImages">
<!-- show images -->
<locale name="brick.showImages">
<de><![CDATA[Bild anzeigen]]></de>
<en><![CDATA[Show image]]></en>
<pl><![CDATA[Pokaż zdjęcie artykułów]]></pl>
......
......@@ -52,6 +52,7 @@ public function __construct($attributes = array())
public function getBody()
{
$Control = new QUI\Controls\ChildrenList();
$Control->setAttribute('parentInputList', $this->getAttribute('site'));
$Control->setAttribute('order', $this->getAttribute('order'));
$Control->setAttribute('display', $this->getAttribute('template'));
......@@ -62,9 +63,14 @@ public function getBody()
$Control->setAttribute('showDate', $this->getAttribute('showDate'));
$Control->setAttribute('showCreator', $this->getAttribute('showCreator'));
$Control->setAttribute('showSheets', $this->getAttribute('showSheets'));
$Control->setAttribute('showTitle', $this->getAttribute('showTitle'));
$Control->setAttribute('Site', false);
$Control->setAttribute('showTitle', $this->getAttribute('showTitle'));
$Control->setAttribute('showBrickTitle', $this->getAttribute('showBrickTitle'));
$Control->setAttribute('title', $this->getAttribute('title'));
$Control->setAttribute('content', $this->getAttribute('content'));
return $Control->create();
}
}
0% oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren