changeset 63:3d59472e08dd

fix: typo and ereg_replace replace to preg_replace
author yoneda <yoneda@recorder.localnet.mda.or.jp>
date Fri, 14 Aug 2009 13:02:45 +0900
parents 71efa3d98b28
children b7d8699a955c
files getepg.php templates/envSetting.html
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/getepg.php	Sun Aug 02 12:26:41 2009 +0900
+++ b/getepg.php	Fri Aug 14 13:02:45 2009 +0900
@@ -111,8 +111,8 @@
 	foreach( $xml->programme as $program ) {
 		$channel_disc = $program['channel']; 
 		$channel = $map["$channel_disc"];
-		$starttime = ereg_replace(" \+0900", '', $program['start'] );
-		$endtime = ereg_replace( " \+0900", '', $program['stop'] );
+		$starttime = preg_replace(" \+0900", '', $program['start'] );
+		$endtime = preg_replace( " \+0900", '', $program['stop'] );
 		$title = $program->title;
 		$desc = $program->desc;
 		$cat_ja = "";
--- a/templates/envSetting.html	Sun Aug 02 12:26:41 2009 +0900
+++ b/templates/envSetting.html	Fri Aug 14 13:02:45 2009 +0900
@@ -65,7 +65,7 @@
 <h3>地デジチューナーの台数</h3>
 <div class="setting">
 <div class="caption">サーバーに接続されている地デジチューナーの台数を設定してください。地デジチューナーを持っていない場合、0にします。</div>
-<input type="text" name="gr_tunerst" value="{$settings->gr_tuners}" size="3" class="required digits" />
+<input type="text" name="gr_tuners" value="{$settings->gr_tuners}" size="3" class="required digits" />
 </div>
 
 <h3>BSチューナーの台数</h3>