issues with editing webpage permissions
This commit is contained in:
parent
2d6a1795b7
commit
72f00d6e04
@ -92,8 +92,8 @@ var r = 0;
|
||||
var g = 0;
|
||||
var b = 0;
|
||||
|
||||
var speed = 10;
|
||||
var delay = 150;
|
||||
var speed = 5;
|
||||
var delay = 250;
|
||||
|
||||
var timer = null;
|
||||
var holdid = 0;
|
||||
@ -160,7 +160,7 @@ $(document).ready(function() {
|
||||
<div style="margin-top: 50px;"></div>
|
||||
|
||||
<center>
|
||||
<img style="width: 450px; margin-top: 30px; margin-bottom: 30px;" src="images/rm-480x115.png" >
|
||||
<img style="width: 450px; margin-top: 30px; margin-bottom: 30px;" src="assets/hashlogo.png" >
|
||||
<div id="word-flasher" style="font-size: 3.0em; font-weight: bold; margin-bottom: 30px;">RedMatrix</div>
|
||||
<div class="tr" style="font-size: 1.6em; color: #666; margin-left: 75px; margin-right: 75px;">
|
||||
The RedMatrix (aka "<span style="color: red;">red</span>") is an open source webapp providing a complete <strong>decentralised</strong> publishing, sharing, and communications system. It combines communications (private messaging, chat and social networking), and media management (photos, events, files, web pages, shareable apps) with enough features to make your head spin.
|
||||
|
@ -2001,8 +2001,6 @@ function item_store_update($arr,$allow_exec = false) {
|
||||
$arr = $d['item'];
|
||||
$allow_exec = $d['allow_exec'];
|
||||
|
||||
|
||||
|
||||
$ret = array('success' => false, 'item_id' => 0);
|
||||
if(! intval($arr['uid'])) {
|
||||
logger('item_store_update: no uid');
|
||||
@ -2036,6 +2034,10 @@ function item_store_update($arr,$allow_exec = false) {
|
||||
if($orig[0]['item_flags'] & ITEM_VERIFIED)
|
||||
$orig[0]['item_flags'] = $orig[0]['item_flags'] ^ ITEM_VERIFIED;
|
||||
|
||||
if($orig[0]['item_flags'] & ITEM_OBSCURED)
|
||||
$orig[0]['item_flags'] = $orig[0]['item_flags'] ^ ITEM_OBSCURED;
|
||||
|
||||
|
||||
$arr['item_flags'] = intval($arr['item_flags']) | $orig[0]['item_flags'];
|
||||
$arr['item_restrict'] = intval($arr['item_restrict']) | $orig[0]['item_restrict'];
|
||||
|
||||
|
10
mod/item.php
10
mod/item.php
@ -280,11 +280,10 @@ function item_post(&$a) {
|
||||
if((strlen($str_group_allow))
|
||||
|| strlen($str_contact_allow)
|
||||
|| strlen($str_group_deny)
|
||||
|| strlen(str_contact_deny)) {
|
||||
|| strlen($str_contact_deny)) {
|
||||
$private = 1;
|
||||
}
|
||||
|
||||
|
||||
$location = $orig_post['location'];
|
||||
$coord = $orig_post['coord'];
|
||||
$verb = $orig_post['verb'];
|
||||
@ -292,12 +291,19 @@ function item_post(&$a) {
|
||||
$title = $_REQUEST['title'];
|
||||
$body = $_REQUEST['body'];
|
||||
$item_flags = $orig_post['item_flags'];
|
||||
|
||||
// force us to recalculate if we need to obscure this post
|
||||
|
||||
if($item_flags & ITEM_OBSCURED)
|
||||
$item_flags = ($item_flags ^ ITEM_OBSCURED);
|
||||
|
||||
$item_restrict = $orig_post['item_restrict'];
|
||||
$postopts = $orig_post['postopts'];
|
||||
$created = $orig_post['created'];
|
||||
$mid = $orig_post['mid'];
|
||||
$parent_mid = $orig_post['parent_mid'];
|
||||
$plink = $orig_post['plink'];
|
||||
|
||||
}
|
||||
else {
|
||||
|
||||
|
Reference in New Issue
Block a user