Changeset 7681 for trunk/about.php


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/about.php

    r6057 r7681  
    3737 
    3838                        $s = "<table width='70%' cellpadding='4'>\n<tr> 
    39                                   <td align='left'><img src='$icon' alt=\"$info[title]\" /></td><td align='left'><h2>$info[title]</h2></td></tr>";  
     39                                  <td align='left'><img src='$icon' alt=\"$info[title]\" /></td><td align='left'><h2>{$info['title']}</h2></td></tr>"; 
    4040 
    4141                           if ($info['description']) 
    4242                           { 
    4343                                  $info['description'] = lang($info['description']); 
    44                                   $s .= "<tr><td colspan='2' align='left'>$info[description]</td></tr>\n"; 
     44                                  $s .= "<tr><td colspan='2' align='left'>{$info['description']}</td></tr>\n"; 
    4545                                  if ($info['note']) 
    4646                                  { 
    4747                                         $info['note'] = lang($info['note']); 
    48                                          $s .= "<tr><td colspan='2' align='left'><i>$info[note]</i></td></tr>\n"; 
     48                                         $s .= "<tr><td colspan='2' align='left'><i>{$info['note']}</i></td></tr>\n"; 
    4949                                  } 
    5050 
     
    8989                           if ($info['extra_untranslated']) 
    9090                           { 
    91                                   $s .= "<tr><td colspan='2' align='left'>$info[extra_untranslated]</td></tr>\n"; 
     91                                  $s .= "<tr><td colspan='2' align='left'>{$info['extra_untranslated']}</td></tr>\n"; 
    9292                           } 
    9393                            
Note: See TracChangeset for help on using the changeset viewer.