[MKDoc-commit] Child listing templates changed to only show showable (not hidden)

chris at mkdoc.demon.co.uk chris at mkdoc.demon.co.uk
Thu Dec 2 12:48:05 GMT 2004


Log Message:
-----------
Child listing templates changed to only show showable (not hidden) documents.

Tags:
----
mkdoc-1-6

Modified Files:
--------------
    mkd/templates/document/default:
        en.html
    mkd/templates/document/default_child_listing_bottom:
        en.html
    mkd/templates/document/default_child_listing_top:
        en.html
    mkd/templates/document/default_front_page:
        en.html
    mkd/templates/document/default_inline_links:
        en.html
    mkd/templates/document/default_link_listing_bottom:
        en.html
    mkd/templates/document/default_link_listing_top:
        en.html

-------------- next part --------------
Index: en.html
===================================================================
RCS file: /var/spool/cvs/mkd/templates/document/default_child_listing_bottom/Attic/en.html,v
retrieving revision 1.1.2.13
retrieving revision 1.1.2.14
diff -Ltemplates/document/default_child_listing_bottom/en.html -Ltemplates/document/default_child_listing_bottom/en.html -u -r1.1.2.13 -r1.1.2.14
--- templates/document/default_child_listing_bottom/en.html
+++ templates/document/default_child_listing_bottom/en.html
@@ -36,7 +36,7 @@
     children_id           string:children;
     Link_Loop             self/components_list --link;
     File_Loop             self/components_list --file;
-    Body_Loop             self/components_list --text --html --image --photo --file --poll --discussion --headlines --rss;
+    Body_Loop             self/components_list --text --html --image --photo --file --poll --discussion --headlines --rss --timerange;
               "
   petal:attributes="lang lang; xml:lang lang; dir dir"
   xmlns:petal="http://purl.org/petal/1.0/"
@@ -92,11 +92,11 @@
 
         <!--? The following div is the only bit that is different from the default template ?-->
         <div
-          petal:condition="true:self/children"
+          petal:condition="true: self/children_showable"
         >
           <dl>
             <div
-              petal:repeat="child self/children"
+              petal:repeat="child self/children_showable"
               petal:omit-tag="string: 1"
             >
               <dt>
Index: en.html
===================================================================
RCS file: /var/spool/cvs/mkd/templates/document/default_child_listing_top/Attic/en.html,v
retrieving revision 1.1.2.10
retrieving revision 1.1.2.11
diff -Ltemplates/document/default_child_listing_top/en.html -Ltemplates/document/default_child_listing_top/en.html -u -r1.1.2.10 -r1.1.2.11
--- templates/document/default_child_listing_top/en.html
+++ templates/document/default_child_listing_top/en.html
@@ -36,7 +36,7 @@
     children_id           string:children;
     Link_Loop             self/components_list --link;
     File_Loop             self/components_list --file;
-    Body_Loop             self/components_list --text --html --image --photo --file --poll --discussion --headlines --rss;
+    Body_Loop             self/components_list --text --html --image --photo --file --poll --discussion --headlines --rss --timerange;
               "
   petal:attributes="lang lang; xml:lang lang; dir dir"
   xmlns:petal="http://purl.org/petal/1.0/"
@@ -81,11 +81,11 @@
       >
 
         <div
-          petal:condition="true: self/children"
+          petal:condition="true: self/children_showable"
         >
           <dl>
             <div
-              petal:repeat="child self/children"
+              petal:repeat="child self/children_showable"
               petal:omit-tag="string: 1"
             >
               <dt>
Index: en.html
===================================================================
RCS file: /var/spool/cvs/mkd/templates/document/default_front_page/Attic/en.html,v
retrieving revision 1.1.2.7
retrieving revision 1.1.2.8
diff -Ltemplates/document/default_front_page/en.html -Ltemplates/document/default_front_page/en.html -u -r1.1.2.7 -r1.1.2.8
--- templates/document/default_front_page/en.html
+++ templates/document/default_front_page/en.html
@@ -38,7 +38,7 @@
     File_Loop             self/components_list --file;
     RSS_Loop              self/components_list --rss;
     Poll_Loop             self/components_list --poll;
-    Body_Loop             self/components_list --text --html --image --photo --file --discussion --headlines;
+    Body_Loop             self/components_list --text --html --image --photo --file --discussion --headlines --timerange;
               "
   petal:attributes="lang lang; xml:lang lang; dir dir"
   xmlns:petal="http://purl.org/petal/1.0/"
Index: en.html
===================================================================
RCS file: /var/spool/cvs/mkd/templates/document/default/Attic/en.html,v
retrieving revision 1.6.2.51
retrieving revision 1.6.2.52
diff -Ltemplates/document/default/en.html -Ltemplates/document/default/en.html -u -r1.6.2.51 -r1.6.2.52
--- templates/document/default/en.html
+++ templates/document/default/en.html
@@ -36,7 +36,7 @@
     children_id           string:children;
     Link_Loop             self/components_list --link;
     File_Loop             self/components_list --file;
-    Body_Loop             self/components_list --text --html --image --photo --file --poll --discussion --headlines --rss;
+    Body_Loop             self/components_list --text --html --image --photo --file --poll --discussion --headlines --rss --timerange;
               "
   petal:attributes="lang lang; xml:lang lang; dir dir"
   xmlns:petal="http://purl.org/petal/1.0/"
Index: en.html
===================================================================
RCS file: /var/spool/cvs/mkd/templates/document/default_inline_links/Attic/en.html,v
retrieving revision 1.1.2.9
retrieving revision 1.1.2.10
diff -Ltemplates/document/default_inline_links/en.html -Ltemplates/document/default_inline_links/en.html -u -r1.1.2.9 -r1.1.2.10
--- templates/document/default_inline_links/en.html
+++ templates/document/default_inline_links/en.html
@@ -36,7 +36,7 @@
     children_id           string:children;
     Link_Loop             self/components_list --link;
     File_Loop             self/components_list --file;
-    Body_Loop             self/components_list --link --text --html --image --photo --file --poll --discussion --headlines --rss;
+    Body_Loop             self/components_list --link --text --html --image --photo --file --poll --discussion --headlines --rss --timerange;
               "
   petal:attributes="lang lang; xml:lang lang; dir dir"
   xmlns:petal="http://purl.org/petal/1.0/"
Index: en.html
===================================================================
RCS file: /var/spool/cvs/mkd/templates/document/default_link_listing_bottom/Attic/en.html,v
retrieving revision 1.1.2.10
retrieving revision 1.1.2.11
diff -Ltemplates/document/default_link_listing_bottom/en.html -Ltemplates/document/default_link_listing_bottom/en.html -u -r1.1.2.10 -r1.1.2.11
--- templates/document/default_link_listing_bottom/en.html
+++ templates/document/default_link_listing_bottom/en.html
@@ -36,7 +36,7 @@
     children_id           string:children;
     Link_Loop             self/components_list --link;
     File_Loop             self/components_list --file;
-    Body_Loop             self/components_list --text --html --image --photo --file --poll --discussion --headlines --rss;
+    Body_Loop             self/components_list --text --html --image --photo --file --poll --discussion --headlines --rss --timerange;
               "
   petal:attributes="lang lang; xml:lang lang; dir dir"
   xmlns:petal="http://purl.org/petal/1.0/"
Index: en.html
===================================================================
RCS file: /var/spool/cvs/mkd/templates/document/default_link_listing_top/Attic/en.html,v
retrieving revision 1.1.2.9
retrieving revision 1.1.2.10
diff -Ltemplates/document/default_link_listing_top/en.html -Ltemplates/document/default_link_listing_top/en.html -u -r1.1.2.9 -r1.1.2.10
--- templates/document/default_link_listing_top/en.html
+++ templates/document/default_link_listing_top/en.html
@@ -36,7 +36,7 @@
     children_id           string:children;
     Link_Loop             self/components_list --link;
     File_Loop             self/components_list --file;
-    Body_Loop             self/components_list --text --html --image --photo --file --poll --discussion --headlines --rss;
+    Body_Loop             self/components_list --text --html --image --photo --file --poll --discussion --headlines --rss --timerange;
               "
   petal:attributes="lang lang; xml:lang lang; dir dir"
   xmlns:petal="http://purl.org/petal/1.0/"


More information about the MKDoc-commit mailing list