Plugin Directory

Changeset 1185864


Ignore:
Timestamp:
06/23/2015 02:26:29 AM (11 years ago)
Author:
sebwordpress
Message:

Updated trunk

Location:
the-welcomizer/trunk/includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • the-welcomizer/trunk/includes/twiz.class.php

    r1185860 r1185864  
    27872787                        or (".self::F_MOVE_LEFT_POS_B." != ''))
    27882788                        and (".self::F_DURATION_B." = '')),".self::F_DURATION.",'0') AS duration_x FROM ".$this->table.") t " . $where . $orderby;   
    2789                        
     2789
    27902790        $rows = $wpdb->get_results($sql, ARRAY_A);
    27912791
  • the-welcomizer/trunk/includes/twiz.output.class.php

    r1185853 r1185864  
    263263            // generates the code
    264264            foreach( $this->listarray as $value ){
    265            
     265                 
    266266                $value[parent::F_BLOG_ID] = json_decode( str_replace('['.parent::ALL_SITES.']', '["'.parent::ALL_SITES.'"]', $value[parent::F_BLOG_ID] ) );
    267267
     
    272272                or ( $this->visibility_validation[$value[parent::F_SECTION_ID]] == false )
    273273                or ( $value[parent::F_TYPE] == parent::ELEMENT_TYPE_GROUP )
    274                 or ( ( !in_array( $this->BLOG_ID, $value[parent::F_BLOG_ID]) ) and ( !in_array(parent::ALL_SITES, $value[parent::F_BLOG_ID]) ) ) ){
     274                ){
    275275                // Nothing to do
    276276                }else if($this->hasValidParendId[$value[parent::F_ID]] == true){
    277 
     277   
    278278                    $has_active = '';
    279279                   
     
    10811081                   
    10821082                    if($this->hardsections[$this->DEFAULT_SECTION_ALL_ARTICLES][parent::F_STATUS] == parent::STATUS_ACTIVE){
     1083                   
    10831084                        // get the active data list array
    10841085                        $listarray_alla = $this->getListArray(" where ".parent::F_STATUS." = 1 and ".parent::F_SECTION_ID." = '".$this->DEFAULT_SECTION_ALL_ARTICLES."' ".$this->sqlwhereblogid);
     
    10891090                    }
    10901091                   
     1092                   
    10911093                    $and_multi_sections = $this->generateSQL($post_id);
    10921094                   
     
    11021104                    if( !isset($this->sections[$post_id]) ) $this->sections[$post_id][parent::F_STATUS] = parent::STATUS_INACTIVE;
    11031105                    if($this->sections[$post_id][parent::F_STATUS] == parent::STATUS_ACTIVE){                   
    1104                    
     1106
    11051107                        $listarray_a = $this->getListArray(" where ".parent::F_STATUS." = 1 and ".parent::F_SECTION_ID." = '".$post_id."' ".$this->sqlwhereblogid);
    11061108                       
     
    11291131            $this->listarray = $listarray_sc;
    11301132        }
    1131        
     1133
    11321134        return $this->listarray;
    11331135    }
Note: See TracChangeset for help on using the changeset viewer.