Index: openacs-4/packages/xowiki/xowiki.info
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/xowiki.info,v
diff -u -r1.39 -r1.40
--- openacs-4/packages/xowiki/xowiki.info 3 Jan 2007 23:13:39 -0000 1.39
+++ openacs-4/packages/xowiki/xowiki.info 7 Jan 2007 21:52:37 -0000 1.40
@@ -50,7 +50,7 @@
-
+
Index: openacs-4/packages/xowiki/tcl/xowiki-portlet-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/Attic/xowiki-portlet-procs.tcl,v
diff -u -r1.11 -r1.12
--- openacs-4/packages/xowiki/tcl/xowiki-portlet-procs.tcl 6 Jan 2007 03:27:07 -0000 1.11
+++ openacs-4/packages/xowiki/tcl/xowiki-portlet-procs.tcl 7 Jan 2007 21:52:38 -0000 1.12
@@ -45,7 +45,9 @@
$title\
Index: openacs-4/packages/xowiki/www/view-book.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/www/Attic/view-book.tcl,v
diff -u -r1.2 -r1.3
--- openacs-4/packages/xowiki/www/view-book.tcl 6 Jan 2007 03:27:07 -0000 1.2
+++ openacs-4/packages/xowiki/www/view-book.tcl 7 Jan 2007 21:52:38 -0000 1.3
@@ -1,11 +1,12 @@
-
+set title [[$package_id folder_id] title]
#ns_log notice "--including_page= $__including_page, portlet=$portlet"
set toc [$page include_portlet [list toc -open_page $name -decoration plain -remove_levels 1]]
set i [$page set __last_includelet]
my log "--last includelet = [$page set __last_includelet] [$page exists __is_book_page]"
if {$i ne "" && ![$page exists __is_book_page]} {
set p [$i position]
set count [$i count]
+ if {$count == 0} {set count 1}
set book_relpos [format %.2f%% [expr {100.0 * $p / $count}]]
if {$p>1} {set book_prev_link [$package_id pretty_link [$i page_name [expr {$p - 1}]]]}
if {$p<$count} {set book_next_link [$package_id pretty_link [$i page_name [expr {$p + 1}]]]}
Index: openacs-4/packages/xowiki/www/view-page.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/www/Attic/view-page.adp,v
diff -u
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ openacs-4/packages/xowiki/www/view-page.adp 7 Jan 2007 21:52:38 -0000 1.1
@@ -0,0 +1,25 @@
+
+
+
+
+@page_title@
+
+
+@content;noquote@
+
Index: openacs-4/packages/xowiki/www/view-page.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/www/Attic/view-page.tcl,v
diff -u
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ openacs-4/packages/xowiki/www/view-page.tcl 7 Jan 2007 21:52:38 -0000 1.1
@@ -0,0 +1 @@
+set page_title "[$page set page_order] [$page set title]"
\ No newline at end of file
Index: openacs-4/packages/xowiki/www/prototypes/book.page
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/www/prototypes/book.page,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/xowiki/www/prototypes/book.page 29 Dec 2006 11:01:37 -0000 1.1
+++ openacs-4/packages/xowiki/www/prototypes/book.page 7 Jan 2007 21:52:38 -0000 1.2
@@ -1,5 +1,6 @@
::xowiki::Page new -title "Book" -text {
-
+{{set-parameter template_file view-default}}
+
>>left-col25<<
{{toc -decoration plain -book_mode 1 -expand_all 1}}
>><<
Index: openacs-4/packages/xowiki/www/resources/xowiki.css
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/www/resources/xowiki.css,v
diff -u -r1.9 -r1.10
--- openacs-4/packages/xowiki/www/resources/xowiki.css 5 Jan 2007 21:22:21 -0000 1.9
+++ openacs-4/packages/xowiki/www/resources/xowiki.css 7 Jan 2007 21:52:38 -0000 1.10
@@ -56,6 +56,8 @@
#page-body .box {border: 1px solid #a1a5a9; padding: 0 5px 5px 5px; margin: 0 0 1.25em 0;}
#page-body .errorMsg {color: red; font-weight: bold;}
+#bookNavBar { top: 0px; height: 2px; background-color: #859db8; }
+
#content .box h2 {border-bottom: 1px solid #a1a5a9; padding: 5px; background: #f2f2f2; margin: 0 -5px 5px -5px; font-size: 12px;}
#sidebar {float: right; top: 0px; width: 29%; font: 10px 'Lucida Grande', Geneva, Verdana, Arial, sans-serif;}
#sidebar h2 {font-size: 12px; margin: 0;}