coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: kokkus on February 24, 2008, 07:46:54 AM

Title: Windows Media Player
Post by: kokkus on February 24, 2008, 07:46:54 AM
Hey. I wanna modify the wmp settings like disable right-click, add buttons etc. So which file is it?
Plz help.
Title: Re: Windows Media Player
Post by: Joachim Müller on February 24, 2008, 08:07:10 AM
theme.php. Want longer answers? Then post longer questions. Yo!
Title: Re: Windows Media Player
Post by: kokkus on February 24, 2008, 10:12:39 PM
No I couldn't find the wmp script in the theme.php file.
define('THEME_HAS_RATING_GRAPHICS', 1);
define('THEME_HAS_NAVBAR_GRAPHICS', 1);
define('THEME_IS_XHTML10_TRANSITIONAL',1);  // Remove this if you edit this template until
                                            // you have validated it. See docs/theme.htm.

// HTML template for main menu
$template_sys_menu = <<<EOT
                <div class="topmenu">
                     {BUTTONS}
                </div>
EOT;

// HTML template for template sys_menu spacer
$template_sys_menu_spacer ='';


?>
Title: Re: Windows Media Player
Post by: Joachim Müller on February 25, 2008, 08:28:34 AM
If a particular function or variable definition doesn't exist in your custom theme, copy the corresponding section from the sample theme (as suggested in the docs).