Ticket #6011: mythweb.genre.colors.diff
File mythweb.genre.colors.diff, 7.7 KB (added by , 15 years ago) |
---|
-
includes/config.php
96 96 if (!isset($_SESSION['recorded_paging'])) 97 97 $_SESSION['recorded_paging'] = null; 98 98 99 if (!isset($_SESSION['genre_colors'])) 100 $_SESSION['genre_colors'] = 1; 101 99 102 // The following constants are defined for the videos page 100 103 101 104 if (!isset($_SESSION['show_video_covers'])) -
includes/css.php
18 18 /**/ 19 19 function category_class(&$item) { 20 20 $css_class =array(); 21 // Disable categories colorization 22 if (isset($_SESSION['genre_colors']) 23 && $_SESSION['genre_colors'] == 0) { 24 $css_class[] = $cache[$category] = 'cat_Unknown'; 25 return $css_class[0]; 26 } 21 27 // Recording classes? 22 28 $css_class[] = recstatus_class($item); 23 29 // Category type? -
modules/mythweb/set_defaults.php
16 16 // Save? 17 17 if ($_POST['save']) { 18 18 // Some global mythweb settings 19 $_SESSION['prefer_channum'] = setting('WebPrefer_Channum', null, $_POST['prefer_channum'] ? 1 : 0); 20 $_SESSION['show_popup_info'] = $_POST['show_popup_info'] ? 1 : 0; 21 $_SESSION['show_channel_icons'] = $_POST['show_channel_icons'] ? 1 : 0; 22 $_SESSION['sortby_channum'] = $_POST['sortby_channum'] ? 1 : 0; 23 $_SESSION['show_video_covers'] = $_POST['show_video_covers'] ? 1 : 0; 19 $_SESSION['prefer_channum'] = setting('WebPrefer_Channum', null, $_POST['prefer_channum'] ? 1 : 0); 20 $_SESSION['show_popup_info'] = $_POST['show_popup_info'] ? 1 : 0; 21 $_SESSION['show_channel_icons'] = $_POST['show_channel_icons'] ? 1 : 0; 22 $_SESSION['sortby_channum'] = $_POST['sortby_channum'] ? 1 : 0; 23 $_SESSION['genre_colors'] = $_POST['genre_colors'] ? 1 : 0; 24 $_SESSION['show_video_covers'] = $_POST['show_video_covers'] ? 1 : 0; 24 25 } 25 26 26 27 // These settings are limited to MythWeb itself -
modules/mythweb/tmpl/default/set_defaults.php
42 42 <?php if ($_SESSION['sortby_channum']) echo ' CHECKED'; ?>></td> 43 43 </tr> 44 44 <tr> 45 <th><?php echo t('genre_colors'); ?>:</th> 46 <td><input class=radio" type="checkbox" name="genre_colors" 47 title="<?php echo t('genre_colors'); ?>" 48 <?php if ($_SESSION['genre_colors']) echo ' CHECKED'; ?>></td> 49 </tr> 50 <tr> 45 51 <th><?php echo t('show_video_covers'); ?>:</th> 46 52 <td><input class=radio" type="checkbox" name="show_video_covers" 47 53 title="<?php echo t('show_video_covers'); ?>" -
modules/_shared/lang/English_GB.lang
262 262 "generic_time" 263 263 %I:%M %p 264 264 "Genre" 265 "genre_colors" 265 266 "Genres" 266 267 "Go" 267 268 "Google" -
modules/_shared/lang/Catalan.lang
367 367 %I:%M %p 368 368 "Genre" 369 369 Genere 370 "genre_colors" 370 371 "Genres" 371 372 "Go" 372 373 Anar -
modules/_shared/lang/Spanish.lang
440 440 %I:%M %p 441 441 "Genre" 442 442 Género 443 "genre_colors" 443 444 "Genres" 444 445 "Go" 445 446 Ir -
modules/_shared/lang/French.lang
321 321 "generic_time" 322 322 %I:%M %p 323 323 "Genre" 324 "genre_colors" 324 325 "Genres" 325 326 "Go" 326 327 Go -
modules/_shared/lang/Swedish.lang
446 446 %H:%M 447 447 "Genre" 448 448 Genre 449 "genre_colors" 449 450 "Genres" 450 451 Genrer 451 452 "Go" -
modules/_shared/lang/Danish.lang
362 362 %H:%M 363 363 "Genre" 364 364 Genre 365 "genre_colors" 365 366 "Genres" 366 367 "Go" 367 368 GÃ¥ -
modules/_shared/lang/Dutch.lang
355 355 %H:%M 356 356 "Genre" 357 357 Genre 358 "genre_colors" 358 359 "Genres" 359 360 "Go" 360 361 Doorgaan -
modules/_shared/lang/German.lang
462 462 %H:%M 463 463 "Genre" 464 464 Genre 465 "genre_colors" 465 466 "Genres" 466 467 Genre 467 468 "Go" -
modules/_shared/lang/Japanese.lang
356 356 %I:%M %p 357 357 "Genre" 358 358 ãžã£ã³ã« 359 "genre_colors" 359 360 "Genres" 360 361 "Go" 361 362 移å -
modules/_shared/lang/English.lang
257 257 "generic_time" 258 258 %I:%M %p 259 259 "Genre" 260 "genre_colors" 261 Display Genre Colors 260 262 "Genres" 261 263 "Go" 262 264 "Google" -
modules/_shared/lang/Czech.lang
289 289 "generic_time" 290 290 %I:%M %p 291 291 "Genre" 292 "genre_colors" 292 293 "Genres" 293 294 "Go" 294 295 "Google" -
modules/_shared/lang/Finnish.lang
490 490 %I:%M %p 491 491 "Genre" 492 492 Lajityyppi 493 "genre_colors" 493 494 "Genres" 494 495 Lajityypit 495 496 "Go" -
modules/_shared/lang/Polish.lang
332 332 "generic_time" 333 333 %H:%M %p 334 334 "Genre" 335 "genre_colors" 336 WyróŌniaj gatunki kolorami 335 337 "Genres" 336 338 "Go" 337 339 Idź … … 767 769 "show_channel_icons" 768 770 "show_popup_info" 769 771 "show_video_covers" 772 Pokazuj okÅadki filmów 770 773 "Showing all programs from the $1 group." 771 774 "Showing all programs." 772 775 "Showings between" -
modules/_shared/lang/Slovenian.lang
472 472 %H:%M 473 473 "Genre" 474 474 Åœanr 475 "genre_colors" 475 476 "Genres" 476 477 Åœanri 477 478 "Go"