public function run()
{
echo $this->render($this->uploadTemplateView);
echo $this->render($this->downloadTemplateView);
echo $this->render($this->formView);
if ($this->gallery) {
echo $this->render($this->galleryTemplateView);
}
$this->registerClientScript();
}