Fix theme config paths

This commit is contained in:
Olaf Conradi 2012-12-25 03:14:52 +01:00
parent ce0d389696
commit 85371a526f
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ function fancyred_form(&$a, $font_size, $line_height, $colour) {
'dark' => 'dark', 'dark' => 'dark',
); );
$t = file_get_contents( dirname(__file__). "/theme_settings.tpl" ); $t = file_get_contents( dirname(__file__). "../tpl/theme_settings.tpl" );
$o .= replace_macros($t, array( $o .= replace_macros($t, array(
'$submit' => t('Submit'), '$submit' => t('Submit'),
'$baseurl' => $a->get_baseurl(), '$baseurl' => $a->get_baseurl(),

View File

@ -65,7 +65,7 @@ function redbasic_form(&$a, $font_size, $line_height, $colour) {
'dark' => 'dark', 'dark' => 'dark',
); );
$t = file_get_contents( dirname(__file__). "/theme_settings.tpl" ); $t = file_get_contents( dirname(__file__). "../tpl/theme_settings.tpl" );
$o .= replace_macros($t, array( $o .= replace_macros($t, array(
'$submit' => t('Submit'), '$submit' => t('Submit'),
'$baseurl' => $a->get_baseurl(), '$baseurl' => $a->get_baseurl(),