<?php
function accesslist() {
- global $db,$error,$node,$error_messages;
+ global $db,$error,$node,$error_messages,$logger;
$node_id=$node['node_id'];
$access=explode(";",$_POST['access']);
<?php
function banlist() {
- global $db,$error,$node;
+ global $db,$error,$node,$logger;
$node_id=$node['node_id'];
if ($node['node_permission']!=('owner' || 'master' || 'op')) {
<?php
function configure_parent() {
- global $db,$error,$node;
+ global $db,$error,$node,$logger;
$user_id=$_SESSION['user_id'];
if (empty($_POST['node_creator'])) {
<?php
function executelist() {
- global $db,$error,$node;
+ global $db,$error,$node,$logger;
$node_id=$node['node_id'];
$silence=explode(";",$_POST['execute']);
if (($node['node_permission']!='owner') && ($node['node_permission']!='master')) {
<?php
function executorlist() {
- global $db,$error,$node;
+ global $db,$error,$node,$logger;
$node_id=$node['node_id'];
if ($node['node_permission']!='owner') {
$error=$error_messages['EVENT_PERMISSION_ERROR'];
<?php
function logout() {
- global $db;
+ global $db,$logger;
$q="update users set user_action_id=null where user_id='".$_SESSION['user_id']."'";
$db->query($q);
$logger->log('logout',$node['node_id'],'ok',$_SESSION['user_name']);
<?php
function masterlist() {
- global $db,$error,$node;
+ global $db,$error,$node,$logger;
$node_id=$node['node_id'];
if (($node['node_permission']!='owner') && ($node['node_permission']!='master')) {
$error=$error_messages['EVENT_PERMISSION_ERROR'];
<?php
function oplist() {
- global $db,$error,$node;
+ global $db,$error,$node,$logger;
$node_id=$node['node_id'];
if (($node['node_permission']!='owner') && ($node['node_permission']!='master')) {
<?php
function silencelist() {
- global $db,$error,$node;
+ global $db,$error,$node,$logger;
$node_id=$node['node_id'];
$silence=explode(";",$_POST['silence']);
<?php
function unbook() {
- global $db,$error,$node;
+ global $db,$error,$node,$logger;
$q="update neurons set link='soft' where synapse_creator='".$_SESSION['user_id']."' and src='".$node['node_id']."' and link='bookmark'";
$result=$db->update($q);