summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-11-26 02:51:01 +0000
committerLennart Poettering <lennart@poettering.net>2005-11-26 02:51:01 +0000
commita3c6c405a297ddc933282806adbdf345b3b8e646 (patch)
treefd2a925fe67be0354fdceea4c6cc567938d6d726
parent3c058fbf131d664506af52209dd8eee678dfcade (diff)
undo some stupid PHP changes
fixup XSL for namespaces git-svn-id: file:///home/lennart/svn/public/sse/trunk@67 5fbabb74-0606-0410-a5e4-b5cc6a42724e
-rw-r--r--www/index.php4
-rw-r--r--www/style.xsl2
2 files changed, 3 insertions, 3 deletions
diff --git a/www/index.php b/www/index.php
index e4ee046..b62c80e 100644
--- a/www/index.php
+++ b/www/index.php
@@ -209,7 +209,7 @@ if ($max_page > 1) {
($num != $num_default ? '&amp;num='.$num : '').
'&amp;start=';
- echo('<div class="linkbox"><ul class="links">'."\n".
+ echo('<ul class="links">'."\n".
($start ? '<li><a id="browse_first" href="'.$l.'0">first</a>'."</li>\n" : '').
($start ? '<li><a id="browse_previous" href="'.$l.max(0, $start-$num).'">previous</a>'."</li>\n" : ''));
@@ -220,7 +220,7 @@ if ($max_page > 1) {
echo(($start < $max_start ? '<li><a id="browse_next" href="'.$l.min($max_start, $start+$num).'">next</a>'."</li>\n" : '').
($start < $max_start ? '<li><a id="browse_last" href="'.$l.$max_start.'">last</a>'."</li>\n" : '').
- "</ul></div>\n");
+ "</ul>\n");
}
diff --git a/www/style.xsl b/www/style.xsl
index 32798be..dd23d0a 100644
--- a/www/style.xsl
+++ b/www/style.xsl
@@ -4,7 +4,7 @@
<xsl:output method="xml" version="1.0" encoding="iso-8859-15" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" indent="yes"/>
<xsl:template match="/">
- <html>
+ <html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" type="text/css" href="style.css"/>
</head>