Ignore:
Timestamp:
Feb 22, 2015, 11:05:49 PM (9 years ago)
Author:
chronos
Message:
  • Remove: Trailing spaces from end of lines from all files.
File:
1 edited

Legend:

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

    r806 r815  
    2020    $this->Dependencies = array('News');
    2121  }
    22  
     22
    2323  function Start()
    2424  {
    2525        global $TranslationTree;
    26        
     26
    2727                $this->System->RegisterPage('comparison.php', 'PageTranslationComparison');
    2828        $this->System->RegisterPage('form.php', 'PageTranslationForm');
     
    3131    $this->System->RegisterPage('TranslationList.php', 'PageTranslationList');
    3232    $this->System->RegisterPage('LoadNames.php', 'PageLoadNames');
    33     $this->System->ModuleManager->Modules['News']->RegisterRSS(array('Title' => T('Last translations'), 
     33    $this->System->ModuleManager->Modules['News']->RegisterRSS(array('Title' => T('Last translations'),
    3434      'Channel' => 'translation', 'Callback' => array($this, 'ShowRSS'), 'Permission' => LICENCE_ANONYMOUS));
    3535    $this->System->RegisterMenuItem(array(
     
    3939        'Permission' => LICENCE_ANONYMOUS,
    4040        'Icon' => '',
    41     ), 1);   
     41    ), 1);
    4242    if(array_key_exists('Search', $this->System->ModuleManager->Modules))
    4343    {
     
    4545                  {
    4646                          $Table = $Group['TablePrefix'];
    47        
     47
    4848                                $Columns = array('ID', 'Entry');
    4949                          foreach($Group['Items'] as $Item)
    5050                          {
    5151                                if($Item['Column'] != '') $Columns[] = $Item['Column'];
    52                           } 
     52                          }
    5353
    5454        $this->System->ModuleManager->Modules['Search']->RegisterSearch('group'.$Group['Id'],
    5555        sprintf(T('Translation group "%s"'), $Group['Name']), $Columns, '`'.$Table.'`', $this->System->Link('/TranslationList.php?group='.
    56         $Group['Id'].'&user=0&state=0&entry=&text='));                 
     56        $Group['Id'].'&user=0&state=0&entry=&text='));
    5757                }
    58     }     
     58    }
    5959  }
    60  
     60
    6161  function ShowRSS()
    6262  {
Note: See TracChangeset for help on using the changeset viewer.