public/js/filemanager/uploader/jupload.php
private function str_applet() {
		$N = "\n";
		$params = $this->appletparams;
		// return the actual applet tag
		$ret = '<object classid = "clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"'.$N;
		$ret .= '  codebase = "http://java.sun.com/update/1.5.0/jinstall-1_5-windows-i586.cab#Version=5,0,0,3"'.$N;
		$ret .= '  width = "'.$params['width'].'"'.$N;
		$ret .= '  height = "'.$params['height'].'"'.$N;
		$ret .= '  name = "'.$params['name'].'">'.$N;
		foreach ($params as $key => $val) {
			if ($key != 'width' && $key != 'height')
			$ret .= '  <param name = "'.$key.'" value = "'.$val.'" />'.$N;
		}
		$ret .= '  <comment>'.$N;
		$ret .= '    <embed'.$N;
		$ret .= '      type = "application/x-java-applet;version=1.5"'.$N;
		foreach ($params as $key => $val)
		$ret .= '      '.$key.' = "'.$val.'"'.$N;
		$ret .= '      pluginspage = "http://java.sun.com/products/plugin/index.html#download">'.$N;
		$ret .= '      <noembed>'.$N;
		$ret .= '        Java 1.5 or higher plugin required.'.$N;
		$ret .= '      </noembed>'.$N;
		$ret .= '    </embed>'.$N;
		$ret .= '  </comment>'.$N;
		$ret .= '</object>';
		return $ret;
	}
private function str_applet() {
		$N = "\n";
		$params = $this->appletparams;
		// return the actual applet tag
		$ret = '<object classid = "clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"'.$N;
		$ret .= '  codebase = "http://java.sun.com/update/1.5.0/jinstall-1_5-windows-i586.cab#Version=5,0,0,3"'.$N;
		$ret .= '  width = "'.$params['width'].'"'.$N;
		$ret .= '  height = "'.$params['height'].'"'.$N;
		$ret .= '  name = "'.$params['name'].'">'.$N;
		foreach ($params as $key => $val) {
			if ($key != 'width' && $key != 'height')
			$ret .= '  <param name = "'.$key.'" value = "'.$val.'" />'.$N;
		}
		$ret .= '  <comment>'.$N;
		$ret .= '    <embed'.$N;
		$ret .= '      type = "application/x-java-applet;version=1.5"'.$N;
		foreach ($params as $key => $val)
		$ret .= '      '.$key.' = "'.$val.'"'.$N;
		$ret .= '      pluginspage = "http://java.sun.com/products/plugin/index.html#download">'.$N;
		$ret .= '      <noembed>'.$N;
		$ret .= '        Java 1.5 or higher plugin required.'.$N;
		$ret .= '      </noembed>'.$N;
		$ret .= '    </embed>'.$N;
		$ret .= '  </comment>'.$N;
		$ret .= '</object>';
		return $ret;
	}
private function str_applet ( ) { $ N = "\n" ; $ params = $ this -> appletparams ; // return the actual applet tag $ ret = '<object classid = "clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"' . $ N ; $ ret .= '  codebase = "http://java.sun.com/update/1.5.0/jinstall-1_5-windows-i586.cab#Version=5,0,0,3"' . $ N ; $ ret .= '  width = "' . $ params [ 'width' ] . '"' . $ N ; $ ret .= '  height = "' . $ params [ 'height' ] . '"' . $ N ; $ ret .= '  name = "' . $ params [ 'name' ] . '">' . $ N ; foreach ( $ params as $ key => $ val ) { if ( $ key != 'width' && $ key != 'height' ) $ ret .= '  <param name = "' . $ key . '" value = "' . $ val . '" />' . $ N ; } $ ret .= '  <comment>' . $ N ; $ ret .= '    <embed' . $ N ; $ ret .= '      type = "application/x-java-applet;version=1.5"' . $ N ; foreach ( $ params as $ key => $ val ) $ ret .= '      ' . $ key . ' = "' . $ val . '"' . $ N ; $ ret .= '      pluginspage = "http://java.sun.com/products/plugin/index.html#download">' . $ N ; $ ret .= '      <noembed>' . $ N ; $ ret .= '        Java 1.5 or higher plugin required.' . $ N ; $ ret .= '      </noembed>' . $ N ; $ ret .= '    </embed>' . $ N ; $ ret .= '  </comment>' . $ N ; $ ret .= '</object>' ; return $ ret ; }
Build a string, containing the applet tag with all parameters.

@return A string, containing the applet tag
Build a string containing the applet tag with all parameters .