Ignore:
Timestamp:
12/19/12 16:44:18 (11 years ago)
Author:
douglasz
Message:

Ticket #3236 - Correcoes para Best Practice: Short Open Tag e Best Practice: Always Quote Array Keys.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/inc/class.uiasyncservice.inc.php

    r86 r7681  
    153153                                if (is_array($installed) && isset($installed['cronline'])) 
    154154                                { 
    155                                         echo "$installed[cronline]</p>"; 
     155                                        echo "{$installed['cronline']}</p>"; 
    156156                                } 
    157157                                elseif ($installed === 0) 
     
    194194                                foreach($jobs as $job) 
    195195                                { 
    196                                         //echo "<tr>\n<td>$job[id]</td><td>".$GLOBALS['phpgw']->common->show_date($job['next'])."</td><td>"; 
    197                                         echo "<tr>\n<td>$job[id]</td><td>".date("d/m/Y H:i", $job['next'])."</td><td>"; 
     196                                        //echo "<tr>\n<td>{$job['id']}</td><td>".$GLOBALS['phpgw']->common->show_date($job['next'])."</td><td>"; 
     197                                        echo "<tr>\n<td>{$job['id']}</td><td>".date("d/m/Y H:i", $job['next'])."</td><td>"; 
    198198                                        //print_r($GLOBALS['phpgw']->common->show_date($job['times'])); 
    199199                                        print_r(date("d/m/Y H:i", $job['times'])); 
    200                                         echo "</td><td>$job[method]</td><td>";  
     200                                        echo "</td><td>{$job['method']}</td><td>"; 
    201201                                        print_r($job['data']);  
    202                                         echo "</td><td align=\"center\">".$GLOBALS['phpgw']->accounts->id2name($job[account_id])."</td></tr>\n";  
     202                                        echo "</td><td align=\"center\">".$GLOBALS['phpgw']->accounts->id2name($job['account_id'])."</td></tr>\n"; 
    203203                                } 
    204204                                echo "</table>\n"; 
Note: See TracChangeset for help on using the changeset viewer.