This commit is contained in:
Savetheinternet 2011-04-14 16:58:43 +10:00
parent b426fc1e77
commit 30f0145ea0
3 changed files with 5 additions and 5 deletions

View File

@ -284,7 +284,7 @@
$query->execute() or error(db_error($query));
// Build theme
$config['build_function'](themeSettings());
$theme['build_function'](themeSettings());
} else {
$body = '<form action="" method="post">';
@ -355,14 +355,14 @@
'<th class="minimal">Actions</th>' .
'<td><ul style="padding:0 20px">' .
'<li>' .
'<a title="Use theme" href="?/themes/frameset">Use</a>' .
'<a title="Use theme" href="?/themes/' . $_theme . '">Use</a>' .
'</li>' .
'<li>' .
confirmLink('Remove', 'Uninstall theme', 'Are you sure you want to permanently remove this theme?', 'themes/' . $_theme . '/uninstall') .
'</li>' .
'</ul></td>' .
'</tr>' .
'</tr>';
'<tr style="height:40px"><td colspan="2"><hr/></td></tr>';
}
$body .= '</table>';
}

View File

@ -23,7 +23,7 @@
);
// Unique function name for building everything
$config['build_function'] = 'basic_build';
$theme['build_function'] = 'basic_build';
function basic_build($settings) {
Basic::build($settings);

View File

@ -26,7 +26,7 @@ Users never have to leave the homepage; they can do all their browsing from the
);
// Unique function name for building everything
$config['build_function'] = 'frameset_build';
$theme['build_function'] = 'frameset_build';
function frameset_build($settings) {
Frameset::build($settings);