wordpress/wp-content/themes/basic/themify/themify-fontello.php
/**
 * Render the input field to allow uploading font packages
 *
 * @return string
 */
Render the input field to allow uploading font packages
@return string
Render the input field to allow uploading font packages @return string
function themify_fontello_input_callback( $data = array() ) {
	return '
	<div class="themify_field_row">
		<span class="label">'. __('Icon Font Package', 'themify') . '</span>
		<input id="setting-fontello" type="text" class="width10" name="setting-fontello" value="' . esc_attr( themify_get( 'setting-fontello' ) ) . '" /> <br />
		<div class="pushlabel" style="display:block;">
			<div class="themify_medialib_wrapper">
				<a href="#" class="themify-media-lib-browse" data-submit=\'' . json_encode( array( 'action' => 'themify_handle_fontello_upload', 'field_name' => 'setting-fontello' ) ) . '\' data-uploader-title="' . __( 'Upload package', 'themify' ) .'" data-uploader-button-text="'. __( 'Upload package', 'themify' ) .'" data-fields="setting-fontello" data-type="application/zip">'. __( 'Browse Library', 'themify' ) . '</a>
			</div>
			<br>
			<small>
			'. sprintf( __( 'Go to <a href="%s">fontello.com</a>, pick your icons, download the webfont zip, upload and insert the zip URL here. The icon package will be auto detected on Themify\'s icon library where you click "Insert Icon".', 'themify' ), 'http://fontello.com' ) .'
			</small>
		</div>
	</div>';
}
function themify_fontello_input_callback ( $ data = array ( ) ) { return '
	<div class="themify_field_row">
		<span class="label">' . __ ( 'Icon Font Package' , 'themify' ) . '</span>
		<input id="setting-fontello" type="text" class="width10" name="setting-fontello" value="' . esc_attr ( themify_get ( 'setting-fontello' ) ) . '" /> <br />
		<div class="pushlabel" style="display:block;">
			<div class="themify_medialib_wrapper">
				<a href="#" class="themify-media-lib-browse" data-submit=\'' . json_encode ( array ( 'action' => 'themify_handle_fontello_upload' , 'field_name' => 'setting-fontello' ) ) . '\' data-uploader-title="' . __ ( 'Upload package' , 'themify' ) . '" data-uploader-button-text="' . __ ( 'Upload package' , 'themify' ) . '" data-fields="setting-fontello" data-type="application/zip">' . __ ( 'Browse Library' , 'themify' ) . '</a>
			</div>
			<br>
			<small>
			' . sprintf ( __ ( 'Go to <a href="%s">fontello.com</a>, pick your icons, download the webfont zip, upload and insert the zip URL here. The icon package will be auto detected on Themify\'s icon library where you click "Insert Icon".' , 'themify' ) , 'http://fontello.com' ) . '
			</small>
		</div>
	</div>' ; }
Render the input field to allow uploading font packages
 @return string
Render the input field to allow uploading font packages @return string