Beispiel #1
0
function load_texts($lang = "lt", $appName, $mysql)
{
    $texts = new Texts();
    $texts->setLang("lt");
    $texts->setDefaultUser(0);
    $texts->setCurrentUser(0);
    $actionNames = $texts->getActionNames();
    $actionUrls = build_actionUrls($appName, $actionNames);
    $texts->setActionUrls($actionUrls);
    return $texts;
}