| ... | ... |
@@ -155,7 +155,7 @@ function validate( ) {
|
| 155 | 155 |
$storytext .= $story['storytext']; |
| 156 | 156 |
} |
| 157 | 157 |
if(strpos($story, "<br>") === false && strpos($story, "<p>") === false && strpos($story, "<br />") === false) $storytext = nl2br($storytext); |
| 158 |
- $storytext = format_story($storytext, $allowed_tags)); |
|
| 158 |
+ $storytext = format_story($storytext, $allowed_tags); |
|
| 159 | 159 |
$output .= $storytext; |
| 160 | 160 |
$output .= "<br /><br />"; |
| 161 | 161 |
$output .= "<a href=\"admin.php?action=validate&sid=".$story['sid']."&chapid=".$story['chapid']."&validate=yes\">"._VALIDATE."</a> | <a href=\"stories.php?action=editchapter&chapid=".$story['chapid']."&admin=1\">"._EDIT." - "._CHAPTER."</a> | <a href=\"stories.php?action=delete&chapid=".$story['chapid']."&sid=".$story['sid']."&admin=1&uid=".$story['uid']."\">"._DELETE." - "._CHAPTER."</a> | <a href=\"javascript:pop('admin.php?action=yesletter&uid=".$story['uid']."&chapid=".$story['chapid']."', 400, 300, 'yes')\">"._YESLETTER."</a> | <a href=\"javascript:pop('admin.php?action=noletter&uid=".$story['uid']."&chapid=".$story['chapid']."',400, 300, 'yes')\">"._NOLETTER."</a><br />";
|