mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Minor improvements (#1715)
* Minor improvements * Updated * Update CHANGELOG.md * Update CHANGELOG.md * Update CHANGELOG.md
This commit is contained in:
parent
b27fa94ee8
commit
ce138921d8
12 changed files with 25 additions and 25 deletions
|
@ -84,11 +84,11 @@ if (isset($ffpInfo->streams)) {
|
|||
'filesize' => sprintf($lang['FILESIZE'] . ': <b>%s</b>', humn_size($ffpInfo->format->size)),
|
||||
'resolution' => (!$isAudio && isset($videoCodecInfo)) ? sprintf($lang['RESOLUTION'], $videoCodecInfo->width . 'x' . $videoCodecInfo->height) : '',
|
||||
'video_codec' => (!$isAudio && isset($videoCodecInfo->codec_name)) ? sprintf($lang['VIDEO_CODEC'], $videoCodecInfo->codec_long_name, mb_strtoupper($videoCodecInfo->codec_name, 'UTF-8')) : '',
|
||||
'audio_dub' => implode('<hr>', $audioDub)
|
||||
'audio_dub' => implode('<hr/>', $audioDub)
|
||||
];
|
||||
|
||||
// Validate output data
|
||||
$result = '<hr>';
|
||||
$result = '<hr/>';
|
||||
if (!empty($data['resolution'])) {
|
||||
$result .= $data['resolution'] . '<br/>';
|
||||
}
|
||||
|
@ -99,7 +99,7 @@ if (isset($ffpInfo->streams)) {
|
|||
$result .= $data['video_codec'];
|
||||
}
|
||||
if (!empty($data['audio_dub'])) {
|
||||
$result .= '<hr>' . $data['audio_dub'];
|
||||
$result .= '<hr/>' . $data['audio_dub'];
|
||||
}
|
||||
|
||||
$this->response['ffprobe_data'] = $result;
|
||||
|
|
|
@ -179,7 +179,7 @@ switch ($this->request['type']) {
|
|||
<input title="Alt+Enter" name="preview" type="submit" value="' . $lang['PREVIEW'] . '">
|
||||
<input type="button" onclick="edit_post(' . $post_id . ');" value="' . $lang['CANCEL'] . '">
|
||||
<input type="button" onclick="edit_post(' . $post_id . ', \'editor\', $(\'#message-' . $post_id . '\').val()); return false;" class="bold" value="' . $lang['SUBMIT'] . '">
|
||||
</div><hr>
|
||||
</div><hr/>
|
||||
<script type="text/javascript">
|
||||
var bbcode = new BBCode("message-' . $post_id . '");
|
||||
var ctrl = "ctrl";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue