} \n
append _ [:wikicmds_part] \n
@@ -105,8 +105,8 @@
# Generate the ADP file, when does not exist, or when the
# generator is newer.
#
- if {![file exists $adpFilename]
- || [file mtime [info script]] > [file mtime $adpFilename]} {
+ if {![ad_file exists $adpFilename]
+ || [file mtime [info script]] > [ad_file mtime $adpFilename]} {
try {
set f [open $adpFilename w]
} on error {errorMsg} {
@@ -122,10 +122,15 @@
# Definition of Templates
####################################################################################
#
- # view-plain
+ # view-plain (without master)
#
ADP_Generator create view-plain -master 0 -wikicmds 0 -footer 0
+ #
+ # view-plain-master (plain with master)
+ #
+ ADP_Generator create view-plain-master -master 1 -wikicmds 0 -footer 0
+
####################################################################################
#
# view-links
@@ -152,10 +157,10 @@
return [subst -novariables -nobackslashes \
{
@@ -187,7 +192,7 @@
margin-left: 6px; margin-top: 6px; padding: 0px;
">
-
@@ -203,14 +208,14 @@
margin-left: 6px; margin-top: 6px; padding: 0px;
">
-
-
-
-
Contributors
@@ -253,14 +258,14 @@
margin-left: 6px; margin-top: 6px; padding: 0px;
">
-
-
-
-
Contributors
@@ -271,7 +276,7 @@
margin-left: 6px; margin-top: 6px; padding: 0px;
">
-
@@ -283,7 +288,7 @@
}]
}
-
+
# oacs-view3-bootstrap3
#
# similar to oacs view3, but based on bootstrap
@@ -311,61 +316,61 @@
set open_page {-open_page [list @name@]}
return [subst -novariables -nobackslashes {\
-
+
@top_includelets;noquote@
@body.menubarHTML;noquote@
@body.title@ (@page_context@)
@body.title@
-
- @folderhtml;noquote@
- @content;noquote@
+
+ @body.folderHTML;noquote@
+ @content;noquote@
@content;noquote@
}]
}
-
+
####################################################################################
#
# view-book
@@ -410,12 +415,10 @@
-
-
+
-
-
+
|
@@ -431,12 +434,10 @@
-
-
+
-
-
+
|
@@ -453,7 +454,7 @@
&="per_object_categories_with_links"
&="digg_link" &="delicious_link" &="my_yahoo_link"
&="gc_link" &="gc_comments" &="notification_subscribe_link" &="notification_image"
- &="top_includelets" &="folderhtml" &="page" &="doc" &="body">
+ &="top_includelets" &="page" &="doc" &="body">
}}
@@ -462,7 +463,7 @@
#
# view-book-no-ajax
#
- # adp identical to view-book.
+ # ADP identical to view-book.
#
ADP_Generator create view-book-no-ajax -master 1 -footer 1 -wikicmds 0 \
-extra_header_stuff {