Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
This commit is contained in:
		@@ -140,7 +140,7 @@ class ApiTimelineGroupAction extends ApiPrivateAuthAction
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
                // @todo set all this Atom junk up inside the feed class
 | 
					                // @todo set all this Atom junk up inside the feed class
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                $atom->setId($id);
 | 
					                #$atom->setId($id);
 | 
				
			||||||
                $atom->setTitle($title);
 | 
					                $atom->setTitle($title);
 | 
				
			||||||
                $atom->setSubtitle($subtitle);
 | 
					                $atom->setSubtitle($subtitle);
 | 
				
			||||||
                $atom->setLogo($logo);
 | 
					                $atom->setLogo($logo);
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -456,6 +456,11 @@ class User_group extends Memcached_DataObject
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        $group->query('BEGIN');
 | 
					        $group->query('BEGIN');
 | 
				
			||||||
        
 | 
					        
 | 
				
			||||||
 | 
					        if (empty($uri)) {
 | 
				
			||||||
 | 
					            // fill in later...
 | 
				
			||||||
 | 
					            $uri = null;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        $group->nickname    = $nickname;
 | 
					        $group->nickname    = $nickname;
 | 
				
			||||||
        $group->fullname    = $fullname;
 | 
					        $group->fullname    = $fullname;
 | 
				
			||||||
        $group->homepage    = $homepage;
 | 
					        $group->homepage    = $homepage;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -228,43 +228,9 @@ class TwitterAdminPanelForm extends AdminForm
 | 
				
			|||||||
        $globalConsumerKey = common_config('twitter', 'global_consumer_key');
 | 
					        $globalConsumerKey = common_config('twitter', 'global_consumer_key');
 | 
				
			||||||
        $globalConsumerSec = common_config('twitter', 'global_consumer_secret');
 | 
					        $globalConsumerSec = common_config('twitter', 'global_consumer_secret');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if (!empty($globalConsumerKey)) {
 | 
					        if (!empty($globalConsumerKey) && !empty($globalConsumerSec)) {
 | 
				
			||||||
            $this->li();
 | 
					            $this->li();
 | 
				
			||||||
            $this->out->element(
 | 
					            $this->out->element('p', 'form_guide', _('Note: a global consumer key and secret are set.'));
 | 
				
			||||||
                'label',
 | 
					 | 
				
			||||||
                array('for' => 'global_consumer_key'),
 | 
					 | 
				
			||||||
                ''
 | 
					 | 
				
			||||||
            );
 | 
					 | 
				
			||||||
            $this->out->element(
 | 
					 | 
				
			||||||
                'input',
 | 
					 | 
				
			||||||
                array(
 | 
					 | 
				
			||||||
                    'name'     => 'global_consumer_key',
 | 
					 | 
				
			||||||
                    'type'     => 'text',
 | 
					 | 
				
			||||||
                    'id'       => 'global_consumer_key',
 | 
					 | 
				
			||||||
                    'value'    => $globalConsumerKey,
 | 
					 | 
				
			||||||
                    'disabled' => 'true'
 | 
					 | 
				
			||||||
                )
 | 
					 | 
				
			||||||
            );
 | 
					 | 
				
			||||||
            $this->out->element('p', 'form_guide', _('Global consumer key'));
 | 
					 | 
				
			||||||
            $this->unli();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            $this->li();
 | 
					 | 
				
			||||||
            $this->out->element(
 | 
					 | 
				
			||||||
                'label',
 | 
					 | 
				
			||||||
                array('for' => 'global_consumer_secret'),
 | 
					 | 
				
			||||||
                ''
 | 
					 | 
				
			||||||
            );
 | 
					 | 
				
			||||||
            $this->out->element(
 | 
					 | 
				
			||||||
                'input',
 | 
					 | 
				
			||||||
                array(
 | 
					 | 
				
			||||||
                    'name'     => 'global_consumer_secret',
 | 
					 | 
				
			||||||
                    'type'     => 'text',
 | 
					 | 
				
			||||||
                    'id'       => 'global_consumer_secret',
 | 
					 | 
				
			||||||
                    'value'    => $globalConsumerSec,
 | 
					 | 
				
			||||||
                    'disabled' => 'true'
 | 
					 | 
				
			||||||
                   )
 | 
					 | 
				
			||||||
            );
 | 
					 | 
				
			||||||
            $this->out->element('p', 'form_guide', _('Global consumer secret'));
 | 
					 | 
				
			||||||
            $this->unli();
 | 
					            $this->unli();
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user