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=91030abd2dce3e5153e57e110aa9adef2385debd;hb=da63cd918a46e4ce8916c21b0b20bf8ef1bf5a7a;hpb=65df59544c943a90ae2858b1359e6b8a5065e145 diff --git a/include/output.php b/include/output.php index 91030ab..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; } @@ -371,62 +371,29 @@ function output_header() { global $REV; ?> - - + + e-Doko - - - - + + + + + + -
+
'._('Welcome to E-Doko').' '; ?> -
+ "; @@ -438,20 +405,18 @@ function output_footer() global $REV, $PREF, $INDEX; echo "\n\n"; - echo "
\n"; - echo "

copyright 2006,2007,2008,2009,2010 Arun Persaud, et al.
\n". + echo "

\n"; - + echo "\n\n"; echo "\n"; echo "\n"; @@ -488,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; } @@ -574,13 +539,13 @@ function output_password_recovery($email,$password) Password recovery - + - + - + @@ -598,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; }