## -- MOD Title: Quick Title Edition ## -- MOD Author: ABDev / PastisD ## -- MOD Version: 1.0.0 pre-RC3 ## -- files to edit: (1) includes/functions_attributes.php # #-----[ OPEN ]------------------------------------------ # includes/functions_attributes.php # #-----[ FIND ]------------------------------------------ # # This may be a partial find and not the whole line(s) # $is_allowed[$attrs[0]] = } // generate each attribute foreach ( $this->attr as $attr ) { if ( isset($is_allowed[$attr['attr_id']]) ) { // restrict as the users level if ( ($is_allowed[$attr['attr_id']]['author'] # #-----[ REPLACE WITH ]------------------------------------------ # $tab[$attrs[0]] = array('admin' => $attr_auths[0], 'mod' => $attr_auths[1], 'author' => $attr_auths[2]); } // generate each attribute foreach ( $this->attr as $attr ) { if ( isset($tab[$attr['attr_id']]) ) { // restrict as the users level if ( ($tab[$attr['attr_id']]['author'] && $user->data['user_id'] == $author) || ($tab[$attr['attr_id']]['mod'] && $auth->acl_get('m_')) || ($tab[$attr['attr_id']]['admin'] && $auth->acl_get('a_')) ) # #-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ # # EoM