diff options
author | Romain d'Alverny <rda@mageia.org> | 2011-06-08 16:50:15 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2011-06-08 16:50:15 +0000 |
commit | dea81e83f42983dcece35f67bf4edf53afe46a60 (patch) | |
tree | 7d7a83f7ac91b733282c4094f5231f9a38d79c17 | |
parent | eed343eca2f5798cba27902226667faa11582614 (diff) | |
download | hugs-dea81e83f42983dcece35f67bf4edf53afe46a60.tar hugs-dea81e83f42983dcece35f67bf4edf53afe46a60.tar.gz hugs-dea81e83f42983dcece35f67bf4edf53afe46a60.tar.bz2 hugs-dea81e83f42983dcece35f67bf4edf53afe46a60.tar.xz hugs-dea81e83f42983dcece35f67bf4edf53afe46a60.zip |
"Post your own" instructions + copyheart footer + ob_*
-rw-r--r-- | index.php | 23 | ||||
-rw-r--r-- | post-your-own/index.php | 37 |
2 files changed, 52 insertions, 8 deletions
@@ -79,23 +79,30 @@ ob_start(); It's fun, it's great, <a href="http://mageia.org/">have a look</a> and join us!</p> <p style="text-align: center;"><a href="http://mageia.org/"> - <img src="static/mageia-logo-small.png" - style="width: 200px;" - alt="Mageia"></a></p> - + <img src="static/mageia-logo-small.png" style="width: 200px;" alt="Mageia"></a></p> <h2>Free hugs?</h2> <p>Yes! A hug definitely will make you feel better. It's free and it's great!</p> - <p>Check the <a href="http://www.freehugscampaign.org/">Free Hugs Campaign</a> out, and save the date: next International Free Hugs Day is on <time datetime="2011-07-02">July, 2<sup>nd</sup> 2011</time>.</p> </aside> - <div class="clear"></div> </article> + <div class="clear"></div> <footer> - <p><a href="http://mageia.org/">mageia.org</a></p> + <p class="sign">♡ May 2011 by <a href="http://mageia.org/wiki/doku.php?id=web">mageia.org web team</a> + – Copying is an act of love. <a href="http://svnweb.mageia.org/web/hugs/">Please copy and share</a> + (or send patches) + – Want to <a href="/post-your-own/" rel="nofollow">post your own photo</a> here?</p> </footer> </body> -</html>
\ No newline at end of file +</html> +<?php + +$s = ob_get_clean(); +$s = str_replace(array(">\n", ">\n\t", "\t", ' ', ";\n"), array('>', '>', '', '', ';'), $s); +echo $s; + + +?>
\ No newline at end of file diff --git a/post-your-own/index.php b/post-your-own/index.php new file mode 100644 index 0000000..5e0bf3a --- /dev/null +++ b/post-your-own/index.php @@ -0,0 +1,37 @@ +<!DOCTYPE html> +<html lang="en" dir="ltr"> +<head> + <meta charset="utf-8"> + <title>Post your own Free Hugs! photo @ Mageia</title> + <meta name="description" content="Recommandations and procedure to post your own photo to hugs.mageia.org."> + <meta name="keywords" content="mageia, community, free hugs, photo"> + <meta name="robots" content="noindex, follow"> + <link rel="canonical" href="http://hugs.mageia.org/post-your-own/"> + <link rel="icon" type="image/png" href="/static/favicon.png"> + <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Pacifico"> + <link rel="home" href="/"> + <style><?php include '../source.css'; ?></style> +</head> +<body> + <h1><a href="/">Need a hug?</a> » Your own photo</h1> + <article> + <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 & smile).</p> + </aside> + </article> + <footer> + <p class="sign">♡ May 2011 by <a href="http://mageia.org/wiki/doku.php?id=web">mageia.org web team</a></p> + </footer> +</body> +</html>
\ No newline at end of file |