예제 #1
0
     */
    public function getInputText( $form, $filter, $value = '', $size = 20, $class = 'inputbox' ) {
		$id			=	htmlspecialchars( $this->name . '_' . $filter );
		$onchange	=	"document." . preg_replace( '/[^a-zA-Z0-9_]/', '', $form ) . ".submit();";

		return '<input type="text" id="' . $id . '" name="' . $id . '" value="' . htmlspecialchars( $value ) . '" class="' . htmlspecialchars( $class ) . '" size="' . (int) $size . '" onchange="' . $onchange . '" />';
	}

	/**
	 * returns input selectbox for paging filtering
	 *
	 * @param string $form
	 * @param string $filter
	 * @param array $values
	 * @param mixed $value
	 * @param int $required
	 * @param boolean $htmlspecialed
	 * @param string $class
	 * @return string
	 */
	public function getInputSelect( $form, $filter, $values = array(), $value = '', $required = 0, $htmlspecialed = false, $class = 'inputbox' ) {
		$id			=	htmlspecialchars( $this->name . '_' . $filter );
		$onchange	=	"document." . preg_replace( '/[^a-zA-Z0-9_]/', '', $form ) . ".submit();";

		return moscomprofilerHTML::selectList( $values, $id, 'class="' . htmlspecialchars( $class ) . '" onchange="' . $onchange . '"', 'value', 'text', $value, $required, $htmlspecialed );
	}
}

cbgjClass::getPlugins();
cbgjClass::getLanguage();
?>