1
1
Fork 0

resolve file inclusion conflicts w/ multiple plugins, improve the typo checker

This commit is contained in:
Friendika 2011-02-21 20:19:33 -08:00
commit 5f2f644064
17 changed files with 59 additions and 1844 deletions

View file

@ -1,6 +1,11 @@
<?php
function hostxrd($hostname) {
header("Content-type: text/xml");
$tpl = file_get_contents('view/xrd_host.tpl');
echo str_replace('$domain',$this->hostname,$tpl);
echo str_replace('$domain',$hostname,$tpl);
session_write_close();
exit();
}

View file

@ -1,5 +1,7 @@
<?php
function nav(&$a) {
/**
*
* Build page header and site navigation bars
@ -115,3 +117,5 @@
$a->page['nav'] .= '<span id="banner">' . $banner . '</span>';
call_hooks('page_header', $a->page['nav']);
}

View file

@ -1,6 +1,12 @@
<?php
function system_down() {
echo <<< EOT
<html>
<head><title>System Unavailable</title></head>
<body>
Apologies but this site is unavailable at the moment. Please try again later.
</body>
</html>
</html>
EOT;
}