Project

General

Profile

« Previous | Next » 

Revision cf093b35

Added by Renato Botelho almost 10 years ago

Remove more references to theme, ticket #5333

View differences:

src/usr/local/www/guiconfig.inc
89 89
	}
90 90
}
91 91

  
92
$g['theme'] = get_current_theme();
93

  
94 92
/* Set the default interface language */
95 93
if ($config['system']['language'] <> "") {
96 94
	$g['language'] = $config['system']['language'];
......
354 352
	$nifty_redbox = "#990000";
355 353
	$nifty_blackbox = "#000000";
356 354

  
357
	$themename = $g['theme'];
358

  
359
	if (file_exists("/usr/local/www/themes/{$themename}/tabcontrols.php")) {
360
		$toeval = file_get_contents("/usr/local/www/themes/{$themename}/tabcontrols.php");
361
		eval($toeval);
362
	}
363

  
364
	if (file_exists("/usr/local/www/themes/{$themename}/infobox.php")) {
365
		$toeval = file_get_contents("/usr/local/www/themes/{$themename}/infobox.php");
366
		eval($toeval);
367
	}
368

  
369

  
370 355
	if (!$savebutton) {
371 356
		$savebutton = "<td class=\"infoboxsave\"><input value=\"" . gettext("Close") . "\" type=\"button\" onclick=\"jQuery(this).parents('table[id=redboxtable]').hide();\" /></td>";
372 357
	}

Also available in: Unified diff