Changeset 1631

Show
Ignore:
Timestamp:
02/09/12 23:54:53 (3 months ago)
Author:
padams
Message:

merging 1.5.2 into 1.0 branch

Location:
branches/1.0
Files:
5 modified

Legend:

Unmodified
Added
Removed
  • branches/1.0/modules/base/templates/report.tpl

    r1623 r1631  
    3636                                 
    3737                                <?php if ( ! $this->get( 'hideSitesFilter' ) ):?> 
    38                                 <div class="reportSectionContainer" style="margin-bottom:20px;"> 
     38                                <div class="reportSectionContainer reportSiteFilter" style="margin-bottom:20px;"> 
    3939                                <?php include('filter_site.tpl');?> 
    4040                                </div> 
  • branches/1.0/modules/base/templates/resultSetHtml.php

    r1190 r1631  
    88                        <th class="<?php if($v['result_type'] === 'dimension') { echo 'dimensionColumn';} else { echo 'metricColumn';}?>"><?php echo $v['label'];?></th> 
    99<?php endforeach;?> 
    10 <?php endif;?> 
    1110                </tr> 
    1211        </thead> 
     
    3130                </tr> 
    3231<?php endforeach;?> 
    33 <?php endif;?> 
    3432        </tbody> 
    3533</table> 
  • branches/1.0/owa_auth.php

    r1609 r1631  
    7373         * Auth class Singleton 
    7474         * 
    75          * @return object 
     75         * @return owa_auth 
    7676         */ 
    7777        public static function get_instance($plugin = '') { 
     
    114114                if (owa_coreAPI::getCurrentUser()->isAuthenticated()) { 
    115115                        $ret = true; 
    116                 } elseif (owa_coreAPI::getRequestParam('apiKey')) { 
    117                          
    118                          
     116                } elseif (owa_coreAPI::getRequestParam('apiKey')) {                      
    119117                        // auth user by api key 
    120118                        $ret = $this->authByApiKey(owa_coreAPI::getRequestParam('apiKey')); 
  • branches/1.0/owa_env.php

    r1624 r1631  
    4545define('OWA_CONF_DIR', OWA_DIR.'conf/'); 
    4646define('OWA_THEMES_DIR', OWA_DIR.'themes/'); 
    47 define('OWA_VERSION', '1.5.1'); 
     47define('OWA_VERSION', '1.5.2'); 
    4848?> 
  • branches/1.0/wp_plugin.php

    r1623 r1631  
    289289                        $domains[] = $blog->siteurl;             
    290290                } 
    291                 // load assigned sites list by domain 
    292         $cu->loadAssignedSitesByDomain($domains); 
     291                 
     292                // check to see if we are installing before trying to load sites 
     293                // other wise you run into a race condition as config file 
     294                // might not be created. 
     295                if (! defined('OWA_INSTALLING') ) { 
     296                        // load assigned sites list by domain 
     297                $cu->loadAssignedSitesByDomain($domains); 
     298        } 
     299         
    293300                $cu->setInitialized(); 
    294301     
     
    556563 
    557564        $owa = owa_getInstance($params); 
    558         $owa->setSetting('base', 'cache_objects', false); 
    559                  
     565        $owa->setSetting('base', 'cache_objects', false);        
    560566        $public_url =  get_bloginfo('wpurl').'/wp-content/plugins/owa/'; 
    561567