[mythtv] [Mythweb] [PATCH] mythfilldatabase and proglist/movie

Steven steven.cruysberghs at tiscali.be
Fri Jul 23 17:43:47 EDT 2004


Isaac Richards wrote:

>On Friday 23 July 2004 11:24 am, Steven Cruysberghs wrote:
>  
>
>>This patch adds a little hack for Belgian and Dutch tv grabbers.
>>It fills up "category type" with the word Film if it is empty and this
>>is the value for "category" (like it was already doing for the uk grabber)
>>    
>>
>
>Mostly applied.  Translate it to 'Film' if you want it that way on display, 
>shouldn't be translated in the db.
>
>Isaac
>  
>
Thanks.
Sure makes sense but requires a minor update for mythweb (in 
themes/Default/theme.php)

The string LANG_MOVIES was already in the language files so this should 
be ok.

And of course config/conf.php should have :
// Movie word
    define('movie_word', 'movie');

But that's the default anyway.

I've added [mythweb] in the subject so I guess Chris will pick this up :-)

Steven

-------------- next part --------------
--- theme.php.orig	2004-07-23 23:31:38.000000000 +0200
+++ theme.php	2004-07-23 23:32:28.000000000 +0200
@@ -120,7 +120,7 @@
         ?><a id="category_legend" onmouseover="show('category_legend');return true;" onmouseout="hide();return true;">MythTV:</a> &nbsp; &nbsp;
                 <a href="program_listing.php"><?php echo _LANG_LISTINGS?></a>
                 &nbsp; | &nbsp;
-                <a href="search.php?category_type=<?php echo movie_word?>"><?php echo movie_word?>s</a>
+                <a href="search.php?category_type=<?php echo movie_word?>"><?php echo _LANG_MOVIES?></a>
                 <?/*&nbsp; | &nbsp;
                 <a href="index.php?mode=favourites"><?php echo _LANG_FAVOURITES?></a>*/?>
                 &nbsp; | &nbsp;


More information about the mythtv-dev mailing list