aboutsummaryrefslogtreecommitdiff
path: root/app/class/Modelrender.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2020-04-26 18:34:59 +0200
committervincent-peugnet <v.peugnet@free.fr>2020-04-26 18:34:59 +0200
commit877e0570ea7eb94e9698aab9147104f5251f55c9 (patch)
tree62fcff04bdf46de5ec504604ed67d0682b6bacdf /app/class/Modelrender.php
parent53e6d5fde32a917718a0658fb95f366dc7dfc248 (diff)
downloadwcms-877e0570ea7eb94e9698aab9147104f5251f55c9.tar.gz
wcms-877e0570ea7eb94e9698aab9147104f5251f55c9.zip
add bookmarks to media
Diffstat (limited to 'app/class/Modelrender.php')
-rw-r--r--app/class/Modelrender.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/class/Modelrender.php b/app/class/Modelrender.php
index 1ad9e20..8f20f83 100644
--- a/app/class/Modelrender.php
+++ b/app/class/Modelrender.php
@@ -89,7 +89,7 @@ class Modelrender extends Modelpage
$body = $this->getbody($this->readbody());
$parsebody = $this->bodyparser($body);
- $html = "<!DOCTYPE html>\n<html>\n<head>\n' . $head . '\n</head>\n' . $parsebody . '\N</html>";
+ $html = "<!DOCTYPE html>\n<html>\n<head>\n$head\n</head>\n$parsebody\n</html>";
return $html;
}
@@ -288,16 +288,16 @@ class Modelrender extends Modelpage
if (!empty($this->page->templatecss())) {
$tempaltecsspage = $this->page->templatecss();
- $head .= "<link href=\"$renderpath . $tempaltecsspage.css\" rel=\"stylesheet\" />\n";
+ $head .= "<link href=\"$renderpath$tempaltecsspage.css\" rel=\"stylesheet\" />\n";
}
- $head .= "<link href=\"$renderpath . $id.css\" rel=\"stylesheet\" />\n";
+ $head .= "<link href=\"$renderpath$id.css\" rel=\"stylesheet\" />\n";
if (!empty($this->page->templatejavascript())) {
$templatejspage = $this->page->templatejavascript();
- $head .= "<script src=\"$renderpath . $templatejspage.js\" async/></script>\n";
+ $head .= "<script src=\"$renderpath$templatejspage.js\" async/></script>\n";
}
if (!empty($this->page->javascript())) {
- $head .= "<script src=\"$renderpath . $id.js\" async/></script>\n";
+ $head .= "<script src=\"$renderpath$id.js\" async/></script>\n";
}
if (!empty(Config::analytics())) {