}
}
- public static function post()
- {
- if (!empty($_POST['search'])) {
- self::getApp()->data['search'] = $_POST['search'];
- }
- }
-
public static function content()
{
$app = self::getApp();
if (($config->get('system', 'block_public') && !local_user() && !remote_user()) ||
($config->get('system', 'block_local_dir') && !local_user() && !remote_user())) {
- throw new HTTPException\ForbiddenException();
+ throw new HTTPException\ForbiddenException(L10n::t('Public access denied.'));
}
$output = '';
$location = '';
}
- $gender = (!empty($profile['gender']) ? L10n::t('Gender:') : false);
- $marital = (!empty($profile['marital']) ? L10n::t('Status:') : false);
+ $gender = (!empty($profile['gender']) ? L10n::t('Gender:') : false);
+ $marital = (!empty($profile['marital']) ? L10n::t('Status:') : false);
$homepage = (!empty($profile['homepage']) ? L10n::t('Homepage:') : false);
- $about = (!empty($profile['about']) ? L10n::t('About:') : false);
+ $about = (!empty($profile['about']) ? L10n::t('About:') : false);
$location_e = $location;