芝麻web文件管理V1.00
编辑当前文件:/home/asmplong/www/ancien-site-2019/site/libraries/joomla/html/toolbar/button/popup.php
fetchIconClass($name); $doTask = $this->_getCommand($name, $url, $width, $height, $top, $left); $html = "
\n"; $html .= "
\n"; $html .= "
\n"; $html .= "$text\n"; $html .= "
\n"; return $html; } /** * Get the button id * * Redefined from JButton class * * @param string $name Button name * @return string Button CSS Id * @since 11.1 */ public function fetchId($type, $name) { return $this->_parent->getName().'-'."popup-$name"; } /** * Get the JavaScript command for the button * * @param object $definition Button definition * @return string JavaScript command string * @since 11.1 */ protected function _getCommand($name, $url, $width, $height, $top, $left) { if (substr($url, 0, 4) !== 'http') { $url = JURI::base().$url; } return $url; } }