[MKDoc-commit] Removed non-working price template

chris at mkdoc.demon.co.uk chris at mkdoc.demon.co.uk
Thu Apr 28 16:09:36 BST 2005


Log Message:
-----------
Removed non-working price template

Tags:
----
mkdoc-1-6

Removed Files:
-------------
    mkd/templates/editor/price:
        en.html

-------------- next part --------------
--- templates/editor/price/en.html
+++ /dev/null
@@ -1,279 +0,0 @@
-<fieldset
-  class="price-component"
-  xmlns="http://www.w3.org/1999/xhtml"
-  xmlns:petal="http://purl.org/petal/1.0/"
-  petal:define="name_ref_id        string:${self/block_name}_ref_id;
-                name_description  string:${self/block_name}_description;
-                name_amount       string:${self/block_name}_amount;
-                name_move_up      string:${self/block_name}_up;
-                name_move_down    string:${self/block_name}_down;
-                name_delete       string:${self/block_name}_delete;
-                align             self/align;
-                align_opposite    self/align_opposite;
-                dir               self/direction"
-  style="color: #000; background-color: #FFD"
->
-
-  <legend
-    xml:lang="en"
-    lang="en"
-    dir="ltr"
-    petal:attributes="align align"
-  >Price component</legend>
-
-  <table
-    cellpadding="2"
-    cellspacing="0"
-    border="0"
-    class="adminform"
-    dir="ltr"
-    summary="This table contains form elements."
-    petal:attributes="dir dir"
-  >
-    <tr petal:condition="self/has_errors"
-        petal:repeat="error self/errors" colspan="3" class="error">
-      <td petal:condition="error/is --component/price/ref_id_undef">
-        You must provide a reference ID for this component 
-      </td>
-    </tr>
-    <tr petal:condition="self/has_errors"
-        petal:repeat="error self/errors" colspan="3" class="error">
-      <td petal:condition="error/is --component/price/amount_undef">
-        The amount you entered is incorrect. Please enter a decimal
-        amount with a precision of two digits, e.g. 123.25
-      </td>
-    </tr>
-    <tr petal:condition="self/has_errors"
-        petal:repeat="error self/errors" colspan="3" class="error">
-      <td petal:condition="error/is --component/price/amount_invalid">
-        The amount you entered is incorrect. Please enter a decimal
-        amount with a precision of two digits, e.g. 123.25
-      </td>
-    </tr>
-    <tr>
-      <td
-        align="left"
-        class="price-component"
-        petal:attributes="align align"
-      >
-        <label
-          for="component_up"
-          xml:lang="en"
-          lang="en"
-          dir="ltr"
-          petal:attributes="for name_move_up"
-        >
-          Move 
-        </label>
-
-        <input
-          type="submit"
-          name="component_up"
-          id="component_up"
-          value="Up"
-          xml:lang="en"
-          lang="en"
-          dir="ltr"
-          title="Move this component up."
-          petal:attributes="name name_move_up; id name_move_up"
-        />
-
-      </td>
-
-      <td
-        class="price-component"
-        align="right"
-        petal:attributes="align align_opposite"
-      >
-
-        <a
-          href="http://testers.mkdoc.com/ideas/2003/price-component/"
-          class="help"
-          xml:lang="en"
-          lang="en"
-          dir="ltr"
-          title="Information and advice on the component component."
-        >Help?</a>
-      </td>
-    </tr>
-
-    <tr>
-      <td
-        align="left"
-        class="price-component"
-        petal:attributes="align align"
-      >
-
-        <label
-          for="ref_id"
-          xml:lang="en"
-          lang="en"
-          
-          dir="ltr"
-          title="The ref_id"
-          petal:attributes="for name_uri"
-        >Reference</label>
-      </td>
-
-      <td
-        align="left"
-        class="price-component"
-        petal:attributes="align align"
-      >
-
-        <input
-          type="text"
-          name="ref_id"
-          id="ref_id"
-          value="REFX6841"
-          size="20"
-          title="Enter the ref_id of this price component"
-          petal:attributes="name name_ref_id; id name_ref_id; value self/ref_id"
-        />
-
-      </td>
-    </tr>
-
-    <tr>
-      <td
-        align="left"
-        class="price-component"
-        petal:attributes="align align"
-      >
-
-        <label
-          for="description"
-          xml:lang="en"
-          lang="en"
-          dir="ltr"
-          title="The description"
-          petal:attributes="for name_uri"
-        >Model</label>
-      </td>
-
-      <td
-        align="left"
-        class="price-component"
-        petal:attributes="align align"
-      >
-
-        <input
-          type="text"
-          name="description"
-          id="description"
-          value="Size: Large, Color: Black"
-          size="40"
-          title="Enter the description of this price component"
-          petal:attributes="name name_description; id name_description; value self/description"
-        />
-
-      </td>
-    </tr>
-
-    <tr>
-      <td
-        align="left"
-        class="price-component"
-        petal:attributes="align align"
-      >
-
-        <label
-          for="amount"
-          xml:lang="en"
-          lang="en"
-          
-          dir="ltr"
-          title="The amount"
-          petal:attributes="for name_uri"
-        >Price</label>
-      </td>
-
-      <td
-        align="left"
-        class="price-component"
-        petal:attributes="align align"
-      >
-
-        <input
-          type="text"
-          name="amount"
-          id="amount"
-          value="99.00"
-          size="7"
-          title="Enter the amount of this price component"
-          petal:attributes="name name_amount; id name_amount; value self/amount"
-        />
-
-      </td>
-    </tr>
-
-    <tr>
-      <td
-        align="left"
-        class="price-component"
-        petal:attributes="align align"
-      >
-
-        <label
-          for="component_down"
-          xml:lang="en"
-          lang="en"
-          dir="ltr"
-          petal:attributes="for name_move_down"
-        >
-          Move
-        </label>
-
-        <input
-          type="submit"
-          name="component_down"
-          id="component_down"
-          value="Down"
-          xml:lang="en"
-          lang="en"
-          dir="ltr"
-          title="Move this component down."
-          petal:attributes="name name_move_down; id name_move_down"
-        />
-
-      </td>
-
-      <td
-        class="price-component"
-        align="right"
-        petal:attributes="align align_opposite"
-      >
-
-        <label
-          for="component_delete"
-          xml:lang="en"
-          lang="en"
-          dir="ltr"
-          petal:attributes="for name_move_down"
-        >
-          This component
-        </label>
-
-        <input
-          type="submit"
-          name="component_delete"
-          id="component_delete"
-          value="Delete"
-          xml:lang="en"
-          lang="en"
-          dir="ltr"
-          title="Delete this component."
-          petal:attributes="name name_delete; id name_delete"
-        />
-
-      </td>
-    </tr>
-    <tr>
-      <td colspan="3">
-        <a href="#" petal:attributes="href string:${self/uri},copy">Copy To...</a> |
-        <a href="#" petal:attributes="href string:${self/uri},move">Move To...</a>
-      </td>
-    </tr>
-  </table>
-</fieldset>
-


More information about the MKDoc-commit mailing list