diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2011-04-14 16:58:43 +1000 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2011-04-14 16:58:43 +1000 |
| commit | 30f0145ea04f16715e5f61c08029e51c0cdc49fe (patch) | |
| tree | 1e14c0449e710dd1584ae917f19f388dbe4166e5 | |
| parent | b426fc1e7759c20e14c812f7ce0f7649e6f1c8dd (diff) | |
typo
| -rw-r--r-- | mod.php | 6 | ||||
| -rw-r--r-- | templates/homepage/basic/theme.php | 2 | ||||
| -rw-r--r-- | templates/homepage/frameset/theme.php | 2 |
3 files changed, 5 insertions, 5 deletions
@@ -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>'; } diff --git a/templates/homepage/basic/theme.php b/templates/homepage/basic/theme.php index fb45be66..1251cfff 100644 --- a/templates/homepage/basic/theme.php +++ b/templates/homepage/basic/theme.php @@ -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); diff --git a/templates/homepage/frameset/theme.php b/templates/homepage/frameset/theme.php index 329ec2c6..8b96402d 100644 --- a/templates/homepage/frameset/theme.php +++ b/templates/homepage/frameset/theme.php @@ -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); |
