diff options
author | marijus <mario@mariovavti.com> | 2014-03-25 15:27:45 +0100 |
---|---|---|
committer | marijus <mario@mariovavti.com> | 2014-03-25 15:27:45 +0100 |
commit | 89b573a6f3b7409ba9f8ba9fe41ed06b8106836b (patch) | |
tree | 4ec44719a881d675f62e2556507cdecc67c3fdf1 /mod/lockview.php | |
parent | 50a7e9ce8fe30959d6e4343e8fdafaeca1e7856c (diff) | |
download | volse-hubzilla-89b573a6f3b7409ba9f8ba9fe41ed06b8106836b.tar.gz volse-hubzilla-89b573a6f3b7409ba9f8ba9fe41ed06b8106836b.tar.bz2 volse-hubzilla-89b573a6f3b7409ba9f8ba9fe41ed06b8106836b.zip |
fix lock permissions view and autoload not kicking in on touch devices under certain conditions
Diffstat (limited to 'mod/lockview.php')
-rw-r--r-- | mod/lockview.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mod/lockview.php b/mod/lockview.php index 32e7a3afb..785f491aa 100644 --- a/mod/lockview.php +++ b/mod/lockview.php @@ -40,7 +40,7 @@ function lockview_content(&$a) { $deny_users = expand_acl($item['deny_cid']); $deny_groups = expand_acl($item['deny_gid']); - $o = t('Visible to:') . '<br />'; + $o = '<li>' . t('Visible to:') . '</li>'; $l = array(); stringify_array_elms($allowed_groups,true); @@ -52,28 +52,28 @@ function lockview_content(&$a) { $r = q("SELECT name FROM `groups` WHERE hash IN ( " . implode(', ', $allowed_groups) . " )"); if($r) foreach($r as $rr) - $l[] = '<b>' . $rr['name'] . '</b>'; + $l[] = '<li><b>' . $rr['name'] . '</b></li>'; } if(count($allowed_users)) { $r = q("SELECT xchan_name FROM xchan WHERE xchan_hash IN ( " . implode(', ',$allowed_users) . " )"); if($r) foreach($r as $rr) - $l[] = $rr['xchan_name']; + $l[] = '<li>' . $rr['xchan_name'] . '</li>'; } if(count($deny_groups)) { $r = q("SELECT name FROM `groups` WHERE hash IN ( " . implode(', ', $deny_groups) . " )"); if($r) foreach($r as $rr) - $l[] = '<b><strike>' . $rr['name'] . '</strike></b>'; + $l[] = '<li><b><strike>' . $rr['name'] . '</strike></b></li>'; } if(count($deny_users)) { $r = q("SELECT xchan_name FROM xchan WHERE xchan_hash IN ( " . implode(', ', $deny_users) . " )"); if($r) foreach($r as $rr) - $l[] = '<strike>' . $rr['xchan_name'] . '</strike>'; + $l[] = '<li><strike>' . $rr['xchan_name'] . '</strike></li>'; } - echo $o . implode(', ', $l); + echo $o . implode($l); killme(); } |