Skip to content

armgit / Vvveb

Public Imported from GitHub
0

Powerful and easy to use cms to build websites, blogs or ecommerce stores.

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

givanz94c9d9375c84
diff --git a/app/template/common.tpl b/app/template/common.tpl
index 55f8f41..7596e06 100755
--- a/app/template/common.tpl
+++ b/app/template/common.tpl
@@ -34,28 +34,28 @@ $vvveb_is_page_edit = Vvveb\isEditor();
[data-v-global-*]|innerText = <?php
$name = '@@__data-v-global-(*)__@@';
if (isset($this->global) && $name) {
- echo \Vvveb\arrayPath($this->global, $name, '', '-');
+ echo \Vvveb\arrayPath($this->global, $name);
}
?>
img[data-v-global-*]|src = <?php
$name = '@@__data-v-global-(*)__@@';
if (isset($this->global) && $name) {
- echo \Vvveb\arrayPath($this->global, $name, '', '-');
+ echo \Vvveb\arrayPath($this->global, $name);
}
?>
a[data-v-global-*]|href = <?php
$name = '@@__data-v-global-(*)__@@';
if (isset($this->global) && $name) {
- echo \Vvveb\arrayPath($this->global, $name, '', '-');
+ echo \Vvveb\arrayPath($this->global, $name);
}
?>
link[data-v-global-*]|href = <?php
$name = '@@__data-v-global-(*)__@@';
if (isset($this->global) && $name) {
- echo \Vvveb\arrayPath($this->global, $name, '', '-');
+ echo \Vvveb\arrayPath($this->global, $name);
}
?>
diff --git a/public/themes/landing b/public/themes/landing
index 9d335d3..d6bbcf1 160000
--- a/public/themes/landing
+++ b/public/themes/landing
@@ -1 +1 @@
-Subproject commit 9d335d39fc465c0dd53983ae8b53f60a13571045
+Subproject commit d6bbcf10bcf8cb65fb8142ae0331faad61591c07
diff --git a/system/core/view.php b/system/core/view.php
index 38866f5..fe7f32a 100644
--- a/system/core/view.php
+++ b/system/core/view.php
@@ -148,6 +148,10 @@ class View {
return $this->theme;
}
+ function getDocumentType() {
+ return $this->templateEngine->getDocumentType();
+ }
+
function getTemplatePath() {
return $this->templatePath;
}