summaryrefslogtreecommitdiffstats
path: root/quanta/data/templates/text
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/data/templates/text')
-rw-r--r--quanta/data/templates/text/Makefile.am7
-rw-r--r--quanta/data/templates/text/dirinfo6
-rw-r--r--quanta/data/templates/text/html/Makefile.am2
-rw-r--r--quanta/data/templates/text/html/demo.html1
-rw-r--r--quanta/data/templates/text/others/Makefile.am2
-rw-r--r--quanta/data/templates/text/others/demo.txt1
-rw-r--r--quanta/data/templates/text/scripts/Makefile.am2
-rw-r--r--quanta/data/templates/text/scripts/demo.php5
8 files changed, 26 insertions, 0 deletions
diff --git a/quanta/data/templates/text/Makefile.am b/quanta/data/templates/text/Makefile.am
new file mode 100644
index 00000000..62450336
--- /dev/null
+++ b/quanta/data/templates/text/Makefile.am
@@ -0,0 +1,7 @@
+SUBDIRS = scripts others html
+
+templatestextdir = ${quanta_datadir}/templates/text
+templatestext_DATA = dirinfo
+
+install-data-hook:
+ @mv $(DESTDIR)$(templatestextdir)/dirinfo $(DESTDIR)$(templatestextdir)/.dirinfo
diff --git a/quanta/data/templates/text/dirinfo b/quanta/data/templates/text/dirinfo
new file mode 100644
index 00000000..5cc185ca
--- /dev/null
+++ b/quanta/data/templates/text/dirinfo
@@ -0,0 +1,6 @@
+PostText=
+PreText=
+Type=text/all
+UsePrePostText=false
+
+
diff --git a/quanta/data/templates/text/html/Makefile.am b/quanta/data/templates/text/html/Makefile.am
new file mode 100644
index 00000000..c882d6c2
--- /dev/null
+++ b/quanta/data/templates/text/html/Makefile.am
@@ -0,0 +1,2 @@
+templatestexthtmldir = ${quanta_datadir}/templates/text/html
+templatestexthtml_DATA = demo.html
diff --git a/quanta/data/templates/text/html/demo.html b/quanta/data/templates/text/html/demo.html
new file mode 100644
index 00000000..b395e172
--- /dev/null
+++ b/quanta/data/templates/text/html/demo.html
@@ -0,0 +1 @@
+<!-- You can put common HTML files/parts here. -->
diff --git a/quanta/data/templates/text/others/Makefile.am b/quanta/data/templates/text/others/Makefile.am
new file mode 100644
index 00000000..7320b408
--- /dev/null
+++ b/quanta/data/templates/text/others/Makefile.am
@@ -0,0 +1,2 @@
+templatestextothersdir = ${quanta_datadir}/templates/text/others
+templatestextothers_DATA = demo.txt
diff --git a/quanta/data/templates/text/others/demo.txt b/quanta/data/templates/text/others/demo.txt
new file mode 100644
index 00000000..88373d80
--- /dev/null
+++ b/quanta/data/templates/text/others/demo.txt
@@ -0,0 +1 @@
+You can put common texts in this dir. \ No newline at end of file
diff --git a/quanta/data/templates/text/scripts/Makefile.am b/quanta/data/templates/text/scripts/Makefile.am
new file mode 100644
index 00000000..0323c49b
--- /dev/null
+++ b/quanta/data/templates/text/scripts/Makefile.am
@@ -0,0 +1,2 @@
+templatestextscriptsdir = ${quanta_datadir}/templates/text/scripts
+templatestextscripts_DATA = demo.php
diff --git a/quanta/data/templates/text/scripts/demo.php b/quanta/data/templates/text/scripts/demo.php
new file mode 100644
index 00000000..573cfc1c
--- /dev/null
+++ b/quanta/data/templates/text/scripts/demo.php
@@ -0,0 +1,5 @@
+<?
+
+//You can put script parts here and in the subdirs.
+
+?> \ No newline at end of file