Browse Source

typo

pull/40/head
Savetheinternet 13 years ago
parent
commit
30f0145ea0
  1. 6
      mod.php
  2. 2
      templates/homepage/basic/theme.php
  3. 2
      templates/homepage/frameset/theme.php

6
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>';
}

2
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);

2
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);

Loading…
Cancel
Save