From 89b573a6f3b7409ba9f8ba9fe41ed06b8106836b Mon Sep 17 00:00:00 2001 From: marijus Date: Tue, 25 Mar 2014 15:27:45 +0100 Subject: fix lock permissions view and autoload not kicking in on touch devices under certain conditions --- mod/lockview.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'mod/lockview.php') 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:') . '
'; + $o = '
  • ' . t('Visible to:') . '
  • '; $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[] = '' . $rr['name'] . ''; + $l[] = '
  • ' . $rr['name'] . '
  • '; } 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[] = '
  • ' . $rr['xchan_name'] . '
  • '; } if(count($deny_groups)) { $r = q("SELECT name FROM `groups` WHERE hash IN ( " . implode(', ', $deny_groups) . " )"); if($r) foreach($r as $rr) - $l[] = '' . $rr['name'] . ''; + $l[] = '
  • ' . $rr['name'] . '
  • '; } 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[] = '' . $rr['xchan_name'] . ''; + $l[] = '
  • ' . $rr['xchan_name'] . '
  • '; } - echo $o . implode(', ', $l); + echo $o . implode($l); killme(); } -- cgit v1.2.3