Commits

Anonymous committed ba288e9

Ported some more functionality over to the latemp core.

  • Participants
  • Parent commits 2bcdd9a
  • Branches conversion-to-latemp

Comments (0)

Files changed (71)

lib/MyNavLinks.pm

+package MyNavLinks;
+
+use strict;
+use warnings;
+
+use vars qw($nav_buttons_html);
+
+use base 'Class::Accessor';
+
+__PACKAGE__->mk_accessors(qw(root nav_links));
+
+use Template;
+
+# load Template::Stash to make method tables visible
+use Template::Stash;
+
+# Define a method to return a substring.
+$Template::Stash::SCALAR_OPS->{ 'substr' } = sub {
+    return substr($_[0], $_[1], $_[2]);
+};
+
+
+sub new
+{
+    my $class = shift;
+    my $self = {};
+    bless $self, $class;
+    $self->initialize(@_);
+    return $self;
+}
+
+sub initialize
+{
+    my $self = shift;
+    my %args = (@_);
+    %{$self} = %args;
+}
+
+sub get_nav_buttons_html
+{
+    my $self = shift;
+
+    my (%args) = (@_);
+    
+    my $with_accesskey = $args{'with_accesskey'};
+
+    my $nav_links = $self->nav_links();
+    my $root = $self->root();    
+
+    my $template = 
+        Template->new(
+        {
+            'POST_CHOMP' => 1,
+        }
+        );
+
+    my @buttons =
+    (
+        { 
+            'dir' => "prev", 
+            'button' => "left", 
+            'title' => "Previous Page",
+        },
+        { 
+            'dir' => "up", 
+            'button' => "up", 
+            'title' => "Up in the Site",
+        },
+        {
+            'dir' => "next", 
+            'button' => "right", 
+            'title' => "Next Page",
+        },
+    );
+
+    foreach my $button (@buttons)
+    {
+        my $dir = $button->{'dir'};
+        if ($button->{'exists'} = exists($nav_links->{$dir}))
+        {
+            $button->{'link'} = $nav_links->{$dir};
+        }
+    }
+    
+    my $vars = 
+    {
+        'buttons' => \@buttons,
+        'root' => $root,
+        'with_accesskey' => $with_accesskey,
+    };
+    
+    my $nav_links_template = <<'EOF';
+[% USE HTML %]
+[% FOREACH b = buttons %]
+[% SET key = b.dir.substr(0, 1) %]
+<li>
+[% IF b.exists %]
+<a href="[% HTML.escape(b.link) %]" title="[% b.title %] (Alt+[% key FILTER upper %])"
+[% IF with_accesskey %]
+accesskey="[% key %]"
+[% END %]
+>[% END %]<img src="[% root %]/images/arrow-[% b.button %][% UNLESS b.exists %]-disabled[% END %].png"
+alt="[% b.title %]" class="bless" />[% IF b.exists %]</a>
+[% END %]
+</li>
+[% END %]
+EOF
+    
+    my $nav_buttons_html = "";
+    
+    $template->process(\$nav_links_template, $vars, \$nav_buttons_html);
+    return $nav_buttons_html;
+}
+
+sub get_total_html
+{
+    my $self = shift;
+
+    return "<ul class=\"nav_links\">\n" .
+        $self->get_nav_buttons_html(@_) .
+        "\n</ul>";
+}
+
+1;
+

lib/SFresume_base.wml

 <if "<get-var is:detailed />" "" "%body" />
 </define-tag>
 
-<subject "Shlomi Fish' Resume" />
+<latemp_subject "Shlomi Fish' Resume" />
 
 <br />
 <br />

lib/latemp/themes/shlomifish.org-tabular-1/template.wml

-# #use wml::des::navbar
-#include '../std/logo.wml'
-
-<:{
-use MyNavData;
-use HTML::Widgets::NavMenu;
-
-my $filename = "$(LATEMP_FILENAME)";
-$filename =~ s!index\.html$!!;
-$filename = "/$filename";
-
-use vars qw($nav_bar);
-
-$nav_bar = HTML::Widgets::NavMenu->new(
-    'path_info' => $filename,
-    'current_host' => "$(LATEMP_SERVER)",
-    MyNavData::get_params(),
-    'ul_classes' => [ "navbarmain", ("navbarnested") x 10 ],
-    );
-
-my $rendered_results = $nav_bar->render();
-
-use vars qw($nav_links);
-
-$nav_links = $rendered_results->{nav_links};
-
-use vars qw($nav_html);
-
-$nav_html = $rendered_results->{html};
-
-my $leading_path = $rendered_results->{leading_path};
-
-my $render_leading_path_component = sub {
-    my $component = shift;
-    my $title = $component->title();
-    my $title_attr = defined($title) ? " title=\"$title\"" : "";
-    return "<a href=\"" . CGI::escapeHTML($component->direct_url()) .
-        "\"$title_attr>" .
-        $component->label() . "</a>";
-};
-
-use vars qw($leading_path_string);
-
-$leading_path_string =
-    join(" &rarr; ",
-        (map
-        { $render_leading_path_component->($_) }
-        @$leading_path
-        ));
-
-}:>
-
+<latemp_init_h_w_navmenu />
 
 # Utility Functions.
-
 <define-tag software_patents>1</define-tag>
 
-<define-tag mynot><if "%0" "" "1" /></define-tag>
-
 <define-tag printable_style>
 <style type="text/css">
 table.cv { width : 100% ; border : none ; }
 </style>
 </define-tag>
 
-# The Definition of the page itself
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE
-    html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
-    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
-<head>
-<title>{#SUBJECT_LOC#}</title>
-<link rel="StyleSheet" href="$(ROOT)/style.css" type="text/css" />
-<link rel="shortcut icon" href="$(ROOT)/favicon.ico" type="image/x-icon" />
-<:{
-use CGI qw();
-
-my @keys = (sort { $a cmp $b } keys(%$nav_links));
-foreach my $key (@keys)
-{
-    my $url = $nav_links->{$key};
-    print "<link rel=\"$key\" href=\"" . CGI::escapeHTML($url) . "\" />\n"
-}
-}:>
-<if "$(PRINTABLE)" "<printable_style />" "" />
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-</head>
+<latemp_html_header standard="xhtml1.1" />
+<latemp_html_head_tag />
 <body>
 <define-tag rellink whitespace="delete">
 <preserve url />
 # </define-tag>
 <if "<mynot "$(PRINTABLE)" />" "<start_table />" "" />
 
-<h1>{#SUBJECT_LOC#}</h1>
+<h1>{#LATEMP_SUBJECT_LOC#}</h1>
 {#BODY#}
 
 <define-tag end_table>

t2/DeCSS/index.html.wml

 #include '../template.wml'
 
-<subject "Shlomi Fish' Opinion on DeCSS" />
+<latemp_subject "Shlomi Fish' Opinion on DeCSS" />
 <h2>Note</h2>
 
 <p>

t2/MathVentures/3d_outof_4d.html.wml

 #include '../template.wml'
 
-<subject "Combinatorics and the art of Dungeons and Dragons" />
+<latemp_subject "Combinatorics and the art of Dungeons and Dragons" />
 
 <p>
 I used to play "Advanced Dungeons &amp; Dragons" in the 8th and 9th grades. I

t2/MathVentures/bug_square.html.wml

 #include '../template.wml'
 
-<subject "Bugs in a Square" />
+<latemp_subject "Bugs in a Square" />
 
 <p>
 I first encountered this problem in the science journal of a laboratory

t2/MathVentures/disco_circle.html.wml

 #include '../template.wml'
 
-<subject "A Solidarian Disco Circle" />
+<latemp_subject "A Solidarian Disco Circle" />
 
 <p>
 Are you familiar with disco circles? I participated in quite a lot of them

t2/MathVentures/dodeca.html.wml

 #include '../template.wml'
 
-<subject "What's the Volume of a Dodecahedron?" />
+<latemp_subject "What's the Volume of a Dodecahedron?" />
 
 <img src="dodeca.gif" alt="A Dodecahedron" /> <br />
 

t2/MathVentures/index.html.wml

 #include '../template.wml'
 
-<subject "Math-Ventures - Mathematics in Real-Life" />
+<latemp_subject "Math-Ventures - Mathematics in Real-Life" />
 
 <p>
 This section of my homepage is dedicated to various math problems that I

t2/MathVentures/repeating_code.html.wml

 #include '../template.wml'
 
-<subject "On and on it seems to go..." />
+<latemp_subject "On and on it seems to go..." />
 
 A while ago, I was introduced to a couple of questions about
 digital codes being broadcasted. This made me think of a new code

t2/MathVentures/toggle_squares.html.wml

 #include '../template.wml'
 
-<subject "Toggling Squares is not that Trivial..." />
+<latemp_subject "Toggling Squares is not that Trivial..." />
 
 <p>
 Well, this page is not ready yet, and will take some time to be written.

t2/art/bk2hp/index.html.wml

 #include '../template.wml'
 
-<subject "Shlomi Fish' Art - Back to my homepage" />
+<latemp_subject "Shlomi Fish' Art - Back to my homepage" />
 
 <img src="../../images/bk2hp.png" alt="Back to my homepage" style="margin-bottom : 1.5em"/>
 <p>

t2/art/index.html.wml

 #include '../template.wml'
 
-<subject "Shlomi Fish' Art" />
+<latemp_subject "Shlomi Fish' Art" />
 <p>
 I dedicate this section to the various pieces of computer graphics which I 
 designed. Here I will explain how I created them, so you can shamelessly 

t2/art/linux_banner/index.html.wml

 #include '../template.wml'
 
-<subject "Shlomi Fish' Art : Linux Slogan" />
+<latemp_subject "Shlomi Fish' Art : Linux Slogan" />
 
 <img src="../images/linux1.gif" alt="Linux - Because software problems should not cost money" />
 

t2/humour.html.wml

 #include '../template.wml'
 
-<subject "My Humour Collection" />
+<latemp_subject "My Humour Collection" />
 
 <define-tag joke endtag="required">
 %body

t2/humour/Pope/index.html.wml

 #include '../template.wml'
 
-<subject "The Pope Died on Sunday" />
+<latemp_subject "The Pope Died on Sunday" />
 
 <h2>A story by Shlomi Fish</h2>
 

t2/humour/RoadToHeaven/index.html.wml

 #include '../template.wml'
 
-<subject "The Road to Heaven is Paved with Bad Intentions" />
+<latemp_subject "The Road to Heaven is Paved with Bad Intentions" />
 
 <p>
 This is the sequel to <a href="../TheEnemy/">The Enemy and How I Helped

t2/humour/TOWTF/index.html.wml

 #include '../template.wml'
 
-<subject "The One with the Fountainhead" />
+<latemp_subject "The One with the Fountainhead" />
 
 <p>
 This is a parody about Ayn Rand's book, "The Fountainhead", modelled around

t2/humour/TheEnemy/index.html.wml

 #include '../template.wml'
-<subject "The Enemy and How I Helped to Fight it" />
+<latemp_subject "The Enemy and How I Helped to Fight it" />
 
 <p>
 This is a story I wrote and I placed it here so many Internet 

t2/humour/index.html.wml

 #include '../template.wml'
 
-<subject "Shlomi Fish' Humorous Creations" />
+<latemp_subject "Shlomi Fish' Humorous Creations" />
 
 <p>
 I very much enjoy humorous things and like to laugh or be amused a lot.

t2/humour/ways_to_do_it.html.wml

 #include '../template.wml'
-<subject "Ways to do it According to the Programming Languages of the World" />
+<latemp_subject "Ways to do it According to the Programming Languages of the World" />
 
 <ul>
 <li>

t2/index.html.wml

 #include '../template.wml'
-<subject "Shlomi Fish' Homepage" />
+<latemp_subject "Shlomi Fish' Homepage" />
 
 <define-tag software_patents_notice>
 <div class="colored_frame">

t2/jmikmod/index.html.wml

 #include '../template.wml'
 
-<subject "MikMod for Java" />
+<latemp_subject "MikMod for Java" />
 
 <h2>Important Note!</h2>
 

t2/links.html.wml

 #include '../template.wml'
 
-<subject "My Cool Links List" />
+<latemp_subject "My Cool Links List" />
 
 <h2>Studies Related</h2>
 

t2/linux_banner/index.html.wml

 #include '../template.wml'
 
-<subject "Linux Installataion Party (Technion, Winter 97/98) Banner" />
+<latemp_subject "Linux Installataion Party (Technion, Winter 97/98) Banner" />
 
 <img src="linux3.gif" 
 alt="Linux - Because Software Problems Should Not Cost Money" />

t2/me/contact-me/index.html.wml

 #include '../template.wml'
 #include <utils.wml>
-<subject "How to Reach Me" />
+<latemp_subject "How to Reach Me" />
 
 <dl class="contact">
 <dt>Homepage:</dt>

t2/me/favorites/index.html.wml

 #include '../template.wml'
 
-<subject "My Favourite Things" />
+<latemp_subject "My Favourite Things" />
 
 <p>
 This section of my site deals with my favourite things. It may change as I

t2/me/index.html.wml

 #include '../template.wml'
-<subject "About Myself" />
+<latemp_subject "About Myself" />
 
 <h2><a href="$(ROOT)/personal.html">About Myself</a></h2>
 

t2/me/resumes/index.html.wml

 #include '../template.wml'
-<subject "My Resum&eacute;s" />
+<latemp_subject "My Resum&eacute;s" />
 
 <h2><a href="$(ROOT)/SFresume.html">English Resumé</a></h2>
 

t2/no-ie/index.html.wml

 #include '../template.wml'
-<subject "Stop Using Internet Explorer!" />
+<latemp_subject "Stop Using Internet Explorer!" />
 
 <p>
 <b>Last Updated:</b> 25-March-2005

t2/old-news.html.wml

 #include '../template.wml'
 
-<subject "Shlomi Fish' Homepage Old News Items" />
+<latemp_subject "Shlomi Fish' Homepage Old News Items" />
 
 <h3 class="newsitem">26-Jun-2003</h3>
 

t2/open-source/bits-and-bobs/gringotts-patch/index.html.wml

 #include '../template.wml'
-<subject "The gringotts-shlomif Patch" />
+<latemp_subject "The gringotts-shlomif Patch" />
 
 <p>
 <b>Last Updated:</b> 14-February-2005.

t2/open-source/bits-and-bobs/open-inventor-bsd-daemon/index.html.wml

 #include '../template.wml'
-<subject "Open Inventor BSD Daemon" />
+<latemp_subject "Open Inventor BSD Daemon" />
 
 <h2><a href="OpenInventor-BSD-Daemon-0.2.0.tar.gz">Download the Archive</a></h2>
 

t2/open-source/bits.html.wml

 #include '../template.wml'
 
-<subject "Open Source Bits and Bobs" />
+<latemp_subject "Open Source Bits and Bobs" />
 
 <define-tag bit_link whitespace="delete">
 ./bits-and-bobs/%0

t2/open-source/contributions/index.html.wml

 #include '../template.wml'
 
-<subject "Contributions Made to external Open-Source Projects" />
+<latemp_subject "Contributions Made to external Open-Source Projects" />
 
 <p>
 <b>Last Updated:</b> 4-October-2004.

t2/open-source/favourite/index.html.wml

 #include '../template.wml'
 
-<subject "Favourite Free Software of Mine" />
+<latemp_subject "Favourite Free Software of Mine" />
 
 <p>
 This page documents my favourite pieces of free software. You are welcome

t2/open-source/index.html.wml

 #include '../template.wml'
-<subject "Open Source Software I wrote" />
+<latemp_subject "Open Source Software I wrote" />
 
 <define-tag linkto:vipe endtag="required">
 <preserve where />

t2/open-source/interviews/index.html.wml

 #include '../template.wml'
-<subject "Interviews with Open Source People" />
+<latemp_subject "Interviews with Open Source People" />
 
 <h2>Introduction</h2>
 

t2/open-source/projects/freecell-solver/index.html.wml

 #include '../template.wml'
-<subject "Freecell Solver" />
+<latemp_subject "Freecell Solver" />
 
 <define-tag linkto:vipe endtag="required">
 <preserve where />

t2/open-source/projects/quad-pres/index.html.wml

 #include '../template.wml'
-<subject "Quad-Pres" />
+<latemp_subject "Quad-Pres" />
 
 <p>
 <a href="http://quad-pres.berlios.de/">Quad-Pres</a> is a software for writing

t2/open-source/reviews/gtk-2.4-file-chooser/old-review.html.wml

 #include '../template.wml'
 
-<subject "Mini-Review: the Gtk+ 2.4.x File Chooser" />
+<latemp_subject "Mini-Review: the Gtk+ 2.4.x File Chooser" />
 
 <h2>Important Note!</h2>
 

t2/personal.html.wml

 #include '../template.wml'
 
-<subject "About Myself" />
+<latemp_subject "About Myself" />
 
 <img src="$(ROOT)/images/shlomif1.jpg" alt="Picture of Shlomi Fish" 
  style="float : right ; margin-left : 2em ; margin-bottom : 2em" />

t2/philosophy/Index/index.html.wml

 #include '../template.wml'
 
-<subject "Index to Shlomi Fish' Essays" />
+<latemp_subject "Index to Shlomi Fish' Essays" />
 
 <:{
 use XML::LibXSLT;

t2/philosophy/foss-other-beasts/index.html.wml

 #include '../template.wml'
 
-<subject "Open Source, Free Software and Other Beasts" />
+<latemp_subject "Open Source, Free Software and Other Beasts" />
 
 <p>
 What is Open Source? What is Free Software? Why is it important? Read the

t2/philosophy/ideas/index.html.wml

 * Add cups/glasses with identifying marks.
 -->
 
-<subject "Shlomi Fish' Random Ideas" />
+<latemp_subject "Shlomi Fish' Random Ideas" />
 
 <h2>Introduction</h2>
 

t2/philosophy/index.html.wml

 #include '../template.wml'
 
-<subject "Shlomi Fish' Philosophical Writings" />
+<latemp_subject "Shlomi Fish' Philosophical Writings" />
 
 <h2><a href="./solving/">Solving</a></h2>
 

t2/philosophy/obj-oss/index.html.wml

 #include '../template.wml'
-<subject "Objectivism and Open Source" />
+<latemp_subject "Objectivism and Open Source" />
 
 <p>
 Here you can find an essay I wrote titled "Objectivism and Open Source"

t2/philosophy/perl-newcomers/index.html.wml

 #include '../template.wml'
 
-<subject "\"Usability\" of the Perl Online World for Newcomers" />
+<latemp_subject "\"Usability\" of the Perl Online World for Newcomers" />
 
 <p>
 How usable is the <a href="http://www.perl.org/">Perl</a> Online World and

t2/philosophy/the-eternal-jew/index.html.wml

 #include '../template.wml'
 
-<subject "The Eternal Jew" />
+<latemp_subject "The Eternal Jew" />
 
 <ul>
 <li>

t2/shlomif.il.eu.org-questions.html.wml

 #include '../template.wml'
 
-<subject "About the Location Change" />
+<latemp_subject "About the Location Change" />
 
 <p>
 Well <a href="http://t2.technion.ac.il/">t2.technion.ac.il</a>

t2/site-map/index.html.wml

 #include '../template.wml'
 
-<subject "Site Map" />
+<latemp_subject "Site Map" />
 
 <div class="sitemap">
 <:{

t2/site-source/index.html.wml

 #include '../template.wml'
-<subject "This Site's Source Code" />
+<latemp_subject "This Site's Source Code" />
 
 <p>
 This site source code is maintained inside <a href="http://stalker.iguide.co.il:8080/svn/shlomif-homepage/">a Subversion repository</a>. To check out the

t2/work/academic/Thermo/Material-Summary/index.html.wml

 #include '../template.wml'
 
-<subject "Material Summary for &quot;Introduction to Thermodynamics and Statistical Physics&quot;" />
+<latemp_subject "Material Summary for &quot;Introduction to Thermodynamics and Statistical Physics&quot;" />
 
 <p>
 This is a <a href="Thermo-Material-Summary.tar.gz">summary I prepared</a>

t2/work/index.html.wml

 #include '../template.wml'
 
-<subject "Work-Related Pages" />
+<latemp_subject "Work-Related Pages" />
 
 <p>
 These are pages related to my work and income. Nothing too much here.

t2/work/private-lessons/index.html.wml

 #include '../template.wml'
 
-<subject "I'm Giving Private Lessons" />
+<latemp_subject "I'm Giving Private Lessons" />
 
 <p>
 I'm giving private lessons in either High School topics (Mathematics,

t2/wysiwyt.html.wml

 #include '../template.wml'
 
-<subject "IRPWUG Announces Project &quot;What you see is what you think&quot;" />
+<latemp_subject "IRPWUG Announces Project &quot;What you see is what you think&quot;" />
 
 <p>
 <b>IRPWUG</b>, short for "International Really Pissed-off Win95 Users' Group"

vipe/abstraction/index.html.wml

 #include '../template.wml'
-<subject "Cross-Platform Abstraction Libraries" />
+<latemp_subject "Cross-Platform Abstraction Libraries" />
 
 <p>
 Programming an application that can run both on UNIX and on Windows 32-bit

vipe/humour/fortunes/index.html.wml

 #include '../template.wml'
-<subject "Fortune Cookie Files" />
+<latemp_subject "Fortune Cookie Files" />
 
 <p>
 These are some fortune cookie files I created that can be used with the UNIX

vipe/index.html.wml

 #include '../template.wml'
-<subject "Part of Shlomi Fish' Homepage" />
+<latemp_subject "Part of Shlomi Fish' Homepage" />
 
 <p>
 <a href="./lecture/">Lectures given to the Haifux Linux Club</a><br />

vipe/lecture/Autotools/index.html.wml

 #include '../template.wml'
 
-<subject "Lecture about the GNU Autotools" />
+<latemp_subject "Lecture about the GNU Autotools" />
 
 <p>
 GNU <a href="http://www.gnu.org/software/autoconf/">Autoconf</a>,

vipe/lecture/CatB/index.html.wml

 #include '../template.wml'
 
-<subject "The Cathedral and the Bazaar Series - Overview Lecture" />
+<latemp_subject "The Cathedral and the Bazaar Series - Overview Lecture" />
 
 <p>
 <a href="http://catb.org/~esr/writings/cathedral-bazaar/">The Cathedral and the

vipe/lecture/Freecell-Solver/index.html.wml

 #include '../template.wml'
 
-<subject "Freecell Solver - Evolution of a C Program" />
+<latemp_subject "Freecell Solver - Evolution of a C Program" />
 
 <h2><a href="slides/">The Slides</a></h2>
 

vipe/lecture/Gimp/index.html.wml

 #include '../template.wml'
 
-<subject "Lecture: Do it with the GIMP" />
+<latemp_subject "Lecture: Do it with the GIMP" />
 
 <p>
 <a href="http://www.gimp.org/">The GIMP</a> is a sophisticated image

vipe/lecture/Perl/Newbies/index.html.wml

 #include '../template.wml'
-<subject "Perl for Perl Newbies - Lecture Series" />
+<latemp_subject "Perl for Perl Newbies - Lecture Series" />
 
 <p>
 <a href="http://www.perl.org/">Perl</a> is a useful language for working on

vipe/lecture/WebMetaLecture/index.html.wml

 #include '../template.wml'
 
-<subject "WebMetaLecture - a lecture about WebMetaLanguage" />
+<latemp_subject "WebMetaLecture - a lecture about WebMetaLanguage" />
 
 <p>
 <a href="http://thewml.org/">WebMetaLanguage</a> is a versatile and 

vipe/lecture/index.html.wml

 #include '../template.wml'
 
-<subject "Lectures given by Shlomi Fish" />
+<latemp_subject "Lectures given by Shlomi Fish" />
 
 <h2><a href="./Perl/Newbies/">Perl for Perl Newbies</a></h2>
 

vipe/lecture/lc/index.html.wml

 #include '../template.wml'
 
-<subject "Lecture about Scheme and Lambda Calculus" />
+<latemp_subject "Lecture about Scheme and Lambda Calculus" />
 
 <p>
 <a href="$(ROOT)/lecture/Lambda-Calculus/">These slides</a> introduce the

vipe/prog-evolution/index.html.wml

 #include '../template.wml'
-<subject "My Evolution as a Programmer" />
+<latemp_subject "My Evolution as a Programmer" />
 
 <p>
 This is an auto-biography of myself as a software engineer with many interesting

vipe/rwlock/index.html.wml

 #include '../template.wml'
-<subject "A First-Come First-Served Readers/Writers Lock" />
+<latemp_subject "A First-Come First-Served Readers/Writers Lock" />
 
 <h2><a href="./linux-kernel/">New! FCFS flock for the Linux Kernel</a></h2>
 

vipe/rwlock/linux-kernel/index.html.wml

 #include '../template.wml'
 
-<subject "Linux Kernel FCFS fcntl/flock Locks" />
+<latemp_subject "Linux Kernel FCFS fcntl/flock Locks" />
 
 <h2><a href="linux-fcfs-rwlock.patch">Download the Patch</a></h2>
 

vipe/software-tools/index.html.wml

 #include '../template.wml'
-<subject "Software Construction and Management Tools" />
+<latemp_subject "Software Construction and Management Tools" />
 <h2>Software Building</h2>
 
 <p>