Mercurial > epgrec.yaz
comparison programTable.php @ 57:73350e16077a
fix: bug
author | Sushi-k <epgrec@park.mda.or.jp> |
---|---|
date | Wed, 29 Jul 2009 10:51:38 +0900 |
parents | 8965ef108821 |
children | a2c4665b310c |
comparison
equal
deleted
inserted
replaced
56:be9e4520cfec | 57:73350e16077a |
---|---|
95 | 95 |
96 $types = array(); | 96 $types = array(); |
97 $types[0]['name'] = "すべて"; | 97 $types[0]['name'] = "すべて"; |
98 $types[0]['value'] = "*"; | 98 $types[0]['value'] = "*"; |
99 $types[0]['selected'] = $type == "*" ? "selected" : ""; | 99 $types[0]['selected'] = $type == "*" ? "selected" : ""; |
100 if( $settings->gr_tuners ) { | 100 if( $settings->gr_tuners != 0 ) { |
101 $arr = array(); | 101 $arr = array(); |
102 $arr['name'] = "GR"; | 102 $arr['name'] = "GR"; |
103 $arr['value'] = "GR"; | 103 $arr['value'] = "GR"; |
104 $arr['selected'] = $type == "GR" ? "selected" : ""; | 104 $arr['selected'] = $type == "GR" ? "selected" : ""; |
105 array_push( $types, $arr ); | 105 array_push( $types, $arr ); |
106 } | 106 } |
107 if( $settings->bs_tuners ) { | 107 if( $settings->bs_tuners != 0 ) { |
108 $arr = array(); | 108 $arr = array(); |
109 $arr['name'] = "BS"; | 109 $arr['name'] = "BS"; |
110 $arr['value'] = "BS"; | 110 $arr['value'] = "BS"; |
111 $arr['selected'] = $type == "BS" ? "selected" : ""; | 111 $arr['selected'] = $type == "BS" ? "selected" : ""; |
112 array_push( $types, $arr ); | 112 array_push( $types, $arr ); |