From: Arun Persaud Date: Mon, 14 Nov 2011 05:55:27 +0000 (-0800) Subject: CLEANUP: fixed html output a bit X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=commitdiff_plain;h=189a8296e5f6ba47e87167083cff9cb3e1d0d03b CLEANUP: fixed html output a bit added whitespaces and line breaks --- diff --git a/include/functions.php b/include/functions.php index ddac182..9f36330 100644 --- a/include/functions.php +++ b/include/functions.php @@ -1181,22 +1181,22 @@ function display_user_menu($id) { if($i==0) { - echo "
\n"; + echo "
\n "; echo _('It\'s your turn in these games').":
\n"; } $i++; - echo "game ".DB_format_gameid($r[1])."
\n"; if($i>4) { - echo "...
\n"; + echo " ...
\n"; break; } } if($i) - echo "
\n"; + echo "
\n\n"; return; } diff --git a/include/game.php b/include/game.php index 11cb66f..b8963d2 100644 --- a/include/game.php +++ b/include/game.php @@ -2135,7 +2135,7 @@ else echo "
\n"; echo "It's your turn in these games:
\n"; echo "Please log in to see this information.\n"; - echo "
\n"; + echo "\n\n"; } /* @@ -2182,7 +2182,7 @@ if(sizeof($other_game_ids)>0 && $mystatus=='gameover') echo "

\n"; } -echo "\n"; /* end gameinfo */ +echo "\n\n"; /* end gameinfo */ /* make sure that we don't show the notes to the wrong person * (e.g. other people looking at an old game) 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() " \"Green\n". "

\n"; - echo "\n"; - echo "\n"; - + echo "\n\n"; echo "\n"; echo "\n"; @@ -490,9 +488,9 @@ function output_status() echo " | "._('wiki/bugs')."\n"; echo " | "._('atom')."\n"; echo " |    "._('logout')."\n"; - echo "\n"; + echo "\n\n"; - echo "
"._('last login').": ".date("r",$unixtime)."
\n"; + echo "
"._('last login').": ".date("r",$unixtime)."
\n\n"; } return; } @@ -600,10 +598,10 @@ function output_user_notes($userid,$gameid,$userstatus) echo "
"._('Personal notes').":
\n"; $notes = DB_get_notes_by_userid_and_gameid($userid,$gameid); foreach($notes as $note) - echo "$note
\n"; + echo " $note
\n"; if($userstatus!='gameover') - echo "\n"; - echo "
\n"; + echo " \n"; + echo "\n\n"; return; }