07.11.2005, 15:55
Fatal error: Call to undefined function: themes_get_language() in m:\home\breez\www\themes\test\theme.php on line 30
вот что я получил....
global $all_vars, $index;
$postnuke_theme = true;
$autotheme_theme = true;
//Include theme specific files for config, command definition, parsing and functions
include(dirname(__FILE__)."/theme.cfg");
$thename = basename(dirname(__FILE__));
themes_get_language();
include(dirname(__FILE__)."/includes/commands.inc.php");
include(dirname(__FILE__)."/includes/autotheme.inc.php");
//Tables that modules and others call so as to keep consistent with the theme
function OpenTable()
{
global $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4;
echo "<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"0\" bgcolor=\"$bgcolor2\"><tr><td>\n";
echo "<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"8\" bgcolor=\"$bgcolor1\"><tr><td>\n";
}
function CloseTable()
{
echo "</td></tr></table></td></tr></table>\n";
}
function OpenTable2()
{
global $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4;
echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"0\" bgcolor=\"$bgcolor2\" align=\"center\"><tr><td>\n";
echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"8\" bgcolor=\"$bgcolor1\"><tr><td>\n";
}
а это кусок, в котором присутствует функция
|