Browse Source

create time improve

master
filesite 2 months ago
parent
commit
5cfe84e4f9
  1. 2
      themes/tajian/views/my/favs.php
  2. 3
      themes/tajian/views/site/index.php
  3. 2
      themes/tajian/views/site/myindex.php

2
themes/tajian/views/my/favs.php

@ -81,7 +81,7 @@ eof; @@ -81,7 +81,7 @@ eof;
$platform = Html::getShareVideosPlatform($file['shortcut']['url']);
$pubDate = date('m/d', $file['fstat']['ctime']);
$pubDate = date('m/d', min($file['fstat']['mtime'], $file['fstat']['ctime']));
$imgSrc = $index < 4 ? " src=\"{$snapshot}\"" : '';
$imgAlt = $index < 4 ? " alt=\"{$title}\"" : '';

3
themes/tajian/views/site/index.php

@ -60,8 +60,7 @@ eof; @@ -60,8 +60,7 @@ eof;
$title = !empty($file['title']) ? Html::mb_substr($file['title'], 0, 33, 'utf-8') : $file['filename'];
$platform = Html::getShareVideosPlatform($file['shortcut']['url']);
$pubDate = date('m/d', $file['fstat']['ctime']);
$pubDate = date('m/d', min($file['fstat']['mtime'], $file['fstat']['ctime']));
$imgSrc = $index < 4 ? " src=\"{$snapshot}\"" : '';
$imgAlt = $index < 4 ? " alt=\"{$title}\"" : '';

2
themes/tajian/views/site/myindex.php

@ -75,7 +75,7 @@ eof; @@ -75,7 +75,7 @@ eof;
$platform = Html::getShareVideosPlatform($file['shortcut']['url']);
$pubDate = date('m/d', $file['fstat']['ctime']);
$pubDate = date('m/d', min($file['fstat']['mtime'], $file['fstat']['ctime']));
$imgSrc = $tagIndex == 0 && $index < 4 ? " src=\"{$snapshot}\"" : '';
$imgAlt = $tagIndex == 0 && $index < 4 ? " alt=\"{$title}\"" : '';

Loading…
Cancel
Save