summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunnar Wrobel <wrobel@gentoo.org>2006-05-07 20:10:34 +0000
committerGunnar Wrobel <wrobel@gentoo.org>2006-05-07 20:10:34 +0000
commiteb0fa2154b8bba402e16666ab48956a7417c0b5e (patch)
treede2e99e76dbff3cf234196569eef102b9ed9a64f /www-apps/pyblosxom-plugins/files
parentUpdated pyblosxom-plugins (diff)
downloadoverlay-eb0fa2154b8bba402e16666ab48956a7417c0b5e.tar.gz
overlay-eb0fa2154b8bba402e16666ab48956a7417c0b5e.tar.bz2
overlay-eb0fa2154b8bba402e16666ab48956a7417c0b5e.zip
Reverted back to old contact.py
svn path=/stable/; revision=706
Diffstat (limited to 'www-apps/pyblosxom-plugins/files')
-rw-r--r--www-apps/pyblosxom-plugins/files/contact.py59
1 files changed, 26 insertions, 33 deletions
diff --git a/www-apps/pyblosxom-plugins/files/contact.py b/www-apps/pyblosxom-plugins/files/contact.py
index d2f902d..b94bc53 100644
--- a/www-apps/pyblosxom-plugins/files/contact.py
+++ b/www-apps/pyblosxom-plugins/files/contact.py
@@ -46,42 +46,35 @@ MESSAGE_KEY = "contact_error_message"
_form_fields = ['name', 'email', 'subject', 'message']
_default_template = """
+<style type="text/css">
+<!--
+#contactForm label {
+ float: left;
+ width: 25%;
+ padding-top: 3px;
+ margin-bottom: 5px;
+ }
+#contactForm input, textarea {
+ width: 70%;
+ margin-right: 10px;
+ margin-bottom: 5px;
+ }
+-->
+</style>
<div>
-<h2>Contact me</h2>
+<h3>Contact me</h3>
<div style="display:block;">$contact_error_message</div>
<form name="contactForm" id="contactForm" method="post" action="$base_url$contact_urltrigger">
-<div class="contactLine">
- <div class="contactLabel">
- <label class="contactLine" for="name" title="Your name">Name</label>
- </div>
- <input type="text" name="name" id="name" value="$contact_name" /><br />
-</div>
-<div class="contactLine">
- <div class="contactLabel">
- <label class="contactLine" for="email" title="Your email address">Email</label>
- </div>
- <input type="text" name="email" id="email" value="$contact_email" /><br />
-</div>
-<div class="contactLine">
- <div class="contactLabel">
- <label class="contactLine" for="subject" title="Subject of your message">Subject</label>
- </div>
- <input class="contactLine" type="text" name="subject" id="subject" value="$contact_subject" /><br />
-</div>
-<div class="contactText">
- <div class="contactLabel">
- <label class="contactText" for="message" title="Your message">Message</label>
- </div>
- <textarea name="message" id="message" style="height:150px;">$contact_message</textarea><br />
-</div>
-<div class="contactSubmit">
- <div class="contactButton">
- <input class="contactSubmit" type="submit" value="Send" style="width:auto; margin-right:0;" />
- </div>
- <div class="contactButton">
- <input class="contactSubmit" type="reset" value="Reset" style="width:auto; margin-right:0;" />
- </div>
-</div>
+<label for="name" title="Your name">Name</label>
+<input type="text" name="name" id="name" value="$contact_name" /><br />
+<label for="email" title="Your email address">Email</label>
+<input type="text" name="email" id="email" value="$contact_email" /><br />
+<label for="subject" title="Subject of your message">Subject</label>
+<input type="text" name="subject" id="subject" value="$contact_subject" /><br />
+<label for="message" title="Your message">Message</label>
+<textarea name="message" id="message" style="height:150px;">$contact_message</textarea><br />
+<input type="submit" value="Send" style="width:auto; margin-right:0;" />
+<input type="reset" value="Reset" style="width:auto; margin-right:0;" />
</form>
</div>
"""