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));
|
$query->execute() or error(db_error($query));
|
||||||
|
|
||||||
// Build theme
|
// Build theme
|
||||||
$config['build_function'](themeSettings());
|
$theme['build_function'](themeSettings());
|
||||||
} else {
|
} else {
|
||||||
$body = '<form action="" method="post">';
|
$body = '<form action="" method="post">';
|
||||||
|
|
||||||
@ -355,14 +355,14 @@
|
|||||||
'<th class="minimal">Actions</th>' .
|
'<th class="minimal">Actions</th>' .
|
||||||
'<td><ul style="padding:0 20px">' .
|
'<td><ul style="padding:0 20px">' .
|
||||||
'<li>' .
|
'<li>' .
|
||||||
'<a title="Use theme" href="?/themes/frameset">Use</a>' .
|
'<a title="Use theme" href="?/themes/' . $_theme . '">Use</a>' .
|
||||||
'</li>' .
|
'</li>' .
|
||||||
'<li>' .
|
'<li>' .
|
||||||
confirmLink('Remove', 'Uninstall theme', 'Are you sure you want to permanently remove this theme?', 'themes/' . $_theme . '/uninstall') .
|
confirmLink('Remove', 'Uninstall theme', 'Are you sure you want to permanently remove this theme?', 'themes/' . $_theme . '/uninstall') .
|
||||||
'</li>' .
|
'</li>' .
|
||||||
'</ul></td>' .
|
'</ul></td>' .
|
||||||
'</tr>' .
|
'</tr>' .
|
||||||
'</tr>';
|
'<tr style="height:40px"><td colspan="2"><hr/></td></tr>';
|
||||||
}
|
}
|
||||||
$body .= '</table>';
|
$body .= '</table>';
|
||||||
}
|
}
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
);
|
);
|
||||||
|
|
||||||
// Unique function name for building everything
|
// Unique function name for building everything
|
||||||
$config['build_function'] = 'basic_build';
|
$theme['build_function'] = 'basic_build';
|
||||||
|
|
||||||
function basic_build($settings) {
|
function basic_build($settings) {
|
||||||
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
|
// Unique function name for building everything
|
||||||
$config['build_function'] = 'frameset_build';
|
$theme['build_function'] = 'frameset_build';
|
||||||
|
|
||||||
function frameset_build($settings) {
|
function frameset_build($settings) {
|
||||||
Frameset::build($settings);
|
Frameset::build($settings);
|
||||||
|
Loading…
Reference in New Issue
Block a user