|
@ -132,7 +132,7 @@ if ($print) { |
|
|
} else { |
|
|
} else { |
|
|
if (array_key_exists( $ch->id, $okchapters)) { |
|
|
if (array_key_exists( $ch->id, $okchapters)) { |
|
|
$toc .= '<a title="'.htmlspecialchars($title).'" href="attempt.php?id=' |
|
|
$toc .= '<a title="'.htmlspecialchars($title).'" href="attempt.php?id=' |
|
|
$id.'&chapterid='.$ch->id.'">'.$title.'</a>'; |
|
|
.$id.'&chapterid='.$ch->id.'">'.$title.'</a>'; |
|
|
} else { |
|
|
} else { |
|
|
$toc .= htmlspecialchars($title); |
|
|
$toc .= htmlspecialchars($title); |
|
|
} |
|
|
} |
|
|