Browse code

blocks/info/admin.php: remove 100 percent width style and resize textarea

Clarissa Walker authored on 2026/11/15 14:11:17
Showing 1 changed files
... ...
@@ -28,7 +28,7 @@ else include_once("blocks/info/en.php");
28 28
 		else $template = "";
29 29
 		$output .= "<div style='margin: 1em auto; width: 80%;'><b>"._CURRENT.":</b><br /><div class=\"tblborder\" style=\"text-align: left; padding: 4px; margin: 0 auto;\">$content</div><br />";
30 30
 		$output .= "<form method='POST' enctype='multipart/form-data' name='blockadmin' action='admin.php?action=blocks&admin=info'>
31
-			<label for='template'>"._TEMPLATE.":</label><br /><textarea name='template' id='template' rows='5' cols='50' style='width: 100%;'>$template</textarea>";
31
+			<label for='template'>"._TEMPLATE.":</label><br /><textarea name='template' id='template' rows='10' cols='50'>$template</textarea>";
32 32
 		if($tinyMCE) $output .= "<div style='display: block; margin: 0; padding: 0;'><input type='checkbox' name='toggle' onclick=\"toogleEditorMode('template');\" checked><label for='toggle'>"._TINYMCETOGGLE."</label></div>";
33 33
 		$output .= "<label for='style'>"._DISPLAY.": </label><select name='style'class='textbox' ><option value='0'".(!$style ? " selected" : "").">"._CHART."</option>
34 34
 				<option value='1'".($style == 1 ? " selected" : "").">"._NARRATIVE."</option>