예제 #1
0
			<script type="text/javascript">
				jQuery(document).ready(function() {
					jQuery('#pb_backupbuddy_malwarescanloading').slideToggle();
				});
			</script>
			
			
			<?php 
    }
    if (substr($scan, 0, 2) == 'N;') {
        echo 'An error was encountered attempting to scan this site.<br />';
        echo 'An internet connection is required and this site must be accessible on the public internet.';
        $scan = array();
    } else {
        $scan = maybe_unserialize($scan);
        //echo '<pre>';
        //print_r( $scan );
        //echo '</pre>';
    }
    function lined_array($array)
    {
        if (is_array($array)) {
예제 #2
0
 function lined_array($array)
 {
     if (is_array($array)) {
         foreach ($array as $array_key => $array_item) {
             if (is_array($array_item)) {
                 $array[$array_key] = lined_array($array_item);
             }
         }
         //return implode( '<br />', $array );
         $return = '';
         foreach ($array as $array_item) {
             $return .= $array_item . '<br />';
         }
         return $return;
     } else {
         if (empty($array)) {
             return '<i>' . __('none', 'it-l10n-backupbuddy') . '</i><br />';
         } else {
             return $array . '<br />';
         }
     }
 }