]> git.mjollnir.org Git - moodle.git/commitdiff
Just working out the preset file format
authormoodler <moodler>
Fri, 24 Mar 2006 02:21:48 +0000 (02:21 +0000)
committermoodler <moodler>
Fri, 24 Mar 2006 02:21:48 +0000 (02:21 +0000)
mod/data/preset/photogallery/addtemplate.html [new file with mode: 0644]
mod/data/preset/photogallery/listtemplate.html [new file with mode: 0644]
mod/data/preset/photogallery/listtemplatefooter.html [new file with mode: 0644]
mod/data/preset/photogallery/listtemplateheader.html [new file with mode: 0644]
mod/data/preset/photogallery/preset.xml [new file with mode: 0644]
mod/data/preset/photogallery/rsstemplate.html [new file with mode: 0644]
mod/data/preset/photogallery/singletemplate.html [new file with mode: 0644]

diff --git a/mod/data/preset/photogallery/addtemplate.html b/mod/data/preset/photogallery/addtemplate.html
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/mod/data/preset/photogallery/listtemplate.html b/mod/data/preset/photogallery/listtemplate.html
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/mod/data/preset/photogallery/listtemplatefooter.html b/mod/data/preset/photogallery/listtemplatefooter.html
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/mod/data/preset/photogallery/listtemplateheader.html b/mod/data/preset/photogallery/listtemplateheader.html
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/mod/data/preset/photogallery/preset.xml b/mod/data/preset/photogallery/preset.xml
new file mode 100644 (file)
index 0000000..4203816
--- /dev/null
@@ -0,0 +1,29 @@
+<?xml version="1.0"?>
+
+<settings>
+    <type>text</type>
+    <name>Name</name>
+    <description>The name of this photo</description>
+</settings>
+
+<field>
+    <type>text</type>
+    <name>Name</name>
+    <description>The name of this photo</description>
+</field>
+
+<field>
+    <type>textarea</type>
+    <name>Description</name>
+    <description>Information about your photo</description>
+</field>
+
+<field>
+    <type>picture</type>
+    <name>Picture</name>
+    <description>Your uploaded image</description>
+    <param1>500</param1>
+    <param2>500</param2>
+    <param3>100</param3>
+    <param4>100</param4>
+</field>
diff --git a/mod/data/preset/photogallery/rsstemplate.html b/mod/data/preset/photogallery/rsstemplate.html
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/mod/data/preset/photogallery/singletemplate.html b/mod/data/preset/photogallery/singletemplate.html
new file mode 100644 (file)
index 0000000..e69de29