[MKDoc-commit] Removed shop/price templates from trunk, moved them to MKDoc::ECommerce.

bruno at mkdoc.demon.co.uk bruno at mkdoc.demon.co.uk
Wed Oct 20 17:33:42 BST 2004


Log Message:
-----------
Removed shop/price templates from trunk, moved them to MKDoc::ECommerce.

Removed Files:
-------------
    mkd/resources/templates/editor/price:
        en.html
    mkd/resources/templates/shop/basket/help:
        en.html
    mkd/resources/templates/shop/basket/mail:
        en.html
    mkd/resources/templates/shop/basket/view:
        en.html
    mkd/resources/templates/shop/details:
        en.html
    mkd/resources/templates/shop/email/accept_customer:
        en.xml
    mkd/resources/templates/shop/email/accept_merchant:
        en.xml
    mkd/resources/templates/shop/email/reject_customer:
        en.xml
    mkd/resources/templates/shop/email/reject_merchant:
        en.xml
    mkd/resources/templates/shop/explain_rules:
        en.html
    mkd/resources/templates/shop/order:
        en.html

-------------- next part --------------
--- resources/templates/shop/basket/view/en.html
+++ /dev/null
@@ -1,82 +0,0 @@
-<html
-  petal:define="modify  plugin: flo::plugin::Shop::Basket::Modify;
-                details plugin: flo::plugin::Shop::Details;
-                sitemap plugin: flo::plugin::Sitemap;
-                search  plugin: flo::plugin::Search"
-  xmlns:petal="http://purl.org/petal/1.0/"
->
-  <head>
-    <title>Shopping Cart</title>
-  </head>
-  <body>
-    <form action="#" method="post" petal:attributes="action modify/uri">
-      <div petal:condition="true: self/session/basket/items">
-        <p>You have the following items in your shopping basket:</p>
-        <table>
-          <tr>
-            <th>Item</th>
-            <th>Unit Price</th>
-            <th>Quantity</th>
-            <th>Price</th>
-            <th colspan="2">Actions</th>
-          </tr>
-          <tr petal:repeat="item self/session/basket/items">
-            <td petal:content="item/description">Item</td>
-            <td petal:content="string: ?? ${item/unit_price}">Unit_Price</td>
-            <td><input type="text" size="2" name="submit-change-qty-${item/reference}" value="${item/quantity}" /></td>
-            <td petal:content="string: ?? ${item/total_formatted}">Price</td>
-            <td><input type="submit" name="submit-change" value="Update" /></td>
-            <td><input type="submit" name="submit-delete-id-${item/reference}" value="Remove" /></td>
-          </tr>
-        </table>
-
-        <div>
-          Country of delivery:
-          <select name="country">
-            <option
-              petal:condition="true: self/countries_selected"
-              petal:attributes="value self/countries_selected"
-              petal:content="self/countries_selected"
-            >United Kingdom</option>
-            <option
-              petal:repeat="country self/countries_unselected"
-              petal:attributes="value country"
-              petal:content="country"
-            >Spain</option>
-          </select>
-          <input type="submit" name="submit-change" value="Update" />
-        </div>
-
-        <div>
-          <a href="#" petal:attributes="href details/uri">Order online</a> |
-          <a href="#"
-             petal:condition="true:self/parent/components --price; true:self/parent/parent"
-             petal:attributes="href self/parent/parent/uri">Continue Shopping</a>
-          <a href="#"
-             petal:condition="true:self/parent/components --price; false:self/parent/parent"
-             petal:attributes="href self/parent/uri">Continue Shopping</a>
-          <a href="#"
-             petal:condition="false:self/parent/components --price"
-             petal:attributes="href self/parent/uri">Continue Shopping</a>
-        </div>
-
-        <?include file="/shop/explain_rules/"?>
-      </div>
-
-      <div petal:condition="false: self/session/basket/items">
-        <p>Empty Shopping Basket!</p>
-
-        <p>Feel free to add items in your shopping basket - you can always remove them at
-           any time before you checkout.</p>
-
-        <p>In order to add something to your shopping basket, you must browse or search
-           for an article on this site. Once you find an article which interests you,
-           press the button <input type="submit" value="Add to basket" />.</p>
-
-        <p>You can use the <a href="#" petal:attributes="href sitemap/uri">sitemap</a>
-           or the <a href="#" petal:attributes="href search/uri">search engine</a>
-           to browse through hundreds of amazing products!</p>
-      </div>
-    </form>
-  </body>
-</html>
--- resources/templates/shop/details/en.html
+++ /dev/null
@@ -1,115 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
-      xmlns:petal="http://purl.org/petal/1.0/">
-  <head>
-    <title>Postal Details</title>
-  </head>
-  <body>
-
-    <div class="error" petal:condition="true:self/has_errors">
-      <p petal:condition="true:self/has_errors">There has been one or more errors validating your form:</p>
-      <ul petal:condition="true:self/has_errors">
-        <?for name="error self/errors"?>
-          <li petal:condition="error/is --ecommerce/address/first_name_empty">
-            The 'First Name' field is empty.
-          </li>
-          <li petal:condition="error/is --ecommerce/address/last_name_empty">
-            The 'Last Name' field is empty.
-          </li>
-          <li petal:condition="error/is --ecommerce/address/email_empty">
-            The 'Email' field is empty.
-          </li>
-          <li petal:condition="error/is --ecommerce/address/email_mismatch">
-            The 'Email' and 'Retype Email' fields contain different values.
-            You must enter the same email twice to avoid typing errors.
-          </li>
-          <li petal:condition="error/is --ecommerce/address/address_empty">
-            The first 'Address' field is empty.
-          </li>
-          <li petal:condition="error/is --ecommerce/address/city_empty">
-            The 'City' field is empty.
-          </li>
-          <li petal:condition="error/is --ecommerce/address/state_empty">
-            The 'County / State / Province' field is empty.
-          </li>
-          <li petal:condition="error/is --ecommerce/address/zip_empty">
-            The 'PostCode / ZIP' field is empty.
-          </li>
-        <?end?>
-      </ul>
-    </div>
-
-    <p>Please fill this form with your postal address details.</p>
-    <form petal:attributes="action self/uri" method="post">
-      <p>Fields in <strong>bold</strong> indicate a required field.</p>
-      <table style="border: solid black 1px; margin: 10px; width: 80%">
-        <tr>
-          <td colspan="2"><em><small>Name of the person to send the parcel to.</small></em></td>
-        </tr>
-        <tr>
-          <td width="40%"><strong>First Name</strong></td>
-          <td><input type="text" name="first_name" petal:attributes="value self/cgi/param --first_name" /></td>
-        </tr>
-        <tr>
-          <td><strong>Last Name</strong></td>
-          <td><input type="text" name="last_name" petal:attributes="value self/cgi/param --last_name" /></td>
-        </tr>
-        <tr>
-          <td>Company</td>
-          <td><input type="text" name="company_name" petal:attributes="value self/cgi/param --company_name" /></td>
-        </tr>
-      </table>
-
-      <table style="border: solid black 1px; margin: 10px; width: 80%">
-        <tr>
-          <td colspan="2">
-            <em><small>Please enter a valid email address - a confirmation email will be sent to you.</small></em>
-          </td>
-        </tr>
-        <tr>
-          <td width="40%"><strong>Email Address</strong></td>
-          <td><input type="text" name="email" petal:attributes="value self/cgi/param --email" /></td>
-        </tr>
-        <tr>
-          <td><strong>Retype email address</strong></td>
-          <td><input type="text" name="email_check" petal:attributes="value self/cgi/param --email_check" /></td>
-        </tr>
-      </table>
-
-      <table style="border: solid black 1px; margin: 10px; width: 80%">
-        <tr>
-          <td colspan="2"><em><small>Please enter the address to deliver the parcel to.</small></em></td>
-        </tr>
-        <tr>
-          <td width="40%"><strong>Address</strong></td>
-          <td><input type="text" name="address1" petal:attributes="value self/cgi/param --address1" /></td>
-        </tr>
-        <tr>
-          <td></td>
-          <td><input type="text" name="address2" petal:attributes="value self/cgi/param --address2" /></td>
-        </tr>
-        <tr>
-          <td><strong>City</strong></td>
-          <td><input type="text" name="city" petal:attributes="value self/cgi/param --city" /></td>
-        </tr>
-        <tr>
-          <td><strong>County / State / Province</strong></td>
-          <td><input type="text" name="state" petal:attributes="value self/cgi/param --state" /></td>
-        </tr>
-        <tr>
-          <td><strong>Postcode / ZIP</strong></td>
-          <td><input type="text" name="zip" petal:attributes="value self/cgi/param --zip" /></td>
-        </tr>
-        <tr>
-          <td><strong>Country</strong></td>
-          <td petal:content="self/session/country">Uganda</td>
-        </tr>
-        <tr>
-          <td>Phone number</td>
-          <td><input type="text" name="phone" petal:attributes="value self/cgi/param --phone" /></td>
-        </tr>
-      </table>
-      <input type="submit" name="submit_ok" value="Next &gt;&gt;" />
-    </form>
-  </body>
-</html>
--- resources/templates/shop/explain_rules/en.html
+++ /dev/null
@@ -1,10 +0,0 @@
-<table petal:condition="true: self/get_rules" xmlns:petal="http://purl.org/petal/1.0/">
-  <tr petal:repeat="line self/get_rules/explain">
-    <td petal:content="line/title">Title</td>
-    <td petal:content="line/description">Desc</td>
-  </tr>
-  <tr>
-    <td><strong>Grand-Total</strong></td>
-    <td><strong petal:content="self/get_rules/deal_price">Deal_Price</strong></td>
-  </tr>
-</table>
--- resources/templates/shop/email/accept_customer/en.xml
+++ /dev/null
@@ -1,52 +0,0 @@
-<Message
-  xmlns="http://www.openhealth.org/xmtp#"
-  xmlns:petal="http://purl.org/petal/1.0/">
-
-  <Content-Type>text/plain; charset=utf-8; format=flowed</Content-Type>
-  <Content-Disposition>inline</Content-Disposition>
-  <Content-Transfer-Encoding>8bit</Content-Transfer-Encoding>
-  <Content-Language>en</Content-Language>
-  <MIME-Version>1.0</MIME-Version>
-
-  <From petal:content="string:${self/admin_user/real_name} &lt;${self/admin_user/email}&gt;">MKDoc &lt;info at example.com&gt;</From>
-  <To petal:content="string:${self/address/first_name} ${self/address/last_name} &lt;${self/address/email}&gt;"
-    >fred.flintstone at rocks.com</To>
-  <Subject petal:content="string:[ACCEPTED] ${self/admin_user/real_name} - Order ${self/id}">Order</Subject>
-  <User-Agent>MKDoc Mailer v1.6</User-Agent>
-  <Organization petal:content="self/root/title">MKDoc</Organization>
-
-  <body xmlns="http://www.w3.org/1999/xhtml">
-
-    <p>
-Dear <span petal:replace="self/address/first_name">Fred</span>,
-    </p>
-
-    <p>
-This is a confirmation email for your order ${self/id}.
-    </p>
-
-    <p>
-Order contents:
-    </p>
-    <p petal:repeat="item self/basket/items" petal:omit-tag="">
-<pre>${item/reference}, ${item/description}, x ${item/total}
-</pre>
-    </p>
-
-    <p>
-To be delivered at the following address:
-    </p>
-
-    <pre petal:content="self/address/as_string" />
-
-    <p>You should receive your goods in three to five business
-days. Should you have any inquiries about your order, simply reply
-to this email or contact us at ${self/admin_user/email}.</p>
-
-    <p>${config:PUBLIC_DOMAIN}</p>
-
-    <pre>-- 
-Best Regards,
-<span petal:replace="self/admin_user/real_name">Example</span> &lt;<span petal:replace="self/admin_user/email">example at example.com</span>&gt;</pre>
-  </body>
-</Message>
--- resources/templates/shop/email/accept_merchant/en.xml
+++ /dev/null
@@ -1,53 +0,0 @@
-<Message
-  xmlns="http://www.openhealth.org/xmtp#"
-  xmlns:petal="http://purl.org/petal/1.0/">
-
-  <Content-Type>text/plain; charset=utf-8; format=flowed</Content-Type>
-  <Content-Disposition>inline</Content-Disposition>
-  <Content-Transfer-Encoding>8bit</Content-Transfer-Encoding>
-  <Content-Language>en</Content-Language>
-  <MIME-Version>1.0</MIME-Version>
-
-  <From petal:content="string:${self/address/first_name} ${self/address/last_name} &lt;${self/address/email}&gt;"
-    >fred.flintstone at rocks.com</To>
-  <To petal:content="string:${self/admin_user/real_name} &lt;${self/admin_user/email}&gt;">MKDoc &lt;info at example.com&gt;</From>
-  <Subject petal:content="string:[ACCEPTED] ${self/admin_user/real_name} - Order ${self/id}">Order</Subject>
-  <User-Agent>MKDoc Mailer v1.6</User-Agent>
-  <Organization petal:content="self/root/title">MKDoc</Organization>
-
-  <body xmlns="http://www.w3.org/1999/xhtml">
-
-    <p>
-Dear <span petal:replace="self/address/first_name">Fred</span>,
-    </p>
-
-    <p>
-This is a confirmation email for your order ${self/id}.
-    </p>
-
-    <p>
-Order contents:
-    </p>
-    <p petal:repeat="item self/basket/items" petal:omit-tag="">
-<pre>${item/reference}, ${item/description}, x ${item/total}
-</pre>
-    </p>
-
-    <p>
-To be delivered at the following address:
-    </p>
-
-<pre petal:content="self/address/as_string" />
-
-    <p>You should receive your goods in three to five business
-days. Should you have any inquiries about your order, simply reply
-to this email or contact us at ${self/admin_user/email}.</p>
-
-    <p>${config:PUBLIC_DOMAIN}</p>
-
-    <pre>-- 
-Best Regards,
-<span petal:replace="self/admin_user/real_name">Example</span> &lt;<span petal:replace="self/admin_user/email">example at example.com</span>&gt;</pre>
-
-  </body>
-</Message>
--- resources/templates/shop/email/reject_customer/en.xml
+++ /dev/null
@@ -1,46 +0,0 @@
-<Message
-  xmlns="http://www.openhealth.org/xmtp#"
-  xmlns:petal="http://purl.org/petal/1.0/">
-
-  <Content-Type>text/plain; charset=utf-8; format=flowed</Content-Type>
-  <Content-Disposition>inline</Content-Disposition>
-  <Content-Transfer-Encoding>8bit</Content-Transfer-Encoding>
-  <Content-Language>en</Content-Language>
-  <MIME-Version>1.0</MIME-Version>
-
-  <From petal:content="string:${self/admin_user/real_name} &lt;${self/admin_user/email}&gt;">MKDoc &lt;info at example.com&gt;</From>
-  <To petal:content="string:${self/address/first_name} ${self/address/last_name} &lt;${self/address/email}&gt;"
-    >fred.flintstone at rocks.com</To>
-  <Subject petal:content="string:[CANCELLED] ${self/admin_user/real_name} - Order ${self/id}">Order</Subject>
-  <User-Agent>MKDoc Mailer v1.6</User-Agent>
-  <Organization petal:content="self/root/title">MKDoc</Organization>
-
-  <body xmlns="http://www.w3.org/1999/xhtml">
-
-    <p>
-Dear <span petal:replace="self/address/first_name">Fred</span>,
-    </p>
-
-    <p>
-It appears that you have cancelled your order ${self/id}.
-    </p>
-
-    <p>
-If you are confused about something or if this is not what
-you intended to do, you can get in touch with us by simply
-replying to this e-mail. We will do our best to help you.
-    </p>
-
-    <p>
-Please come visit us again. We hope that you will find our
-service valuable.
-    </p>
-
-    <p>${config:PUBLIC_DOMAIN}</p>
-
-    <pre>-- 
-Best Regards,
-<span petal:replace="self/admin_user/real_name">Example</span> &lt;<span petal:replace="self/admin_user/email">example at example.com</span>&gt;</pre>
-
-  </body>
-</Message>
--- resources/templates/shop/email/reject_merchant/en.xml
+++ /dev/null
@@ -1,46 +0,0 @@
-<Message
-  xmlns="http://www.openhealth.org/xmtp#"
-  xmlns:petal="http://purl.org/petal/1.0/">
-
-  <Content-Type>text/plain; charset=utf-8; format=flowed</Content-Type>
-  <Content-Disposition>inline</Content-Disposition>
-  <Content-Transfer-Encoding>8bit</Content-Transfer-Encoding>
-  <Content-Language>en</Content-Language>
-  <MIME-Version>1.0</MIME-Version>
-
-  <From petal:content="string:${self/address/first_name} ${self/address/last_name} &lt;${self/address/email}&gt;"
-    >fred.flintstone at rocks.com</To>
-  <To petal:content="string:${self/admin_user/real_name} &lt;${self/admin_user/email}&gt;">MKDoc &lt;info at example.com&gt;</From>
-  <Subject petal:content="string:[CANCELLED] ${self/admin_user/real_name} - Order ${self/id}">Order</Subject>
-  <User-Agent>MKDoc Mailer v1.6</User-Agent>
-  <Organization petal:content="self/root/title">MKDoc</Organization>
-
-  <body xmlns="http://www.w3.org/1999/xhtml">
-
-    <p>
-Dear <span petal:replace="self/address/first_name">Fred</span>,
-    </p>
-
-    <p>
-It appears that you have cancelled your order ${self/id}.
-    </p>
-
-    <p>
-If you are confused about something or if this is not what
-you intended to do, you can get in touch with us by simply
-replying to this e-mail. We will do our best to help you.
-    </p>
-
-    <p>
-Please come visit us again. We hope that you will find our
-service valuable.
-    </p>
-
-    <p>${config:PUBLIC_DOMAIN}</p>
-
-    <pre>-- 
-Best Regards,
-<span petal:replace="self/admin_user/real_name">Example</span> &lt;<span petal:replace="self/admin_user/email">example at example.com</span>&gt;</pre>
-
-  </body>
-</Message>
--- resources/templates/editor/price/en.html
+++ /dev/null
@@ -1,288 +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"
-  ondblclick="window.location='./#component-${self/name_noext}'"
->
-
-  <legend
-    xml:lang="en"
-    lang="en"
-    dir="ltr"
-    petal:attributes="align align"
-  ><a 
-     name="component-${self/name_noext}" 
-     id="component-${self/name_noext}"
-  >Price component</a></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" petal:condition="self/is_saved">Copy To...</a> 
-      <bdo
-        dir="ltr"
-        petal:atributes="dir self/direction"
-        petal:condition="self/is_saved"
-      >|</bdo>
-
-        <a href="#" petal:attributes="href string:${self/uri},move" petal:condition="self/is_saved">Move To...</a>
-      </td>
-    </tr>
-  </table>
-</fieldset>
-
--- resources/templates/shop/basket/help/en.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<html xmlns:petal="http://purl.org/petal/1.0/">
-  <body petal:define="subscribe plugin:flo::plugin::Account::Subscribe">
-
-    <p>
-      <strong>
-        It seems that your browser does not support cookies.
-      </strong>
-    </p>
-
-    <h2>What are cookies?</h2>
-
-    <p>
-      Cookies are unique identifiers which this website sends to your computer
-      to keep track of the items you put in the shopping basket.</p>
-
-    <p>
-      However it seems that you have disabled cookies or that your
-      browser does not support them.
-    </p>
-
-    <h2>What can I do about it?</h2>
-    
-    <p>
-      Enable cookies or use a browser which supports cookies.
-    </p>
-
-    <p>
-       Alternatively, you can
-       <a
-         href="#"
-         petal:attributes="href subscribe/uri"
-       >sign up</a>
-       on this website, which would eliminate the need for a cookie
-       and let you view this site in a personalized way.</p>
-  </body>
-</html>
--- resources/templates/shop/basket/mail/en.html
+++ /dev/null
@@ -1,75 +0,0 @@
-<html
-  petal:define="products   self/basket_products;
-                modify     plugin: flo::plugin::Shop::Basket::Modify;
-                details    plugin: flo::plugin::Shop::Details;
-                sitemap    plugin: flo::plugin::Sitemap;
-                search     plugin: flo::plugin::Search"
-  xmlns:petal="http://purl.org/petal/1.0/"
->
-  <head>
-    <style>
-       table {
-         width: 100%;
-       }
-       th {
-         align: left;
-         background-color: #CCC;
-         color: red;
-       }
-    </style>
-  </head>
-  <body>
-
-    <h2>Place a mail order:</h2>
-    
-    <p>If you don't want to use your credit card you can send us a cheque in
-WHATEVER_CURRENCY. Sorry we cannot accept coins or notes. Simply print
-and fill this form, then send it along with your payment to:</p>
-
-<pre>
-COMPANY_NAME,
-ADDRESS1
-ADDRESS2
-CITY
-COUNTRY
-</pre>
-
-    <h2>Products to send:</h2>
-    <table>
-      <tr>
-        <th>Reference</th>
-        <th>Description</th>
-        <th>Qty</th>
-      </tr>
-      <tr petal:repeat="item self/basket/items">
-        <td petal:content="item/reference">Reference</td>
-        <td petal:content="item/description">Description</td>
-        <td petal:content="item/quantity">1</td>
-      </tr>
-    </table>
-
-    <h2>Price:</h2>
-
-    <h2>Address of delivery:</h2>
-<pre>
-Fields with an asterix (*) are mandatory.
-
-First Name(*)      _______________________________________
-
-Last Name(*)       _______________________________________
-
-Company            _______________________________________
-
-Email Address(*)   _______________________________________
-
-Address(*)         _______________________________________
-
-                   _______________________________________
-
-City(*)            _______________________________________
-
-County(*)          _______________________________________
-</pre>
-
-  </body>
-</html>
--- resources/templates/shop/order/en.html
+++ /dev/null
@@ -1,56 +0,0 @@
-<html xmlns:petal="http://purl.org/petal/1.0/">
-  <body>
-
-    <p><small>URL: <em>${self/order_uri}</em></small></p>
-
-    <h1>Order reference ${self/order/id}</h1>
-
-    <p style="text-align:center; color:red; font-size:x-large">Test Mode. This is not a real transaction.</p>
-
-    <p>Thank you.</p>
-
-    <p>Please bookmark or print this page.  Shall you have any enquiries about
-       your order, please send an email to 
-       <a href="mailto:${self/admin_user/email}?Subject=Order%20${self/order/id}">${self/admin_user/email}</a>.
-    </p>
- 
-    <div petal:condition="true:self/order/is_pending">
-      <p>We will process your order as soon as we receive your payment.</p>
-      <form method="post" petal:attributes="action self/uri">
-        <input type="hidden" name="id" petal:attributes="value self/order/id" />
-        <input type="hidden" name="accept_me" value="1" />
-        <input type="submit" value="Pay Now!" />
-      </form>
-      <form method="post">
-        <input type="hidden" name="id" petal:attributes="value self/order/id" />
-        <input type="hidden" name="reject_me" value="1" />
-        <input type="submit" value="No! Don't pay!" />
-      </form>
-    </div>
-
-    <div petal:condition="true:self/order/is_accepted">
-      <p>Your payment has been accepted.
-         We will be processing your order straight away.
-         You should receive your goods in two to five business days.</p>
-    </div>
-
-    <div petal:condition="true:self/order/is_rejected">
-      <p>Your payment has been cancelled.
-         We will not be processing your order.
-         Please visit us again!</p>
-    </div>
-
-    <h2>Order summary</h2>
-    <dl>
-      <dt>Placed on:</dt>
-      <dd>${self/order/date_placed}</dd>
-      <dt>Amount:</dt>
-      <dd petal:content="self/order/deal_price">Amount</dd>
-    </dl>
-
-    <h2>Order Contents</h2>
-    <div petal:repeat="item self/order/basket/items">
-      ${item/reference}, ${item/description}, x ${item/quantity}
-    </div>
-  </body>
-</html>


More information about the MKDoc-commit mailing list