Ticket #8553: td.patch
File td.patch, 5.4 KB (added by , 14 years ago) |
---|
-
modules/tv/tmpl/default/detail.php
old new 206 206 <th><?php echo t('Type') ?>:</th> 207 207 <td><?php echo $program->category_type; 208 208 if ($program->seriesid) 209 echo ' (', $program->seriesid, ')' ?></ dd>209 echo ' (', $program->seriesid, ')' ?></td> 210 210 </tr><?php 211 211 } 212 212 if (strlen($program->syndicatedepisodenumber) > 0) { 213 213 ?><tr class="x-extras"> 214 214 <th><?php echo t('Episode Number') ?>:</th> 215 <td><?php echo $program->syndicatedepisodenumber ?></ dd>215 <td><?php echo $program->syndicatedepisodenumber ?></td> 216 216 </tr><?php 217 217 } 218 218 if (strlen($program->airdate)) { 219 219 ?><tr class="x-extras"> 220 220 <th><?php echo t('Original Airdate') ?>:</th> 221 <td><?php echo $program->airdate ?></ dd>221 <td><?php echo $program->airdate ?></td> 222 222 </tr><?php 223 223 } 224 224 if (strlen($program->programid) > 0) { 225 225 ?><tr class="x-extras"> 226 226 <th><?php echo t('Program ID') ?>:</th> 227 <td><?php echo $program->programid ?></ dd>227 <td><?php echo $program->programid ?></td> 228 228 </tr><?php 229 229 } 230 230 if ($program->get_credits('host', TRUE)) { 231 231 ?><tr class="x-extras"> 232 232 <th><?php echo t('Hosted by') ?>:</th> 233 <td><?php echo $program->get_credits('host', TRUE) ?></ dd>233 <td><?php echo $program->get_credits('host', TRUE) ?></td> 234 234 </tr><?php 235 235 } 236 236 if ($program->get_credits('presenter', TRUE)) { 237 237 ?><tr class="x-extras"> 238 238 <th><?php echo t('Presented by') ?>:</th> 239 <td><?php echo $program->get_credits('presenter', TRUE) ?></ dd>239 <td><?php echo $program->get_credits('presenter', TRUE) ?></td> 240 240 </tr><?php 241 241 } 242 242 if ($program->get_credits('actor', TRUE)) { 243 243 ?><tr class="x-extras"> 244 244 <th><?php echo t('Cast') ?>:</th> 245 <td><?php echo $program->get_credits('actor', TRUE) ?></ dd>245 <td><?php echo $program->get_credits('actor', TRUE) ?></td> 246 246 </tr><?php 247 247 } 248 248 if ($program->get_credits('guest_star', TRUE)) { 249 249 ?><tr class="x-extras"> 250 250 <th><?php echo t('Guest Starring') ?>:</th> 251 <td><?php echo $program->get_credits('guest_star', TRUE) ?></ dd>251 <td><?php echo $program->get_credits('guest_star', TRUE) ?></td> 252 252 </tr><?php 253 253 } 254 254 if ($program->get_credits('director', TRUE)) { 255 255 ?><tr class="x-extras"> 256 256 <th><?php echo t('Directed by') ?>:</th> 257 <td><?php echo $program->get_credits('director', TRUE) ?></ dd>257 <td><?php echo $program->get_credits('director', TRUE) ?></td> 258 258 </tr><?php 259 259 } 260 260 if ($program->get_credits('producer', TRUE)) { 261 261 ?><tr class="x-extras"> 262 262 <th><?php echo t('Produced by') ?>:</th> 263 <td><?php echo $program->get_credits('producer', TRUE) ?></ dd>263 <td><?php echo $program->get_credits('producer', TRUE) ?></td> 264 264 </tr><?php 265 265 } 266 266 if ($program->get_credits('executive_producer', TRUE)) { 267 267 ?><tr class="x-extras"> 268 268 <th><?php echo t('Exec. Producer') ?>:</th> 269 <td><?php echo $program->get_credits('executive_producer', TRUE) ?></ dd>269 <td><?php echo $program->get_credits('executive_producer', TRUE) ?></td> 270 270 </tr><?php 271 271 } 272 272 if ($program->get_credits('writer', TRUE)) { 273 273 ?><tr class="x-extras"> 274 274 <th><?php echo t('Written by') ?>:</th> 275 <td><?php echo $program->get_credits('writer', TRUE) ?></ dd>275 <td><?php echo $program->get_credits('writer', TRUE) ?></td> 276 276 </tr><?php 277 277 } 278 278 if (strlen($program->starstring) > 0) { 279 279 ?><tr class="x-extras"> 280 280 <th><?php echo t('Guide rating') ?>:</th> 281 <td><?php echo $program->starstring ?></ dd>281 <td><?php echo $program->starstring ?></td> 282 282 </tr><?php 283 283 } 284 284 ?><tr class="x-extras"> 285 285 <th><?php echo t('Length') ?>:</th> 286 <td><?php echo nice_length($program->length) ?></ dd>286 <td><?php echo nice_length($program->length) ?></td> 287 287 </tr><?php 288 288 if (strlen($program->filesize) > 0) { 289 289 ?><tr class="x-extras"> 290 290 <th><?php echo t('File Size') ?>:</th> 291 <td><?php echo nice_filesize($program->filesize) ?></ dd>291 <td><?php echo nice_filesize($program->filesize) ?></td> 292 292 </tr><?php 293 293 } 294 294 if (strlen($program->recgroup)) { 295 295 ?><tr class="x-extras"> 296 296 <th><?php echo t('Recording Group') ?>:</th> 297 <td><?php echo $program->recgroup ?></ dd>297 <td><?php echo $program->recgroup ?></td> 298 298 </tr><?php 299 299 } 300 300 if (strlen($program->playgroup)) { 301 301 ?><tr class="x-extras"> 302 302 <th><?php echo t('Playback Group') ?>:</th> 303 <td><?php echo $program->playgroup ?></ dd>303 <td><?php echo $program->playgroup ?></td> 304 304 </tr><?php 305 305 } 306 306 }