@@ -527,7 +527,7 @@ function book_toc($exclude = 0) {
$children=array();
while($node=db_fetch_object($result)){
if(!$children[$node->parent]){
if(empty($children[$node->parent])){
$children[$node->parent]=array();
}
$children[$node->parent][]=$node;
...
...
@@ -958,6 +958,7 @@ function book_admin($nid = 0) {
*/
functionbook_admin_overview(){
$result=db_query(db_rewrite_sql('SELECT n.nid, n.title, b.weight FROM {node} n INNER JOIN {book} b ON n.vid = b.vid WHERE b.parent = 0 ORDER BY b.weight, n.title'));
'#description'=>t('Allow other users to contact you by e-mail via <a href="@url">your personal contact form</a>. Note that while your e-mail address is not made public to other members of the community, privileged users such as site administrators are able to contact you even if you choose not to enable this feature.',array('@url'=>url("user/$user->uid/contact"))),
$form['shadow']=array('#type'=>'checkbox','#title'=>t('Leave shadow copy'),'#default_value'=>$shadow,'#description'=>t('If you move this topic, you can leave a link in the old forum to the new forum.'));