[wellwell-devel] [SCM] Interchange wellwell catalog branch, master, updated. 0f76fb7c69ee8b4da0ac9d7e727592eb7125a454

Stefan Hornburg racke at rt.icdevgroup.org
Thu Dec 17 19:21:20 UTC 2009


       via  0f76fb7c69ee8b4da0ac9d7e727592eb7125a454 (commit)
       via  b507f6d25a3541e2aade2973a7990afba787928d (commit)
       via  7091da4b166fe9c272879c99101172134476c59f (commit)
      from  fcf5aac72759cc1f554fe3749abcb456d671d238 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 0f76fb7c69ee8b4da0ac9d7e727592eb7125a454
Author: Stefan Hornburg (Racke) <racke at linuxia.de>
Date:   Thu Dec 17 20:20:26 2009 +0100

    added REVIEWS_TITLE_CHECK variable, which controls the profile check for the review title

commit b507f6d25a3541e2aade2973a7990afba787928d
Author: Stefan Hornburg (Racke) <racke at linuxia.de>
Date:   Thu Dec 17 16:03:56 2009 +0100

    use fieldset/label and input element size in create form

commit 7091da4b166fe9c272879c99101172134476c59f
Author: Stefan Hornburg (Racke) <racke at linuxia.de>
Date:   Thu Dec 17 16:01:05 2009 +0100

    use fieldset/label and input element size in create form

-----------------------------------------------------------------------

Summary of changes and diff:
 plugins/reviews/plugin.cfg               |    3 +++
 plugins/reviews/profiles/reviews.profile |    2 +-
 plugins/wiki/components/wiki             |   13 ++++++++++---
 3 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/plugins/reviews/plugin.cfg b/plugins/reviews/plugin.cfg
index 6b753ee..17cafd8 100644
--- a/plugins/reviews/plugin.cfg
+++ b/plugins/reviews/plugin.cfg
@@ -13,4 +13,7 @@ Variable REVIEWS_IMG_RATING_FULL  star.gif
 Variable REVIEWS_ANON_NAME Anonymous user
 Variable REVIEWS_DISPLAY_NAME {FIRST_NAME} {LAST_NAME}
 
+# you may override this check with 'Variable REVIEWS_TITLE_CHECK always_pass'
+Variable REVIEWS_TITLE_CHECK required
+
 ActionMap reviews reviews
diff --git a/plugins/reviews/profiles/reviews.profile b/plugins/reviews/profiles/reviews.profile
index 68be409..dbd51d5 100644
--- a/plugins/reviews/profiles/reviews.profile
+++ b/plugins/reviews/profiles/reviews.profile
@@ -1,7 +1,7 @@
 __NAME__ reviews
 name=required [L]Please enter a name.[/L]
 rating=natural [L]Please select a rating.[/L]
-title=required [L]Please enter review title.[/L]
+title=__REVIEWS_TITLE_CHECK__ [L]Please enter review title.[/L]
 review=required [L]Please enter your review.[/L]
 &success [cgi sku]
 __END__
diff --git a/plugins/wiki/components/wiki b/plugins/wiki/components/wiki
index ea7c2f7..ab50c36 100644
--- a/plugins/wiki/components/wiki
+++ b/plugins/wiki/components/wiki
@@ -11,14 +11,18 @@ CREATING
 <form action="[area href="wiki" nosession=1]" method="POST">
 [form_session_id]
 <input type="hidden" name="action" value="[cgi action]">
-<input name="page">
+<fieldset>
+<label for="page">[L]Page name[/L]</label>
+<input name="page" size="60">
 <br>
-<textarea name="content">
+<label for="content">[L]Page content[/L]</label>
+<textarea name="content" cols="60" rows="20">
 [value content]
 </textarea>
 <br>
 <input type="submit" value="OK">
 <br>
+</fieldset>
 </form>
 [elsif cgi action eq edit]
 [if cgi checksum]
@@ -31,12 +35,15 @@ CREATING
 <input type="hidden" name="checksum" value="{CHECKSUM}">
 <input type="hidden" name="page" value="__PAGE__">
 <br>
-<textarea name="content">
+<fieldset>
+<label for="content">[L]Page content[/L]</label>
+<textarea name="content" cols="60" rows="20">
 {CONTENT}
 </textarea>
 <br>
 <input type="submit" value="OK">
 <br>
+</fieldset>
 </form>
 [/wiki]
 [/else]


hooks/post-receive
-- 
Interchange wellwell catalog



More information about the wellwell-devel mailing list