From 94eb1fab88e21fd50b4c25a5a5cb5bacef8751f2 Mon Sep 17 00:00:00 2001 From: Shish Date: Sun, 12 Feb 2012 10:19:35 +0000 Subject: [PATCH] variable size longtext config fields --- ext/setup/main.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/setup/main.php b/ext/setup/main.php index 40551e5c..5ec75c12 100644 --- a/ext/setup/main.php +++ b/ext/setup/main.php @@ -79,8 +79,8 @@ class SetupBlock extends Block { if(!is_null($label)) { $this->body .= ""; } - $this->body .= "\n"; - $this->body .= "\n"; // setup page auto-layout counts
tags + $rows = max(3, min(10, count(explode("\n", $val)))); + $this->body .= "\n"; $this->body .= "\n"; }