1
1
Fork 0

minor string update

This commit is contained in:
Friendika 2011-05-25 17:20:41 -07:00
commit cd536731c3
4 changed files with 2374 additions and 2337 deletions

View file

@ -31,6 +31,12 @@ function dfrn_poll_init(&$a) {
killme();
}
$r = q("SELECT `hidewall` FROM `profile` LEFT JOIN `user` ON `profile`.`uid` = `user`.`uid` WHERE `user`.`nickname` = '%s' AND `profile`.`is-default` = 1 LIMIT 1",
dbesc($a->argv[1])
);
if(count($r) && $r[0]['hidewall'])
killme();
logger('dfrn_poll: public feed request from ' . $_SERVER['REMOTE_ADDR'] );
header("Content-type: application/atom+xml");
$o = get_feed_for($a, '', $a->argv[1],$last_update);

View file

@ -363,7 +363,7 @@ function profiles_content(&$a) {
$opt_tpl = get_markup_template("profile-hide-wall.tpl");
$hide_wall = replace_macros($opt_tpl,array(
'$desc' => t('Hide your messages from unknown viewers of this profile?'),
'$desc' => t('Hide profile details and all your messages from unknown viewers?'),
'$yes_str' => t('Yes'),
'$no_str' => t('No'),
'$yes_selected' => (($r[0]['hidewall']) ? " checked=\"checked\" " : ""),