]> git.mxchange.org Git - friendica.git/blobdiff - mod/home.php
password reset
[friendica.git] / mod / home.php
index 44f2a9888b18492ad11a4610cf724c38f7588ace..d796052ade32ef2154d62be27f5a7e2d0c5f830e 100644 (file)
@@ -9,6 +9,8 @@ function home_init(&$a) {
                else
                        goaway( $a->get_baseurl() . "/profile/" . $_SESSION['uid'] );
        }
+       $a->page['htmlhead'] .= "<meta name=\"dfrn-template\" content=\"" . $a->get_baseurl() . "/profile/%s" . "\" />\r\n";
 }}
 
 
@@ -17,7 +19,7 @@ function home_content(&$a) {
 
        $a->page['footer'] .= "<div class=\"powered\" >Powered by <a href=\"http://dfrn.org\" name=\"DFRN.org\" >DFRN</a></div>";
        $o .= '<h1>Welcome' . ((x($a->config,'sitename')) ? " to {$a->config['sitename']}" : "" ) . '</h1>';
-       $o .= login(1);
+       $o .= login(($a->config['register_html'] == REGISTER_CLOSED) ? 0 : 1);
        return $o;