summaryrefslogtreecommitdiff
path: root/mod.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod.php')
-rw-r--r--mod.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod.php b/mod.php
index 908bc167..f6ed73d2 100644
--- a/mod.php
+++ b/mod.php
@@ -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>';
}