X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=include%2Foutput.php;h=1d1a71ffd8a4fe5e061af850e4fb55ef27eb87bc;hp=d71d11afd0c1bee7f0cbf1a10404273bfa7bedf0;hb=b77b3294e4c74820f1bc036603dd8d3210e0eccc;hpb=6da798e39be09e3cea651be2c7d826b79450a1f8 diff --git a/include/output.php b/include/output.php index d71d11a..1d1a71f 100644 --- a/include/output.php +++ b/include/output.php @@ -208,9 +208,9 @@ function display_link_card($card,$dir="english",$type="card", $selected=0) $selected = 'checked="checked"'; if( $card/2 - (int)($card/2) == 0.5) - echo "
\"".DB_get_card_name($card)."\"
\n"; + echo "\n"; else - echo "
\"".DB_get_card_name($card-1)."\"
\n"; + echo "\n"; return; } @@ -376,47 +376,16 @@ function output_header() e-Doko + - + + @@ -437,19 +406,17 @@ function output_footer() echo "\n\n"; echo "\n"; - + echo "\n\n"; echo "\n"; echo "\n"; @@ -486,9 +453,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; } @@ -572,13 +539,13 @@ function output_password_recovery($email,$password) Password recovery - + - + - + @@ -596,10 +563,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; }