Ignore:
Timestamp:
Apr 10, 2024, 11:49:39 PM (9 months ago)
Author:
chronos
Message:
  • Fixed: More form input fields validation.
  • Modified: Code cleanup.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Translation/LoadNames.php

    r893 r900  
    33class PageLoadNames extends Page
    44{
    5   function ReplaceTranslated($orig,$tran,$Text,$ID,$Group)
     5  function ReplaceTranslated($orig, $tran, $Text, $ID, $Group)
    66  {
    77    $tran_replace = str_replace(' ',' ',htmlspecialchars($tran));
     
    2121  }
    2222
    23   function ReplaceNotTranslated($orig,$tran,$Text,$ID,$Group)
     23  function ReplaceNotTranslated($orig, $tran, $Text, $ID, $Group)
    2424  {
    2525    $orig_replace = str_replace(' ',' ',htmlspecialchars($orig));
     
    9696          }
    9797          //$LineAJ[$Column]
    98           return $this->ColorNames(htmlspecialchars($Text),$names);
     98          return $this->ColorNames(htmlspecialchars($Text), $names);
    9999    }
    100100
Note: See TracChangeset for help on using the changeset viewer.