Hi Petr and everybody using his book module,
I have just made a change that some of you might be interested in. I have changed the nav_next_dis button so that when a user gets to the last page in the book, there is a link back to the course homepage (see image). (I just like this type of navigation linearity.) Remember I have made my own custom pix, so my next gif actually says "next". It was easy to just change my "next" gif to an "exit" gif to replace the nave_next_dis gif.
To do this, change this code (you should be able to just copy and paste the code here) in the view.php file (it is about line 156 and comes before the // prepare print icons section):
} else {
$chnavigation .= '<a title="'.get_string('exit', 'book').'" href="/course/view.php?id='.$course->id.'"><img src="pix/nav_next_dis.gif" height=22 width=49 border=0></img>';
}
And be sure to change the height and width to match your own gif.
Then add this line to the lang file:
$string['exit'] = 'Exit Book'; or whatever you would like the mouseover to say--it could be Return to Course instead of Exit Book.
Chardelle