View Single Post
  #2  
Old 2nd January 2011, 15:32
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
in the theme main.php find
PHP Code:
OpenTable('Theme Change');
        echo 
"<p align=\"center\"><b>Theme</b></p>\n";
        echo 
"<form id=\"acp_styles\" type=\"hidden\" method=\"post\" action=\"#\">";
        echo 
"<p><select id=\"template_file\" name=\"theme_change\" onchange=\"if (this.options[this.selectedIndex].value != '') this.form.submit();\">".themechange()."</select></p>";
        echo 
"<p align=\"center\"><b>Language</b></p>\n";
        echo 
"<p><select id=\"language_file\" name=\"language_change\" onchange=\"if (this.options[this.selectedIndex].value != '') this.form.submit();\">".languagechange()."</select></p>";
        echo 
" <input class=\"button2\" type=\"submit\" value=\"SELECT\" /></form>";
CloseTable(); 
and remove it
dont for get to fix theme function themeheader()
by adding $shout_config to the globals and adding
HTML Code:
shoutrefresht = "<?php echo $shout_config['refresh_time']; ?>";
shoutidle = "<?php echo $shout_config['idle_time']; ?>";
in this
HTML Code:
<script type="text/javascript">
pmbtsite_url = "<?php echo $siteurl; ?>";
tag_prompt = "<?php echo _bb_tag_prompt; ?>";
img_prompt = "<?php echo _bb_img_prompt; ?>";
font_formatter_prompt = "<?php echo _bb_font_formatter_prompt; ?>";
link_text_prompt = "<?php echo _bb_link_text_prompt; ?>";
link_url_prompt = "<?php echo _bb_link_url_prompt; ?>";
link_email_prompt = "<?php echo _bb_link_email_prompt; ?>";
list_type_prompt = "<?php echo _bb_list_type_prompt; ?>";
list_item_prompt = "<?php echo _bb_list_item_prompt; ?>";
_btshoutnowprivate = "<?php echo _btshoutnowprivate; ?>";
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote