mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-23 23:20:57 +01:00
typo
This commit is contained in:
parent
b426fc1e77
commit
30f0145ea0
6
mod.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>';
|
||||
}
|
||||
|
@ -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);
|
||||
|
@ -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…
Reference in New Issue
Block a user