[MKDoc-commit] [1.6] split document audience properties into
separate template
bruno at mkdoc.demon.co.uk
bruno at mkdoc.demon.co.uk
Wed Feb 2 16:52:19 GMT 2005
Log Message:
-----------
[1.6] split document audience properties into separate template
Tags:
----
mkdoc-1-6
Modified Files:
--------------
mkd/templates/admin/properties:
en.html
Added Files:
-----------
mkd/templates/admin/properties/audiences:
en.html
-------------- next part --------------
Index: en.html
===================================================================
RCS file: /var/spool/cvs/mkd/templates/admin/properties/Attic/en.html,v
retrieving revision 1.7.2.23
retrieving revision 1.7.2.24
diff -Ltemplates/admin/properties/en.html -Ltemplates/admin/properties/en.html -u -r1.7.2.23 -r1.7.2.24
--- templates/admin/properties/en.html
+++ templates/admin/properties/en.html
@@ -271,68 +271,9 @@
</p>
</fieldset>
-
- <fieldset
- class="audience"
- >
- <legend
- lang="en"
- xml:lang="en"
- dir="ltr"
- align="left"
- petal:attributes="align align"
- >Audience Metadata</legend>
-
- <p
- lang="en"
- xml:lang="en"
- dir="ltr"
- align="left"
- petal:attributes="align align"
- >
- The audience metadata in this section of the form is optional.
- </p>
-
- <p
- lang="en"
- xml:lang="en"
- dir="ltr"
- align="left"
- petal:attributes="align align"
- >
- <em
- class="help"
- >
- Select all the audiences that will be interested in this document.
- </em>
- <span
- class="input-checkbox"
- petal:repeat="audience self/audiences"
- >
- <br />
- <input
- type="checkbox"
- name="audience"
- id="audience-cats"
- value="12"
- class="input-checkbox"
- title="Add $audience/label to this documents audience."
- petal:attributes="id string:audience-$audience/id;
- value audience/id;
- checked audience/checked;"
- />
- <label
- for="audience-cats"
- lang="en"
- xml:lang="en"
- dir="ltr"
- petal:attributes="for string:audience-$audience/id"
- petal:inner="audience/label"
- >Cats</label>
- </span>
- </p>
-
- </fieldset>
+
+ <!--? The audiences are in a seperate file ?-->
+ <?include file="/admin/properties/audiences/"?>
<fieldset
class="optional-metadata"
--- /dev/null
+++ templates/admin/properties/audiences/en.html
@@ -0,0 +1,66 @@
+<!--?
+
+This contains the audiences section of the document properties form.
+
+?-->
+ <fieldset
+ class="audience"
+ >
+ <legend
+ lang="en"
+ xml:lang="en"
+ dir="ltr"
+ align="left"
+ petal:attributes="align align"
+ >Audience Metadata</legend>
+
+ <p
+ lang="en"
+ xml:lang="en"
+ dir="ltr"
+ align="left"
+ petal:attributes="align align"
+ >
+ The audience metadata in this section of the form is optional.
+ </p>
+
+ <p
+ lang="en"
+ xml:lang="en"
+ dir="ltr"
+ align="left"
+ petal:attributes="align align"
+ >
+ <em
+ class="help"
+ >
+ Select all the audiences that will be interested in this document.
+ </em>
+ <span
+ class="input-checkbox"
+ petal:repeat="audience self/audiences"
+ >
+ <br />
+ <input
+ type="checkbox"
+ name="audience"
+ id="audience-cats"
+ value="12"
+ class="input-checkbox"
+ title="Add $audience/label to this documents audience."
+ petal:attributes="id string:audience-$audience/id;
+ value audience/id;
+ checked audience/checked;"
+ />
+ <label
+ for="audience-cats"
+ lang="en"
+ xml:lang="en"
+ dir="ltr"
+ petal:attributes="for string:audience-$audience/id"
+ petal:inner="audience/short_label"
+ >Cats</label>
+ </span>
+ </p>
+
+ </fieldset>
More information about the MKDoc-commit
mailing list