mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-16 14:53:54 +00:00
Standards
This commit is contained in:
parent
3f84caeec5
commit
8fbf514e3d
2 changed files with 2 additions and 2 deletions
|
@ -52,7 +52,7 @@ function getWeather($loc, $units = 'metric', $lang = 'en', $appid = '', $cacheti
|
||||||
$res = new SimpleXMLElement(Network::fetchUrl($url));
|
$res = new SimpleXMLElement(Network::fetchUrl($url));
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
if (empty($_SESSION['curweather_notice_shown'])) {
|
if (empty($_SESSION['curweather_notice_shown'])) {
|
||||||
notice(DI::l10n()->t('Error fetching weather data. Error was: '.$e->getMessage()));
|
notice(DI::l10n()->t('Error fetching weather data. Error was: ' . $e->getMessage()));
|
||||||
$_SESSION['curweather_notice_shown'] = true;
|
$_SESSION['curweather_notice_shown'] = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -127,7 +127,7 @@ function forumdirectory_content(App $a)
|
||||||
}
|
}
|
||||||
DBA::close($r);
|
DBA::close($r);
|
||||||
} else {
|
} else {
|
||||||
notice(DI::l10n()->t("No entries \x28some entries may be hidden\x29.") . EOL);
|
notice(DI::l10n()->t("No entries \x28some entries may be hidden\x29."));
|
||||||
}
|
}
|
||||||
|
|
||||||
$tpl = Renderer::getMarkupTemplate('directory_header.tpl');
|
$tpl = Renderer::getMarkupTemplate('directory_header.tpl');
|
||||||
|
|
Loading…
Reference in a new issue