Falcon_Handler_Mandrill::field_apikey PHP Метод

field_apikey() публичный статический Метод

public static field_apikey ( )
    public static function field_apikey()
    {
        $key = '';
        if (isset(self::$current_options['api_key'])) {
            $key = self::$current_options['api_key'];
        }
        ?>
		<input type="text" name="bbsub_handler_options[api_key]"
			id="bbsub_mandrill_apikey" value="<?php 
        echo esc_attr($key);
        ?>
"
			class="regular-text code" />
		<p class="description">
			<?php 
        printf(__("You'll need to create an API key on the Mandrill site. Head to <a href='%s'>your settings</a>, then generate an API key under the credentials tab", 'falcon'), 'https://mandrillapp.com/settings');
        ?>
		</p>
<?php 
    }