changeset 58:80dc62c94185

add: height_per_minite at index.html
author Sushi-k <epgrec@park.mda.or.jp>
date Wed, 29 Jul 2009 16:53:56 +0900
parents 73350e16077a
children f40b6cc4c587
files index.php templates/index.html
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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}
 }