diff options
author | zottel <github@zottel.net> | 2015-09-07 13:18:55 +0200 |
---|---|---|
committer | zottel <github@zottel.net> | 2015-09-07 13:18:55 +0200 |
commit | c5981cbc9afb88015fb59b4743484bb78a87188d (patch) | |
tree | 79c8d188ae9ef4e3f0cf5e9f99e5f4734f6fef10 | |
parent | 24b90b475b029fa535893e8d571a6714c1c54ebf (diff) | |
parent | 2f52b6c164a76435a957ad6a0562a55ae0becc2a (diff) | |
download | volse-hubzilla-c5981cbc9afb88015fb59b4743484bb78a87188d.tar.gz volse-hubzilla-c5981cbc9afb88015fb59b4743484bb78a87188d.tar.bz2 volse-hubzilla-c5981cbc9afb88015fb59b4743484bb78a87188d.zip |
Merge remote-tracking branch 'upstream/master'
-rw-r--r-- | include/security.php | 4 | ||||
-rw-r--r-- | version.inc | 2 | ||||
-rw-r--r-- | view/tpl/uexport.tpl | 15 |
3 files changed, 12 insertions, 9 deletions
diff --git a/include/security.php b/include/security.php index 7cc93fc06..380505a79 100644 --- a/include/security.php +++ b/include/security.php @@ -256,7 +256,7 @@ function item_permissions_sql($owner_id, $remote_observer = null) { $regexop = db_getfunc('REGEXP'); $sql = sprintf( " AND ( NOT (deny_cid like '%s' OR deny_gid $regexop '%s') - AND ( allow_cid like '%s' OR allow_gid $regexop '%s' OR ( allow_cid = '' AND allow_gid = '') ) + AND ( allow_cid like '%s' OR allow_gid $regexop '%s' OR ( allow_cid = '' AND allow_gid = '' AND item_private = 0 ) ) ) ", dbesc(protect_sprintf( '%<' . $observer . '>%')), @@ -291,7 +291,7 @@ function public_permissions_sql($observer_hash) { $regexop = db_getfunc('REGEXP'); $sql = sprintf( " OR (( NOT (deny_cid like '%s' OR deny_gid $regexop '%s') - AND ( allow_cid like '%s' OR allow_gid $regexop '%s' OR ( allow_cid = '' AND allow_gid = '') ) + AND ( allow_cid like '%s' OR allow_gid $regexop '%s' OR ( allow_cid = '' AND allow_gid = '' AND item_private = 0 ) ) )) ", dbesc(protect_sprintf( '%<' . $observer_hash . '>%')), diff --git a/version.inc b/version.inc index 9cfd95d30..89a33f525 100644 --- a/version.inc +++ b/version.inc @@ -1 +1 @@ -2015-09-03.1144 +2015-09-07.1148 diff --git a/view/tpl/uexport.tpl b/view/tpl/uexport.tpl index 5de995ba0..b9a1b9572 100644 --- a/view/tpl/uexport.tpl +++ b/view/tpl/uexport.tpl @@ -1,9 +1,12 @@ <div class="generic-content-wrapper"> -<h1>{{$title}}</h1> -<b><a href="uexport/basic">{{$basictitle}}</a></b></p> -<p>{{$basic}}</p> - -<p><b><a href="uexport/complete">{{$fulltitle}}</a></b></p> -<p>{{$full}}</p> + <div class="section-title-wrapper"> + <h2>{{$title}}</h2> + </div> + <div class="section-content-wrapper"> + <b><a href="uexport/basic">{{$basictitle}}</a></b></p> + <p>{{$basic}}</p> + <p><b><a href="uexport/complete">{{$fulltitle}}</a></b></p> + <p>{{$full}}</p> + </div> </div> |