From 293b20963f2bbf0cfca1a146506d65d615b01c2c Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Sat, 6 Oct 2012 00:19:12 -0700 Subject: starting to bootstrap the layout: navbar and tricks - changing the tricks-selector to a paginator and fixing the js for highlighting - adding a navbar using bootstrap, probably should use .wrap more instead of adding divs to the code --- include/game.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'include/game.php') diff --git a/include/game.php b/include/game.php index d43699b..d07ff5b 100644 --- a/include/game.php +++ b/include/game.php @@ -367,7 +367,7 @@ switch($mystatus) case 'check': /* output sickness of other playes, in case they already selected and are sitting in front of the current player */ echo "\n\n"; /* end div trick, end li trick , end tricks*/ /* end displaying sickness */ @@ -381,7 +381,7 @@ switch($mystatus) $mygametype = DB_get_gametype_by_gameid($gameid); - echo "
  • Pre\n"; + echo "
  • Pre\n"; echo "
  • \n\n\n"; /* end div trick, end li trick , end ul tricks */ } /* end output pre-game trick */ @@ -411,19 +411,19 @@ switch($mystatus) { $trick=$r[0]; if($trick!=$lasttrick) - echo "
  • "._('Trick')." $trickNR
  • \n"; + echo "
  • "._('Trick')." $trickNR
  • \n"; else if($trick==$lasttrick) - echo "
  • "._('Trick')." $trickNR
  • \n"; + echo "
  • "._('Trick')." $trickNR
  • \n"; $trickNR++; } /* if game is over, also output link to Score tab */ if($mystatus=='gameover' && DB_get_game_status_by_gameid($gameid)=='gameover' ) - echo "
  • "._('Score')."
  • \n"; + echo "
  • "._('Score')."
  • \n"; /* output previous/next buttons */ - echo '
  • \n"; - echo '
  • \n"; + echo '
  • '._('prev')."
  • \n"; + echo '
  • '._('next')."
  • \n"; echo "\n\n"; -- cgit v1.2.3-18-g5258