[MKDoc-commit] Added files from Sam which was left out of last
commit by mistake.
chris at mkdoc.demon.co.uk
chris at mkdoc.demon.co.uk
Mon Jul 18 16:14:18 BST 2005
Log Message:
-----------
Added files from Sam which was left out of last commit by mistake.
Tags:
----
mkdoc-1-6
Added Files:
-----------
mkd/templates/fragments/move_control:
en.html
-------------- next part --------------
--- /dev/null
+++ templates/fragments/move_control/en.html
@@ -0,0 +1,58 @@
+<!--?
+
+This template provides the move button and associated select control
+for components in the document editing interface.
+
+?-->
+
+<p
+ class="up"
+ petal:define="name_button string:${self/block_name}_move_button;
+ name_target string:${self/block_name}_move_target;
+ targets self/move_targets"
+ petal:omit-tag="false: targets"
+ petal:condition="true: targets"
+>
+
+ <input
+ type="submit"
+ name="link_up"
+ id="link_up"
+ value="Move"
+ xml:lang="en"
+ lang="en"
+ dir="ltr"
+ title="Move this component."
+ petal:attributes="name name_button; id name_button"
+ />
+
+ component
+
+ <select
+ name="link_up"
+ id="link_up"
+ value="Move"
+ xml:lang="en"
+ lang="en"
+ dir="ltr"
+ title="Move this component to..."
+ petal:attributes="name name_target; id name_target">
+ <div
+ petal:repeat="target targets"
+ petal:omit-tag=""
+ >
+ <option
+ selected="selected"
+ petal:attributes="value target/value"
+ petal:content="target/label"
+ petal:condition="true: target/is_selected"
+ >up</option>
+ <option
+ petal:attributes="value target/value"
+ petal:content="target/label"
+ petal:condition="false: target/is_selected"
+ >up</option>
+ </div>
+ </select>
+
+</p>
More information about the MKDoc-commit
mailing list