aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2011-06-08 16:50:15 +0000
committerRomain d'Alverny <rda@mageia.org>2011-06-08 16:50:15 +0000
commitdea81e83f42983dcece35f67bf4edf53afe46a60 (patch)
tree7d7a83f7ac91b733282c4094f5231f9a38d79c17 /index.php
parenteed343eca2f5798cba27902226667faa11582614 (diff)
downloadhugs-dea81e83f42983dcece35f67bf4edf53afe46a60.tar
hugs-dea81e83f42983dcece35f67bf4edf53afe46a60.tar.gz
hugs-dea81e83f42983dcece35f67bf4edf53afe46a60.tar.bz2
hugs-dea81e83f42983dcece35f67bf4edf53afe46a60.tar.xz
hugs-dea81e83f42983dcece35f67bf4edf53afe46a60.zip
"Post your own" instructions + copyheart footer + ob_*
Diffstat (limited to 'index.php')
-rw-r--r--index.php23
1 files changed, 15 insertions, 8 deletions
diff --git a/index.php b/index.php
index b3891e7..d011235 100644
--- a/index.php
+++ b/index.php
@@ -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>
+ &nbsp; &ndash; Copying is an act of love. <a href="http://svnweb.mageia.org/web/hugs/">Please copy and share</a>
+ (or send patches)
+ &ndash; 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