Ignore:
Timestamp:
Jan 17, 2016, 12:10:35 PM (9 years ago)
Author:
chronos
Message:
  • Renamed: .htaccess file is different for each installation so provide just example in .htacces.sample file.
  • Renamed: File global.php and system.php to first uppercase letter for naming unification.
  • Modified: More translatable strings.
  • Added: Translation group items translatable.
  • Renamed: admin directory is not Application directory where all application related files should be placed.

This is different to includes directory where just general libraries should be placed.
Version.php file should be located in Application directory.

File:
1 edited

Legend:

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

    r847 r848  
    6565                 {
    6666                   $Line[$TextItem['Column']] = $LineSearch[$TextItem['Column']];
    67                 //   echo $Line[$TextItem['Column']].'<br />';
    6867                 }
    6968          }
     
    9695            $DbResult = $this->Database->query('SELECT `Language`,`VersionStart`,`VersionEnd` FROM `'.$Table.'` WHERE `ID` = '.$Line['Take']);
    9796            $Language = $DbResult->fetch_assoc();
    98             // echo $Language['Language'].'  '.$Line['Take'];
    9997
    10098            $DbResult = $this->Database->query('SELECT `Name` FROM `Language` WHERE `Id` ='.$Language['Language']);
     
    224222                if(($TextItem['Name'] == 'Text') and (($Table == 'global_strings') or ($Table == 'glue_strings')))
    225223                  $Output .= '<tr><th>'.$LineAJ['ShortCut'].'</th>';
    226                 else $Output .= '<tr><th>'.$TextItem['Name'].'</th>';
     224                else $Output .= '<tr><th>'.T($TextItem['Name']).'</th>';
    227225                $Output .= '<td id="'.$TextItem['Column'].'">'.str_replace("\n", '<br/>', htmlspecialchars($LineAJ[$TextItem['Column']])).'</td>
    228226                <td>';
Note: See TracChangeset for help on using the changeset viewer.