Skip to content
Code-Schnipsel Gruppen Projekte
Commit 91ce2365 erstellt von Henning Leutz's avatar Henning Leutz :martial_arts_uniform:
Dateien durchsuchen

content -> bricks; kontakt brick

Übergeordneter 2077bdd7
No related branches found
No related tags found
Keine zugehörigen Merge Requests gefunden
......@@ -18,12 +18,6 @@
<description>
<locale group="quiqqer/bricks" var="brick.control.contact.description" />
</description>
<settings>
<setting name="content" data-qui="controls/editors/Editor">
<locale group="quiqqer/bricks" var="brick.control.navigation.setting.content" />
</setting>
</settings>
</brick>
<brick control="\QUI\Controls\LangSwitch">
......
......@@ -171,7 +171,6 @@ public function create()
$Control->setAttributes($this->getSettings());
return $Control->create();
}
......@@ -192,20 +191,16 @@ protected function _getControl()
return true;
}
// QUI\System\Log::addDebug('call :: '. $Ctrl);
if (!is_callable($Ctrl) && !class_exists($Ctrl)) {
return false;
}
// QUI\System\Log::addDebug('callable :: '. $Ctrl);
/* @var $Control \QUI\Control */
$Control = new $Ctrl($this->getSettings());
$Control->setAttribute('height', $this->getAttribute('height'));
$Control->setAttribute('width', $this->getAttribute('width'));
$Control->setAttribute('content', $this->getAttribute('content'));
if ($this->getAttribute('classes')) {
$classes = explode(' ', $this->getAttribute('classes'));
......
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