reformatted lines to 80 cols max

main
fuzzykitten 2025-04-21 06:40:29 -04:00
parent 495c062c9c
commit fc81ef239b
1 changed files with 8 additions and 5 deletions

View File

@ -104,7 +104,8 @@ function show_edit_form($db, $sub, $post_id, $ip, $css, $settings)
. "<table class='newpost'>"
. "<input type='hidden' name='css' value='$css'>"
. "<input type='hidden' name='sub' value='$sub'>"
. '<tr><td><textarea rows=\'10\' cols=\'56\' name=\'edit_text\' '
. '<tr><td><textarea rows=\'10\' cols=\'56\''
. ' name=\'edit_text\' '
. "required >$post_text</textarea></td></tr>"
. "<input type='hidden' name='original' value='$original'>"
. "<input type='hidden' name='post_id' value='$post_id'>";
@ -121,8 +122,9 @@ function show_edit_form($db, $sub, $post_id, $ip, $css, $settings)
. "placeholder='Enter name#tripkey'></textarea>";
if ($settings['enable_timestamps']) {
$html_string .= "<input type='checkbox' value='timestamp' name='edit_timestamp'"
. "id='timestamp'><span class=\"label timestamp\">timestamp</span>";
$html_string .= "<input type='checkbox' value='timestamp' "
. "name='edit_timestamp' id='timestamp'>"
. "<span class=\"label timestamp\">timestamp</span>";
}
$html_string .= "<input type='submit' value='Edit post'><br></td>";
@ -238,8 +240,9 @@ function show_post_form($db, $msg, $sub, $settings, $org_id, $css, $quote, $ip)
}
if ($settings['enable_timestamps']) {
$html_string .= "<input type='checkbox' value='timestamp' name='timestamp'"
. "id='timestamp'><span class=\"label timestamp\">timestamp</span>";
$html_string .= "<input type='checkbox' value='timestamp' "
. "name='timestamp' id='timestamp'>"
. "<span class=\"label timestamp\">timestamp</span>";
}
$html_string .= "<input type='submit' value='Post this'><br></td>";