stas 2002/07/03 12:21:17 Modified: tmpl/custom/html changes_link navbar_local_bottom search tail Log: darn winFU: perl -pi -e 's|\cM||g' changes_link tail navbar_local_bottom search Revision Changes Path 1.5 +8 -8 modperl-docs/tmpl/custom/html/changes_link Index: changes_link =================================================================== RCS file: /home/cvs/modperl-docs/tmpl/custom/html/changes_link,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- changes_link 3 Jul 2002 18:57:38 -0000 1.4 +++ changes_link 3 Jul 2002 19:21:16 -0000 1.5 @@ -1,8 +1,8 @@ -[% - changes_id = doc.nav.index_node.extra.changes; - IF changes_id; - changes_nav = doc.nav.by_id(changes_id); --%] -<a href="[% changes_nav.meta.link %]"><img src="[%- doc.dir.abs_doc_root -%]/images/nav/page_changes.gif" width="60" height="16" border="0" alt="Changes file"></a> -<br><br> -[% END -%] +[% + changes_id = doc.nav.index_node.extra.changes; + IF changes_id; + changes_nav = doc.nav.by_id(changes_id); +-%] +<a href="[% changes_nav.meta.link %]"><img src="[%- doc.dir.abs_doc_root -%]/images/nav/page_changes.gif" width="60" height="16" border="0" alt="Changes file"></a> +<br><br> +[% END -%] 1.11 +21 -21 modperl-docs/tmpl/custom/html/navbar_local_bottom Index: navbar_local_bottom =================================================================== RCS file: /home/cvs/modperl-docs/tmpl/custom/html/navbar_local_bottom,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- navbar_local_bottom 3 Jul 2002 18:57:38 -0000 1.10 +++ navbar_local_bottom 3 Jul 2002 19:21:16 -0000 1.11 @@ -1,22 +1,22 @@ -[%- # '<=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" cellspacing="0" cellpadding="0"> - <tr> - <!-- this height must be 1px more than the highest gif ns6/mac --> - <td width="195" nowrap height="17"> - <table width="195" border="0" cellspacing="0" cellpadding="0"> - <tr> - <td><small class="nbr"><br class="smallbr"></small></td> - </tr> - </table> - </td> - <td width="1"><br></td> - <td align="left" nowrap>[%- INCLUDE top_link -%]</td> - <td width="100%"><br></td> - <td align="right" nowrap>[%- INCLUDE prev_next_link -%]</td> - <td width="1"><br></td> - </tr> +[%- # '<=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" cellspacing="0" cellpadding="0"> + <tr> + <!-- this height must be 1px more than the highest gif ns6/mac --> + <td width="195" nowrap height="17"> + <table width="195" border="0" cellspacing="0" cellpadding="0"> + <tr> + <td><small class="nbr"><br class="smallbr"></small></td> + </tr> + </table> + </td> + <td width="1"><br></td> + <td align="left" nowrap>[%- INCLUDE top_link -%]</td> + <td width="100%"><br></td> + <td align="right" nowrap>[%- INCLUDE prev_next_link -%]</td> + <td width="1"><br></td> + </tr> </table> 1.28 +139 -139 modperl-docs/tmpl/custom/html/search Index: search =================================================================== RCS file: /home/cvs/modperl-docs/tmpl/custom/html/search,v retrieving revision 1.27 retrieving revision 1.28 diff -u -r1.27 -r1.28 --- search 3 Jul 2002 18:57:03 -0000 1.27 +++ search 3 Jul 2002 19:21:16 -0000 1.28 @@ -1,139 +1,139 @@ -[%- # search widget - # this template expects these vars to be set: - # doc.dir.abs_doc_root - doc root - # doc.dir.path_from_base - - # search_opitons is an array and hash for generating the drop-down box. --%] - - -[%- PROCESS search_options -%] -[%- USE CGI('-no_debug') -%] - -[% - IF doc.meta.link == 'search/searchresults.html'; - PROCESS build_results_search_widgets; - ELSE; - PROCESS build_std_search_widgets; - END; -%] - - <table border="0" cellspacing="0" cellpadding="0" width="150" align="center"> - <tr> - <td class="menu-border" width="1" height="1"><small class="nbr"><br class="smallbr"></small></td> - <td class="menu-border" width="148"><small class="nbr"><br class="smallbr"></small></td> - <td class="menu-border" width="1"><small class="nbr"><br class="smallbr"></small></td> - </tr> - - <tr> - <td class="menu-border"><br></td> - <td align="center" class="menu-title-bg"> - <div class="menu-title"><a href="[%- doc.dir.abs_doc_root -%]/search/swish.cgi">Search</a></div> - </td> - <td class="menu-border"><br></td> - </tr> - - <tr> - <td class="menu-border" colspan="3" height="1"><small class="nbr"><br class="smallbr"></small></td> - </tr> - - <tr> - <td class="menu-border"><br></td> - <td class="search-box-bg" align="center"> - <form class="search-wrap" method="GET" action="[% doc.dir.abs_doc_root %]/search/swish.cgi" enctype="application/x-www-form-urlencoded" name="site_search_form"> - [% PROCESS search_widget %] - </form> - </td> - <td class="menu-border"><br></td> - </tr> - - <tr> - <td class="menu-border" colspan="3" height="1"><small class="nbr"><br class="smallbr"></small></td> - </tr> - </table> - - -[% BLOCK search_widget %] - [% search_input %] - <br class="smallbr"> - [% search_options %] - <br> - <input type="submit" name="submit" value="search" class="inp-submit"> -[% END %] - -[% BLOCK build_results_search_widgets %] - - [% - stag = "[\%" - etag = "%\]" - %] - - [% search_input = BLOCK %] - - [% stag %] CGI.textfield( { - name => 'query', - size => 12, - maxlength => 200, - class => 'inp-text', - } ) - [% etag %] - - [% END %] - - [% search_options = BLOCK %] - - [% stag %] CGI.popup_menu( { - Name => 'sbm', - Values => search_areas, - Labels => search_labels, - class => 'inp-select', - }) - [% etag %] - - [% IF 0 %] - [% stag %] IF search.results [% etag %] - <br> - <a href="#search_form"><span class="search-text">Advanced</span></a> - [% stag %] END [% etag %] - [% END %] - - [% END %] - -[% END %] - - -[% BLOCK build_std_search_widgets %] - - [% search_input = BLOCK %] - <input type="text" name="query" size="12" maxlength="200" value="" class="inp-text"> - [% END %] - - [%- section = PROCESS map_path_to_section path = doc.dir.path_from_base -%] - - [% search_options = BLOCK %] - - - [% CGI.popup_menu( { - Name => 'sbm', - Values => search_areas, - Labels => search_labels, - Default => section, - Class => 'inp-select', - }) - %] - [% END %] -[% END %] - -[%- BLOCK map_path_to_section -%] - [%- - FOR item = search_path_map; - IF path.search( item.path ); - item.section; - RETURN; - END; - END; - -%] -[%- END -%] - - - +[%- # search widget + # this template expects these vars to be set: + # doc.dir.abs_doc_root - doc root + # doc.dir.path_from_base + + # search_opitons is an array and hash for generating the drop-down box. +-%] + + +[%- PROCESS search_options -%] +[%- USE CGI('-no_debug') -%] + +[% + IF doc.meta.link == 'search/searchresults.html'; + PROCESS build_results_search_widgets; + ELSE; + PROCESS build_std_search_widgets; + END; +%] + + <table border="0" cellspacing="0" cellpadding="0" width="150" align="center"> + <tr> + <td class="menu-border" width="1" height="1"><small class="nbr"><br class="smallbr"></small></td> + <td class="menu-border" width="148"><small class="nbr"><br class="smallbr"></small></td> + <td class="menu-border" width="1"><small class="nbr"><br class="smallbr"></small></td> + </tr> + + <tr> + <td class="menu-border"><br></td> + <td align="center" class="menu-title-bg"> + <div class="menu-title"><a href="[%- doc.dir.abs_doc_root -%]/search/swish.cgi">Search</a></div> + </td> + <td class="menu-border"><br></td> + </tr> + + <tr> + <td class="menu-border" colspan="3" height="1"><small class="nbr"><br class="smallbr"></small></td> + </tr> + + <tr> + <td class="menu-border"><br></td> + <td class="search-box-bg" align="center"> + <form class="search-wrap" method="GET" action="[% doc.dir.abs_doc_root %]/search/swish.cgi" enctype="application/x-www-form-urlencoded" name="site_search_form"> + [% PROCESS search_widget %] + </form> + </td> + <td class="menu-border"><br></td> + </tr> + + <tr> + <td class="menu-border" colspan="3" height="1"><small class="nbr"><br class="smallbr"></small></td> + </tr> + </table> + + +[% BLOCK search_widget %] + [% search_input %] + <br class="smallbr"> + [% search_options %] + <br> + <input type="submit" name="submit" value="search" class="inp-submit"> +[% END %] + +[% BLOCK build_results_search_widgets %] + + [% + stag = "[\%" + etag = "%\]" + %] + + [% search_input = BLOCK %] + + [% stag %] CGI.textfield( { + name => 'query', + size => 12, + maxlength => 200, + class => 'inp-text', + } ) + [% etag %] + + [% END %] + + [% search_options = BLOCK %] + + [% stag %] CGI.popup_menu( { + Name => 'sbm', + Values => search_areas, + Labels => search_labels, + class => 'inp-select', + }) + [% etag %] + + [% IF 0 %] + [% stag %] IF search.results [% etag %] + <br> + <a href="#search_form"><span class="search-text">Advanced</span></a> + [% stag %] END [% etag %] + [% END %] + + [% END %] + +[% END %] + + +[% BLOCK build_std_search_widgets %] + + [% search_input = BLOCK %] + <input type="text" name="query" size="12" maxlength="200" value="" class="inp-text"> + [% END %] + + [%- section = PROCESS map_path_to_section path = doc.dir.path_from_base -%] + + [% search_options = BLOCK %] + + + [% CGI.popup_menu( { + Name => 'sbm', + Values => search_areas, + Labels => search_labels, + Default => section, + Class => 'inp-select', + }) + %] + [% END %] +[% END %] + +[%- BLOCK map_path_to_section -%] + [%- + FOR item = search_path_map; + IF path.search( item.path ); + item.section; + RETURN; + END; + END; + -%] +[%- END -%] + + + 1.16 +14 -14 modperl-docs/tmpl/custom/html/tail Index: tail =================================================================== RCS file: /home/cvs/modperl-docs/tmpl/custom/html/tail,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- tail 3 Jul 2002 18:57:38 -0000 1.15 +++ tail 3 Jul 2002 19:21:17 -0000 1.16 @@ -1,14 +1,14 @@ - - <div class="footer"> - [%- INCLUDE changes_link -%] - <hr noshade size="1"> - <!-- footer (tail )--> - <p class="modified">Last modified [% doc.last_modified %]</p> - <p class="copyright">Use of the Camel for Perl is a trademark - of <a href="http://www.ora.com">O'Reilly & Associates</a>, - and is used by permission.</p> - <!-- end footer (tail)--> - <br><br> - </div> - - + + <div class="footer"> + [%- INCLUDE changes_link -%] + <hr noshade size="1"> + <!-- footer (tail )--> + <p class="modified">Last modified [% doc.last_modified %]</p> + <p class="copyright">Use of the Camel for Perl is a trademark + of <a href="http://www.ora.com">O'Reilly & Associates</a>, + and is used by permission.</p> + <!-- end footer (tail)--> + <br><br> + </div> + +
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]