plugin_readlog($this->plugin, 'url'); $this->download($plugin_url, $this->overwrite); return ''; } function html() { parent::html(); ptln('
'); ptln('

'.$this->lang['updating'].'

'); if ($this->manager->error) { ptln('
'.str_replace("\n","
", $this->manager->error).'
'); } else if (count($this->downloaded) == 1) { ptln('

'.sprintf($this->lang['updated'],$this->downloaded[0]).'

'); } else if (count($this->downloaded)) { // more than one plugin in the download ptln('

'.$this->lang['updates'].'

'); ptln(''); } else { // none found in download ptln('

'.$this->lang['update_none'].'

'); } ptln('
'); } }