[MKDoc-commit] Discussion component removed and some other small tweaks

chris at mkdoc.demon.co.uk chris at mkdoc.demon.co.uk
Thu Apr 7 13:30:56 BST 2005


Log Message:
-----------
Discussion component removed and some other small tweaks

Modified Files:
--------------
    mkd/resources/templates/admin/audience_insert:
        en.html

Removed Files:
-------------
    mkd/resources/templates/editor/discussion:
        en.html

-------------- next part --------------
Index: en.html
===================================================================
RCS file: /var/spool/cvs/mkd/resources/templates/admin/audience_insert/en.html,v
retrieving revision 1.10
retrieving revision 1.11
diff -Lresources/templates/admin/audience_insert/en.html -Lresources/templates/admin/audience_insert/en.html -u -r1.10 -r1.11
--- resources/templates/admin/audience_insert/en.html
+++ resources/templates/admin/audience_insert/en.html
@@ -13,7 +13,7 @@
 
 
   Author: Jean-Michel Hiver, Chris Croome <chris at webarchitects.co.uk> and other
-  Copyright: (c) 2004, MKDoc Holdings Ltd.
+  Copyright: (c) 2004-2005, MKDoc Ltd.
 
   This file is part of MKDoc. 
   
--- resources/templates/editor/discussion/en.html
+++ /dev/null
@@ -1,240 +0,0 @@
-<!--?
-
-
-This template is used for the editor interface of a 
-discussion component. 
-  
-?-->
-<fieldset
-  class="discussion-component"
-  xmlns:petal="http://purl.org/petal/1.0/"
-  petal:define="align            self/align;
-                dir              self/direction;
-                align_opposite   self/align_opposite;
-                name_mbox        string:${self/block_name}_mbox;
-                name_title       string:${self/block_name}_title;
-                name_description string:${self/block_name}_description;
-                name_move_up     string:${self/block_name}_up;
-                name_move_down   string:${self/block_name}_down;
-                name_delete      string:${self/block_name}_delete"
-  ondblclick="window.location='./#component-${self/name_noext}'"
->
-
-  <legend
-    xml:lang="en"
-    lang="en"
-    dir="ltr"
-    align="left"
-    petal:attributes="align align"
-  ><a 
-     name="component-${self/name_noext}" 
-     id="component-${self/name_noext}"
-  >Discussion component</a></legend>
-
-  <div
-    petal:condition="self/has_errors"
-    petal:repeat="error self/errors"
-  >
-    <p
-      xml:lang="en" lang="en" dir="ltr" class="error"
-      petal:condition="error/is --component/discussion/mbox_empty"
-    >The 'IMAP folder' field is empty.</p>
-
-    <p
-      xml:lang="en" lang="en" dir="ltr" class="error"
-      petal:condition="error/is --component/discussion/mbox_malformed"
-    >The 'IMAP folder' field is not correct. Only names such as 'hello-world'
-     or 'my-nifty-folder' are allowed. Capital letters are not allowed. You
-     can use digits.</p>
-
-    <p
-      xml:lang="en" lang="en" dir="ltr" class="error"
-      petal:condition="error/is --component/discussion/title_empty"
-    >The 'Title' field is empty.</p>
-
-    <p
-      xml:lang="en" lang="en" dir="ltr" class="error"
-      petal:condition="error/is --component/discussion/description_empty"
-    >The 'Description' field is empty.</p>
-  </div>
-
-    <p
-      class="up"
-    >
-      <label
-        for="discussion_up"
-        xml:lang="en"
-        lang="en"
-        dir="ltr"
-        petal:attributes="for name_move_up"
-      >
-        Move component 
-      </label>
-      <input
-        type="submit"
-        name="discussion_up"
-        id="discussion_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"
-      />
-    </p>
-
-    <p>
-      <em
-        class="help"
-        xml:lang="en"
-        lang="en"
-        dir="ltr"
-      >
-        The name of the IMAP folder.
-      </em>
-      <label
-        for="mbox"
-        xml:lang="en"
-        lang="en"
-        dir="ltr"
-        petal:attributes="for name_mbox"
-      >IMAP folder name</label>
-      <br />
-      <input
-        type="text"
-        name="mbox"
-        id="mbox"
-        class="input-text"
-        value="mbox-folder-name"
-        size="35"
-        title="Enter the IMAP folder name here."
-        petal:attributes="name name_mbox;
-                          id   name_mbox;
-                          value self/mbox"
-      />
-    </p>
-
-    <p>
-      <em
-        class="help"
-        xml:lang="en"
-        lang="en"
-        dir="ltr"
-      >
-        The title of the discussion.
-      </em>
-      <label
-        for="title"
-        xml:lang="en"
-        lang="en"
-        dir="ltr"
-        petal:attributes="for name_title"
-      >Title</label>
-      <br />
-      <input
-        type="text"
-        name="title"
-        id="title"
-        class="input-text"
-        value="Title of the Discussion Component"
-        size="35"
-        title="Enter the Title of the discussion here."
-        petal:attributes="name name_title; id name_title; value self/title"
-      />
-    </p>
-
-    <p>
-      <em
-        class="help"
-        xml:lang="en"
-        lang="en"
-        dir="ltr"
-      >
-        A description of this discussion.
-      </em>
-      <label
-        for="description"
-        xml:lang="en"
-        lang="en"
-        dir="ltr"
-        petal:attributes="for name_description"
-      >Description</label>
-      <textarea
-        name="description"
-        id="description"
-        rows="2"
-        cols="35"
-        title="Enter the Description of the discussion here."
-        class="adminform"
-        petal:attributes="name name_description; id name_description"
-        petal:content="self/description"
-      >Description of the discussion.</textarea>
-    </p>
-
-    <p>
-      <input
-        type="submit"
-        name="discussion_delete"
-        id="discussion_delete"
-        value="Delete Component"
-        xml:lang="en"
-        lang="en"
-        dir="ltr"
-        title="Delete this component."
-        petal:attributes="name name_delete; id name_delete"
-      />
-      <bdo
-        dir="ltr"
-        petal:atributes="dir self/direction"
-        petal:condition="self/is_saved"
-      >|</bdo>
-      <a 
-        href="#" 
-        xml:lang="en"
-        lang="en"
-        dir="ltr"
-        petal:attributes="href string:${self/mkdoc_uri},copy"
-        petal:condition="self/is_saved"
-      >Copy to another document</a> 
-      <bdo
-        dir="ltr"
-        petal:atributes="dir self/direction"
-        petal:condition="self/is_saved"
-      >|</bdo>
-      <a 
-        href="#" 
-        xml:lang="en"
-        lang="en"
-        dir="ltr"
-        petal:attributes="href string:${self/mkdoc_uri},move"
-        petal:condition="self/is_saved"
-      >Move to another document</a>
-    </p>
-
-    <p
-      class="down"
-    >
-      <label
-        for="discussion_down"
-        xml:lang="en"
-        lang="en"
-        dir="ltr"
-        petal:attributes="for name_move_down"
-      >
-        Move component 
-      </label>
-      <input
-        type="submit"
-        name="discussion_down"
-        id="discussion_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"
-      />
-  </p>
-
-</fieldset>


More information about the MKDoc-commit mailing list