86544aa959c8775e61813b5288d50e88fa37fa3e.svn-base 819 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
<?php if ( ! defined( 'ABSPATH' ) ) {
	die;
} // Cannot access pages directly.
/**
 *
 * Field: Password
 *
 */
if ( ! class_exists( 'Exopite_Simple_Options_Framework_Field_password' ) ) {

	class Exopite_Simple_Options_Framework_Field_password extends Exopite_Simple_Options_Framework_Fields {

		public function __construct( $field, $value = '', $unique = '', $config = array()) {
			parent::__construct( $field, $value, $unique, $config );
		}

		public function output() {

			echo $this->element_before();

			echo $this->element_prepend();

			echo '<input type="' . $this->element_type() . '" name="' . $this->element_name() . '" value="' . $this->element_value() . '"' . $this->element_class() . $this->element_attributes() . '/>';

			echo $this->element_append();

			echo $this->element_after();

		}

	}

}