summaryrefslogtreecommitdiff
path: root/src/web/_views
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/_views')
-rw-r--r--src/web/_views/comments.php3
-rw-r--r--src/web/_views/head.php14
2 files changed, 8 insertions, 9 deletions
diff --git a/src/web/_views/comments.php b/src/web/_views/comments.php
index d72afd6..7f8acf2 100644
--- a/src/web/_views/comments.php
+++ b/src/web/_views/comments.php
@@ -2,8 +2,7 @@
<?=aria_section('comments', lang('comments'))?>
<?php
foreach($comments as $comment) {
- $date = date_create($comment['created']);
- $date = date_format($date, "Y-m-d H:i");
+ $date = $this->main->format_date($comment['created']);
echo '<div class="comment">';
echo '<h3 class="header">' . esc($comment['author']) . '</h3>';
diff --git a/src/web/_views/head.php b/src/web/_views/head.php
index ef0d86c..5534070 100644
--- a/src/web/_views/head.php
+++ b/src/web/_views/head.php
@@ -12,14 +12,14 @@
<meta property="og:description" content="<?=$desc?>">
<meta property="og:title" content="<?=$title?>">
<meta property="og:site_name" content="<?=lang('domain')?>">
- <meta property="og:image" content="<?=$this->main->get_url_full('public/icons/logo640.png')?>">
+ <meta property="og:image" content="<?=$this->main->get_url_full('public/icons/logo640.png', TRUE)?>">
<title><?=$title?></title>
- <link rel="icon" type="image/png" sizes="16x16" href="<?=$this->main->get_url("public/icons/logo16.png")?>">
- <link rel="icon" type="image/png" sizes="32x32" href="<?=$this->main->get_url("public/icons/logo32.png")?>">
- <link rel="icon" type="image/png" sizes="64x64" href="<?=$this->main->get_url("public/icons/logo64.png")?>">
- <link rel="icon" type="image/png" sizes="320x320" href="<?=$this->main->get_url("public/icons/logo320.png")?>">
- <link rel="icon" type="image/png" sizes="512x512" href="<?=$this->main->get_url("public/icons/logo512.png")?>">
- <link rel="icon" type="image/png" sizes="640x640" href="<?=$this->main->get_url("public/icons/logo640.png")?>">
+ <link rel="icon" type="image/png" sizes="16x16" href="<?=$this->main->get_url("public/icons/logo16.png", TRUE)?>">
+ <link rel="icon" type="image/png" sizes="32x32" href="<?=$this->main->get_url("public/icons/logo32.png", TRUE)?>">
+ <link rel="icon" type="image/png" sizes="64x64" href="<?=$this->main->get_url("public/icons/logo64.png", TRUE)?>">
+ <link rel="icon" type="image/png" sizes="320x320" href="<?=$this->main->get_url("public/icons/logo320.png", TRUE)?>">
+ <link rel="icon" type="image/png" sizes="512x512" href="<?=$this->main->get_url("public/icons/logo512.png", TRUE)?>">
+ <link rel="icon" type="image/png" sizes="640x640" href="<?=$this->main->get_url("public/icons/logo640.png", TRUE)?>">
<link rel="manifest" href="/manifest.json">
<?php if($this->main->get_ie_version() <= 7)
echo $this->main->link_css('css/legacy.css');