From: maxious Date: Wed, 16 Feb 2011 12:14:04 +0000 Subject: Wrap time/place and map in collapsing regions X-Git-Url: http://maxious.lambdacomplex.org/git/?p=bus.git&a=commitdiff&h=f5f540cd5b56c26277d3f6b849010887cca84e51 --- Wrap time/place and map in collapsing regions --- --- a/busui/common.inc.php +++ b/busui/common.inc.php @@ -226,8 +226,11 @@ } $center = $totalLat/sizeof($mapPoints).",".$totalLon/sizeof($mapPoints); } - - return ''; + $output = ""; + $output .= '

Open Map...

'; + $output .= '
'; + $output .= '
'; + return $output; } function distance($lat1, $lng1, $lat2, $lng2) @@ -390,4 +393,36 @@ } return implode(", ",$pointNames); } + +function timePlaceSettings() { + global $service_periods; + echo '
+

Change Time/Place...

+
+
+ + +
+
+ + +
+
+ + + +
+ + +
'; +echo " "; +} ?> --- a/busui/index.php +++ b/busui/index.php @@ -30,34 +30,8 @@
  • Routes By Number
  • Nearby Routes
  • -
    -

    Time/Place Settings

    -
    - - -
    -
    - - "/> -
    -
    - - - -
    - - -
    - - + +