|
...
|
...
|
@@ -227,7 +227,7 @@ else if(($displayindex && empty($chapter)) || !empty($_GET['index'])) {
|
|
227
|
227
|
eval($code['code_text']);
|
|
228
|
228
|
}
|
|
229
|
229
|
include("includes/storyblock.php");
|
|
230
|
|
- $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>";
|
|
|
230
|
+ $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>";
|
|
231
|
231
|
if($reviewsallowed && (isMEMBER || $anonreviews))
|
|
232
|
232
|
$reviewslink = "<a href=\"reviews.php?action=add&item=$sid&next=2&type=ST\">"._SUBMITREVIEW."</a>";
|
|
233
|
233
|
$tpl->assign( "reviewslink", $reviewslink );
|
|
...
|
...
|
@@ -249,7 +249,7 @@ else if(($displayindex && empty($chapter)) || !empty($_GET['index'])) {
|
|
249
|
249
|
$tpl->assign("chapternumber", $chap['inorder']);
|
|
250
|
250
|
$tpl->assign("title", "<a href=\"viewstory.php?sid=$sid&chapter=".$chap['inorder']."\">".$chap['title']."</a>");
|
|
251
|
251
|
$tpl->assign("author", "<a href='viewuser.php?uid=".$chap['uid']."'>".$chap['penname']."</a>");
|
|
252
|
|
- $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>");
|
|
|
252
|
+ $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>");
|
|
253
|
253
|
$tpl->assign("ratingpics", ratingpics($chap['rating']));
|
|
254
|
254
|
if($reviewsallowed) {
|
|
255
|
255
|
$tpl->assign("reviews", "<a href=\"reviews.php?type=ST&item=$sid&chapid=".$chap['chapid']."\">"._REVIEWS."</a>");
|
|
...
|
...
|
@@ -344,7 +344,7 @@ else {
|
|
344
|
344
|
while($code = dbassoc($codeblocks)) {
|
|
345
|
345
|
eval($code['code_text']);
|
|
346
|
346
|
}
|
|
347
|
|
- $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>";
|
|
|
347
|
+ $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>";
|
|
348
|
348
|
}
|
|
349
|
349
|
// if the *CHAPTER* hasn't been validated and the viewer isn't an admin or the author throw them a warning.
|
|
350
|
350
|
if(!(isset($valid)) && !isADMIN && USERUID != isset($chapterauthor) && !in_array($chapterauthor, $storyinfo['coauthors'])) {
|