# HG changeset patch # User Sushi-k # Date 1248854036 -32400 # Node ID 80dc62c941851b724381e6eeb0e4536c25aa8d58 # Parent 73350e16077a6bd3afabe77f716a7fcf83378b92 add: height_per_minite at index.html diff -r 73350e16077a -r 80dc62c94185 index.php --- a/index.php Wed Jul 29 10:51:38 2009 +0900 +++ b/index.php Wed Jul 29 16:53:56 2009 +0900 @@ -198,6 +198,7 @@ $smarty->assign( "ch_set_width", $settings->ch_set_width ); $smarty->assign( "chs_width", $chs_width ); $smarty->assign( "height_per_hour", $settings->height_per_hour ); + $smarty->assign( "height_per_min", $settings->height_per_hour / 60 ); // date("Y-m-d H:i:s", $timestamp); @@ -211,4 +212,4 @@ $smarty->display("index.html"); -?> +?> \ No newline at end of file diff -r 73350e16077a -r 80dc62c94185 templates/index.html --- a/templates/index.html Wed Jul 29 10:51:38 2009 +0900 +++ b/templates/index.html Wed Jul 29 16:53:56 2009 +0900 @@ -539,7 +539,7 @@ prgRecordURL : 'simpleReservation.php', // 簡易予約 prgRecordPlusURL : 'recordp.php', // 詳細予約 prgCancelURL : 'cancelReservation.php', // 予約キャンセル - dotMin : 2, + dotMin : {/literal}{$height_per_min}{literal}, tableStartTime : {/literal}'{$top_time}', tableEndTime : '{$last_time}'{literal} }