|
...
|
...
|
@@ -26,12 +26,12 @@ if(!empty($blocks['random']['tpl'])) $tpl->gotoBlock("_ROOT");
|
|
26
|
26
|
}
|
|
27
|
27
|
else {
|
|
28
|
28
|
$output .= "<div style='text-align: center;'><b>"._CURRENT.":</b><br /><div class=\"tblborder\" style=\"width: 80%; margin: 1ex auto; text-align: left;\">".(!empty($blocks['random']['tpl']) ? _NATPL : $content)."</div><br /></div>";
|
|
29
|
|
- $output .= "<div id='settingsform'><form method=\"POST\" enctype=\"multipart/form-data\" action=\"admin.php?action=blocks&admin=random\">
|
|
|
29
|
+ $output .= "<div id='settingsform' style=\"width: 35em; margin-right: -2%;\"><form method=\"POST\" enctype=\"multipart/form-data\" action=\"admin.php?action=blocks&admin=random\">
|
|
30
|
30
|
<label for=\"tpl\">"._BLOCKTYPE.":</label><select class=\"textbox\" name=\"tpl\" id=\"tpl\"><option value=\"0\"".(empty($blocks['random']['tpl']) ? " selected" : "").">"._DEFAULT."</option>
|
|
31
|
31
|
<option value=\"1\"".(!empty($blocks['random']['tpl']) ? " selected" : "").">"._USETPL."</option></select><br />
|
|
32
|
32
|
<label for=\"allowtags\">"._TAGS.":</label><select class=\"textbox\" name=\"allowtags\" id=\"allowtags\"><option value=\"0\"".(empty($blocks['random']['allowtags']) ? " selected" : "").">"._STRIPTAGS."</option>
|
|
33
|
33
|
<option value=\"1\"".(!empty($blocks['random']['allowtags']) ? " selected" : "").">"._ALLOWTAGS."</option></select><br />
|
|
34
|
34
|
<label for=\"sumlength\">"._SUMLENGTH.":</label><input type=\"text\" class=\"textbox\" name=\"sumlength\" id=\"sumlength\" size=\"4\" value=\"".(!empty($blocks['random']['sumlength']) ? $blocks['random']['sumlength'] : "")."\"><br />
|
|
35
|
|
- <INPUT type=\"submit\" name=\"submit\" id=\"submit\" class=\"button\" value=\""._SUBMIT."\"></form></div><div style='text-align: center;'>"._SUMNOTE."</div>";
|
|
|
35
|
+ <INPUT type=\"submit\" name=\"submit\" id=\"submit\" style=\"margin-left: 31.8%; margin-top: 0.3em;\" class=\"button\" value=\""._SUBMIT."\"></form></div><div style='text-align: center;'>"._SUMNOTE."</div>";
|
|
36
|
36
|
}
|
|
37
|
|
-?>
|
|
38
|
37
|
\ No newline at end of file
|
|
|
38
|
+?>
|