Skip to content

Commit 94c9d93

Browse files
committed
Changed data-v-global-site property format replacing - with . to allow distinguising from namespace, changed data-v-global-site-favicon to data-v-global-site.favicon and data-v-global-site-title to data-v-global-site.title
1 parent a038021 commit 94c9d93

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

app/template/common.tpl

+4-4
Original file line numberDiff line numberDiff line change
@@ -34,28 +34,28 @@ $vvveb_is_page_edit = Vvveb\isEditor();
3434
[data-v-global-*]|innerText = <?php
3535
$name = '@@__data-v-global-(*)__@@';
3636
if (isset($this->global) && $name) {
37-
echo \Vvveb\arrayPath($this->global, $name, '', '-');
37+
echo \Vvveb\arrayPath($this->global, $name);
3838
}
3939
?>
4040

4141
img[data-v-global-*]|src = <?php
4242
$name = '@@__data-v-global-(*)__@@';
4343
if (isset($this->global) && $name) {
44-
echo \Vvveb\arrayPath($this->global, $name, '', '-');
44+
echo \Vvveb\arrayPath($this->global, $name);
4545
}
4646
?>
4747

4848
a[data-v-global-*]|href = <?php
4949
$name = '@@__data-v-global-(*)__@@';
5050
if (isset($this->global) && $name) {
51-
echo \Vvveb\arrayPath($this->global, $name, '', '-');
51+
echo \Vvveb\arrayPath($this->global, $name);
5252
}
5353
?>
5454

5555
link[data-v-global-*]|href = <?php
5656
$name = '@@__data-v-global-(*)__@@';
5757
if (isset($this->global) && $name) {
58-
echo \Vvveb\arrayPath($this->global, $name, '', '-');
58+
echo \Vvveb\arrayPath($this->global, $name);
5959
}
6060
?>
6161

public/themes/landing

Submodule landing updated 80 files

system/core/view.php

+4
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,10 @@ function getTheme() {
148148
return $this->theme;
149149
}
150150

151+
function getDocumentType() {
152+
return $this->templateEngine->getDocumentType();
153+
}
154+
151155
function getTemplatePath() {
152156
return $this->templatePath;
153157
}

0 commit comments

Comments
 (0)