- if(empty($this->user)) {
- $this->element('p', array(), 'You are not logged in.');
- } else {
- $this->elementStart('form', array('method' => 'post',
- 'action' => common_local_url('postvideo')));
- $this->element('input', array('name' => 'video_uri',
- 'type' => 'text',
- 'id' => 'video_uri'));
- $this->submit('post', _('Post'));
- $this->elementEnd('form');
- }