use Friendica\Core\PConfig;
use Friendica\Core\System;
use Friendica\Database\DBM;
+use Friendica\Model\Profile;
use Friendica\Object\Image;
$frio = "view/theme/frio";
{
// disable the events module link in the profile tab
$a->theme_events_in_profile = false;
+ $a->videowidth = 622;
$a->set_template_engine('smarty3');
function frio_remote_nav($a, &$nav)
{
// get the homelink from $_XSESSION
- $homelink = get_my_url();
+ $homelink = Profile::getMyURL();
if (!$homelink) {
$homelink = defaults($_SESSION, 'visitor_home', '');
}
} elseif (!local_user() && remote_user()) {
$r = q("SELECT `name`, `nick`, `micro` AS `photo` FROM `contact` WHERE `id` = %d", intval(remote_user()));
$nav['remote'] = t("Guest");
- } elseif (get_my_url()) {
+ } elseif (Profile::getMyURL()) {
$r = q("SELECT `name`, `nick`, `photo` FROM `gcontact`
WHERE `addr` = '%s' AND `network` = 'dfrn'",
dbesc($webbie));