Ticket #964: livetv-mythweb.patch
File livetv-mythweb.patch, 3.7 KB (added by , 18 years ago) |
---|
-
mythweb/languages/English.php
279 279 'SI Units?' => '', 280 280 'Scheduled Popup' => '', 281 281 'Show descriptions on new line' => '', 282 'Show LiveTV recordings under All recordings category' => '', 282 283 'Status Bar' => '', 283 284 'Weather Icons' => '', 284 285 'format help' => '', -
mythweb/modules/settings/session.php
33 33 if ($_POST['weathericonset']) $_SESSION['weathericonset'] = $_POST['weathericonset']; 34 34 // Recorded Programs 35 35 $_SESSION['recorded_descunder'] = $_POST['recorded_descunder'] ? true : false; 36 $_SESSION['recorded_hidelivetv'] = $_POST['recorded_hidelivetv'] ? true : false; 36 37 // Guide Settings 37 38 $_SESSION['guide_favonly'] = $_POST['guide_favonly'] ? true : false; 38 39 // Change language? Make sure we load the new translation file, too. -
mythweb/themes/default/settings/session.php
42 42 <td class="command_border_b" align="right"><?php echo t('Show descriptions on new line') ?>:</td> 43 43 <td class="command_border_b"><input class="radio" type="checkbox" title="Nice for very long descriptions on the recorded screen." name="recorded_descunder"<?php if ($_SESSION['recorded_descunder']) echo ' CHECKED' ?>></td> 44 44 </tr><tr> 45 <td class="command_border_b" align="right"><?php echo t('Show LiveTV recordings under All recordings category') ?>:</td> 46 <td class="command_border_b"><input class="radio" type="checkbox" title="Show LiveTV recordings" name="recorded_hidelivetv"<?php if ($_SESSION['recorded_hidelivetv']) echo ' CHECKED' ?>></td> 47 </tr><tr> 45 48 <td colspan="2"><?php echo t('Guide Settings') ?>:</td> 46 49 </tr><tr> 47 50 <td class="command_border_b" align="right"><?php echo t('Only display favourite channels') ?>:</td> -
mythweb/themes/default/tv/recorded.php
162 162 ?> 163 163 </select></td> 164 164 <?php 165 if ( count($Groups) > 1) { ?>165 if ((count($Groups) > 1) || $_SESSION['recorded_hidelivetv']) { ?> 166 166 <td><?php echo t('Show group') ?>:</td> 167 167 <td><select name="recgroup" onchange="get_element('program_titles').submit()"> 168 168 <option value=""><?php echo t('All recordings') ?></option><?php … … 220 220 $prev_group = ''; 221 221 $cur_group = ''; 222 222 223 foreach ($All_Shows as $show) { 224 225 // Print a dividing row if grouping changes 226 switch ($group_field) { 223 foreach ($All_Shows as $show) 224 { 225 if (($_GET['recgroup'] == "") && ($_GET['title'] == "") && ($_SESSION['recorded_hidelivetv']) && ($show->recgroup == "LiveTV")) 226 { 227 continue; 228 } 229 // Print a dividing row if grouping changes 230 switch ($group_field) 231 { 227 232 case 'airdate': 228 233 $cur_group = strftime($_SESSION['date_listing_jump'], $show->starttime); 229 234 break; … … 317 327 $row_section[$row] = $section; 318 328 // Increment row last 319 329 $row++; 330 } 320 331 } 332 321 333 ?> 322 334 323 335 </table>