From 1dcda150f79734112e9dfde8f048413887e97f26 Mon Sep 17 00:00:00 2001 From: Shish Date: Sun, 12 Feb 2012 07:30:29 +0000 Subject: [PATCH] nicer whitespace for upload settings --- ext/upload/main.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/upload/main.php b/ext/upload/main.php index 6966d198..d1ac6d10 100644 --- a/ext/upload/main.php +++ b/ext/upload/main.php @@ -90,10 +90,10 @@ class Upload extends Extension { $sb = new SetupBlock("Upload"); $sb->position = 10; // Output the limits from PHP so the user has an idea of what they can set. - $sb->add_label("PHP's Upload Limit = ".ini_get('max_file_uploads')."
"); $sb->add_int_option("upload_count", "Max uploads: "); - $sb->add_label("
PHP's Max Size Upload = ".ini_get('upload_max_filesize')."
"); + $sb->add_label("PHP Limit = ".ini_get('max_file_uploads').""); $sb->add_shorthand_int_option("upload_size", "
Max size per file: "); + $sb->add_label("PHP Limit = ".ini_get('upload_max_filesize').""); $sb->add_bool_option("upload_anon", "
Allow anonymous uploads: "); $sb->add_bool_option("upload_replace", "
Allow replacing images: "); $sb->add_choice_option("transload_engine", $tes, "
Transload: ");