public/wordpress/wp-content/plugins/backupbuddy/pluginbuddy/classes/ui.php
/**
	 *	pb_backupbuddy::disalert()
	 *
	 *	Displays a DISMISSABLE message to the user at the top of the page when in the dashboard.
	 *
	 *	@param		string		$message		Message you want to display to the user.
	 *	@param		boolean		$error			OPTIONAL! true indicates this alert is an error and displays as red. Default: false
	 *	@param		int			$error_code		OPTIONAL! Error code number to use in linking in the wiki for easy reference.
	 *	@return		null
	 */
:disalert()
Displays a DISMISSABLE message to the user at the top of the page when in the dashboard.

@param          string          $message                Message you want to display to the user.
@param          boolean         $error                  OPTIONAL. true indicates this alert is an error and displays as red. Default: false
@param          int                     $error_code             OPTIONAL. Error code number to use in linking in the wiki for easy reference.
@return         null
: disalert () Displays a DISMISSABLE message to the user at the top of the page when in the dashboard . @param string $message Message you want to display to the user . @param boolean $error OPTIONAL . true indicates this alert is an error and displays as red . Default : false @param int $error_code OPTIONAL . Error code number to use in linking in the wiki for easy reference . @return null
public function disalert( $unique_id, $message, $error = false, $more_css = '' ) {
		if ( ( '' == $unique_id ) || ( ! isset( pb_backupbuddy::$options['disalerts'][$unique_id] ) ) ) {
			$message = '<a style="float: right;" class="pb_backupbuddy_disalert" href="javascript:void(0);" title="' . __( 'Dismiss this alert. Unhide dismissed alerts on the Settings page.', 'it-l10n-backupbuddy' ) . '" alt="' . pb_backupbuddy::ajax_url( 'disalert' ) . '"><b>' . __( 'Dismiss', 'it-l10n-backupbuddy' ) . '</b></a><div style="margin-right: 120px;">' . $message . '</div>';
			$this->alert( $message, $error, '', $unique_id, $more_css );
		} else {
			echo '<!-- Previously Dismissed Alert: `' . htmlentities( $message ) . '` -->';
		}
		return;
	}
public function disalert ( $ unique_id , $ message , $ error = false , $ more_css = '' ) { if ( ( '' == $ unique_id ) || ( ! isset ( pb_backupbuddy :: $ options [ 'disalerts' ] [ $ unique_id ] ) ) ) { $ message = '<a style="float: right;" class="pb_backupbuddy_disalert" href="javascript:void(0);" title="' . __ ( 'Dismiss this alert. Unhide dismissed alerts on the Settings page.' , 'it-l10n-backupbuddy' ) . '" alt="' . pb_backupbuddy :: ajax_url ( 'disalert' ) . '"><b>' . __ ( 'Dismiss' , 'it-l10n-backupbuddy' ) . '</b></a><div style="margin-right: 120px;">' . $ message . '</div>' ; $ this -> alert ( $ message , $ error , '' , $ unique_id , $ more_css ) ; } else { echo '<!-- Previously Dismissed Alert: `' . htmlentities ( $ message ) . '` -->' ; } return ; }
pb_backupbuddy::disalert()
      Displays a DISMISSABLE message to the user at the top of the page when in the dashboard.
pb_backupbuddy :: disalert () Displays a DISMISSABLE message to the user at the top of the page when in the dashboard .