X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=mod%2Ffriendica.php;h=9fa203f58d0baa47dfada5b283986a265c104da7;hb=f7597d42ad9ffeed1774e9957237e1366270fc36;hp=28807b5b509f677fe589a5661ab6a35582ea5cf0;hpb=b5e857c0e7ccf4ef3d33e5b6d0a4325b693a8e80;p=friendica.git diff --git a/mod/friendica.php b/mod/friendica.php index 28807b5b50..9fa203f58d 100644 --- a/mod/friendica.php +++ b/mod/friendica.php @@ -9,7 +9,10 @@ function friendica_init(&$a) { $sql_extra = sprintf(" AND nickname = '%s' ",dbesc($a->config['admin_nickname'])); } if (isset($a->config['admin_email']) && $a->config['admin_email']!=''){ - $r = q("SELECT username, nickname FROM user WHERE email='%s' $sql_extra", dbesc($a->config['admin_email'])); + $adminlist = explode(",", str_replace(" ", "", $a->config['admin_email'])); + + //$r = q("SELECT username, nickname FROM user WHERE email='%s' $sql_extra", dbesc($a->config['admin_email'])); + $r = q("SELECT username, nickname FROM user WHERE email='%s' $sql_extra", dbesc($adminlist[0])); $admin = array( 'name' => $r[0]['username'], 'profile'=> $a->get_baseurl().'/profile/'.$r[0]['nickname'], @@ -34,7 +37,8 @@ function friendica_init(&$a) { 'admin' => $admin, 'site_name' => $a->config['sitename'], 'platform' => FRIENDICA_PLATFORM, - 'info' => ((x($a->config,'info')) ? $a->config['info'] : '') + 'info' => ((x($a->config,'info')) ? $a->config['info'] : ''), + 'no_scrape_url' => $a->get_baseurl().'/noscrape' ); echo json_encode($data); @@ -57,7 +61,7 @@ function friendica_content(&$a) { $o .= t('Please visit Friendica.com to learn more about the Friendica project.') . '
'; - $o .= t('Bug reports and issues: please visit') . ' ' . 'Bugs.Friendica.com
'; + $o .= t('Bug reports and issues: please visit') . ' ' . ''.t('the bugtracker at github').'
'; $o .= t('Suggestions, praise, donations, etc. - please email "Info" at Friendica - dot com') . '
'; $o .= '';