[MKDoc-commit] deleted form templates since this plugin doesn't work and is now in a

chris at mkdoc.demon.co.uk chris at mkdoc.demon.co.uk
Wed Dec 1 15:03:26 GMT 2004


Log Message:
-----------
deleted form templates since this plugin doesn't work and is now in a 
seperate module

Removed Files:
-------------
    mkd/resources/templates/forum/list:
        en.html
    mkd/resources/templates/forum/mboxes:
        en.html
    mkd/resources/templates/forum/post:
        en.html
    mkd/resources/templates/forum/view:
        en.html

-------------- next part --------------
--- resources/templates/forum/list/en.html
+++ /dev/null
@@ -1,148 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!--?
-
-  MKDoc::Forum - List Messages template 
-
-  The page content is split into 3 sections using divs with the classes
-  header, content and footer.
-
-  $Id: en.html,v 1.5 2004/08/09 14:29:20 jhiver Exp $
-
-?-->
-<html
-  xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en" dir="ltr"
-  xmlns:metal="http://xml.zope.org/namespaces/metal"
-  xmlns:petal="http://purl.org/petal/1.0/"
-  petal:define="children self/top_thread/children;
-                view_p   plugin: flo::plugin::Discussion::View;
-                post_p   plugin: flo::plugin::Discussion::Post"
->
-  <head>
-    <title>MKDoc::Forum - List Messages</title>
-    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-    <link rel="stylesheet" 
-          media="screen" 
-          type="text/css" 
-          title="Screen style sheet"
-          petal:attributes="href string:/.resources/css/auth.css;"
-          href="../../../css/forum.css" />
-    <!--?
-
-      The favicon.ico is referenced with a fully qualified URI because Mozilla
-      won't load it with a relative URI (../../../images/favicon.ico)  
-
-    ?-->
-    <link rel="shortcut icon" 
-          type="image/x-icon" 
-          href="http://mkdoc.com/favicon.ico" 
-          petal:attributes="href string:/.resources/images/favicon.ico" />
-  </head>
-
-  <body>
-
-    <div class="header">
-
-      <img src="../../../images/mkdoc.gif"
-           alt="MKDoc"
-           petal:attributes="src string:/.resources/images/mkdoc.gif" />
-
-    </div>
-
-    <div class="content" id="content">
-
-      <h1>MKDoc::Forum - List Messages</h1>
- 
-      <!-- navigation between multiple pages -->
-      <p metal:define-macro="page_nav" petal:condition="self/has_many_slices">
-        Message index pages:
-        <span petal:repeat="slice self/slices">
-          <a href="#"
-             petal:attributes="href self/uri --page slice/number" 
-             petal:content="slice/number" 
-             petal:condition="false:slice/current"
-          >1</a>
-          <strong petal:condition="true:slice/current"
-                  petal:contents="slice/number"></strong>
-          <bdo 
-            dir="ltr"
-            petal:attributes="dir dir"
-            petal:condition="false:__is_last__" 
-          >|</bdo>
-        </span>
-      </p>
- 
-      <p><a href="#" petal:attributes="href post_p/uri --mbox self/mbox">Post a new message</a></p>
- 
-      <p petal:condition="false:children">There are no messages in this forum.</p>
-<!--?
-      <p 
-        lang="en"
-        xml:lang="en"
-        dir="ltr"
-        align="left"
-        petal:attributes="align align"
-        petal:condition="true:self/can_post"
-      >
-        <a 
-          href="post.html" 
-          hreflang="en"
-          petal:attributes="href string:${object/uri},post; hreflang object/lang"
-        >Post a new message</a>
-      </p>
--->
-      <ul metal:define-macro="thread"
-          petal:condition="true:children">
-        <li petal:repeat="message children">
-          <span petal:condition="true:message/uid">
-            <a
-              href="#"
-              hreflang="en"
-              xml:lang="en"
-              lang="en"
-              dir="ltr"
-              petal:attributes="
-                                href view_p/uri --uid message/uid;
-                                hreflang message/language/code;
-                                xml:lang message/language/code;
-                                lang message/language/code;
-                                dir message/language/dir;
-                                name string:id-${message/uid};
-                                id string:id-${message/uid};
-                               "
-              petal:content="message/subject"
-            >Subject</a>
-            <em
-              petal:content="message/name"
-            >Authors Name</em>
-          </span>
-          <del
-            xml:lang="en"
-            lang="en"
-            dir="ltr"
-            petal:condition="false:message/uid"
-          >(message deleted)</del>
-          <span
-            petal:define="children message/children"
-            petal:omit-tag="">
-            <ul metal:use-macro="#thread">
-              <li>Child</li>
-            </ul>
-          </span>
-        </li>
-      </ul>
-
-    </div>
-
-    <div class="footer">
-
-      <p>
-        <a href="http://www.webarchitects.co.uk/">Webarchitects</a> |
-        <a href="http://mkdoc.com/">MKDoc</a> |
-        <a href="http://webarch.net/">Webarch</a>
-      </p>
-
-    </div>
-
-  </body>
-</html>
--- resources/templates/forum/mboxes/en.html
+++ /dev/null
@@ -1,79 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!--?
-
-  MKDoc::Forum - List All template 
-
-  The page content is split into 3 sections using divs with the classes
-  header, content and footer.
-
-  $Id: en.html,v 1.1 2004/07/14 13:49:23 jhiver Exp $
-
-?-->
-<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en" dir="ltr"
-      xmlns:petal="http://purl.org/petal/1.0/"
-      petal:define="list_p plugin: MKDoc::Forum::Plugin::List">
-  <head>
-    <title>MKDoc::Forum - List All</title>
-    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-    <link rel="stylesheet" 
-          media="screen" 
-          type="text/css" 
-          title="Screen style sheet"
-          petal:attributes="href string:/.resources/css/auth.css;"
-          href="../../../css/forum.css" />
-    <!--?
-
-      The favicon.ico is referenced with a fully qualified URI because Mozilla
-      won't load it with a relative URI (../../../images/favicon.ico)  
-
-    ?-->
-    <link rel="shortcut icon" 
-          type="image/x-icon" 
-          href="http://mkdoc.com/favicon.ico" 
-          petal:attributes="href string:/.resources/images/favicon.ico" />
-  </head>
-
-  <body>
-
-    <div class="header">
-
-      <img src="../../../images/mkdoc.gif"
-           alt="MKDoc"
-           petal:attributes="src string:/.resources/images/mkdoc.gif" />
-
-    </div>
-
-    <div class="content" id="content">
-
-      <h1>MKDoc::Forum - List All</h1>
-
-      <p petal:condition="false: self/list">
-        It seems that no forums have been created yet.
-      </p>
-     
-      <dl petal:condition="true: self/list">
-        <?for name="mbox self/list"?>
-          <dt>
-            <a href="#" 
-               petal:attributes="href list_p/uri --mbox mbox/mbox" 
-               petal:content="mbox/title">Forum_Title</a>
-          </dt>
-          <dd petal:content="structure mbox/xhtml_description">Forum_Desc</dd>
-        <?end?>
-      </dl>
-
-    </div>
-
-    <div class="footer">
-
-      <p>
-        <a href="http://www.webarchitects.co.uk/">Webarchitects</a> |
-        <a href="http://mkdoc.com/">MKDoc</a> |
-        <a href="http://webarch.net/">Webarch</a>
-      </p>
-
-    </div>
-
-  </body>
-</html>
--- resources/templates/forum/post/en.html
+++ /dev/null
@@ -1,126 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!--?
-
-  MKDoc::Forum - Post a message template 
-
-  The page content is split into 3 sections using divs with the classes
-  header, content and footer.
-
-  $Id: en.html,v 1.2 2004/08/09 14:29:20 jhiver Exp $
-
-?-->
-<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en" dir="ltr"
-  xmlns:petal="http://purl.org/petal/1.0/">
-  <head>
-    <title>MKDoc::Forum - Post a message</title>
-    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-    <link rel="stylesheet" 
-          media="screen" 
-          type="text/css" 
-          title="Screen style sheet"
-          petal:attributes="href string:/.resources/css/auth.css;"
-          href="../../../css/forum.css" />
-    <!--?
-
-      The favicon.ico is referenced with a fully qualified URI because Mozilla
-      won't load it with a relative URI (../../../images/favicon.ico)  
-
-    ?-->
-    <link rel="shortcut icon" 
-          type="image/x-icon" 
-          href="http://mkdoc.com/favicon.ico" 
-          petal:attributes="href string:/.resources/images/favicon.ico" />
-  </head>
-
-  <body>
-
-    <div class="header">
-
-      <img src="../../../images/mkdoc.gif"
-           alt="MKDoc"
-           petal:attributes="src string:/.resources/images/mkdoc.gif" />
-
-    </div>
-
-    <div class="content" id="content">
-
-      <form 
-        action="#" 
-        method="post"
-        accept-charset="utf-8"
-        enctype="application/x-www-form-urlencoded"
-        petal:attributes="action self/uri"
-      >
-        <input type="hidden" id="uid" name="uid" value="${self/uid}" />
-        <p>
-          Please complete all the following form fields before submitting 
-          this message. Please use plain text only in the message text area 
-          - HTML will be escaped, hyperlinks will be automatically generated 
-          if the web address starts with
-          http:// and use two carriage returns to separate paragraphs.
-        </p>
- 
-        <div class="error" petal:condition="true: self/has_errors">
-          <ul>
-            <span petal:omit-tag="" petal:repeat="error self/errors">
-              <li petal:condition="error/is --forum/post/subject_empty">
-                Please enter a subject for this message.
-              </li>
-              <li petal:condition="error/is --forum/post/message_empty">
-                You have not typed a message.
-              </li>
-            </span>
-          </ul>
-        </div>
- 
-        <p>
-          <label for="user">From</label>
-          <input type="text"
-                 readonly="readonly"
-                 id="user"
-                 size="40"
-                 value="Example User &lt;anon at example.com&gt;"
-                 petal:attributes="value string:$self/user/full_name &lt;$self/user/email&gt;" /> 
-        </p>
-
-        <p>
-          <label for="subject">Subject</label>
-          <input type="text"
-                 name="subject"
-                 id="subject"
-                 size="60"
-                 petal:attributes="value self/request/param --subject" />
-        </p>
-
-        <p>
-          <label for="message">Message</label>
-          <br />
-          <textarea 
-            rows="20" 
-            cols="80" 
-            name="message" 
-            id="message"
-            petal:content="self/request/param --message"></textarea>
-        </p>
-        <p>
-          <input 
-            type="submit" 
-            value="Post Message"
-          />
-        </p>
-      </form>
-    </div>
-
-    <div class="footer">
-
-      <p>
-        <a href="http://www.webarchitects.co.uk/">Webarchitects</a> |
-        <a href="http://mkdoc.com/">MKDoc</a> |
-        <a href="http://webarch.net/">Webarch</a>
-      </p>
-
-    </div>
-
-  </body>
-</html>
--- resources/templates/forum/view/en.html
+++ /dev/null
@@ -1,179 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!--?
-
-  MKDoc::Forum - List Messages template 
-
-  The page content is split into 3 sections using divs with the classes
-  header, content and footer.
-
-  $Id: en.html,v 1.3 2004/08/12 14:44:45 chris Exp $
-
-?-->
-<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en" dir="ltr"
-      petal:define="children self/message/children;
-                    list_p plugin: flo::plugin::Discussion::List;
-                    view_p plugin: flo::plugin::Discussion::View;
-                    post_p plugin: flo::plugin::Discussion::Post"
->
-  <head>
-    <title
-      petal:content="self/message/subject"
-    >MKDoc::Forum - Read a message</title>
-    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-    <link rel="stylesheet" 
-          media="screen" 
-          type="text/css" 
-          title="Screen style sheet"
-          petal:attributes="href string:/.resources/css/auth.css;"
-          href="../../../css/forum.css" />
-    <!--?
-
-      The favicon.ico is referenced with a fully qualified URI because Mozilla
-      won't load it with a relative URI (../../../images/favicon.ico)  
-
-    ?-->
-    <link rel="shortcut icon" 
-          type="image/x-icon" 
-          href="http://mkdoc.com/favicon.ico" 
-          petal:attributes="href string:/.resources/images/favicon.ico" />
-  </head>
-
-  <body>
-
-    <div class="header">
-
-      <img src="../../../images/mkdoc.gif"
-           alt="MKDoc"
-           petal:attributes="src string:/.resources/images/mkdoc.gif" />
-
-    </div>
-
-    <div class="content" id="content">
-
-      <h1 petal:content="self/message/subject">Message subject</h1>
-
-      <p>
-        <a href="#" 
-           petal:attributes="href list_p/uri">View All Messages</a> |
-        <a href="#" 
-           petal:attributes="href post_p/uri --uid self/uid">Post a reply</a>
-      </p>
-
-      <p>
-        <strong>From</strong>
-        <span petal:content="self/message/from" >From</span>
-      </p>
-  
-      <p>
-        <strong>Date</strong>
-        <span petal:content="self/message/date">Date</span>
-      </p>
-
-      <div petal:content="structure self/message/body_as_xhtml">Message</div>
-
-      <h2 petal:condition="true:children">Replies</h2>
-
-        <ul metal:define-macro="thread"
-            petal:condition="true:children">
-          <li petal:repeat="message children">
-            <span petal:condition="true:message/uid">
-              <a
-                href="#"
-                hreflang="en"
-                xml:lang="en"
-                lang="en"
-                dir="ltr"
-                petal:attributes="
-                                  href view_p/uri --uid message/uid;
-                                  hreflang message/language/code;
-                                  xml:lang message/language/code;
-                                  lang message/language/code;
-                                  dir message/language/dir;
-                                  name string:id-${message/uid};
-                                  id string:id-${message/uid};
-                                 "
-                petal:content="message/subject"
-              >Subject</a>
-              <em
-                petal:content="message/name"
-              >Authors Name</em>
-            </span>
-            <del
-              xml:lang="en"
-              lang="en"
-              dir="ltr"
-              petal:condition="false:message/uid"
-            >(message deleted)</del>
-            <span
-              petal:define="children message/children"
-              petal:omit-tag="">
-              <ul metal:use-macro="#thread">
-                <li>Child</li>
-              </ul>
-            </span>
-          </li>
-        </ul>
-
-        <p
-          class="next-prev"
-        >
-          <bdo 
-            dir="ltr"
-            petal:attributes="dir dir"
-            petal:condition="true: self/message/prev">&lt;&lt;</bdo>
-          <strong
-            petal:condition="true: self/message/prev">Prev</strong>
-          <a 
-            href="${view_p/uri --uid self/message/prev/uid}"
-            petal:condition="true: self/message/prev"
-          >${self/message/prev/subject}</a>
-          <bdo 
-            dir="ltr"
-            petal:attributes="dir dir"
-            petal:condition="true: self/message/prev">|</bdo>
-
-          <strong
-            petal:condition="true: self/message/parent; true: self/message/parent/uid"
-          >Up</strong>
-          <a 
-            href="${view_p/uri --uid self/message/parent/uid}"
-            petal:condition="true: self/message/parent; true: self/message/parent/uid"
-          >${self/message/parent/subject}</a>
-          <bdo 
-            dir="ltr"
-            petal:atrtributes="dir dir"
-            petal:condition="true: self/message/parent; true: self/message/parent/uid"
-          >^</bdo>
-      
-          <bdo 
-            dir="ltr"
-            petal:attributes="dir dir"
-            petal:condition="true: self/message/next">|</bdo>
-          <strong
-            petal:condition="true: self/message/next"
-          >Next</strong>
-          <a 
-            href="${view_p/uri --uid self/message/next/uid}"
-            petal:condition="true: self/message/next"
-          >${self/message/next/subject}</a>
-          <bdo 
-            dir="ltr"
-            petal:attributes="dir dir"
-            petal:condition="true: self/message/prev">&gt;&gt;</bdo>
-       </p>
-
-    </div>
-
-    <div class="footer">
-
-      <p>
-        <a href="http://www.webarchitects.co.uk/">Webarchitects</a> |
-        <a href="http://mkdoc.com/">MKDoc</a> |
-        <a href="http://webarch.net/">Webarch</a>
-      </p>
-
-    </div>
-
-  </body>
-</html>


More information about the MKDoc-commit mailing list