|
...
|
...
|
@@ -371,7 +371,7 @@ else {
|
|
371
|
371
|
$printicon = "<a href=\"viewstory.php?action=printable&sid=$sid&textsize=$textsize&chapter=1\" target=\"_blank\"><img src='".(isset($printer) ? $printer : "images/print.gif")."' border='0' alt='"._PRINTER."'></a>";
|
|
372
|
372
|
}
|
|
373
|
373
|
// if the *CHAPTER* hasn't been validated and the viewer isn't an admin or the author throw them a warning.
|
|
374
|
|
- if(!$valid && !$ef_ownview && USERUID != $chapterauthor) ef_story_error(_ACCESSDENIED, $title);
|
|
|
374
|
+ if(!$valid && !$ef_ownview && USERUID != $chapterauthor) write_error(_ACCESSDENIED, $title);
|
|
375
|
375
|
$stories = $storyinfo;
|
|
376
|
376
|
$tpl->gotoBlock("_ROOT");
|
|
377
|
377
|
$jumpmenu2 = "";
|