Ignore:
Timestamp:
Jan 14, 2016, 10:25:47 PM (8 years ago)
Author:
chronos
Message:
  • Added: Support for translatable URLs. Now each language can have URL in its language.

This requires to all links inside web to use System->Link function which is responsible for translation.
All links need to be written in english so they can be translated to other language.

File:
1 edited

Legend:

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

    r841 r843  
    292292      if(!is_numeric($_SESSION['language'])) $Output .= '<td>'.$Line['LangName'].'</td>';
    293293      $Output .= '<td>'.$Line['Description'].'</td>'.
    294         '<td><a href="'.$this->System->Link('/user.php?user='.$Line['UserId']).'">'.
     294        '<td><a href="'.$this->System->Link('/user/?user='.$Line['UserId']).'">'.
    295295        $Line['UserName'].'</a></td>';
    296296      if($this->System->User->Licence(LICENCE_USER))
Note: See TracChangeset for help on using the changeset viewer.