X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/blobdiff_plain/b83af6c5d98282a856461a9896e9511ca7f22285..beae768cc711c728351b3dccdc780c60d59355a7:/lib/functions.php diff --git a/lib/functions.php b/lib/functions.php index b3dc904..546decc 100644 --- a/lib/functions.php +++ b/lib/functions.php @@ -680,7 +680,9 @@ function jirafeau_admin_list($name, $file_hash, $link_hash) echo t('EXPIRE') . ': ' . ($l['time'] == -1 ? '∞' : jirafeau_get_datetimefield($l['time'])) . '
'; echo t('ONETIME') . ': ' . ($l['onetime'] == 'O' ? 'Yes' : 'No') . '
'; echo t('UPLOAD_DATE') . ': ' . jirafeau_get_datetimefield($l['upload_date']) . '
'; - echo t('ORIGIN') . ': ' . $l['ip'] . '
'; + if (strlen($l['ip']) > 0) { + echo t('ORIGIN') . ': ' . $l['ip'] . '
'; + } echo ''; echo '
' . '' .