Revert "Updated modules to allow for partial overrides without errors"
This reverts commit db949bb802.
This commit is contained in:
parent
d6cf791677
commit
b202e02fbf
123 changed files with 471 additions and 768 deletions
|
|
@ -1,18 +1,18 @@
|
|||
<?php
|
||||
if(! function_exists('opensearch_content')) {
|
||||
function opensearch_content(&$a) {
|
||||
function opensearch_content(&$a) {
|
||||
|
||||
$tpl = get_markup_template('opensearch.tpl');
|
||||
|
||||
|
||||
header("Content-type: application/opensearchdescription+xml");
|
||||
|
||||
|
||||
$o = replace_macros($tpl, array(
|
||||
'$baseurl' => $a->get_baseurl(),
|
||||
'$nodename' => $a->get_hostname(),
|
||||
));
|
||||
|
||||
|
||||
echo $o;
|
||||
|
||||
|
||||
killme();
|
||||
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue