This commit is contained in:
Freya Murphy 2024-06-29 19:32:45 -04:00
parent 98ee37176f
commit c40e478e80
Signed by: freya
GPG key ID: 744AB800E383AE52
3 changed files with 9 additions and 1 deletions

View file

@ -21,6 +21,10 @@
<th><?=lang('interests_music')?></th> <th><?=lang('interests_music')?></th>
<td><?=lang('interests_music_value')?></td> <td><?=lang('interests_music_value')?></td>
</tr> </tr>
<tr>
<th><?=lang('interests_anime')?></th>
<td><?=lang('interests_anime_value')?></td>
</tr>
<tr> <tr>
<th><?=lang('interests_comics')?></th> <th><?=lang('interests_comics')?></th>
<td><?=lang('interests_comics_value')?></td> <td><?=lang('interests_comics_value')?></td>

View file

@ -30,7 +30,9 @@ function __make_source(
$media = ''; $media = '';
} }
$main = $GLOBALS['main_model']; $main = $GLOBALS['main_model'];
$path = $main->get_url('public/' . $name . '.' . $format); $file = $name . '.' . $format;
$time = filemtime($GLOBALS['publicroot'] . '/' . $file);
$path = $main->get_url('public/' . $file) . "?r={$time}";
$mime = __get_mime($format); $mime = __get_mime($format);
return sprintf('<source type="%s" srcset="%s" %s>', return sprintf('<source type="%s" srcset="%s" %s>',
$mime, $path, $media); $mime, $path, $media);

View file

@ -24,6 +24,8 @@ $lang['interests_general'] = 'General';
$lang['interests_general_value'] = 'Computing, Anime, FNaF'; $lang['interests_general_value'] = 'Computing, Anime, FNaF';
$lang['interests_music'] = 'Music'; $lang['interests_music'] = 'Music';
$lang['interests_music_value'] = 'Billy Joel, Linkin Park, Vocaloid, Neil Cicierega'; $lang['interests_music_value'] = 'Billy Joel, Linkin Park, Vocaloid, Neil Cicierega';
$lang['interests_anime'] = 'Anime';
$lang['interests_anime_value'] = 'Sasaki and Miyano, Evangalion, Code Geass, Stranger by the Shore';
$lang['interests_comics'] = 'Comics'; $lang['interests_comics'] = 'Comics';
$lang['interests_comics_value'] = 'Homestuck'; $lang['interests_comics_value'] = 'Homestuck';