Anonymous avatar Anonymous committed f0676ca

Re-organized the site template and the theme template some more, in order
to make the theme template re-usable.

Comments (0)

Files changed (2)

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

 #include "utils.wml"
 
+<define-tag latemp_theme_breadcrumbs_trail_html>
+<tr>
+<td colspan="2" class="leading_path">
+<latemp_get_breadcrumbs_trail_unconditionally />
+</td>
+</tr>
+</define-tag>
+
 <latemp_init_h_w_navmenu />
 
 # Utility Functions.
-<define-tag software_patents>1</define-tag>
 
 <define-tag printable_style>
 <style type="text/css">
 <body>
 <define-tag start_table>
 <table summary="Layout Table: The first cell contains a navigation bar, the second the main page" border="0" width="99%">
-<tr>
-<td colspan="2" class="leading_path">
 <latemp_get_breadcrumbs_trail />
-</td>
-</tr>
 <tr>
 <td valign="top" class="navbar" style="width:20%">
-
-<if "<software_patents />" 
-    "<div class="center"><a href="http://swpat.ffii.org/" 
-     title="Stop Software Patents!"><img 
-     src="$(ROOT)/images/noepatents_liberty.png" 
-     alt="Stop Software Patents" class="highlight" 
-     style="border:0;margin-bottom:0.5em;" /></a></div>"
-    ""
-    />
+<latemp_top_left_corner_logo_text />
 <latemp_get_html_body_nav_links with_accesskey="1" />
 <latemp_get_nav_menu_html />
 <p>
+<define-tag software_patents>1</define-tag>
 <set-var latemp_with_favicon="1" />
+<set-var latemp_with_breadcrumbs_trail="1" />
 #include "latemp/latemp-main.wml"
 
+<latemp_top_left_corner_logo>
+<if "<software_patents />" 
+    "<div class="center"><a href="http://swpat.ffii.org/" 
+     title="Stop Software Patents!"><img 
+     src="$(ROOT)/images/noepatents_liberty.png" 
+     alt="Stop Software Patents" class="highlight" 
+     style="border:0;margin-bottom:0.5em;" /></a></div>"
+    ""
+    />
+</latemp_top_left_corner_logo>
+
 <latemp_lang "en-US" />
 <latemp_encoding "utf-8" />
 <latemp_author "Shlomi Fish" />
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 ProjectModifiedEvent.java.
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.