|
...
|
...
|
@@ -240,7 +240,7 @@ else if(($displayindex && empty($chapter)) || !empty($_GET['index'])) {
|
|
240
|
240
|
eval($code['code_text']);
|
|
241
|
241
|
}
|
|
242
|
242
|
include("includes/storyblock.php");
|
|
243
|
|
- $printicon = "<img src='".(isset($printer) ? $printer : "images/print.gif")."' border='0' alt='"._PRINTER."'> <a href=\"viewstory.php?action=printable&textsize=$textsize&sid=$sid&chapter=all\" target=\"_blank\">"._STORY."</a>";
|
|
|
243
|
+ $printicon = "<a href=\"viewstory.php?action=printable&textsize=$textsize&sid=$sid&chapter=all\" target=\"_blank\"><img src='".(isset($printer) ? $printer : "images/print.gif")."' border='0' alt='"._PRINTER."'></a>";
|
|
244
|
244
|
if($reviewsallowed && (isMEMBER || $anonreviews))
|
|
245
|
245
|
$reviewslink = "<a href=\"reviews.php?action=add&item=$sid&next=2&type=ST\">"._SUBMITREVIEW."</a>";
|
|
246
|
246
|
$tpl->assign( "reviewslink", $reviewslink );
|
|
...
|
...
|
@@ -262,7 +262,7 @@ else if(($displayindex && empty($chapter)) || !empty($_GET['index'])) {
|
|
262
|
262
|
$tpl->assign("chapternumber", $chap['inorder']);
|
|
263
|
263
|
$tpl->assign("title", "<a href=\"viewstory.php?sid=$sid&chapter=".$chap['inorder']."\">".$chap['title']."</a>");
|
|
264
|
264
|
$tpl->assign("author", "<a href='viewuser.php?uid=".$chap['uid']."'>".$chap['penname']."</a>");
|
|
265
|
|
- $tpl->assign("printicon", "<img src='".(isset($printer) ? $printer : "images/print.gif")."' border='0' alt='"._PRINTER."'> <a href=\"viewstory.php?action=printable&textsize=$textsize&sid=$sid&chapter=".$chap['inorder']."\" target=\"_blank\">"._STORY."</a>");
|
|
|
265
|
+ $tpl->assign("printicon", "<a href=\"viewstory.php?action=printable&textsize=$textsize&sid=$sid&chapter=".$chap['inorder']."\" target=\"_blank\"><img src='".(isset($printer) ? $printer : "images/print.gif")."' border='0' alt='"._PRINTER."'></a>");
|
|
266
|
266
|
$tpl->assign("ratingpics", ratingpics($chap['rating']));
|
|
267
|
267
|
if($reviewsallowed) {
|
|
268
|
268
|
$tpl->assign("reviews", "<a href=\"reviews.php?type=ST&item=$sid&chapid=".$chap['chapid']."\">"._REVIEWS."</a>");
|
|
...
|
...
|
@@ -354,7 +354,7 @@ else {
|
|
354
|
354
|
while($code = dbassoc($codeblocks)) {
|
|
355
|
355
|
eval($code['code_text']);
|
|
356
|
356
|
}
|
|
357
|
|
- $printicon = "<img src='".(isset($printer) ? $printer : "images/print.gif")."' border='0' alt='"._PRINTER."'> <a href=\"viewstory.php?action=printable&sid=$sid&textsize=$textsize&chapter=1\" target=\"_blank\">"._STORY."</a>";
|
|
|
357
|
+ $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>";
|
|
358
|
358
|
}
|
|
359
|
359
|
// if the *CHAPTER* hasn't been validated and the viewer isn't an admin or the author throw them a warning.
|
|
360
|
360
|
if(!$valid && !$ef_ownview && USERUID != $chapterauthor) ef_story_error(_ACCESSDENIED, $title);
|