@@ -181,111 +204,109 @@ else {
' . t('ONE_TIME_DL') . ': | ';
- echo '
| ';
+ echo '
| ';
}
- ?>
-
- |
- |
-
+ if ($cfg['download_password_requirement'] === 'generated'){
+ echo '
';
+ }else{
+ echo '
| ';
+ echo ' |
';
+ }?>
|
|
= 1024) {
- echo '
' . t('FILE_LIM');
- echo " " . number_format($cfg['maximal_upload_size'] / 1024, 2) . " GB.
";
- } else if ($cfg['maximal_upload_size'] > 0) {
- echo '
' . t('FILE_LIM');
- echo " " . $cfg['maximal_upload_size'] . " MB.
";
- } else {
- echo '
';
- }
- ?>
+if ($cfg['maximal_upload_size'] >= 1024) {
+ echo '
' . t('FILE_LIM');
+ echo " " . number_format($cfg['maximal_upload_size'] / 1024, 2) . " GB.
";
+} elseif ($cfg['maximal_upload_size'] > 0) {
+ echo '
' . t('FILE_LIM');
+ echo " " . $cfg['maximal_upload_size'] . " MB.
";
+} else {
+ echo '
';
+}
+?>
-
-
-
-
-
-
+
-