reformatted lines to 80 cols max
parent
495c062c9c
commit
fc81ef239b
13
opt/show.php
13
opt/show.php
|
@ -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>";
|
||||
|
|
Loading…
Reference in New Issue