Commit Graph

17 Commits (ec5aff0a0b8ea754a13ed5cbb58b67d40baad557)

Author SHA1 Message Date
Dries Buytaert 1857845586 - Some visual improvements. More suggestions welcome. 2003-03-15 20:01:58 +00:00
Dries Buytaert f89d341d11 - Another attempt to get the font size right. Al, Ax: better now? 2003-03-13 20:12:04 +00:00
Dries Buytaert 4c7bd41a74 - Made the xtemplate theme support the td.dark and tr.light tags emitted
by the table rendering functions.

- Made the font-size in the sidebar a bit smaller to avoid excessive
  wrapping.  Requested by Al.
2003-03-12 20:31:02 +00:00
Dries Buytaert ffc893d55a - Changed 'node($node, $main)' to 'node($node, $main = 0)': cures a warning. 2003-03-06 19:38:22 +00:00
Dries Buytaert 704dd81b32 - Fix by Michael; see mailing list archives. Better now? 2003-03-03 22:13:59 +00:00
Dries Buytaert 9d0c8efc42 - More improvements. 2003-02-27 23:47:26 +00:00
Dries Buytaert c09ab23b2e - Some bugfixes:
+ Made the sidebar stick to the right.
   + Corrected the size of the header-tags: they are in proportion now.
2003-02-26 21:50:38 +00:00
Dries Buytaert a543c16166 - Small CSS improvement. 2003-02-26 07:44:48 +00:00
Dries Buytaert 53deeb188a - Small improvement to header width. Suggested by Ax. 2003-02-20 22:29:01 +00:00
Dries Buytaert 57ebd696c7 - Added missing footer logic. Patch by Ax. 2003-02-19 22:30:12 +00:00
Dries Buytaert 52314ddc32 - Theme options patch. See mailing list. 2003-02-17 22:33:31 +00:00
Dries Buytaert d038729797 - Clean URLs. 2003-02-14 19:52:45 +00:00
Dries Buytaert 9281d0cdd7 - Applied Alastair's date patch.
- Removed all instances of '$user->nodes'.

- Committed Moshe's taxonomy patch - minus the node_compact_list() bit.  It needs a bit more thought/work.  This patch changes the links of taxonomy pages/feeds so update your custom code and themes accordingly!

Themes should now use "taxonomy_link("taxonomy terms", $node)" to get an array of taxonomy term links.  The old construct is deprecated and should be changed.

// old theme blob:
if (function_exists("taxonomy_node_get_terms")) {
  foreach (taxonomy_node_get_terms($node->nid) as $term) {
    $terms[] = l($term->name, NULL, array(), "or=$term->tid");
  }
}

// new theme blob:
if (module_exist("taxonomy")) {
  $terms = taxonomy_link("taxonomy terms", $node);
}

// old URL:
http://foo.com/index.php?or=1,2

// new URL:
http://foo.com/?q=taxonomy/page/or/1,2
2003-02-09 17:39:40 +00:00
Dries Buytaert c97e7fe180 - Small improvements to help people getting started with the xtemplate
theme.
2003-02-09 08:10:07 +00:00
Dries Buytaert cfd31c93f1 Patch by Ax:
- Bad usage of css ID's: they may be used for a single element only,
but were used as #node, #block, which can occur multiple times in a
single page.

- Moved HTML from theme to template - thats what templates are all
about!

- Added support for head() hook

- Added support for diffentiating between boxes and blocks.

- Typo: secundary -> secondary
2003-02-01 19:54:19 +00:00
Dries Buytaert dc3940cc3d Patch by Ax:
- Removed the XML prolog from xtemplate.xtmpl because some browsers have difficulties with it and it's not required. see http://webstandards.org/learn/reference/prolog_problems.html.

  - Fixed the term link.
2003-01-21 05:45:52 +00:00
Dries Buytaert 8b6d92fc69 - Added a template driven theme. 2003-01-20 21:00:31 +00:00