diff options
author | Freya Murphy <freya@freyacat.org> | 2024-07-08 17:22:30 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2024-07-08 17:22:30 -0400 |
commit | 8a2c577823b69117af8eda9b1a46bfbcae8153c6 (patch) | |
tree | e89dee0f77377a665c78d8a3cea6012888d9af73 /src/web/_views | |
parent | fix2 (diff) | |
download | website-8a2c577823b69117af8eda9b1a46bfbcae8153c6.tar.gz website-8a2c577823b69117af8eda9b1a46bfbcae8153c6.tar.bz2 website-8a2c577823b69117af8eda9b1a46bfbcae8153c6.zip |
a few fixes, just a few....
Diffstat (limited to 'src/web/_views')
-rw-r--r-- | src/web/_views/comments.php | 3 | ||||
-rw-r--r-- | src/web/_views/head.php | 14 |
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'); |