Commits vergleichen
26 Commits
Autor | SHA1 | Datum | |
---|---|---|---|
d4ff9935a6 | |||
10e9e7039e | |||
d863806bf3 | |||
ae71e1ef56 | |||
57a739e2aa | |||
6a98b9a275 | |||
834f2bc854 | |||
a041be888a | |||
ebd49e545d | |||
afb04ef056 | |||
0d8db42cc6 | |||
b513f88328 | |||
07433dd826 | |||
c88f63c4cb | |||
c367955a66 | |||
d73c036e5a | |||
50caa843f3 | |||
2b037e75e1 | |||
f8a6a64889 | |||
ee3cf6918e | |||
a2d3ec93a5 | |||
e56a30650c | |||
416681f8bd | |||
f760a04ee8 | |||
5f69f8c303 | |||
0b9243768a |
@ -38,6 +38,6 @@
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "~5.7",
|
||||
"mikey179/vfsStream": "^1.6"
|
||||
"mikey179/vfsstream": "^1.6"
|
||||
}
|
||||
}
|
||||
|
@ -134,6 +134,14 @@ class d3DocumentRenderer implements BlockRendererInterface
|
||||
$daux->initializeConfiguration();
|
||||
|
||||
$params = $daux->getParams();
|
||||
|
||||
foreach ($params as $varname => $varvalue) {
|
||||
if (false == is_array($varvalue)) {
|
||||
$pattern = '/{\$'.$varname.'}/mU';
|
||||
$wholeDoc = preg_replace($pattern, $varvalue, $wholeDoc);
|
||||
}
|
||||
}
|
||||
|
||||
if (isset($params['variables'])) {
|
||||
$variables = $params['variables'];
|
||||
if (isset($variables) && is_array($variables) && count($variables)) {
|
||||
@ -170,7 +178,7 @@ class d3TextRenderer implements InlineRendererInterface
|
||||
$content = $htmlRenderer->escape($inline->getContent());
|
||||
|
||||
$search = array(
|
||||
'D3', 'D³', 'D³'
|
||||
'(D3)', '(D³)', '(D³)'
|
||||
);
|
||||
$replace = "<i class='fab fa-d3 d3fa-color-blue'></i>";
|
||||
$content = str_replace($search, $replace, $content);
|
||||
|
@ -196,3 +196,15 @@ li {
|
||||
font-size: 14px;
|
||||
color: #f7f7f7;
|
||||
}
|
||||
|
||||
@media (max-width:768px){
|
||||
.HomepageTitle h2 {
|
||||
font-size: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width:571px){
|
||||
.HomepageTitle h2 {
|
||||
font-size: 24px;
|
||||
}
|
||||
}
|
@ -20,7 +20,6 @@
|
||||
<div class="details">
|
||||
<?= ($params['author'])? '<div>' . $this->translate("author") . ': ' . $params['author'] . '</div>' : '' ?>
|
||||
<?= ($params['moduledate'])? '<div>' . $this->translate("moduledate") . ': ' . $params['moduledate'] . '</div>' : '' ?>
|
||||
<?= ($params['moduleversion'])? '<div>' . $this->translate("version") . ': ' . $params['moduleversion'] . '</div>' : '' ?>
|
||||
|
||||
<?php
|
||||
|
||||
@ -53,6 +52,8 @@
|
||||
echo $code;
|
||||
echo "</select>";
|
||||
echo "</div>";
|
||||
} else {
|
||||
echo ($params['moduleversion'])? '<div>' . $this->translate("version") . ': ' . $params['moduleversion'] . '</div>' : '';
|
||||
}
|
||||
?>
|
||||
|
||||
@ -93,13 +94,22 @@
|
||||
<div class="HomepageFooter">
|
||||
<div class="Container">
|
||||
<div class="Container--inner">
|
||||
<?php if (!empty($params['html']['links'])) { ?>
|
||||
<ul class="HomepageFooter__links">
|
||||
<ul class="HomepageFooter__links">
|
||||
<li><a href="https://www.oxidmodule.com" target="_blank">Shop</a></li>
|
||||
<li><a href="https://blog.oxidmodule.com" target="_blank">Blog</a></li>
|
||||
<li><a href="https://faq.d3data.de" target="_blank">FAQ</a></li>
|
||||
<li><a href="https://docs.oxidmodule.com" target="_blank">Dokumentationen</a></li>
|
||||
<li><a href="https://support.oxidmodule.com" target="_blank">D³ Support Center</a></li>
|
||||
<li><a href="https://www.oxidmodule.com/kontakt" target="_blank">Kontakt</a></li>
|
||||
<li><a href="https://www.oxidmodule.com/impressum" target="_blank">Impressum</a></li>
|
||||
<?php if (!empty($params['html']['links'])) { ?>
|
||||
<?php foreach ($params['html']['links'] as $name => $url) {
|
||||
echo '<li><a href="' . $url . '" target="_blank">' . $name . '</a></li>';
|
||||
} ?>
|
||||
</ul>
|
||||
<?php } ?>
|
||||
if (!in_array($name, array('Shop', 'Blog', 'FAQ', 'D³ Support-Center', 'Kontakt', 'Impressum'))) {
|
||||
echo '<li><a href="' . $url . '" target="_blank">' . $name . '</a></li>';
|
||||
}
|
||||
} ?>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
|
||||
<?php if (!empty($params['html']['twitter'])) { ?>
|
||||
<div class="HomepageFooter__twitter">
|
||||
|
@ -60,13 +60,22 @@
|
||||
|
||||
|
||||
<div class="Links">
|
||||
<?php if (!empty($params['html']['links'])) { ?>
|
||||
<hr/>
|
||||
<?php foreach ($params['html']['links'] as $name => $url) { ?>
|
||||
<a href="<?= $url ?>" target="_blank"><?= $name ?></a>
|
||||
<br />
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
<hr/>
|
||||
<a href="https://www.oxidmodule.com" target="_blank">Shop</a><br />
|
||||
<a href="https://blog.oxidmodule.com" target="_blank">Blog</a><br />
|
||||
<a href="https://faq.d3data.de" target="_blank">FAQ</a><br />
|
||||
<a href="https://docs.oxidmodule.com" target="_blank">Dokumentationen</a><br />
|
||||
<a href="https://support.oxidmodule.com" target="_blank">D³ Support Center</a><br />
|
||||
<a href="https://www.oxidmodule.com/kontakt" target="_blank">Kontakt</a><br />
|
||||
<a href="https://www.oxidmodule.com/impressum" target="_blank">Impressum</a><br />
|
||||
<?php if (!empty($params['html']['links'])) {
|
||||
foreach ($params['html']['links'] as $name => $url) {
|
||||
if (!in_array($name, array('Shop', 'Blog', 'FAQ', 'D³ Support-Center', 'Kontakt', 'Impressum'))) { ?>
|
||||
<a href="<?= $url ?>" target="_blank"><?= $name ?></a>
|
||||
<br />
|
||||
<?php }
|
||||
}
|
||||
} ?>
|
||||
</div>
|
||||
|
||||
<?php if ($params['html']['toggle_code']) { ?>
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren