mirror of
https://github.com/friendica/friendica
synced 2025-04-27 04:30:11 +00:00
footer is serving no useful purpose.
This commit is contained in:
parent
0e39f60c04
commit
1cffecd1be
4 changed files with 29 additions and 24 deletions
10
mod/home.php
10
mod/home.php
|
@ -14,12 +14,14 @@ if(! function_exists('home_content')) {
|
|||
function home_content(&$a) {
|
||||
|
||||
$o = '';
|
||||
if(! (x($a->page,'footer')))
|
||||
$a->page['footer'] = '';
|
||||
$a->page['footer'] .= "<div class=\"powered\" >Powered by <a href=\"http://friendika.com\" title=\"friendika\" >friendika</a></div>";
|
||||
/*
|
||||
* if(! (x($a->page,'footer')))
|
||||
* $a->page['footer'] = '';
|
||||
* $a->page['footer'] .= "<div class=\"powered\" >Powered by <a href=\"http://friendika.com\" title=\"friendika\" >friendika</a></div>";
|
||||
*/
|
||||
$o .= '<h1>Welcome' . ((x($a->config,'sitename')) ? " to {$a->config['sitename']}" : "" ) . '</h1>';
|
||||
if(file_exists('home.html'))
|
||||
$o .= file_get_contents('home.html');
|
||||
$o .= file_get_contents('home.html');
|
||||
|
||||
$o .= login(($a->config['register_policy'] == REGISTER_CLOSED) ? 0 : 1);
|
||||
return $o;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue