You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs-cvs@perl.apache.org by st...@apache.org on 2002/01/30 06:03:52 UTC
cvs commit: modperl-docs/tmpl/custom/html download_link navbar_local_bottom navbar_local_top prev_next_link top_link index index_body page page_body download navbar_local
stas 02/01/29 21:03:52
Modified: tmpl/custom/html index index_body page page_body
Added: tmpl/custom/html download_link navbar_local_bottom
navbar_local_top prev_next_link top_link
Removed: tmpl/custom/html download navbar_local
Log:
- re-shuffling widgets
Submitted by: Thomas Klausner <do...@zsi.at>
Reviewed by: stas
Revision Changes Path
1.8 +2 -0 modperl-docs/tmpl/custom/html/index
Index: index
===================================================================
RCS file: /home/cvs/modperl-docs/tmpl/custom/html/index,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- index 28 Jan 2002 02:24:52 -0000 1.7
+++ index 30 Jan 2002 05:03:51 -0000 1.8
@@ -9,6 +9,8 @@
content = ''
-%]
+<!-- Swishcommand noindex -->
+
<!-- left box (NAV)-->
<div class='leftbox'>
[% INCLUDE menu_top_level nav=doc.nav; %]
1.5 +1 -1 modperl-docs/tmpl/custom/html/index_body
Index: index_body
===================================================================
RCS file: /home/cvs/modperl-docs/tmpl/custom/html/index_body,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- index_body 28 Jan 2002 02:24:52 -0000 1.4
+++ index_body 30 Jan 2002 05:03:51 -0000 1.5
@@ -15,7 +15,7 @@
"<p>${doc.meta.abstract}</p>";
END;
- INCLUDE download;
+ INCLUDE download_link;
# INCLUDE navbar_local
# nav=doc.nav
1.8 +2 -0 modperl-docs/tmpl/custom/html/page
Index: page
===================================================================
RCS file: /home/cvs/modperl-docs/tmpl/custom/html/page,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- page 28 Jan 2002 02:24:52 -0000 1.7
+++ page 30 Jan 2002 05:03:51 -0000 1.8
@@ -10,6 +10,8 @@
content = ''
-%]
+<!-- Swishcommand noindex -->
+
<!-- left box (NAV)-->
<div class='leftbox'>
[% INCLUDE menu_top_level
1.10 +8 -6 modperl-docs/tmpl/custom/html/page_body
Index: page_body
===================================================================
RCS file: /home/cvs/modperl-docs/tmpl/custom/html/page_body,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- page_body 28 Jan 2002 07:02:26 -0000 1.9
+++ page_body 30 Jan 2002 05:03:51 -0000 1.10
@@ -9,7 +9,7 @@
[%
INCLUDE title;
- INCLUDE navbar_local
+ INCLUDE navbar_local_top
nav=doc.nav
rel_doc_root=doc.dir.rel_doc_root;
@@ -21,14 +21,16 @@
FOREACH sec = doc.body;
sec;
"<br><br>";
- menu;
+ IF loop.count == loop.size;
+ INCLUDE navbar_local_bottom
+ nav=doc.nav
+ rel_doc_root=doc.dir.rel_doc_root;
+ ELSE;
+ INCLUDE top_link;
+ END;
"<br><br>";
END;
"<!-- SwishCommand noindex -->";
-
- INCLUDE navbar_local
- nav=doc.nav
- rel_doc_root=doc.dir.rel_doc_root;
%]
</div>
<!-- end content-->
1.1 modperl-docs/tmpl/custom/html/download_link
Index: download_link
===================================================================
[%
# link to the pdf, source and other variants of the doc
# pdf block
IF doc.pdf_doc.link;
INCLUDE pdf_doc;
END;
# pdf block
IF doc.src_doc.link;
INCLUDE src_doc;
END;
-%]
[% BLOCK pdf_doc %]
<a href="[% doc.pdf_doc.link -%]">[PDF]</a> ([% doc.pdf_doc.size %])
[% END %]
[% BLOCK src_doc %]
<a href="[% doc.src_doc.link -%]">[SRC]</a> ([% doc.src_doc.size %])
[% END %]
1.1 modperl-docs/tmpl/custom/html/navbar_local_bottom
Index: navbar_local_bottom
===================================================================
[% # '<=prev | up | next=>' chapters navigation bar
# expects to be set
# nav - cache navigator object
# rel_doc_root - relative docs path
%]
<table width=100% border=0>
<tr>
<td align="left">
[% INCLUDE top_link %]
</td>
<td align="right">
[% INCLUDE prev_next_link %]
</td>
</tr></table>
1.1 modperl-docs/tmpl/custom/html/navbar_local_top
Index: navbar_local_top
===================================================================
[% # '<=prev | up | next=>' chapters navigation bar
# expects to be set
# nav - cache navigator object
# rel_doc_root - relative docs path
%]
<table width=100% border=0>
<tr>
<td align="left">
<div class="download">
[% INCLUDE download_link %]
</div>
</td>
<td align="right">
<div class="navbarlocal">
[% INCLUDE prev_next_link %]
</div></td>
</tr></table>
1.1 modperl-docs/tmpl/custom/html/prev_next_link
Index: prev_next_link
===================================================================
[% # '<=prev | up | next=>' chapters navigation bar
# expects to be set
# nav - cache navigator object
# rel_doc_root - relative docs path
%]
<div class="navbarlocal">
[%
prev = nav.prev;
IF prev;
link = INCLUDE link prefix=rel_doc_root link=prev.meta.link;
"<a href='$link'><img src='${doc.dir.abs_doc_root}/images/prev.gif' ALT='prev' border=0 width=48 heigth=20></a>";
END;
%]<a href='[% rel_doc_root %]/index.html'><img src='[% doc.dir.abs_doc_root %]/images/up.gif' ALT='up' border=0 heigth=20 width=25></a>[%
next = nav.next;
IF next;
link = INCLUDE link prefix=rel_doc_root link=next.meta.link;
"<a href='$link'><img src='${doc.dir.abs_doc_root}/images/next.gif' ALT='next' border=0 width=49 heigth=20></a>";
END;
%]
</div>
1.1 modperl-docs/tmpl/custom/html/top_link
Index: top_link
===================================================================
<a href='#top'><img src='[% doc.dir.abs_doc_root %]/images/top.gif' width=51 height=20 border=0 alt='TOP'></a>
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-cvs-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-cvs-help@perl.apache.org