You got it. I am using 1.2.11 (cvs), but it should be the same... here is a clip of what I did to my version of the same file to get that selection box to go away... just commented out that section:
/******************************************************/ /* LOAD EACH GROUP OF OPTIONS INTO THE OPTIONS ARRAY. */ /******************************************************/ /*** Load the General Options into the array ***/ $optgrps[SMOPT_GRP_GENERAL] = _("General Display Options"); $optvals[SMOPT_GRP_GENERAL] = array(); /* Load the theme option. */ /* $theme_values = array(); foreach ($theme as $theme_key => $theme_attributes) { $theme_values[$theme_attributes['NAME']] = $theme_attributes['PATH']; } ksort($theme_values); $theme_values = array_flip($theme_values); $optvals[SMOPT_GRP_GENERAL][] = array( 'name' => 'chosen_theme', 'caption' => _("Theme"), 'type' => SMOPT_TYPE_STRLIST, 'refresh' => SMOPT_REFRESH_ALL, 'posvals' => $theme_values, 'save' => 'save_option_theme' ); */ $css_values = array( 'none' => _("Default" ) ); $handle=opendir('../themes/css/'); > Hmmm... > > Didn't think if attacking it from that direction... > > I'm using 1.2.10. Basically know nothing about PHP, but a lot about > Perl so I can follow PHP a bit. I'm guessing that the question is being > asked in the options_display.php module. > > I'm guessing it is in this area, but I'm not sure how to just make that > one question disappear. > > /* Load the theme option. */ > $theme_values = array(); > foreach ($theme as $theme_key => $theme_attributes) { > $theme_values[$theme_attributes['NAME']] = > $theme_attributes['PATH']; > } > ksort($theme_values); > $theme_values = array_flip($theme_values); > $optvals[SMOPT_GRP_GENERAL][] = array( > 'name' => 'chosen_theme', > 'caption' => _("Theme"), > 'type' => SMOPT_TYPE_STRLIST, > 'refresh' => SMOPT_REFRESH_ALL, > 'posvals' => $theme_values, > 'save' => 'save_option_theme' > ); > > $css_values = array( 'none' => _("Default" ) ); > $handle=opendir('../themes/css/'); > while ($file = readdir($handle) ) { > if ( substr( $file, -4 ) == '.css' ) { > $css_values[$file] = substr( $file, 0, strlen( $file ) - 4 > ); > } > } > closedir($handle); > > I looked in the config.php file after I removed the themes and they were > gone. As soon as the adminstration option is run however, the are back, > but I can't figure out where they are coming from unless they are > encoded in the programs for some reason which would not make sense. > > p dont think said: >> I'm not familiar enough with the admin plugin to tell you how it is >> reconstructing that information, but it sounds like it might be >> getting it out of a prefs file or somewhere in the config.php file. >> What may or may not be easier to fix is to just remove the theme >> selection box on the display options page so users don't have any way >> to change themes. If you want, I can send you a modified version of >> the relevant file (what version are you running?) >> >> - paul > > -- > Kevin W. Reed - TNET Services, Inc. > Email: [EMAIL PROTECTED] Cell: 602-820-5812 Office: 480-733-6123 > URL: http://www.tnet.com Support Forums: http://www.tnet.com/forum Mail > Sent from TNET WebMail Server ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com -- squirrelmail-users mailing list List Address: [EMAIL PROTECTED] List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id)95 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users