OSDN Git Service

add: height_per_minite at index.html
authorSushi-k <epgrec@park.mda.or.jp>
Wed, 29 Jul 2009 07:53:56 +0000 (16:53 +0900)
committerSushi-k <epgrec@park.mda.or.jp>
Wed, 29 Jul 2009 07:53:56 +0000 (16:53 +0900)
index.php
templates/index.html

index 485de4f..0188ce3 100755 (executable)
--- a/index.php
+++ b/index.php
@@ -198,6 +198,7 @@ $last_time = $top_time + 3600 * $program_length;
  $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 @@ $last_time = $top_time + 3600 * $program_length;
  
  
  $smarty->display("index.html");
-?>
+?>
\ No newline at end of file
index 0665cea..9dcb392 100755 (executable)
@@ -539,7 +539,7 @@ var INISet = {
        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}
 }