aboutsummaryrefslogtreecommitdiffstats
path: root/post-your-own
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2011-06-08 16:50:24 +0000
committerRomain d'Alverny <rda@mageia.org>2011-06-08 16:50:24 +0000
commitfa5aa3123c2184dbc24f9be1cc8ca4b8da3a3d91 (patch)
tree6c2177a95d3e35d5af01c16df700979735302c6a /post-your-own
parent4678c074c9d011ce1b32eb1d0a78899881eea070 (diff)
downloadhugs-fa5aa3123c2184dbc24f9be1cc8ca4b8da3a3d91.tar
hugs-fa5aa3123c2184dbc24f9be1cc8ca4b8da3a3d91.tar.gz
hugs-fa5aa3123c2184dbc24f9be1cc8ca4b8da3a3d91.tar.bz2
hugs-fa5aa3123c2184dbc24f9be1cc8ca4b8da3a3d91.tar.xz
hugs-fa5aa3123c2184dbc24f9be1cc8ca4b8da3a3d91.zip
alternative to submit photos
Diffstat (limited to 'post-your-own')
-rw-r--r--post-your-own/index.php59
1 files changed, 47 insertions, 12 deletions
diff --git a/post-your-own/index.php b/post-your-own/index.php
index 5e0bf3a..a8375bb 100644
--- a/post-your-own/index.php
+++ b/post-your-own/index.php
@@ -15,19 +15,54 @@
<body>
<h1><a href="/">Need a hug?</a> &raquo; Your own photo</h1>
<article>
+ <?php /*
+ <!-- mockup for later -->
+ <aside class="send"><form>
+ <div id="send">
+ <p>Hi!</p>
+ <p>My name is <input type="text" name="name" placeholder="Your name">.
+ I am from <input type="text" name="location" placeholder="Your city, country">.</p>
+ <p>I would love to have this picture
+ added to <a href="http://hugs.mageia.org/">hugs.mageia.org</a>:</p>
+ <p><input type="file" name="image" placeholder="Picture"></p>
+
+ <p>I made sure I can send it to you for this purpose; it is licenced as
+ <input type="text" name="license" placeholder="CC-By-SA, CC0, anything">.</p>
+ <p>And I would appreciate that this comment is added with the picture:<br>
+ <textarea name="desc" placeholder="Description, links" style="width: 30em; height: 4em;"></textarea></p>
+ <p>Please tell me what you think.
+ You can email me back at <input type="email" name="email" placeholder="Your email address"> if needed.</p>
+ <p>Thanks!</p>
+ </div>
+ <p style="text-align: right;"><input type="submit" value="Send"></p>
+ </form>
+ */ ?>
<aside>
- <p>Want to push more happy faces there as well?</p>
- <p>We need:
- your photo, a license to publish it here, your name,
- any short description and/or link to point to;
- all this, sent to this rather anonymous but oh-so-friendly
- <code>hug-me [at] mageia [dot] org</code> email box.</p>
- <p>If our hugging committee is ok with all your submission,
- it will be online in a snap.
- Increase your chance:
- be an active Mageia <a href="http://mageia.org/contribute/">contributor</a>
- or <a href="http://mageia.org/downloads/">user</a>;
- stay on topic (hold a FREE HUGS! sign &amp; smile).</p>
+ <?php if (isset($_POST['pstd']) && $_POST['pstd'] == 1): ?>
+ <p>Ok, thanks! So. Want to push more happy faces there as well?</p>
+ <p>We need:</p>
+ <ul>
+ <li>your photo (someone, somewhere, smiling, holding a FREE HUGS sign),</li>
+ <li>a license to publish it here,</li>
+ <li>your name or nickname,</li>
+ <li>any short description and/or link to point to.</li>
+ </ul>
+ <p>All this, sent to this rather anonymous
+ <code>communication [at] group [dot] mageia [dot] org</code> box.
+ But there are real people there!</p>
+
+
+ <p>If our hugging committee is ok with your submission,
+ it will be online in a snap
+ &ndash; increase your chances:
+ be or become an active Mageia <a href="http://mageia.org/contribute/">contributor</a>
+ or <a href="http://mageia.org/downloads/">user</a>!</p>
+ <?php else: ?>
+ <form method="post" action="">
+ <input type="hidden" name="pstd" value="1">
+ <p><input type="submit" value="Well, click here first"><br></p>
+ </form>
+ <?php endif; ?>
</aside>
</article>
<footer>