Compare commits

...

26 Commits

Author SHA1 Message Date
d4ff9935a6
fix uppercase chars in package names (compatibility to Composer 2) 2021-03-30 09:29:31 +02:00
10e9e7039e
add common config settings to template variables 2020-05-28 08:58:33 +02:00
d863806bf3 change help center link 2019-09-24 09:56:26 +02:00
ae71e1ef56 remove duplicated version information in case of displayed version selector, add links static (default configuration will overridden) 2019-02-15 11:13:40 +01:00
57a739e2aa change search pattern for d3 logo replacement
use "(D3)" instead of "D3"
2019-02-15 11:13:40 +01:00
6a98b9a275 Merge remote-tracking branch 'remotes/origin/branch_0.7.3' into d3version
# Conflicts:
#	themes/d3/css/d3.css
2018-12-20 11:43:10 +01:00
834f2bc854 Merge remote-tracking branch 'remotes/origin/branch_0.7.2' into branch_0.7.3
# Conflicts:
#	themes/d3/css/d3.css
2018-12-20 11:40:55 +01:00
a041be888a change headline format to smaller fontsize for mobile devices 2018-12-20 11:38:48 +01:00
ebd49e545d don't export templates and scss files 2018-07-20 22:10:45 +02:00
afb04ef056 don't export templates and scss files 2018-07-20 22:10:05 +02:00
0d8db42cc6 changed wrong resource link 2018-07-20 21:00:35 +02:00
b513f88328 changed wrong resource link 2018-07-20 21:00:05 +02:00
07433dd826 don't forget configuration in case of deeper source directory 2018-07-19 22:04:02 +02:00
c88f63c4cb don't forget configuration in case of deeper source directory 2018-07-19 22:03:35 +02:00
c367955a66 check for set variables 2018-07-19 20:32:16 +02:00
d73c036e5a check for set variables 2018-07-19 20:31:47 +02:00
50caa843f3 add versionselector variable check 2018-07-19 20:27:13 +02:00
2b037e75e1 add versionselector variable check 2018-07-19 20:26:25 +02:00
f8a6a64889 clean themes, note theme name change! 2018-07-11 23:17:02 +02:00
ee3cf6918e clean themes, note theme name change! 2018-07-11 23:16:07 +02:00
a2d3ec93a5 allow parent directory, add version selector in home page 2018-07-10 21:59:57 +02:00
e56a30650c allow parent directory, add version selector in home page 2018-07-10 21:57:31 +02:00
416681f8bd fix selected 2018-07-10 00:58:58 +02:00
f760a04ee8 fix selected 2018-07-10 00:53:34 +02:00
5f69f8c303 add versionselector option 2018-07-10 00:40:39 +02:00
0b9243768a add versionselector option 2018-07-10 00:37:00 +02:00
5 changed files with 55 additions and 16 deletions

View File

@ -38,6 +38,6 @@
},
"require-dev": {
"phpunit/phpunit": "~5.7",
"mikey179/vfsStream": "^1.6"
"mikey179/vfsstream": "^1.6"
}
}

View File

@ -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³)'
);
$replace = "<i class='fab fa-d3 d3fa-color-blue'></i>";
$content = str_replace($search, $replace, $content);

View File

@ -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;
}
}

View File

@ -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">
<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"> 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) {
if (!in_array($name, array('Shop', 'Blog', 'FAQ', 'D³ Support-Center', 'Kontakt', 'Impressum'))) {
echo '<li><a href="' . $url . '" target="_blank">' . $name . '</a></li>';
}
} ?>
</ul>
<?php } ?>
</ul>
<?php if (!empty($params['html']['twitter'])) { ?>
<div class="HomepageFooter__twitter">

View File

@ -60,13 +60,22 @@
<div class="Links">
<?php if (!empty($params['html']['links'])) { ?>
<hr/>
<?php foreach ($params['html']['links'] as $name => $url) { ?>
<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"> 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 } ?>
<?php } ?>
<?php }
}
} ?>
</div>
<?php if ($params['html']['toggle_code']) { ?>