Ignore:
Timestamp:
Apr 6, 2020, 11:56:19 PM (4 years ago)
Author:
chronos
Message:
  • Modified: Do not use parenthesis around returned value.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Application/View.php

    r873 r874  
    3838  function SystemMessage($Title, $Text)
    3939  {
    40     return ('<table align="center"><tr><td><div class="SystemMessage"><h3>'.$Title.'</h3><div>'.$Text.'</div></div></td></tr></table>');
     40    return '<table align="center"><tr><td><div class="SystemMessage"><h3>'.$Title.'</h3><div>'.$Text.'</div></div></td></tr></table>';
    4141    //ShowFooter();
    4242    //die();
     
    6868    }
    6969    $Output = substr($Output, 6);
    70     return ($Output);
     70    return $Output;
    7171  }
    7272
     
    106106      $Output .= '</div></div>';
    107107    }
    108     return ($Output);
     108    return $Output;
    109109  }
    110110
     
    125125    }
    126126    $Output .= '</body></html>';
    127     return ($Output);
     127    return $Output;
    128128  }
    129129
     
    138138      if ($this->FormatHTML == true) $Output = $this->FormatOutput($Output);
    139139    }
    140     return ($Output);
     140    return $Output;
    141141  }
    142142
     
    147147    $Page->Database = $this->Database;
    148148    $Page->FormatHTML = $this->FormatHTML;
    149     return ($Page);
     149    return $Page;
    150150  }
    151151
     
    186186      $nn = $n;
    187187    }
    188     return ($out);
     188    return $out;
    189189  }
    190190}
Note: See TracChangeset for help on using the changeset viewer.