aboutsummaryrefslogtreecommitdiff
path: root/t/test-site
diff options
context:
space:
mode:
authordakkar <dakkar@luxion>2008-03-01 09:37:45 +0000
committerdakkar <dakkar@luxion>2008-03-01 09:37:45 +0000
commitd28bac7032a0d95fffbba01ad7eaa6a85fd7be16 (patch)
tree7187deed6d9143a8fc0168eaed3edc57ebe60917 /t/test-site
parentrefactoring: cleaner (diff)
downloadWebCoso-d28bac7032a0d95fffbba01ad7eaa6a85fd7be16.tar.gz
WebCoso-d28bac7032a0d95fffbba01ad7eaa6a85fd7be16.tar.bz2
WebCoso-d28bac7032a0d95fffbba01ad7eaa6a85fd7be16.zip
aggiunto supporto date (data creazione deve essere scritta nel documento)
git-svn-id: svn://luxion/repos/WebCoso/trunk@330 fcb26f47-9200-0410-b104-b98ab5b095f3
Diffstat (limited to 't/test-site')
-rw-r--r--t/test-site/src/common/du2html.xsl8
-rw-r--r--t/test-site/src/document.en.rest.txt2
2 files changed, 10 insertions, 0 deletions
diff --git a/t/test-site/src/common/du2html.xsl b/t/test-site/src/common/du2html.xsl
index 291fbbf..88c70b0 100644
--- a/t/test-site/src/common/du2html.xsl
+++ b/t/test-site/src/common/du2html.xsl
@@ -52,10 +52,18 @@
<div>
<x:apply-templates select="wc:tagged()"/>
</div>
+ <div>
+ <x:apply-templates select="wc:dates-for($language,$filename,'./')"/>
+ </div>
</body>
</html>
</x:template>
+ <x:template match="/wc:dates">
+ Creato: <x:value-of select="wc:creation-date"/>
+ Ultima modifica: <x:value-of select="wc:last-change"/>
+ </x:template>
+
<x:template match="/wc:tags">
<dl>
<x:apply-templates/>
diff --git a/t/test-site/src/document.en.rest.txt b/t/test-site/src/document.en.rest.txt
index b7449d0..d5862b4 100644
--- a/t/test-site/src/document.en.rest.txt
+++ b/t/test-site/src/document.en.rest.txt
@@ -1,6 +1,8 @@
===========
Main page
===========
+:CreationDate: 2008-03-01 10:04:00
+
* `<foo/>`_
* `bar! <bar/>`_