summaryrefslogtreecommitdiffstats
path: root/include/output.php
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2011-11-13 21:55:27 -0800
committerArun Persaud <apersaud@lbl.gov>2011-11-13 22:00:03 -0800
commit189a8296e5f6ba47e87167083cff9cb3e1d0d03b (patch)
treea4fa2933395cbb4e3bcbc89cdda20e1bd1069b9b /include/output.php
parent4064c0f157255114c6f262f4709fea2b92460be9 (diff)
downloade-DoKo-189a8296e5f6ba47e87167083cff9cb3e1d0d03b.tar.gz
e-DoKo-189a8296e5f6ba47e87167083cff9cb3e1d0d03b.tar.bz2
e-DoKo-189a8296e5f6ba47e87167083cff9cb3e1d0d03b.zip
CLEANUP: fixed html output a bit
added whitespaces and line breaks
Diffstat (limited to 'include/output.php')
-rw-r--r--include/output.php14
1 files changed, 6 insertions, 8 deletions
diff --git a/include/output.php b/include/output.php
index 1adcaa7..e91451c 100644
--- a/include/output.php
+++ b/include/output.php
@@ -451,9 +451,7 @@ function output_footer()
" <img alt=\"Green Web Hosting! This site hosted by DreamHost.\"".
" src=\"pics/green1.gif\" height=\"32\" width=\"100\" /></a>\n".
" </p> \n";
- echo "\n";
- echo "</footer>\n";
-
+ echo "</footer>\n\n";
echo "</body>\n";
echo "</html>\n";
@@ -490,9 +488,9 @@ function output_status()
echo " | <a href=\"".$WIKI."\">"._('wiki/bugs')."</a>\n";
echo " | <a href=\"".$RSS."?uid=".$myid."&amp;token=".$token."\">"._('atom')."</a>\n";
echo " |&nbsp;&nbsp;&nbsp; <a href=\"".$INDEX."?action=logout\">"._('logout')."</a>\n";
- echo "</div>\n";
+ echo "</div>\n\n";
- echo "<div class=\"lastlogin\"><span>"._('last login').": ".date("r",$unixtime)."</span></div>\n";
+ echo "<div class=\"lastlogin\"><span>"._('last login').": ".date("r",$unixtime)."</span></div>\n\n";
}
return;
}
@@ -600,10 +598,10 @@ function output_user_notes($userid,$gameid,$userstatus)
echo "<div class=\"notes\"> "._('Personal notes').": <br />\n";
$notes = DB_get_notes_by_userid_and_gameid($userid,$gameid);
foreach($notes as $note)
- echo "$note <hr />\n";
+ echo " $note <hr />\n";
if($userstatus!='gameover')
- echo "<input name=\"note\" type=\"text\" size=\"15\" maxlength=\"100\" />\n";
- echo "</div> \n";
+ echo " <input name=\"note\" type=\"text\" size=\"15\" maxlength=\"100\" />\n";
+ echo "</div>\n\n";
return;
}