shlomi-fish-homepage / lib / latemp / themes / / template.wml

#include "utils.wml"

<latemp_init_h_w_navmenu />

# Utility Functions.
<define-tag software_patents>1</define-tag>

<define-tag printable_style>
<style type="text/css"> { width : 100% ; border : none ; } td { vertical-align : top }

<latemp_html_header standard="xhtml1.1" />
<latemp_html_head_tag />
<define-tag start_table>
<table summary="Layout Table: The first cell contains a navigation bar, the second the main page" border="0" width="99%">
<td colspan="2" class="leading_path">
<latemp_get_breadcrumbs_trail />
<td valign="top" class="navbar" style="width:20%">

<if "<software_patents />" 
    "<div class="center"><a href="" 
     title="Stop Software Patents!"><img 
     alt="Stop Software Patents" class="highlight" 
     style="border:0;margin-bottom:0.5em;" /></a></div>"
    my $nav_buttons_html = "";
    foreach my $button 
                'dir' => "prev", 
                'button' => "left", 
                'title' => "Previous Page",
                'dir' => "up", 
                'button' => "up", 
                'title' => "Up in the Site",
                'dir' => "next", 
                'button' => "right", 
                'title' => "Next Page",
        my $dir = $button->{dir};
        my $key = substr($dir, 0, 1);
        my $key_uc = uc($key);
        $nav_buttons_html .= "<a href=\"" . CGI::escapeHTML($nav_links->{$button->{dir}}) . 
            "\" title=\"$button->{title} (Alt+$key_uc)\" accesskey=\"$key\"><img src=\"$(ROOT)/images/arrow-$button->{button}.png\" alt=\"$button->{title}\" style=\"border:0\" /></a>\n";
   print "<div class=\"center\">\n$nav_buttons_html\n</div>";
<latemp_get_nav_menu_html />
<a href="<rellink host="t2" url="site-map/" />"><b>Site Map</b></a>

<latemp_affiliations_buttons_text />

<td valign="top" class="main">

# </define-tag>
<if "<mynot "$(PRINTABLE)" />" "<start_table />" "" />


<define-tag end_table>
<hr />

<define-tag hosted:at:tech>
<div class="rightalign">
<a href=""><img src="images/actcom-50-2.gif" 
   alt="Hosted at Actcom" class="highlight" style="border : 0" 
   title="Hosted at Actcom" /></a>

<define-tag backtomyhp>
<a href="<rellink url="" host="t2" />"><img src="$(ROOT)/images/bk2hp.png" class="highlight" style="border : 0" alt="Back to my Homepage" /></a>
Written, designed and maintained by Shlomi Fish, <a href=""></a>

;;; If it is the t2 index than display the hosted:at:tech macro
;;; Else - display the back to my homepage image
<if <ifeq "$(LATEMP_FILENAME)" "index.html" 
        <ifeq "$(LATEMP_SERVER)" "t2" "t2" "" /> "" /> 
    <hosted:at:tech />
    <backtomyhp />

<if <mynot "$(PRINTABLE)" /> "<end_table />" "" />


#   per default we are in body
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.